:root {
    --ink: #12251f;
    --ink-soft: #40564e;
    --muted: #71847d;
    --line: rgba(18, 37, 31, 0.09);
    --bg: #f6f4ee;
    --surface: #fffefb;
    --surface-soft: #f1f3ed;
    --accent: #008b74;
    --accent-dark: #056b5a;
    --mint: #dff5ee;
    --coral: #ff8b6b;
    --sun: #ffd46b;
    --sky: #9ecbff;
    --violet: #c9b6ff;
    --danger: #b42318;
    --success: #067647;
    --shadow-sm: 0 6px 16px rgba(18, 37, 31, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow: 0 18px 44px rgba(18, 37, 31, 0.1), 0 3px 0 rgba(18, 37, 31, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --shadow-lg: 0 34px 80px rgba(18, 37, 31, 0.16), 0 4px 0 rgba(18, 37, 31, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --radius-sm: 16px;
    --radius: 26px;
    --radius-lg: 38px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 10%, rgba(223, 245, 238, 0.75), transparent 28%),
        radial-gradient(circle at 88% 4%, rgba(255, 212, 107, 0.24), transparent 26%),
        radial-gradient(circle at 75% 90%, rgba(158, 203, 255, 0.22), transparent 30%);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}

.skip-link:focus { left: 16px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow, .eyebrow-chip { display: none !important; }

.surface {
    background: linear-gradient(145deg, var(--surface), #f7f7f2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.icon-tile {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #e9f7f2, #d8efe8);
    color: var(--accent-dark);
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
}

.academy-header {
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 14px 0 0;
    background: linear-gradient(180deg, rgba(246, 244, 238, 0.96), rgba(246, 244, 238, 0.72));
    backdrop-filter: blur(18px);
}

.header-shell {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 10px 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: rgba(255, 254, 251, 0.88);
    box-shadow: var(--shadow);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transform: rotate(-6deg);
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}

.brand-mark img { width: 92%; height: 92%; object-fit: contain; }
.brand-link:hover .brand-mark { transform: rotate(0deg) scale(1.06); }
.brand-copy strong { display: block; font-family: Poppins, sans-serif; font-size: 1rem; letter-spacing: -0.03em; }
.brand-copy small { display: block; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-accent { color: var(--accent); }

.header-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-link i { color: var(--accent); font-size: 0.82rem; }
.nav-link:hover { background: var(--surface-soft); color: var(--ink); transform: translateY(-1px); }
.nav-link.active { background: var(--mint); color: var(--accent-dark); box-shadow: inset 0 2px 5px rgba(5, 107, 90, 0.09); }
.nav-link.btn-outline { background: #eceff0; color: var(--ink); }
.nav-link.btn-outline i { color: var(--ink-soft); }
.nav-link.btn-primary {
    background: linear-gradient(145deg, #12a98d, #00735f);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 115, 95, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.nav-link.btn-primary i { color: #d7fff5; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 15px;
    background: var(--mint);
    color: var(--accent-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

main { min-height: 60vh; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.eyebrow-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(255, 254, 251, 0.82);
    box-shadow: var(--shadow-sm);
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.eyebrow-chip i { color: var(--accent); }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1fc48f;
    box-shadow: 0 0 0 5px rgba(31, 196, 143, 0.14);
    animation: pulse 2.4s ease-in-out infinite;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 78px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -240px;
    right: -120px;
    border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%;
    background: linear-gradient(145deg, rgba(223, 245, 238, 0.9), rgba(255, 212, 107, 0.28));
    transform: rotate(18deg);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: radial-gradient(rgba(18, 37, 31, 0.2) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(90deg, transparent, #000 65%, transparent);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 72px;
    align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.hero h1, .page-hero h1, .dashboard-head h1 {
    font-family: Poppins, sans-serif;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.02;
    margin: 20px 0 22px;
}

.hero h1 { font-size: clamp(3rem, 5.8vw, 5.35rem); }
.hero h1 .headline-accent { color: var(--accent); }

.hero h1 .scribble {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.hero h1 .scribble::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 4px;
    height: 13px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(255, 212, 107, 0.72);
    transform: rotate(-1.5deg);
}

.hero-lede, .page-hero p, .dashboard-head p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    max-width: 600px;
}

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button-row.center { justify-content: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn i { font-size: 0.88rem; }
.btn-primary {
    background: linear-gradient(145deg, #12a98d, #00735f);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 115, 95, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-primary:hover { box-shadow: 0 16px 30px rgba(0, 115, 95, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.btn-light {
    background: #fff;
    color: var(--accent-dark);
    box-shadow: 0 12px 26px rgba(4, 24, 20, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn-block { width: 100%; }

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-note i { color: var(--accent); }

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.clay-stack {
    position: relative;
    z-index: 2;
    width: min(100%, 410px);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 42px;
    background: linear-gradient(145deg, #ffffff, #eef3ee);
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}

.clay-stack-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 20px;
}

.clay-stack-head strong { display: block; font-family: Poppins, sans-serif; letter-spacing: -0.03em; }
.clay-stack-head span { color: var(--muted); font-size: 0.78rem; }

.stack-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 13px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(145deg, #fbfcf9, #eef2ec);
    box-shadow: var(--shadow-sm);
}

.stack-card:nth-of-type(2) { transform: translateX(12px); }
.stack-card:nth-of-type(3) { transform: translateX(-8px); }
.stack-card strong, .stack-card span { display: block; }
.stack-card span { color: var(--muted); font-size: 0.78rem; }
.stack-card .icon-tile { width: 44px; height: 44px; flex-basis: 44px; }

.float-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 254, 251, 0.94);
    box-shadow: var(--shadow);
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    animation: float 5s ease-in-out infinite;
}

.float-badge i { color: var(--accent); }
.float-badge.one { top: 32px; left: -10px; transform: rotate(-7deg); }
.float-badge.two { right: -12px; bottom: 74px; animation-delay: -2.2s; transform: rotate(5deg); }
.float-badge.three { left: 20px; bottom: 8px; animation-delay: -3.5s; transform: rotate(-3deg); }

.hero-unique {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 74px 0 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(223, 245, 238, 0.92), transparent 30%),
        radial-gradient(circle at 92% 8%, rgba(255, 212, 107, 0.34), transparent 28%),
        radial-gradient(circle at 78% 88%, rgba(158, 203, 255, 0.3), transparent 32%),
        var(--bg);
}

.hero-unique::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    top: -300px;
    right: -180px;
    border-radius: 43% 57% 62% 38% / 48% 41% 59% 52%;
    background: linear-gradient(145deg, rgba(255, 254, 251, 0.95), rgba(223, 245, 238, 0.42));
    box-shadow: 0 40px 100px rgba(18, 37, 31, 0.08);
    animation: blobMorph 16s ease-in-out infinite;
}

.hero-unique::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(rgba(18, 37, 31, 0.22) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, transparent, #000 42%, #000 78%, transparent);
    pointer-events: none;
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(460px circle at var(--mx, 55%) var(--my, 35%), rgba(255, 255, 255, 0.9), transparent 62%);
    mix-blend-mode: soft-light;
}

.hero-editorial {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 66px minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 34px;
    align-items: center;
    min-height: 590px;
}

.hero-rail {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 24px;
}

.hero-stamp {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transform: rotate(-8deg);
}

.hero-stamp img { width: 90%; height: 90%; object-fit: contain; }

.hero-rail-text {
    writing-mode: vertical-rl;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-rail-line { width: 1px; flex: 1; margin: 16px 0; background: linear-gradient(var(--line), transparent); }

.hero-copy-unique { position: relative; z-index: 3; }

.hero-handnote {
    display: inline-block;
    color: var(--accent-dark);
    font-family: Caveat, cursive;
    font-size: 1.45rem;
    line-height: 1;
    transform: rotate(-4deg);
}

.hero-handnote::after {
    content: "";
    display: block;
    width: 108px;
    height: 8px;
    margin-top: -2px;
    border-radius: 999px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='8' viewBox='0 0 108 8'%3E%3Cpath d='M2 6C24 1 52 1 106 4' fill='none' stroke='%23008b74' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hero-unique h1 {
    margin: 18px 0 24px;
    font-size: clamp(3.3rem, 7.1vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.078em;
}

.title-row { display: block; }
.title-row-offset { padding-left: clamp(0px, 5vw, 78px); }

.title-word {
    position: relative;
    display: inline-block;
    animation: wordRise 0.9s cubic-bezier(.16, .84, .24, 1) both;
    animation-delay: calc(var(--i, 0) * 110ms);
}

.title-word-clay {
    z-index: 1;
    padding: 0 0.12em 0.06em;
    border-radius: 26px;
    background: linear-gradient(145deg, #16b596, #00735f);
    box-shadow: 0 14px 0 rgba(0, 115, 95, 0.16), 0 28px 50px rgba(0, 115, 95, 0.24), inset 0 2px 0 rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: rotate(-2deg);
}

.title-word-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(18, 37, 31, 0.78);
}

.title-word-sun { z-index: 0; }
.title-word-sun::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 0.04em;
    height: 0.28em;
    z-index: -1;
    border-radius: 999px;
    background: rgba(255, 212, 107, 0.88);
    transform: rotate(-2deg);
}

.hero-subline {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 560px;
}

.hero-squiggle {
    flex: 0 0 62px;
    height: 34px;
    margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='34' viewBox='0 0 62 34'%3E%3Cpath d='M2 28C16 4 34 30 60 7' fill='none' stroke='%23008b74' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M51 6l9 1-3 9' fill='none' stroke='%23008b74' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hero-subline p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-cta-unique { margin-top: 30px; }
.hero-cta-unique .btn { will-change: transform; }

.hero-note-unique {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.84rem;
}

.hero-note-unique i { color: var(--accent); }

.hero-stage {
    position: relative;
    z-index: 2;
    min-height: 540px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.orbit {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1;
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out;
}

.orbit-ring {
    position: absolute;
    inset: 4%;
    border: 1px dashed rgba(0, 139, 116, 0.28);
    border-radius: 50%;
    animation: orbitSpin 32s linear infinite;
}

.orbit-ring::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 0 6px rgba(255, 212, 107, 0.22);
}

.orbit-ring.two {
    inset: 17%;
    border-style: solid;
    border-color: rgba(18, 37, 31, 0.08);
    animation-direction: reverse;
    animation-duration: 22s;
}

.orbit-ring.two::after { background: var(--coral); box-shadow: 0 0 0 6px rgba(255, 139, 107, 0.2); }

.orbit-core {
    position: absolute;
    inset: 33%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #e9f5f0);
    box-shadow: var(--shadow-lg);
    animation: corePulse 6s ease-in-out infinite;
}

.orbit-core img { width: 58px; height: 58px; object-fit: contain; }
.orbit-core span { color: var(--accent-dark); font-family: Caveat, cursive; font-size: 1.25rem; line-height: 1; }

.orbit-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 254, 251, 0.95);
    box-shadow: var(--shadow);
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    animation: chipDrift 5.5s ease-in-out infinite;
}

.orbit-chip i { color: var(--accent); }
.orbit-chip.one { top: 4%; left: 50%; animation-delay: -0.4s; }
.orbit-chip.two { top: 30%; right: -2%; animation-delay: -1.8s; }
.orbit-chip.three { bottom: 12%; right: 8%; animation-delay: -3.1s; }
.orbit-chip.four { bottom: 6%; left: 8%; animation-delay: -4.4s; }
.orbit-chip.five { top: 34%; left: -4%; animation-delay: -2.6s; }

.hero-ticket {
    position: absolute;
    right: -2%;
    bottom: 16px;
    z-index: 4;
    width: 268px;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(145deg, #fffefb, #eff4ef);
    box-shadow: var(--shadow-lg);
    transform: rotate(5deg);
    animation: ticketFloat 7s ease-in-out infinite;
}

.ticket-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ticket-top strong { color: var(--accent-dark); }
.ticket-body { margin: 12px 0 16px; font-family: Poppins, sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; }
.ticket-body span { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0; }
.ticket-barcode { height: 30px; opacity: 0.75; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px); }

.hero-sticker {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    font-family: Caveat, cursive;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: var(--shadow);
}

.hero-sticker.one { top: 12%; left: 2%; background: #fff4d8; color: #8a5a00; transform: rotate(-9deg); }
.hero-sticker.two { top: 58%; left: -2%; background: var(--mint); color: var(--accent-dark); transform: rotate(7deg); }

.hero-ticker {
    position: relative;
    z-index: 3;
    overflow: hidden;
    margin-top: 44px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.48);
}

.ticker-track { display: flex; width: max-content; gap: 34px; animation: tickerMove 32s linear infinite; }
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.ticker-item i { color: var(--accent); }

.scroll-cue {
    position: absolute;
    right: 30px;
    bottom: 96px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.scroll-cue i { color: var(--accent); animation: cueBob 1.8s ease-in-out infinite; }

@keyframes blobMorph {
    0%, 100% { border-radius: 43% 57% 62% 38% / 48% 41% 59% 52%; transform: rotate(0deg) scale(1); }
    50% { border-radius: 58% 42% 38% 62% / 42% 56% 44% 58%; transform: rotate(12deg) scale(1.06); }
}

@keyframes wordRise {
    from { opacity: 0; transform: translateY(46px) rotate(3deg); }
    to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes corePulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.03); }
}
@keyframes chipDrift {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}
@keyframes ticketFloat {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-14px); }
}
@keyframes tickerMove { to { transform: translateX(-50%); } }
@keyframes cueBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.section { position: relative; padding: 96px 0; }
.section.compact { padding: 40px 0 76px; }
.section-soft { background: linear-gradient(180deg, #f0f2eb, #f7f5ef); }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover i { transform: translateX(3px); }
.text-link i { transition: transform 0.2s ease; }

.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    background: linear-gradient(160deg, var(--surface), #f7f7f2);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.course-card:hover { transform: translateY(-7px) rotate(-0.3deg); box-shadow: var(--shadow-lg); }

.course-cover {
    position: relative;
    display: block;
    height: 156px;
    overflow: hidden;
    background: var(--tone, linear-gradient(145deg, #dff5ee, #aee7d7));
}

.course-cover::before, .course-cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
}

.course-cover::before { width: 190px; height: 190px; top: -90px; right: -40px; }
.course-cover::after { width: 130px; height: 130px; bottom: -80px; left: -30px; }

.tone-mint { --tone: linear-gradient(145deg, #dcf5ed, #9fdccb); }
.tone-sun { --tone: linear-gradient(145deg, #fff0c9, #ffd37a); }
.tone-sky { --tone: linear-gradient(145deg, #dcecff, #a9cfff); }
.tone-violet { --tone: linear-gradient(145deg, #ece5ff, #cbb9ff); }
.tone-coral { --tone: linear-gradient(145deg, #ffe1d7, #ffad94); }
.tone-leaf { --tone: linear-gradient(145deg, #e4f3d8, #b9dda2); }

.cover-icon {
    position: absolute;
    left: 22px;
    bottom: 20px;
    z-index: 1;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 1.75rem;
    transform: rotate(-6deg);
}

.course-card-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
    color: var(--ink-soft);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.badge-free { color: #12664f; }
.badge-featured { color: #8a5a00; }
.pill { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--mint); color: var(--accent-dark); font-size: 0.74rem; font-weight: 800; text-transform: capitalize; }

.course-card-body { padding: 22px 22px 18px; flex: 1; }
.course-subject { color: var(--accent-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.course-card-body h3 { margin: 7px 0 9px; font-family: Poppins, sans-serif; font-size: 1.18rem; line-height: 1.25; letter-spacing: -0.03em; }
.course-card-body h3 a { text-decoration: none; }
.course-card-body p { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 9px 14px; color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; }
.course-meta i { color: var(--accent); margin-right: 4px; }

.course-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px 18px;
}

.course-rating { display: flex; gap: 6px; align-items: center; font-size: 0.8rem; }
.course-rating i { color: #f0a929; }
.course-rating span { color: var(--muted); }

.card-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--mint);
    color: var(--accent-dark);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.card-link:hover { transform: translateX(3px); }

.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.step-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    background: linear-gradient(145deg, var(--surface), #f5f6f0);
    box-shadow: var(--shadow);
}

.step-number {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #f4fff9, #d8efe7);
    box-shadow: var(--shadow-sm);
    color: var(--accent-dark);
    font-family: Poppins, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.step-icon {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff4d8;
    color: #9a6a00;
    box-shadow: var(--shadow-sm);
    transform: rotate(7deg);
}

.step-card h3 { margin: 0 0 8px; font-family: Poppins, sans-serif; letter-spacing: -0.03em; }
.step-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.cta { padding: 40px 0 92px; }

.cta-inner {
    position: relative;
    overflow: hidden;
    padding: 56px 62px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #104037, #0c2a23);
    color: #fff;
    box-shadow: 0 26px 60px rgba(9, 40, 33, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-inner::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    top: -120px;
    border-radius: 48% 52% 40% 60%;
    background: rgba(31, 196, 143, 0.2);
}

.cta-inner::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: 150px;
    bottom: -130px;
    border-radius: 45%;
    background: rgba(255, 212, 107, 0.14);
}

.cta-inner > * { position: relative; z-index: 1; }
.cta h2 { font-family: Poppins, sans-serif; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.05em; margin: 0 0 8px; }
.cta p { margin: 0; color: #c5ded7; }
.cta .eyebrow { color: #8ee6cd; }
.cta .eyebrow::before { background: #8ee6cd; }

.page-hero, .dashboard-head {
    position: relative;
    overflow: hidden;
    padding: 72px 0 48px;
}

.page-hero::before, .dashboard-head::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -260px;
    border-radius: 48%;
    background: rgba(223, 245, 238, 0.65);
}

.page-hero h1, .dashboard-head h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 16px 0 12px; }
.page-hero-course { background: linear-gradient(135deg, #0f342c, #0b211c); color: #fff; }
.page-hero-course p { color: #bed8d1; }
.page-hero-course .eyebrow { color: #8ee6cd; }
.page-hero-course .eyebrow::before { background: #8ee6cd; }
.page-hero-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-top: 18px;
    border-radius: 25px;
    background: linear-gradient(145deg, #ffffff, #eef5f0);
    box-shadow: var(--shadow);
    color: var(--accent-dark);
    font-size: 1.7rem;
}
.course-hero-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #8ee6cd;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 18px 36px rgba(0, 0, 0, 0.18);
}
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #b9d5ce; text-decoration: none; font-size: 0.88rem; font-weight: 700; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; color: #b9d5ce; font-size: 0.88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.search-field, .select-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 16px;
    background: var(--surface-soft);
    box-shadow: inset 0 2px 5px rgba(18, 37, 31, 0.05);
}

.search-field i, .select-field i { color: var(--accent); }
.search-field input, .select-field select { border: 0; outline: 0; padding: 12px 0; width: 100%; background: transparent; color: var(--ink); }
.filter-bar .btn { padding: 12px 20px; white-space: nowrap; }
.results-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 0.88rem; margin: 24px 0 18px; }
.results-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink-soft); font-weight: 700; }
.results-pill i { color: var(--accent); }

.empty-state {
    text-align: center;
    padding: 76px 24px;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--surface), #f3f5ef);
    box-shadow: var(--shadow);
}

.empty-state > i {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 26px;
    background: var(--mint);
    box-shadow: var(--shadow-sm);
    color: var(--accent-dark);
    font-size: 1.9rem;
}

.empty-state h1, .empty-state h3 { margin: 0 0 8px; font-family: Poppins, sans-serif; letter-spacing: -0.04em; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 46px; }
.course-main h2 { margin-top: 40px; font-family: Poppins, sans-serif; letter-spacing: -0.04em; }
.lead { color: var(--ink-soft); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { padding: 12px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.check-list li { display: flex; align-items: center; }
.check-list i {
    color: var(--accent);
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    margin-right: 12px;
    border-radius: 11px;
    background: var(--mint);
}

.lesson-list {
    padding: 8px;
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.lesson-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; }
.lesson-row + .lesson-row { margin-top: 4px; }
.lesson-row:nth-child(odd) { background: var(--surface-soft); }
.lesson-row strong, .lesson-row p { display: block; margin: 0; }
.lesson-row p { color: var(--muted); font-size: 0.84rem; }
.lesson-number { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 13px; background: var(--mint); color: var(--accent-dark); font-weight: 800; }
.lesson-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--accent); }
.lesson-type { margin-left: auto; color: var(--muted); font-size: 0.78rem; }
.course-aside { align-self: start; position: sticky; top: 100px; }

.enrol-card {
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(155deg, #ffffff, #eff4ef);
    box-shadow: var(--shadow-lg);
}

.enrol-card .eyebrow-chip { margin-bottom: 18px; }
.enrol-card h3 { margin: 0 0 8px; font-family: Poppins, sans-serif; font-size: 1.45rem; letter-spacing: -0.04em; }
.enrol-card p { color: var(--muted); }
.aside-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.aside-list li { display: flex; align-items: center; gap: 9px; }
.aside-list i { color: var(--accent); }

.auth-wrap {
    display: grid;
    place-items: center;
    padding: 70px 20px;
    min-height: 72vh;
}

.auth-card {
    position: relative;
    width: min(100%, 460px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 36px;
    background: linear-gradient(150deg, var(--surface), #f4f6f0);
    box-shadow: var(--shadow-lg);
}

.auth-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 8px;
    top: 18px;
    left: 50%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mint), var(--sun), var(--sky));
    transform: translateX(-50%);
}

.auth-card-wide { width: min(100%, 660px); }
.auth-card > .eyebrow-chip { margin-bottom: 8px; }
.auth-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 12px 0 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--mint), #d9f0e8);
    box-shadow: var(--shadow);
    color: var(--accent-dark);
    font-size: 1.5rem;
}
.auth-card h1 { margin: 0 0 8px; font-family: Poppins, sans-serif; font-size: 2.2rem; letter-spacing: -0.05em; }
.auth-card > p { color: var(--muted); margin-top: 0; }
.auth-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.auth-perks li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }
.auth-perks i { color: var(--accent); }
.sso-button {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 22px;
    padding: 13px 15px;
    border: 1px solid rgba(0, 139, 116, 0.16);
    border-radius: 20px;
    background: linear-gradient(145deg, #f4fff9, #e4f3ed);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sso-button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sso-logo { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 13px; background: #fff; }
.sso-logo img { width: 90%; height: 90%; object-fit: contain; }
.sso-copy { flex: 1; }
.sso-copy strong, .sso-copy small { display: block; }
.sso-copy strong { font-size: 0.92rem; }
.sso-copy small { color: var(--muted); font-size: 0.74rem; }
.sso-button > i { color: var(--accent); transition: transform 0.22s ease; }
.sso-button:hover > i { transform: translateX(4px); }
.sso-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 12px; color: var(--muted); font-size: 0.76rem; }
.sso-divider::before, .sso-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--muted); }
.auth-foot a { color: var(--accent-dark); font-weight: 800; text-decoration: none; }

form label { display: grid; gap: 8px; margin-bottom: 17px; font-weight: 700; font-size: 0.88rem; color: var(--ink-soft); }
form input, form select, form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(18, 37, 31, 0.08);
    border-radius: 16px;
    outline: 0;
    background: #f8f8f4;
    box-shadow: inset 0 2px 5px rgba(18, 37, 31, 0.045);
    color: var(--ink);
    transition: 0.2s ease;
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 139, 116, 0.1), inset 0 2px 5px rgba(18, 37, 31, 0.04); }
form input:disabled { background: #eef0eb; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-panel { margin: 24px 0; padding: 30px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.form-panel.compact-panel { padding: 18px 24px; }
.form-panel h2 { margin-top: 0; font-family: Poppins, sans-serif; letter-spacing: -0.04em; }
.form-panel h2 i { margin-right: 9px; color: var(--accent); }
.label-note { color: var(--muted); font-weight: 500; font-size: 0.78rem; }

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 17px;
    margin: 16px 0 20px;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 600;
}
.alert-error { background: #fff0ee; color: var(--danger); }
.alert-success { background: #e9f8f0; color: var(--success); }
.alert i { font-size: 1rem; }

.dashboard-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0; }
.dashboard-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}
.dashboard-nav a i { color: var(--accent); }
.dashboard-nav a:hover { transform: translateY(-1px); }
.dashboard-nav a.active, .dashboard-nav a.active i { background: linear-gradient(145deg, #12a98d, #00735f); color: #fff; box-shadow: 0 10px 20px rgba(0, 115, 95, 0.2); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { padding: 24px; border-radius: 26px; background: linear-gradient(145deg, var(--surface), #f3f5ef); box-shadow: var(--shadow); }
.stat-card i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--mint); color: var(--accent-dark); font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.stat-card strong { display: block; margin: 14px 0 2px; font-family: Poppins, sans-serif; font-size: 2rem; letter-spacing: -0.05em; }
.stat-card span { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

.progress-list { overflow: hidden; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.progress-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; text-decoration: none; }
.progress-row + .progress-row { border-top: 1px solid var(--line); }
.progress-row:hover { background: var(--surface-soft); }
.progress-row strong, .progress-row span { display: block; }
.progress-row span { color: var(--muted); font-size: 0.84rem; }
.progress-value { color: var(--accent-dark); font-weight: 800; }

.table-wrap { overflow-x: auto; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th, .data-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--surface-soft); color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td span { display: block; color: var(--muted); font-size: 0.8rem; }

.certificate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.certificate-card { padding: 26px; border-radius: 26px; background: linear-gradient(145deg, #fffdf5, #f7f4e8); box-shadow: var(--shadow); }
.certificate-card i { color: #d19100; font-size: 1.8rem; }
.certificate-card h3 { margin: 12px 0 4px; font-family: Poppins, sans-serif; letter-spacing: -0.03em; }
.certificate-card p { color: var(--muted); font-size: 0.84rem; }
.certificate-card code { display: block; margin: 12px 0; font-size: 0.78rem; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 38px; font-family: Poppins, sans-serif; letter-spacing: -0.04em; }
.prose p { color: var(--ink-soft); font-size: 1.04rem; }

.academy-footer { margin-top: 40px; padding-top: 56px; background: linear-gradient(180deg, transparent, #eef0e9); }
.footer-card {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, #104037, #0b2721);
    box-shadow: 0 26px 60px rgba(9, 40, 33, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #cfe3dd;
}

.footer-card::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -140px;
    top: -190px;
    border-radius: 45%;
    background: rgba(31, 196, 143, 0.15);
}

.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; background: #fff; color: var(--ink); font-family: Poppins, sans-serif; font-weight: 800; letter-spacing: -0.03em; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.footer-logo img { width: 116px; height: auto; object-fit: contain; }
.footer-logo span { color: var(--accent-dark); }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #d7e9e4; font-size: 0.74rem; font-weight: 700; }
.footer-chip i { color: #7fe3c8; }
.footer-links h4 { margin: 0 0 12px; color: #8ee6cd; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; color: #cfe3dd; text-decoration: none; font-size: 0.86rem; }
.footer-links a i { width: 18px; color: #7fe3c8; font-size: 0.78rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 36px; color: var(--muted); font-size: 0.84rem; }
.footer-bottom p { margin: 0; }

@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(31, 196, 143, 0.14); }
    50% { box-shadow: 0 0 0 9px rgba(31, 196, 143, 0.04); }
}

.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
    .nav-list { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); }
    .nav-list.open { display: flex; }
    .nav-link { justify-content: flex-start; }
    .nav-toggle { display: grid; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { min-height: 430px; }
    .hero-editorial { grid-template-columns: 44px minmax(0, 1fr); gap: 20px; }
    .hero-copy-unique { grid-column: 2; }
    .hero-stage { grid-column: 2; min-height: 470px; }
    .hero-ticket { right: 0; }
    .course-grid, .step-grid, .step-grid-four, .stat-grid-four, .certificate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .course-layout { grid-template-columns: 1fr; }
    .course-aside { position: static; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(100% - 28px, 1160px); }
    .header-shell { border-radius: 24px; }
    .brand-copy small { display: none; }
    .hero { padding: 62px 0 56px; }
    .hero h1 { font-size: clamp(2.6rem, 12vw, 3.7rem); }
    .hero-unique { padding-top: 52px; }
    .hero-editorial { grid-template-columns: 1fr; gap: 26px; }
    .hero-rail { display: none; }
    .hero-copy-unique, .hero-stage { grid-column: 1; }
    .hero-unique h1 { font-size: clamp(3rem, 13vw, 4.5rem); line-height: 0.94; }
    .title-row-offset { padding-left: 0; }
    .hero-stage { min-height: 430px; }
    .orbit { width: min(100%, 390px); }
    .orbit-chip.one { left: 44%; }
    .orbit-chip.two { right: -6%; }
    .orbit-chip.five { left: -6%; }
    .hero-ticket { width: 238px; right: -8px; bottom: 0; }
    .hero-sticker.one { left: 0; }
    .hero-sticker.two { left: 0; }
    .scroll-cue { display: none; }
    .section { padding: 66px 0; }
    .course-grid, .step-grid, .step-grid-four, .stat-grid, .stat-grid-four, .certificate-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .section-heading, .cta-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cta-inner { padding: 40px 28px; }
    .filter-bar { grid-template-columns: 1fr; }
    .auth-card { padding: 34px 24px; }
    .clay-stack { transform: none; }
    .stack-card:nth-of-type(n) { transform: none; }
    .float-badge.one { left: -4px; }
    .float-badge.two { right: -4px; }
    .footer-card { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    .js-ready .reveal { opacity: 1; transform: none; }
}
