:root {
  --brand: #a6090d;
  --brand-dark: #760407;
  --brand-soft: #fff1f1;
  --ink: #16181d;
  --muted: #667085;
  --line: #e7e9ee;
  --surface: #ffffff;
  --canvas: #f7f7f9;
  --success: #14845f;
  --shadow-sm: 0 10px 30px rgba(20, 22, 28, .07);
  --shadow-lg: 0 24px 70px rgba(20, 22, 28, .12);
}

html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--surface); font-family: 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.wrapper { width: 100%; min-height: 60vh; }

.site-header,
.anima #header { position: sticky !important; top: 0; left: auto; z-index: 40; width: 100%; padding: 0; border-radius: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(22,24,29,.07); box-shadow: 0 8px 30px rgba(17,24,39,.05); backdrop-filter: blur(18px); }
.anima { padding-top: 0 !important; }
.site-nav { background: transparent; }
.site-nav__inner { width: calc(100% - 40px); max-width: 1180px; min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { order: 1; flex: 0 0 auto; }
.site-brand img, .anima #header #logo { display: block; width: auto; height: 48px; margin: 0; }
.site-menu { order: 2 !important; align-self: stretch; flex: 1 1 auto; width: auto; margin-left: auto; }
.site-menu ul { display: flex; align-items: stretch; width: 100%; height: 100%; margin: 0; padding: 0 18px; list-style: none; }
.site-menu li { display: flex; flex: 1 1 0; }
.site-menu a { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 84px; padding: 0 14px; color: #4f535d; font-size: .9rem; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.site-menu a::after { content: ''; position: absolute; right: 18px; bottom: 0; left: 18px; height: 3px; border-radius: 999px 999px 0 0; background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.site-menu a:hover, .site-menu a.is-active { color: var(--brand); background: linear-gradient(180deg, transparent, rgba(166,9,13,.045)); }
.site-menu a:hover::after, .site-menu a.is-active::after { transform: scaleX(1); }
.site-nav__actions { order: 3 !important; position: relative; display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.student-area-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #bd1116, var(--brand)); box-shadow: 0 10px 24px rgba(166,9,13,.22); font-size: .9rem; font-weight: 800; cursor: pointer; }
.student-area-button:hover { transform: translateY(-2px); background: linear-gradient(135deg, #ca171c, #8e060a); box-shadow: 0 14px 28px rgba(166,9,13,.28); }
.student-area-button svg { width: 19px; height: 19px; }
.site-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }

.site-footer { margin-top: 64px; color: #d7d8dc; background: #14161b; }
.site-footer__inner, .site-footer__bottom { width: calc(100% - 40px); max-width: 1180px; margin: 0 auto; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 52px 0 38px; }
.site-footer__brand img { height: 50px; width: auto; padding: 9px 12px; border-radius: 10px; background: #fff; }
.site-footer__brand p { max-width: 460px; margin: 20px 0 0; color: #a9adb6; font-size: .94rem; line-height: 1.7; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 28px; }
.site-footer__links a { color: #e6e7ea; font-size: .9rem; font-weight: 700; }
.site-footer__links a:hover { color: #ff7073; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1); color: #8f949e; font-size: .78rem; }
.site-footer__secure { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__secure span { width: 8px; height: 8px; border-radius: 50%; background: #32d296; box-shadow: 0 0 0 5px rgba(50,210,150,.12); }

/* Student login */
.student-login-page { min-height: calc(100vh - 84px); padding: 64px 20px 78px; background: radial-gradient(circle at 8% 8%, rgba(166,9,13,.1), transparent 30%), radial-gradient(circle at 92% 90%, rgba(166,9,13,.06), transparent 28%), var(--canvas); }
.student-login-shell { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); width: 100%; max-width: 1050px; min-height: 610px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(22,24,29,.07); border-radius: 28px; background: #fff; box-shadow: 0 28px 80px rgba(22,24,29,.13); }
.student-login-welcome { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 64px 54px 42px; color: #fff; background: linear-gradient(145deg, #780609 0%, #a6090d 55%, #c51a1f 100%); }
.student-login-welcome::before { content: ''; position: absolute; z-index: -1; width: 330px; height: 330px; top: -140px; right: -145px; border: 68px solid rgba(255,255,255,.08); border-radius: 50%; }
.student-login-welcome::after { content: ''; position: absolute; z-index: -1; width: 210px; height: 210px; right: -95px; bottom: -100px; border-radius: 50%; background: rgba(255,255,255,.07); }
.student-login-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: #ffd7d8; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.student-login-eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.student-login-welcome h1 { max-width: 400px; margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.student-login-welcome__content > p { max-width: 430px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: .98rem; line-height: 1.75; }
.student-login-benefits { display: grid; gap: 17px; margin: 38px 0 0; padding: 0; list-style: none; }
.student-login-benefits li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.92); font-size: .88rem; font-weight: 700; }
.student-login-benefits span { display: grid; flex: 0 0 27px; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.1); }
.student-login-benefits svg { width: 14px; height: 14px; }
.student-login-welcome__footer { margin: 40px 0 0; color: rgba(255,255,255,.56); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.student-login-card { align-self: center; width: 100%; max-width: 520px; padding: 52px 58px; }
.student-login-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(166,9,13,.07); }
.student-login-card__icon svg { width: 27px; height: 27px; }
.student-login-heading > span { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.student-login-heading h2 { margin: 8px 0 9px; font-family: 'Sora', sans-serif; font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.2; letter-spacing: -.035em; }
.student-login-heading p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.student-login-alert { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 13px 14px; border: 1px solid; border-radius: 12px; font-size: .8rem; line-height: 1.5; }
.student-login-alert svg { flex: 0 0 19px; width: 19px; height: 19px; margin-top: 1px; }
.student-login-alert--error { color: #991b1b; border-color: #fecaca; background: #fff1f2; }
.student-login-alert--success { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.student-login-form { display: grid; gap: 20px; margin-top: 28px; }
.student-login-field label { display: block; margin-bottom: 8px; color: #2f333b; font-size: .79rem; font-weight: 800; }
.student-login-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.student-login-label-row a { margin-bottom: 8px; color: var(--brand); font-size: .74rem; font-weight: 800; text-decoration: none; }
.student-login-label-row a:hover { color: var(--brand-dark); text-decoration: underline; }
.student-login-control { position: relative; }
.student-login-control > svg { position: absolute; top: 50%; left: 16px; width: 20px; height: 20px; color: #9297a1; transform: translateY(-50%); pointer-events: none; }
.student-login-control input { display: block; width: 100%; height: 54px; padding: 0 48px; border: 1px solid #dfe2e7; border-radius: 13px; outline: none; color: var(--ink); background: #fbfbfc; font-size: .88rem; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.student-login-control input::placeholder { color: #a3a7af; }
.student-login-control input:focus { border-color: rgba(166,9,13,.65); background: #fff; box-shadow: 0 0 0 4px rgba(166,9,13,.09); }
.student-login-password-toggle { position: absolute; top: 50%; right: 11px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; color: #777d88; background: transparent; transform: translateY(-50%); }
.student-login-password-toggle:hover { color: var(--brand); background: var(--brand-soft); }
.student-login-password-toggle svg { width: 20px; height: 20px; }
.student-login-error { display: block; margin-top: 7px; color: #b42318; font-size: .73rem; font-weight: 700; }
.student-login-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 55px; margin-top: 3px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #bd1116, var(--brand)); box-shadow: 0 14px 30px rgba(166,9,13,.24); font-size: .86rem; font-weight: 800; cursor: pointer; }
.student-login-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(166,9,13,.3); }
.student-login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.student-login-submit svg { width: 19px; height: 19px; }
.student-login-signup { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .79rem; }
.student-login-signup a { color: var(--brand); font-weight: 800; text-decoration: none; }
.student-login-signup a:hover { color: var(--brand-dark); text-decoration: underline; }
.student-login-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 20px 0 0; color: #9297a1; font-size: .68rem; line-height: 1.4; text-align: center; }
.student-login-security svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--success); }

/* Home */
.home-hero { --hero-parallax-y: 0px; --pointer-x: 72%; --pointer-y: 42%; --pointer-shift-x: 0px; --pointer-shift-y: 0px; --pointer-reverse-x: 0px; --pointer-reverse-y: 0px; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #18191e; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,19,24,.96) 0%, rgba(18,19,24,.86) 56%, rgba(18,19,24,.32) 100%); }
.home-hero__media { position: absolute; inset: -12% -4%; z-index: -2; background: url('/assets/img/bgBanner.png') center/cover no-repeat; transform: translate3d(0, var(--hero-parallax-y), 0) scale(1.08); transform-origin: center; will-change: transform; }
.home-hero__aurora { position: absolute; z-index: 0; top: -55%; right: 2%; width: 650px; height: 650px; border-radius: 50%; opacity: .34; background: conic-gradient(from 80deg, transparent, rgba(255,63,69,.5), transparent 38%, rgba(255,255,255,.12), transparent 68%); filter: blur(65px); animation: heroAurora 13s ease-in-out infinite alternate; pointer-events: none; }
.home-hero__grid { position: absolute; inset: 0; z-index: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(circle at 78% 44%, #000 0%, transparent 54%); mask-image: radial-gradient(circle at 78% 44%, #000 0%, transparent 54%); animation: heroGridDrift 18s linear infinite; pointer-events: none; }
.home-hero__spotlight { position: absolute; inset: 0; z-index: 1; opacity: .62; background: radial-gradient(circle 270px at var(--pointer-x) var(--pointer-y), rgba(255,80,85,.22), transparent 70%); mix-blend-mode: screen; transition: opacity .3s ease; pointer-events: none; }
.home-hero__inner { position: relative; z-index: 2; width: calc(100% - 40px); max-width: 1180px; min-height: 520px; margin: 0 auto; display: flex; align-items: center; padding: 72px 0; }
.home-hero__content { max-width: 700px; will-change: transform; }
.home-hero__orb { position: absolute; z-index: 1; display: block; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.035); box-shadow: inset 0 0 40px rgba(255,255,255,.035); pointer-events: none; }
.home-hero__orb--one { top: 13%; right: 8%; width: 120px; height: 120px; animation: heroFloat 7s ease-in-out infinite; }
.home-hero__orb--two { right: 25%; bottom: 9%; width: 54px; height: 54px; animation: heroFloat 5.5s ease-in-out -2s infinite reverse; }
@keyframes heroFloat { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-16px,0); } }
@keyframes heroAurora { 0% { transform: translate3d(8%, -4%, 0) rotate(0deg) scale(.9); } 100% { transform: translate3d(-10%, 12%, 0) rotate(42deg) scale(1.14); } }
@keyframes heroGridDrift { to { background-position: 54px 54px; } }
.home-motion-enabled [data-home-reveal] { opacity: 0; transform: translate3d(0,28px,0); transition: opacity .7s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.home-motion-enabled [data-home-reveal].is-visible { opacity: 1; transform: translate3d(0,0,0); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #ff8789; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.home-hero h1 { max-width: 680px; margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(2.45rem, 5vw, 4.75rem); line-height: 1.03; letter-spacing: -.045em; }
.home-hero__accent { position: relative; display: inline-block; color: #ff777b; text-shadow: 0 0 34px rgba(255,83,89,.28); }
.home-hero__accent::after { content: ''; position: absolute; right: 1%; bottom: -.08em; left: 1%; height: .08em; border-radius: 999px; background: linear-gradient(90deg, transparent, #ff5d62 18%, #fff 52%, #ff5d62 82%, transparent); box-shadow: 0 0 18px rgba(255,93,98,.7); transform: scaleX(.15); transform-origin: left; animation: heroAccentLine 1.1s .45s cubic-bezier(.2,.75,.25,1) forwards; }
@keyframes heroAccentLine { to { transform: scaleX(1); } }
.home-hero p { max-width: 600px; margin: 24px 0 32px; color: #d5d7dd; font-size: 1.08rem; line-height: 1.75; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 13px; font-size: .92rem; font-weight: 800; }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 14px 32px rgba(166,9,13,.3); }
.button-primary:hover { color: #fff; transform: translateY(-2px); background: #c31217; }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.button-secondary:hover { color: #fff; background: rgba(255,255,255,.14); }
.home-hero__floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; min-width: 190px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: #fff; background: rgba(20,21,26,.52); box-shadow: 0 18px 45px rgba(0,0,0,.25); backdrop-filter: blur(14px); pointer-events: none; }
.home-hero__floating-card--one { top: 20%; right: 4.5%; animation: heroCardOne 5.8s ease-in-out infinite; }
.home-hero__floating-card--two { right: 12%; bottom: 17%; animation: heroCardTwo 6.4s ease-in-out -1.7s infinite; }
.home-hero__floating-icon { display: grid; flex: 0 0 37px; place-items: center; width: 37px; height: 37px; border-radius: 11px; color: #ff777b; background: rgba(166,9,13,.34); }
.home-hero__floating-icon svg { width: 20px; height: 20px; }
.home-hero__floating-card strong, .home-hero__floating-card small { display: block; }
.home-hero__floating-card strong { font-size: .73rem; line-height: 1.3; }
.home-hero__floating-card small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: .63rem; }
@keyframes heroCardOne { 0%, 100% { transform: translate3d(var(--pointer-shift-x), var(--pointer-shift-y), 0) rotate(-1deg); } 50% { transform: translate3d(var(--pointer-shift-x), calc(var(--pointer-shift-y) - 12px), 0) rotate(1deg); } }
@keyframes heroCardTwo { 0%, 100% { transform: translate3d(var(--pointer-reverse-x), var(--pointer-reverse-y), 0) rotate(1deg); } 50% { transform: translate3d(var(--pointer-reverse-x), calc(var(--pointer-reverse-y) - 10px), 0) rotate(-1deg); } }
.home-hero__scroll { position: absolute; z-index: 3; bottom: 20px; left: 50%; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.6); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
.home-hero__scroll span { position: relative; display: block; width: 20px; height: 30px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.home-hero__scroll span::after { content: ''; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; border-radius: 99px; background: #fff; transform: translateX(-50%); animation: heroScrollDot 1.7s ease-in-out infinite; }
@keyframes heroScrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,10px); } }
.home-section { padding: 84px 20px; }
.home-section--soft { background: var(--canvas); }
.home-section__inner { width: 100%; max-width: 1180px; margin: 0 auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { max-width: 650px; margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.7; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-card__image { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #eceef2; }
.course-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.course-card:hover .course-card__image img { transform: scale(1.035); }
.course-card__body { padding: 24px; }
.course-card__category { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.course-card h3 { min-height: 54px; margin: 16px 0 12px; font-family: 'Sora', sans-serif; font-size: 1.08rem; line-height: 1.5; }
.course-card__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.course-card__meta img { width: 18px; height: 18px; }
.course-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--brand); font-size: .88rem; font-weight: 800; }
.course-card__link:hover { gap: 12px; color: var(--brand-dark); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.benefit-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.benefit-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; color: var(--brand); background: var(--brand-soft); }
.benefit-card__icon svg { width: 24px; height: 24px; }
.benefit-card h3 { margin: 0 0 10px; font-family: 'Sora', sans-serif; font-size: 1rem; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.teacher-callout { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 28px; background: #17191e; box-shadow: var(--shadow-lg); }
.teacher-callout__content { padding: 64px; color: #fff; }
.teacher-callout__content h2 { margin: 0 0 20px; font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.2; letter-spacing: -.035em; }
.teacher-callout__content p { margin: 0; color: #bfc2ca; line-height: 1.8; }
.teacher-callout img { width: 100%; height: calc(100% + 44px); min-height: 434px; margin: -22px 0; object-fit: cover; transform: translate3d(0, var(--teacher-parallax-y, 0), 0) scale(1.035); will-change: transform; }
.legal-notice { width: calc(100% - 40px); max-width: 920px; margin: 0 auto; padding: 28px 30px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; color: #535862; background: #f7f7f9; font-size: .84rem; line-height: 1.7; }
.legal-notice strong { display: block; margin-bottom: 8px; color: var(--ink); }

/* Checkout */
.checkout-page { min-height: 100vh; padding: 56px 20px 90px; background: radial-gradient(circle at 10% 0, rgba(166,9,13,.07), transparent 28%), var(--canvas); }
.checkout-shell { width: 100%; max-width: 1180px; margin: 0 auto; }
.checkout-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.checkout-topbar__title span { display: block; margin-bottom: 7px; color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.checkout-topbar__title h1 { margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.checkout-secure { display: inline-flex; align-items: center; gap: 9px; color: var(--success); font-size: .82rem; font-weight: 800; }
.checkout-secure svg { width: 20px; height: 20px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.checkout-card, .order-summary { border: 1px solid rgba(22,24,29,.08); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.checkout-card { padding: clamp(24px, 4vw, 42px); }
.checkout-intro { margin: -4px 0 30px; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.form-section { padding: 30px 0; border-top: 1px solid var(--line); }
.form-section:first-of-type { padding-top: 0; border-top: 0; }
.form-section__header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.form-section__number { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--brand); font-size: .8rem; font-weight: 800; }
.form-section__header h2 { margin: 0; font-family: 'Sora', sans-serif; font-size: 1.05rem; }
.form-section__header p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.payment-option { position: relative; cursor: pointer; }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-option__box { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 94px; padding: 17px; border: 1.5px solid var(--line); border-radius: 14px; color: #444954; background: #fff; transition: .2s ease; }
.payment-option__box svg { width: 22px; height: 22px; margin-bottom: 10px; }
.payment-option__box strong { font-size: .82rem; }
.payment-option input:checked + .payment-option__box { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(166,9,13,.07); }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-grid--3 { grid-template-columns: 1fr .62fr .62fr; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin: 0 0 8px; color: #373b44; font-size: .79rem; font-weight: 800; }
.field input, .field select { display: block; width: 100%; height: 50px; padding: 0 14px; border: 1px solid #dfe2e8; border-radius: 12px; outline: none; color: var(--ink); background: #fbfbfc; font-size: .9rem; text-transform: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:focus, .field select:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(166,9,13,.08); }
.field input::placeholder { color: #a1a6b0; }
.field-error { margin-top: 6px; color: #b42318; font-size: .75rem; }
.coupon-button { align-self: end; min-height: 50px; padding: 0 20px; border: 0; border-radius: 12px; color: var(--brand); background: var(--brand-soft); font-size: .82rem; font-weight: 800; cursor: pointer; }
.coupon-button:hover { color: #fff; background: var(--brand); }
.card-fields { margin-top: 20px; }
.card-wrapper { margin-top: 26px; }
.checkout-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; font-size: .85rem; line-height: 1.5; }
.checkout-alert--error { color: #9b1c1c; border: 1px solid #fecaca; background: #fff1f2; }
.checkout-alert--success { color: #166534; border: 1px solid #bbf7d0; background: #f0fdf4; }
.submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #bd1116, var(--brand)); box-shadow: 0 14px 30px rgba(166,9,13,.24); font-size: .95rem; font-weight: 800; cursor: pointer; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(166,9,13,.3); }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.submit-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 13px 0 0; color: var(--muted); font-size: .74rem; }
.order-summary { position: sticky; top: 112px; overflow: hidden; }
.order-summary__image { aspect-ratio: 4/3; overflow: hidden; background: #f7f7f8; }
.order-summary__image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.order-summary__body { padding: 26px; }
.order-summary__tag { color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.order-summary h2 { margin: 10px 0 22px; font-family: 'Sora', sans-serif; font-size: 1.13rem; line-height: 1.45; }
.order-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.order-summary__price { color: var(--ink); font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 700; }
.order-summary__benefits { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.order-summary__benefits li { display: flex; gap: 10px; color: #525763; font-size: .79rem; line-height: 1.45; }
.order-summary__benefits svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--success); }

@media (max-width: 1150px) {
  .home-hero__floating-card { display: none; }
}

@media (max-width: 900px) {
  .site-nav__inner { width: calc(100% - 28px); min-height: 74px; gap: 12px; }
  .site-brand img, .anima #header #logo { height: 42px; }
  .student-area-button { min-height: 42px; padding: 0 14px; }
  .home-hero__inner { min-height: 480px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; grid-row: 1; }
  .order-summary__image { display: none; }
  .teacher-callout { grid-template-columns: 1fr; }
  .teacher-callout__content { padding: 42px; }
  .teacher-callout img { min-height: 320px; }
  .student-login-page { padding: 38px 20px 58px; }
  .student-login-shell { grid-template-columns: 1fr; max-width: 620px; min-height: 0; }
  .student-login-welcome { padding: 40px 44px; }
  .student-login-welcome h1 { font-size: 2.15rem; }
  .student-login-welcome__content > p { margin-top: 16px; }
  .student-login-benefits, .student-login-welcome__footer { display: none; }
  .student-login-card { max-width: none; }
}

@media (max-width: 767px) {
  .site-menu { position: absolute; top: 74px; left: 0; right: 0; z-index: 50; width: 100%; margin: 0; padding: 12px 14px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px rgba(20,22,28,.1); }
  .site-menu ul { display: block; }
  .site-menu li { display: block; }
  .site-menu a { display: block; min-height: 0; padding: 13px 14px; border-radius: 9px; }
  .site-menu a::after { display: none; }
  .site-menu a:hover, .site-menu a.is-active { background: var(--brand-soft); }
}

@media (max-width: 640px) {
  .student-area-button svg { display: none; }
  .site-nav__actions .student-area-button { padding: 0 12px; font-size: .78rem; }
  .site-footer { margin-top: 40px; }
  .site-footer__inner, .site-footer__bottom { width: calc(100% - 32px); }
  .site-footer__inner { align-items: flex-start; flex-direction: column; padding: 40px 0 30px; }
  .site-footer__links { justify-content: flex-start; flex-direction: column; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .home-hero__inner { width: calc(100% - 32px); min-height: 500px; padding: 58px 0; }
  .home-hero::before { background: linear-gradient(90deg, rgba(18,19,24,.96), rgba(18,19,24,.72)); }
  .home-hero__grid { opacity: .1; }
  .home-hero__spotlight { display: none; }
  .home-hero__scroll { display: none; }
  .home-section { padding: 58px 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .course-grid, .benefits-grid { grid-template-columns: 1fr; }
  .teacher-callout__content { padding: 32px 24px; }
  .teacher-callout img { min-height: 250px; }
  .checkout-page { padding: 34px 14px 60px; }
  .checkout-topbar { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .checkout-card { border-radius: 18px; }
  .payment-options { grid-template-columns: 1fr; }
  .payment-option__box { min-height: 70px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
  .payment-option__box svg { margin: 0; }
  .field-grid, .field-grid--3 { grid-template-columns: 1fr; gap: 15px; }
  .field--full { grid-column: auto; }
  .coupon-row { grid-template-columns: 1fr; }
  .student-login-page { padding: 20px 12px 42px; }
  .student-login-shell { border-radius: 20px; }
  .student-login-welcome { padding: 30px 26px; }
  .student-login-eyebrow { margin-bottom: 18px; }
  .student-login-welcome h1 { font-size: 1.75rem; }
  .student-login-welcome__content > p { font-size: .86rem; line-height: 1.6; }
  .student-login-card { padding: 34px 24px; }
  .student-login-signup { align-items: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__media, .home-hero__content, .teacher-callout img { transform: none !important; will-change: auto; }
  .home-hero__orb, .home-hero__aurora, .home-hero__grid, .home-hero__floating-card, .home-hero__scroll span::after, .home-hero__accent::after { animation: none; }
  .home-hero__accent::after { transform: scaleX(1); }
  .home-motion-enabled [data-home-reveal] { opacity: 1; transform: none; transition: none; }
}
