/* ============================================================
   Anannt Education — Digital SAT Predictor 2026
   style.css — Premium UI/UX Redesign (from scratch)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
    --p1: #E27B0D;
    --p1-dark: #c96d09;
    --p1-light: #fef3e3;
    --p1-glow: rgba(226, 123, 13, 0.35);
    --p1-gradient: linear-gradient(135deg, #E27B0D 0%, #FF9F43 100%);

    --success: #22C55E;
    --danger: #EF4444;
    --blue: #3B82F6;

    /* Neutrals */
    --n0: #FFFFFF;
    --n5: #F9FAFB;
    --n10: #F3F4F8;
    --n20: #E9ECF2;
    --n100: #D1D5E0;
    --n300: #94A3B8;
    --n500: #64748B;
    --n700: #1E293B;
    --n900: #0F172A;

    /* Glass surfaces */
    --glass-light: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.13);
    --glass-hero-card: rgba(255, 255, 255, 0.05);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 40px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.11);
    --shadow-glow: 0 0 32px var(--p1-glow);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.28s var(--ease);

    --font: 'Outfit', 'Inter', -apple-system, sans-serif;
}

/* ========== CRITICAL UTILITIES (must come early) ========== */
/* This rule is essential — without it ALL calculator steps show simultaneously */
.hidden {
    display: none !important;
}

/* Success Popup */
.success-popup {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--r-xl);
    font-size: 15px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    animation: slideUpFade 0.4s var(--ease-spring) both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Scoped box-sizing — does NOT touch site header or nav */
.sat-hero-section *,
.sat-calc-section *,
.sat-context-section *,
.sat-reference-section *,
.sat-faq-section *,
#calculator,
#calculator * {
    box-sizing: border-box;
}

/* Fix header: ensure logo row and nav are aligned properly */
.header__top {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

body {
    font-family: var(--font);
    background: var(--n10);
    color: var(--n500);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    color: var(--n700);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--p1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--p1-dark);
}

/* ========== HERO ========== */
.sat-hero-section {
    background: radial-gradient(ellipse 80% 60% at 70% -10%, rgba(226, 123, 13, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(59, 130, 246, 0.10) 0%, transparent 55%),
        linear-gradient(160deg, #141c2e 0%, #0c1220 55%, #070d18 100%);
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Aurora orbs */
.sat-hero-section::before,
.sat-hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: orb-drift 12s ease-in-out infinite alternate;
}

.sat-hero-section::before {
    width: 460px;
    height: 460px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(226, 123, 13, 0.12) 0%, transparent 70%);
}

.sat-hero-section::after {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation-delay: -6s;
}

@keyframes orb-drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(20px, 30px) scale(1.08);
    }
}

/* Mesh grid overlay */
.hero-mesh {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(226, 123, 13, 0.55);
    animation: particle-float linear infinite;
}

.hero-particle:nth-child(1) {
    width: 3px;
    height: 3px;
    left: 10%;
    animation-duration: 14s;
    animation-delay: 0s;
    top: 80%;
}

.hero-particle:nth-child(2) {
    width: 2px;
    height: 2px;
    left: 25%;
    animation-duration: 18s;
    animation-delay: -3s;
    top: 90%;
}

.hero-particle:nth-child(3) {
    width: 4px;
    height: 4px;
    left: 45%;
    animation-duration: 12s;
    animation-delay: -7s;
    top: 85%;
}

.hero-particle:nth-child(4) {
    width: 2px;
    height: 2px;
    left: 62%;
    animation-duration: 20s;
    animation-delay: -1s;
    top: 88%;
}

.hero-particle:nth-child(5) {
    width: 3px;
    height: 3px;
    left: 78%;
    animation-duration: 16s;
    animation-delay: -5s;
    top: 92%;
}

.hero-particle:nth-child(6) {
    width: 2px;
    height: 2px;
    left: 88%;
    animation-duration: 13s;
    animation-delay: -9s;
    top: 75%;
}

.hero-particle:nth-child(7) {
    width: 5px;
    height: 5px;
    left: 34%;
    animation-duration: 22s;
    animation-delay: -2s;
    top: 95%;
    background: rgba(255, 199, 0, 0.45);
}

.hero-particle:nth-child(8) {
    width: 2px;
    height: 2px;
    left: 58%;
    animation-duration: 17s;
    animation-delay: -11s;
    top: 78%;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.sat-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* Breadcrumb */
.sat-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 500;
}

.sat-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

.sat-breadcrumb a:hover {
    color: var(--p1);
}

.sat-breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

.sat-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.75);
}

/* Eyebrow pill */
.sat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(226, 123, 13, 0.15);
    border: 1px solid rgba(226, 123, 13, 0.3);
    border-radius: 60px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFB347;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.sat-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--p1);
    box-shadow: 0 0 8px var(--p1);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

/* Hero title */
.sat-hero-title {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.15;
}

.sat-hero-title .gradient-text {
    background: linear-gradient(135deg, #FF9F43, #FFC700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sat-hero-direct-answer {
    font-size: clamp(15px, 1.9vw, 17px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto 32px;
    max-width: 720px;
}

.sat-hero-direct-answer strong {
    color: #fff;
    font-weight: 600;
}

/* Trust badges */
.sat-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.sat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    padding: 9px 18px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.sat-badge span,
.sat-badge i,
.sat-badge .ti {
    color: #ffffff !important;
}

.sat-badge .ti {
    color: #FFB347 !important;
    font-size: 16px !important;
    filter: drop-shadow(0 0 4px rgba(226, 123, 13, 0.6));
}

.sat-badge:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* Hero highlight cards */
.sat-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
}

.hero-highlight-card {
    background: var(--glass-hero-card);
    border: 1px solid var(--glass-border);
    padding: 22px;
    border-radius: var(--r-lg);
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.hero-highlight-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.hero-highlight-kicker {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--p1);
    margin-bottom: 8px;
}

.hero-highlight-card strong {
    display: block;
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 700;
}

.hero-highlight-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.55;
}

/* ========== CALCULATOR SECTION ========== */
.sat-calc-section {
    background: var(--n10);
    padding: 72px 0 96px;
    position: relative;
}

.sat-calc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, #0c1220, transparent);
}

.sat-calc-shell {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ---- PROGRESS STEPPER ---- */
.progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 52px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.progress-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    background: var(--n20);
    color: var(--n300);
    border: 2px solid var(--n100);
    transition: all 0.4s var(--ease-spring);
    position: relative;
}

.progress-step .step-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--n300);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
    white-space: nowrap;
}

.progress-step.active .step-number {
    background: var(--p1-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(226, 123, 13, 0.18), var(--shadow-glow);
    transform: scale(1.08);
}

.progress-step.active .step-label {
    color: var(--p1);
}

.progress-step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.progress-step.completed .step-number span {
    opacity: 0;
}

.progress-step.completed .step-label {
    color: var(--success);
}

.progress-line {
    flex: 1;
    height: 4px;
    background: var(--n100);
    border-radius: 4px;
    overflow: hidden;
    min-width: 48px;
    margin-bottom: 26px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--p1-gradient);
    border-radius: 4px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 2px 0 8px var(--p1-glow);
}

/* ---- CALC STEP / CARD ---- */
.calc-step {
    animation: fadeSlideUp 0.35s var(--ease) both;
    /* Critical: ensure visible state is always enforced */
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* Only hidden class should hide */
.calc-step.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

/* Extra guard: results-free and full-report */
.results-free,
.results-free .calc-card,
.results-free .results-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-card {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 44px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--n20);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.calc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--p1-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.calc-card:hover::before {
    opacity: 1;
}

.calc-card:hover {
    box-shadow: var(--shadow-lg);
}

.calc-card h2 {
    font-size: clamp(20px, 2.5vw, 26px);
    margin-bottom: 12px;
    font-weight: 800;
}

.calc-card h3 {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 10px;
    font-weight: 700;
}

.calc-desc,
.card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--n500);
    margin-bottom: 32px;
}

.mt-lg {
    margin-top: 36px !important;
}

/* ---- INPUT GROUPS ---- */
.input-group {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--n700);
}

.input-help {
    font-size: 13px;
    color: var(--n300);
    margin: 2px 0 14px !important;
}

/* Stepper */
.stepper-input {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    width: fit-content;
}

.stepper-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--n100);
    background: #fff;
    color: var(--n500);
    font-size: 22px;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s var(--ease-spring);
    line-height: 1;
}

.stepper-btn:hover {
    border-color: var(--p1);
    background: var(--p1-light);
    color: var(--p1);
    transform: scale(1.1);
}

.stepper-btn:active {
    transform: scale(0.9);
}

.stepper-input input[type="number"] {
    width: 80px;
    height: 52px;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--n700);
    border: 2px solid var(--n100);
    border-radius: var(--r-md);
    background: #fff;
    outline: none;
    transition: all 0.2s var(--ease);
    -moz-appearance: textfield;
    appearance: textfield;
    font-family: var(--font);
}

.stepper-input input[type="number"]::-webkit-inner-spin-button,
.stepper-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper-input input[type="number"]:focus {
    border-color: var(--p1);
    box-shadow: 0 0 0 4px rgba(226, 123, 13, 0.12);
}

.out-of {
    font-size: 15px;
    font-weight: 700;
    color: var(--n300);
    margin-left: 2px;
}

/* Range slider */
.score-slider {
    margin-top: 10px;
}

.score-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: var(--n100);
    transition: var(--transition);
}

.score-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--p1);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px var(--p1-glow);
    transition: transform 0.2s var(--ease-spring);
}

.score-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.score-slider input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(226, 123, 13, 0.15), 0 2px 8px var(--p1-glow);
}

/* Threshold label */
.threshold-label {
    font-size: 13px;
    color: var(--n500);
    margin-top: 10px;
    line-height: 1.5;
}

.threshold-label span {
    font-weight: 700;
    color: var(--p1);
    background: var(--p1-light);
    padding: 1px 7px;
    border-radius: 6px;
}

/* Info note */
.calc-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, rgba(226, 123, 13, 0.07), rgba(226, 123, 13, 0.04));
    border: 1px solid rgba(226, 123, 13, 0.2);
    border-left: 4px solid var(--p1);
    border-radius: var(--r-md);
    padding: 14px 18px;
    margin-top: 24px;
    font-size: 13px;
    color: #7a4400;
    line-height: 1.6;
}

.calc-info-note .ti {
    color: var(--p1);
    font-size: 17px;
    flex-shrink: 0;
}

/* ---- STEP 2 LAYOUT ---- */
.step2-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.step2-panel {
    /* panel wrapper */
}

/* ---- ROUTING CARDS ---- */
.routing-results {
    margin-bottom: 20px;
}

.routing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
}

.routing-card {
    background: var(--n5);
    border: 2px solid var(--n20);
    border-radius: var(--r-lg);
    padding: 22px 18px;
    text-align: center;
    transition: var(--transition);
}

.routing-card.harder-route {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.04);
}

.routing-card.easier-route {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.04);
}

.routing-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: var(--n500);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.routing-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.routing-badge.harder {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.routing-badge.easier {
    background: rgba(239, 68, 68, 0.10);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.routing-detail {
    font-size: 11px;
    color: var(--n300);
    margin: 0;
}

.routing-note {
    font-size: 13px;
    line-height: 1.65;
    color: var(--n700);
    background: linear-gradient(135deg, rgba(226, 123, 13, 0.06), transparent);
    border-left: 3px solid var(--p1);
    padding: 12px 16px;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin: 0;
}

.module-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 6px;
}

.module-tag.harder {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.module-tag.easier {
    background: rgba(239, 68, 68, 0.10);
    color: #dc2626;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--p1-gradient);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    margin-top: 28px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s var(--ease-spring);
    box-shadow: 0 6px 20px rgba(226, 123, 13, 0.35);
    font-family: var(--font);
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(226, 123, 13, 0.45);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--n5);
    color: var(--n700);
    border: 2px solid var(--n100);
    border-radius: var(--r-md);
    margin-top: 28px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-secondary:hover {
    background: var(--n20);
    border-color: var(--n300);
    transform: translateY(-2px);
    color: var(--n700);
}

.btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
}

.btn-row .btn-primary,
.btn-row .btn-secondary {
    margin-top: 0;
    flex: 1;
    min-width: 140px;
}

.full-width {
    width: 100%;
}

/* ---- TEASER / GATE ---- */
.teaser-card {
    position: relative;
    overflow: hidden;
}

.teaser-items {
    filter: blur(6px);
    user-select: none;
    opacity: 0.5;
    padding: 20px 0;
}

.teaser-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--n700);
    font-weight: 600;
    font-size: 15px;
}

.teaser-icon {
    color: var(--p1);
    font-size: 20px;
}

.teaser-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.teaser-overlay .lock-icon {
    width: 68px;
    height: 68px;
    background: var(--p1-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    box-shadow: 0 12px 28px rgba(226, 123, 13, 0.4);
    animation: lock-pulse 2.5s ease-in-out infinite;
}

@keyframes lock-pulse {

    0%,
    100% {
        box-shadow: 0 12px 28px rgba(226, 123, 13, 0.4);
    }

    50% {
        box-shadow: 0 12px 40px rgba(226, 123, 13, 0.6);
        transform: scale(1.04);
    }
}

.teaser-overlay p {
    font-size: 18px;
    font-weight: 800;
    color: var(--n700);
    margin-bottom: 20px;
}

/* Gate form */
form .form-group {
    margin-bottom: 22px;
    text-align: left;
}

form .form-row {
    display: flex;
    gap: 18px;
}

form .form-group.half {
    flex: 1;
}

form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--n700);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

form .optional {
    font-size: 11px;
    color: var(--n300);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

form input,
form select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--n100);
    border-radius: var(--r-md);
    font-size: 15px;
    font-family: var(--font);
    color: var(--n700);
    background: #fff;
    outline: none;
    transition: all 0.2s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}

form input::placeholder {
    color: var(--n300);
}

form input:focus,
form select:focus {
    border-color: var(--p1);
    box-shadow: 0 0 0 4px rgba(226, 123, 13, 0.12);
}

form .form-desc {
    font-size: 14px;
    color: var(--n500);
    margin-bottom: 24px;
    line-height: 1.65;
}

form .form-disclaimer {
    font-size: 12px;
    color: var(--n300);
    text-align: center;
    margin-top: 16px;
}

/* ---- RESULTS CARD ---- */
.results-card {
    text-align: center;
}

.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px 0 32px;
}

/* SVG Gauge */
.score-gauge-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 12px;
}

.score-gauge-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-gauge-bg {
    fill: none;
    stroke: var(--n20);
    stroke-width: 14;
}

.score-gauge-fill {
    fill: none;
    stroke: url(#gaugeGradient);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 628;
    stroke-dashoffset: 628;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 8px rgba(226, 123, 13, 0.55));
}

.score-gauge-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.total-score {
    font-size: clamp(56px, 10vw, 80px);
    font-weight: 900;
    /* Solid orange fallback — always visible */
    color: var(--p1) !important;
    /* Gradient enhancement — overrides color when supported */
    background: var(--p1-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -3px;
}

/* Ensure text fill doesn't get blocked by global site CSS */
.score-gauge-inner .total-score,
#totalScore {
    -webkit-text-fill-color: transparent !important;
    background: var(--p1-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.score-range {
    font-size: 13px;
    font-weight: 600;
    color: var(--n300);
    margin-top: 4px;
}

.score-range-band {
    display: inline-block;
    background: var(--n10);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--n500);
    margin-top: 8px;
    border: 1px solid var(--n100);
}

.section-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.section-score-item {
    background: linear-gradient(135deg, var(--n5), #fff);
    border: 1px solid var(--n20);
    border-radius: var(--r-lg);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.section-score-item:hover {
    border-color: var(--p1);
    box-shadow: var(--shadow-sm);
}

.section-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--n300);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.section-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--n700);
    line-height: 1;
    letter-spacing: -1px;
}

.section-range {
    font-size: 11px;
    color: var(--n300);
    font-weight: 500;
}

/* Percentile box */
.percentile-box {
    background: linear-gradient(135deg, var(--n5), var(--n10));
    border: 1px solid var(--n20);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    margin-bottom: 24px;
}

.percentile-box h3 {
    font-size: 15px;
    color: var(--n700);
    margin-bottom: 20px;
    font-weight: 700;
}

.percentile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.percentile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.percentile-region {
    font-size: 12px;
    font-weight: 700;
    color: var(--n500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.percentile-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--p1);
    line-height: 1;
}

.percentile-bar-track {
    width: 100%;
    height: 6px;
    background: var(--n100);
    border-radius: 4px;
    overflow: hidden;
}

.percentile-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.percentile-bar-fill.global {
    background: linear-gradient(90deg, #E27B0D, #FF9F43);
}

.percentile-bar-fill.uae {
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.percentile-bar-fill.india {
    background: linear-gradient(90deg, #22C55E, #4ADE80);
}

.score-interpretation {
    font-size: 14px;
    line-height: 1.7;
    color: var(--n700);
    background: linear-gradient(135deg, rgba(226, 123, 13, 0.06), rgba(226, 123, 13, 0.03));
    border-radius: var(--r-lg);
    padding: 20px 24px;
    border: 1px solid rgba(226, 123, 13, 0.15);
    text-align: left;
    margin: 0 auto 4px;
}

/* ---- FULL REPORT ---- */
.college-region {
    margin-bottom: 28px;
    text-align: left;
}

.college-region-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--n500);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--n20);
    display: flex;
    align-items: center;
    gap: 8px;
}

.college-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--n5);
    border-radius: var(--r-md);
    margin-bottom: 8px;
    border: 1px solid var(--n20);
    transition: var(--transition);
}

.college-item:hover {
    border-color: var(--p1);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.college-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--n700);
    margin-bottom: 3px;
}

.college-score-range {
    font-size: 12px;
    color: var(--n300);
}

.match-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.match-badge.reach {
    background: rgba(226, 123, 13, 0.10);
    color: var(--p1);
    border: 1px solid rgba(226, 123, 13, 0.2);
}

.match-badge.match {
    background: rgba(34, 197, 94, 0.10);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.match-badge.safety {
    background: rgba(59, 130, 246, 0.10);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Benchmark card */
.benchmark-card {
    background: radial-gradient(ellipse at top right, #1e3a5f 0%, #0f172a 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.benchmark-card::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(226, 123, 13, 0.08);
    pointer-events: none;
}

.benchmark-card h3 {
    color: #fff;
}

.benchmark-stat {
    margin: 24px 0;
}

.benchmark-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--p1);
    line-height: 1;
    letter-spacing: -2px;
}

.benchmark-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.benchmark-message {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.improvement-stat {
    display: inline-block;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-lg);
    margin-bottom: 16px;
}

.improvement-number {
    font-size: 36px;
    font-weight: 900;
    color: #FFB347;
    letter-spacing: -1px;
}

.improvement-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.benchmark-proof {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Study plan */
.plan-section {
    margin-bottom: 28px;
    text-align: left;
}

.plan-section h4 {
    font-size: 14px;
    color: var(--n700);
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-section h4::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: var(--p1-gradient);
    border-radius: 4px;
}

.plan-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--n5);
    border-radius: var(--r-md);
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--n700);
    border: 1px solid var(--n20);
    transition: var(--transition);
    line-height: 1.5;
}

.plan-item:hover {
    border-color: var(--p1);
    background: #fff;
}

.plan-bullet {
    color: var(--p1);
    font-weight: 800;
    flex-shrink: 0;
}

.plan-bullet::before {
    content: '→';
}

/* PDF card */
.pdf-card {
    background: linear-gradient(135deg, var(--n5), #fff);
    border: 2px dashed var(--n100);
}

.pdf-desc {
    font-size: 14px;
    color: var(--n500);
    margin-bottom: 20px;
    line-height: 1.65;
}

/* Share card */
.share-card .share-preview-img {
    max-width: 280px;
    margin: 24px auto;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.share-card .share-preview-img img {
    width: 100%;
    display: block;
}

#shareWhatsApp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

#shareWhatsApp:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: #fff;
}

/* CTA card */
.cta-card {
    background: linear-gradient(135deg, #E27B0D 0%, #FF9F43 60%, #FFC700 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card h3 {
    color: #fff;
    font-size: clamp(20px, 3vw, 26px);
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
    position: relative;
}

.cta-link {
    background: #fff;
    color: var(--p1);
    font-weight: 800;
    font-size: 17px;
    padding: 18px 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.25s var(--ease-spring);
    width: 100%;
    margin-bottom: 16px;
    position: relative;
}

.cta-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    color: var(--p1);
}

.cta-sub {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 24px !important;
}

.cta-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: var(--transition);
}

.cta-whatsapp a:hover {
    color: #fff;
    border-color: #fff;
}

/* ========== CONTEXT SECTION ========== */
.sat-context-section {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid var(--n20);
}

.sat-context-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.sat-context-main h2 {
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 20px;
}

.sat-context-main p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--n500);
    margin-bottom: 18px;
}

.sat-context-main a {
    color: var(--p1);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition);
}

.sat-context-main a:hover {
    text-decoration-color: var(--p1);
}

.sat-quick-facts,
.sat-related-links {
    background: var(--n5);
    border: 1px solid var(--n20);
    border-radius: var(--r-xl);
    padding: 28px;
    margin-bottom: 20px;
}

.sat-quick-facts h3,
.sat-related-links h3 {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 800;
}

.sat-quick-facts ul,
.sat-related-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sat-quick-facts li {
    font-size: 13px;
    color: var(--n500);
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sat-quick-facts li .ti {
    color: var(--p1);
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.sat-quick-facts li strong {
    color: var(--n700);
}

.sat-related-links li a {
    font-size: 13px;
    color: var(--n500);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.sat-related-links li a:hover {
    color: var(--p1);
    transform: translateX(2px);
}

.sat-related-links li a .ti {
    font-size: 13px;
}

/* ========== REFERENCE / TABLE SECTIONS ========== */
.sat-reference-section {
    background: var(--n10);
    padding: 72px 0;
    border-top: 1px solid var(--n20);
}

.sat-reference-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.sat-reference-section h2 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 12px;
}

.sat-reference-section>.container>p {
    font-size: 14px;
    color: var(--n500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--n20);
}

.sat-score-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
}

.sat-score-table caption {
    font-size: 13px;
    color: var(--n300);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.sat-score-table thead tr {
    background: var(--n900);
}

.sat-score-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.8);
}

.sat-score-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--n10);
    color: var(--n700);
    font-weight: 500;
}

.sat-score-table tbody tr:nth-child(even) td {
    background: var(--n5);
}

.sat-score-table tbody tr:hover td {
    background: var(--p1-light);
    color: var(--n700);
}

.table-note {
    font-size: 12px;
    color: var(--n300);
    margin-top: 16px;
    line-height: 1.65;
}

.table-note a {
    color: var(--p1);
    font-weight: 600;
}

/* ========== FAQ ========== */
.sat-faq-section {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid var(--n20);
}

.sat-faq-section .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.sat-faq-section h2 {
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 36px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid var(--n20);
    padding: 24px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--n700);
    line-height: 1.45;
}

.faq-icon {
    font-size: 20px;
    color: var(--p1);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: 14px;
    line-height: 1.75;
    color: var(--n500);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-top: 16px;
}

/* ========== MINI-CTA POPUP ========== */
#miniCtaBtn {
    background: var(--n900);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 14px;
    padding: 12px 24px;
}

#miniCtaBtn:hover {
    background: var(--n700);
    color: #fff;
}

/* Confetti */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .sat-hero-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .sat-context-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .step2-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 640px) {
    .calc-card {
        padding: 28px 22px;
    }

    .sat-hero-highlights {
        grid-template-columns: 1fr;
    }

    .routing-cards {
        grid-template-columns: 1fr;
    }

    .form-row,
    form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .percentile-grid {
        gap: 12px;
    }

    .section-scores {
        grid-template-columns: 1fr;
    }

    .score-gauge-wrapper {
        width: 180px;
        height: 180px;
    }

    .total-score {
        font-size: 60px;
    }

    .btn-row .btn-primary,
    .btn-row .btn-secondary {
        flex: none;
        width: 100%;
    }

    .progress-step .step-number {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sat-hero-section {
        padding: 72px 0 60px;
    }

    .sat-trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .stepper-input input[type="number"] {
        width: 68px;
        font-size: 22px;
    }

    .calc-card {
        padding: 22px 16px;
        border-radius: var(--r-lg);
    }

    .sat-calc-section {
        padding: 48px 0 64px;
    }
}