/* ============================================================
   SAT Coaching Website — Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary:        #1e40af;
    --primary-light:  #3b82f6;
    --primary-dark:   #1e3a8a;
    --accent:         #f59e0b;
    --accent-dark:    #d97706;
    --success:        #10b981;
    --danger:         #ef4444;
    --text-dark:      #111827;
    --text-med:       #374151;
    --text-light:     #6b7280;
    --bg-light:       #f0f4ff;
    --bg-white:       #ffffff;
    --border:         #e5e7eb;
    --shadow:         0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg:      0 10px 25px -5px rgba(0,0,0,.12), 0 4px 10px -2px rgba(0,0,0,.06);
    --shadow-xl:      0 20px 40px -10px rgba(0,0,0,.15);
    --radius:         12px;
    --radius-lg:      20px;
    --transition:     0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.section-badge {
    display: inline-block;
    background: rgba(59,130,246,.12);
    color: var(--primary-light);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto 56px;
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.text-primary { color: var(--primary-light); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245,158,11,.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg { padding: 17px 36px; font-size: 1.05rem; border-radius: 10px; }

/* ---------- HEADER / NAVBAR ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-lg); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-logo span { color: var(--accent); }

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-med);
    font-size: .95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,.25) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,.18);
    color: #fbbf24;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(245,158,11,.3);
    margin-bottom: 20px;
}

.hero-badge i { font-size: .7rem; }

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.78);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat span {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-stack {
    position: relative;
    width: 420px;
    height: 420px;
}

.score-card {
    position: absolute;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    color: #fff;
}

.score-card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    text-align: center;
    background: rgba(255,255,255,.1);
}

.score-card-main .score-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.6);
    margin-bottom: 8px;
}

.score-card-main .score-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.score-card-main .score-max {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 16px;
}

.score-bars { display: flex; flex-direction: column; gap: 10px; }

.score-bar-item { text-align: left; }

.score-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 5px;
}

.score-bar-track {
    height: 6px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.score-bar-fill.math { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.floating-badge {
    position: absolute;
    background: var(--success);
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-badge:nth-child(2) { top: 20px; right: -10px; animation-delay: .5s; }
.floating-badge:nth-child(3) { bottom: 60px; left: -20px; animation-delay: 1s; background: var(--primary-light); }
.floating-badge:nth-child(4) { bottom: 20px; right: 10px; animation-delay: 1.5s; background: var(--accent); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg-white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-placeholder {
    background: linear-gradient(135deg, var(--bg-light), #dbeafe);
    border-radius: var(--radius-lg);
    height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 2px dashed #bfdbfe;
}

.about-img-placeholder i {
    font-size: 5rem;
    color: #93c5fd;
}

.about-img-placeholder p {
    color: var(--text-light);
    font-size: .9rem;
}

.about-exp-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.about-exp-badge span { font-size: .78rem; opacity: .85; }

.about-content .section-badge { margin-bottom: 10px; }

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-med);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.boards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.board-tag {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: .85rem;
    font-weight: 600;
}

.about-features { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
}

.about-feature-text strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.about-feature-text span {
    font-size: .9rem;
    color: var(--text-light);
}

/* ---------- WHY CHOOSE US ---------- */
.why { background: var(--bg-light); }

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

.why-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    text-align: left;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    background: linear-gradient(135deg, #3b82f6, #6366f1) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(59,130,246,.18);
}

.why-card:hover::after { opacity: 1; }

/* Card top row: icon left, number right */
.why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.why-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover .why-card-icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 24px rgba(59,130,246,.35);
}

.why-card-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--border);
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.why-card:hover .why-card-num {
    color: #dbeafe;
}

.why-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

.why-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

/* ---------- SAT PREP SECTIONS ---------- */
.sat-prep { background: var(--bg-white); }

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

.prep-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.prep-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0,0,0,.1);
}

.prep-card-top { margin-bottom: 20px; }

.prep-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prep-card:hover .prep-card-icon {
    transform: scale(1.1) rotate(-4deg);
}

.prep-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.prep-card p {
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.75;
}

.prep-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.prep-tag {
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 100px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Coming-soon cards */
.prep-card-coming { opacity: .88; }

/* Notify card */
.prep-notify {
    background: linear-gradient(135deg, #f0f4ff, #dbeafe);
    border: 1.5px dashed #93c5fd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.prep-notify-icon {
    width: 58px;
    height: 58px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(59,130,246,.18);
}

.prep-notify h3 { font-size: 1rem; margin: 0; }
.prep-notify p  { font-size: .88rem; color: var(--text-light); margin: 0; }

/* ---------- RESULTS / STATS ---------- */
.results {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.results::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix { font-size: 1.6rem; }

.stat-label {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    font-weight: 500;
    line-height: 1.5;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--bg-light); }

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

.testi-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 5rem;
    color: #dbeafe;
    font-family: Georgia, serif;
    line-height: 1;
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testi-stars i { color: #f59e0b; font-size: .9rem; }

.testi-score {
    display: inline-block;
    background: linear-gradient(90deg, #dcfce7, #bbf7d0);
    color: #15803d;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    border: 1px solid #86efac;
}

.testi-text {
    font-size: .95rem;
    color: var(--text-med);
    line-height: 1.8;
    margin-bottom: 22px;
    font-style: italic;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--text-dark);
}

.testi-role {
    font-size: .8rem;
    color: var(--text-light);
}

.testi-tag {
    font-size: .75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
    margin-left: auto;
}

/* Avatar colors */
.av-blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.av-green  { background: linear-gradient(135deg, #10b981, #047857); }
.av-orange { background: linear-gradient(135deg, #f97316, #c2410c); }
.av-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.av-pink   { background: linear-gradient(135deg, #ec4899, #be185d); }
.av-teal   { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.av-red    { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.av-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-white); }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover { background: var(--bg-light); }
.faq-item.open .faq-question { background: #eff6ff; color: var(--primary); }

.faq-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-med);
    flex-shrink: 0;
}

.faq-icon svg { transition: transform 0.3s ease; }

.faq-item.open .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: .96rem;
    color: var(--text-med);
    line-height: 1.8;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ---------- FINAL CTA ---------- */
.final-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.final-cta h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,.75);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand { }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo span { color: var(--accent); }

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: .95rem;
}

.footer-desc {
    font-size: .9rem;
    line-height: 1.8;
    color: rgba(255,255,255,.55);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

/* Quick-contact call + WA buttons replacing social icons */
.footer-quick-contact {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.fqc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.fqc-call {
    background: rgba(59,130,246,.18);
    border: 1px solid rgba(59,130,246,.35);
    color: #93c5fd;
}

.fqc-call:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.fqc-wa {
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.3);
    color: #86efac;
}

.fqc-wa:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
    transform: translateY(-2px);
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .88rem;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: .9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,.55);
    transition: var(--transition);
}
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: .85rem;
    color: rgba(255,255,255,.4);
}

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 130px 0 80px;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
}

.contact-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    margin: 0 auto;
}

.contact-section { background: var(--bg-light); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: var(--text-light);
    font-size: .93rem;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-item-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: linear-gradient(135deg, var(--bg-light), #dbeafe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.contact-item-text strong {
    display: block;
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: 3px;
}

.contact-item-text a,
.contact-item-text span {
    font-size: .88rem;
    color: var(--text-light);
    transition: var(--transition);
}

.contact-item-text a:hover { color: var(--primary); }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    margin-top: 24px;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,211,102,.3);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-form-card > p {
    color: var(--text-light);
    font-size: .93rem;
    margin-bottom: 32px;
}

/* ---------- CONTACT PAGE REDESIGN ---------- */
.contact-channels { background: var(--bg-light); }

.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.channel-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0,0,0,.1);
}

.channel-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon-blue  { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.channel-icon-green { background: linear-gradient(135deg, #15803d, #22c55e); }
.channel-icon-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }

.channel-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.channel-card > p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
}

.channel-btn-blue {
    background: var(--primary);
    color: #fff;
}

.channel-btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,130,246,.35);
    color: #fff;
}

.channel-btn-green {
    background: #16a34a;
    color: #fff;
}

.channel-btn-green:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22,163,74,.35);
    color: #fff;
}

.channel-note {
    font-size: .78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.channel-location {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.location-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-med);
}

.location-line i {
    color: var(--primary);
    font-size: .85rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Process steps */
.contact-process {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 52px 56px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-process-title {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 44px;
    color: var(--text-dark);
}

.contact-steps {
    display: flex;
    gap: 0;
}

.contact-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(59,130,246,.35);
}

.step-connector {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), #bfdbfe);
}

.step-connector-last { display: none; }

.step-body {
    margin-top: 20px;
    padding: 0 16px;
}

.step-body h4 {
    font-size: .98rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-body p {
    font-size: .87rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .channel-grid { grid-template-columns: 1fr; }
    .contact-process { padding: 36px 28px; }
    .contact-steps { flex-direction: column; gap: 32px; }
    .step-connector { display: none; }
    .contact-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 20px; }
    .step-body { margin-top: 0; padding: 0; }
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-med);
}

.form-group label span { color: var(--danger); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: .95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

.form-control.error { border-color: var(--danger); }

textarea.form-control { resize: vertical; min-height: 130px; }

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,64,175,.3);
}

.alert {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert i { font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: none;
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 998;
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    color: var(--text-med);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav a:hover { background: var(--bg-light); color: var(--primary); }

.mobile-nav .nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    text-align: center;
    margin-top: 8px;
}

/* ---------- MATH FEATURED — RESPONSIVE ---------- */
@media (max-width: 900px) {
    .math-featured-card        { grid-template-columns: 1fr; }
    .math-featured-visual      { display: none; }
    .math-featured-content     { padding: 28px 24px; }
    .math-topics-grid          { grid-template-columns: 1fr; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .why-grid      { grid-template-columns: repeat(2, 1fr); }
    .prep-grid     { grid-template-columns: repeat(2, 1fr); }
    .results-grid  { grid-template-columns: repeat(2, 1fr); }
    .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero-grid   { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .hero-card-stack { width: 300px; height: 300px; }
    .score-card-main { width: 220px; }
    .score-card-main .score-number { font-size: 2.8rem; }
    .floating-badge:nth-child(2) { top: 10px; right: -5px; font-size: .73rem; padding: 7px 12px; }
    .floating-badge:nth-child(3) { bottom: 40px; left: -10px; font-size: .73rem; padding: 7px 12px; }
    .floating-badge:nth-child(4) { bottom: 10px; right: 0; font-size: .73rem; padding: 7px 12px; }

    .about-grid    { grid-template-columns: 1fr; gap: 36px; }
    .why-grid      { grid-template-columns: 1fr; }
    .prep-grid     { grid-template-columns: 1fr; }
    .results-grid  { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }
    .form-row      { grid-template-columns: 1fr; }
    .contact-form-card { padding: 28px 22px; }

    .section-pad   { padding: 64px 0; }
    .hero-stats    { gap: 24px; }
}

@media (max-width: 480px) {
    .results-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .cta-actions  { flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- ABOUT PHOTO ---------- */
.about-photo {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

/* ---------- MATH FEATURED CARD ---------- */
.math-featured-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    margin-bottom: 0;
}

/* Dark visual left panel */
.math-featured-visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
    min-height: 380px;
}

.math-featured-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    transition: transform 0.6s ease;
}

.math-featured-card:hover .math-featured-visual img { transform: scale(1.06); }

.math-visual-overlay {
    position: relative;
    z-index: 1;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subject-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    align-self: flex-start;
}

.subject-live-badge i { font-size: .45rem; animation: pulse-dot 1.4s ease-in-out infinite; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

.math-visual-center { text-align: center; padding: 8px 0; }

.math-visual-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    backdrop-filter: blur(4px);
}

.math-score-label {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 4px;
}

.math-score-value {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -3px;
}

.math-score-sub {
    font-size: .8rem;
    color: rgba(255,255,255,.45);
    margin-top: 6px;
}

.math-visual-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.math-visual-chips span {
    font-size: .7rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    padding: 5px 11px;
    border-radius: 100px;
}

/* Right content panel */
.math-featured-content {
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
}

.mfc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--primary);
    font-size: .76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    border: 1px solid #bfdbfe;
    align-self: flex-start;
}

.math-featured-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text-dark);
    line-height: 1.25;
}

.math-featured-content > p {
    color: var(--text-med);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.math-topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.math-topic {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .87rem;
    color: var(--text-med);
    font-weight: 500;
}

.math-topic svg { color: var(--primary); flex-shrink: 0; }

/* ---------- COMING SOON OVERLAY ---------- */
.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248,250,252,.88);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: var(--radius-lg);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    color: #6b7280;
    border: 1.5px dashed #d1d5db;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
.fade-in-delay-5 { transition-delay: .5s; }

/* ============================================================
   REACT-STYLE MODERN UI ENHANCEMENTS
   ============================================================ */

/* ---------- Animated Hero Background ---------- */
.hero {
    background-size: 300% 300% !important;
    animation: gradient-shift 12s ease infinite;
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated blobs in hero */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: blob-drift 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px; height: 500px;
    background: rgba(59,130,246,.18);
    top: -150px; right: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px; height: 400px;
    background: rgba(245,158,11,.12);
    bottom: -120px; left: -80px;
    animation-delay: 3s;
}

.hero-blob-3 {
    width: 300px; height: 300px;
    background: rgba(139,92,246,.1);
    top: 40%; left: 40%;
    animation-delay: 5s;
}

@keyframes blob-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.06); }
    66%       { transform: translate(-20px, 15px) scale(0.96); }
}

/* ---------- Shimmer / Glow Buttons ---------- */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255,255,255,.25);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover::after { left: 125%; }

/* ---------- Icon Bounce on Card Hover ---------- */
.why-card:hover .why-card-icon {
    animation: icon-bounce 0.45s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    30%       { transform: scale(1.18) rotate(-6deg); }
    70%       { transform: scale(1.08) rotate(3deg); }
}

/* ---------- Testimonial Card — Gradient Quote Mark ---------- */
.testi-card::before {
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 6rem;
    opacity: .7;
}

/* ---------- Stat Cards — Glow on hover ---------- */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245,158,11,.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::after { opacity: 1; }

.stat-number {
    background: linear-gradient(135deg, #fff, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Scrolling Ticker (hero stats) ---------- */
.hero-stats {
    position: relative;
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- FAQ Animated Highlight ---------- */
.faq-item.open {
    background: linear-gradient(135deg, #f8faff, #eff6ff);
    box-shadow: 0 4px 20px rgba(59,130,246,.1);
}

.faq-item {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Section Titles — Gradient Underline ---------- */
.section-title {
    position: relative;
    display: inline-block;
}

/* ---------- Math Featured Card — Glow on Hover ---------- */
.math-featured-card:hover {
    box-shadow: 0 24px 64px rgba(30,58,138,.2);
}

/* ---------- About Section Image Frame ---------- */
.about-img-wrapper {
    position: relative;
}

.about-photo {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img-wrapper:hover .about-photo {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* ---------- Nav Link Underline Animation ---------- */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links .nav-cta::after { display: none; }

/* ---------- Hero Badge Pulse ---------- */
.hero-badge {
    animation: badge-appear 0.6s ease both;
}

@keyframes badge-appear {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll indicator dots (hero) ---------- */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.45);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    animation: bounce-arrow 2s ease-in-out infinite;
    z-index: 1;
}

.hero-scroll-hint i { font-size: 1.1rem; }

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: .6; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---------- Floating Badges Glassmorphism ---------- */
.floating-badge {
    background: rgba(255,255,255,.12) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.25) !important;
}

.floating-badge:nth-child(2) { background: rgba(16,185,129,.8) !important; }
.floating-badge:nth-child(3) { background: rgba(59,130,246,.8) !important; }
.floating-badge:nth-child(4) { background: rgba(245,158,11,.9) !important; color: #1a1a1a !important; }

/* ---------- Score Card Glassmorphism ---------- */
.score-card-main {
    background: rgba(255,255,255,.1) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

/* ---------- Section transition waves ---------- */
.about { position: relative; }
.why   { position: relative; }

/* ---------- Board tags animated hover ---------- */
.board-tag {
    transition: all 0.25s ease;
    cursor: default;
}

.board-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- Testi score badge glow ---------- */
.testi-score {
    transition: all 0.3s ease;
}

.testi-card:hover .testi-score {
    background: linear-gradient(90deg, #bbf7d0, #6ee7b7);
    box-shadow: 0 4px 12px rgba(16,185,129,.25);
}

/* ---------- About features icon pulse ---------- */
.about-feature-icon {
    transition: all 0.3s ease;
}

.about-feature:hover .about-feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 16px rgba(30,64,175,.3);
}

/* ---------- Social link spin ---------- */
.social-link:hover i { animation: spin-once 0.4s ease; }

@keyframes spin-once {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---------- WhatsApp button pulse ---------- */
.whatsapp-btn {
    animation: wa-pulse 3s ease-in-out infinite;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
    50%       { box-shadow: 0 0 0 8px rgba(37,211,102,.15); }
}

/* ---------- Smooth focus rings ---------- */
.form-control:focus, .faq-question:focus {
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ---------- Page load entrance for hero ---------- */
.hero-content {
    animation: hero-enter 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-visual {
    animation: hero-enter 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes hero-enter {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Gradient text utility ---------- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   HERO v2  — Complete redesign override
   ============================================================ */

/* Neutralise old hero pseudo-elements and animations */
.hero::before,
.hero::after  { display: none !important; }
.hero-blob    { display: none !important; }
.hero-grid    { display: none !important; }
.hero-content,
.hero-visual  { animation: none !important; }

/* Section base */
.hero {
    min-height: 100vh;
    background: #06091b !important;
    background-size: unset !important;
    animation: none !important;
    display: flex;
    align-items: center;
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}

/* ---------- Background layers ---------- */
.hero-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.hbg-indigo {
    width: 700px; height: 700px;
    background: rgba(99,102,241,.28);
    top: -200px; right: -160px;
    animation: glow-drift 11s ease-in-out infinite;
}

.hbg-amber {
    width: 480px; height: 480px;
    background: rgba(245,158,11,.16);
    bottom: -160px; left: -80px;
    animation: glow-drift 11s ease-in-out infinite reverse;
}

.hbg-teal {
    width: 320px; height: 320px;
    background: rgba(20,184,166,.12);
    top: 55%; left: 42%;
    animation: glow-drift 14s ease-in-out infinite 4s;
}

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(28px, -22px) scale(1.06); }
    80%       { transform: translate(-16px, 14px) scale(.96); }
}

/* ---------- Layout ---------- */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 56px 0 80px;
}

/* ---------- Left content ---------- */
.hero-left {
    animation: hero-slide-up .9s cubic-bezier(.4,0,.2,1) both;
}

@keyframes hero-slide-up {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Pill badge */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.78);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
    backdrop-filter: blur(10px);
}

.hero-pill-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(16,185,129,.5);
    animation: pulse-ring 2.2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0   rgba(16,185,129,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0   rgba(16,185,129,0); }
}

/* Headline */
.hero-h1 {
    font-size: clamp(2.7rem, 4.8vw, 4.1rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    letter-spacing: -.025em;
    margin: 0 0 22px;
}

.hero-h1-grad {
    display: block;
    background: linear-gradient(90deg, #f59e0b 0%, #fb923c 45%, #f59e0b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
}

@keyframes shimmer-text {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

/* Sub */
.hero-sub {
    font-size: 1.06rem;
    line-height: 1.82;
    color: rgba(255,255,255,.58);
    max-width: 500px;
    margin-bottom: 38px;
}

.hero-sub em { font-style: normal; color: rgba(255,255,255,.85); }

/* CTA row */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 46px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
    color: #1c0a00;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.hero-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transition: opacity .3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(245,158,11,.5);
}

.hero-btn-primary:hover::after { opacity: 1; }
.hero-btn-primary:hover i { transform: translateX(4px); }
.hero-btn-primary i { transition: transform .25s ease; }

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 28px;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all .25s ease;
}

.hero-btn-ghost:hover {
    background: rgba(255,255,255,.11);
    border-color: rgba(255,255,255,.5);
    color: #fff;
    transform: translateY(-2px);
}

/* Proof strip */
.hero-proof-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.hps-item strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.hps-item span {
    font-size: .76rem;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hps-sep {
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}

/* ---------- Right side ---------- */
.hero-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: hero-slide-up .9s cubic-bezier(.4,0,.2,1) .18s both;
}

/* ---------- Dashboard card ---------- */
.score-dash {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.11);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 24px;
    padding: 26px;
    box-shadow:
        0 2px 0  rgba(255,255,255,.07) inset,
        0 28px 72px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.04);
    animation: card-float 7s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* Student header */
.sd-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.sd-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(59,130,246,.3);
}

.sd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sd-info strong {
    display: block;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
}

.sd-info span {
    font-size: .74rem;
    color: rgba(255,255,255,.45);
}

.sd-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16,185,129,.1);
    border: 1px solid rgba(16,185,129,.22);
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.sd-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-ring 2.2s ease-in-out infinite;
}

/* Score transform */
.sd-transform {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 0;
    margin-bottom: 6px;
}

.sd-score { text-align: center; flex: 1; }

.sds-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.sd-before .sds-num { color: rgba(255,255,255,.3); }

.sd-after .sds-num {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(245,158,11,.5));
}

.sds-lbl {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    font-weight: 600;
}

/* Arrow between scores */
.sd-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.sd-arrow-track {
    position: relative;
    width: 56px;
    height: 2px;
    background: rgba(255,255,255,.12);
    border-radius: 2px;
    overflow: visible;
}

.sd-arrow-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245,158,11,.4), #f59e0b);
    border-radius: 2px;
    animation: arrow-expand 2s ease both 1s;
}

@keyframes arrow-expand {
    from { transform: scaleX(0); transform-origin: left; }
    to   { transform: scaleX(1); transform-origin: left; }
}

.sd-arrow-head {
    position: absolute;
    right: -5px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #f59e0b;
}

.sd-delta {
    font-size: .7rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16,185,129,.12);
    border: 1px solid rgba(16,185,129,.2);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

/* Chart */
.sd-chart-wrap {
    padding: 12px 0 10px;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 16px;
}

.sd-chart-wrap svg {
    width: 100%;
    height: 56px;
    display: block;
    overflow: visible;
}

.sd-chart-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw-line 2s ease both 1.2s;
}

@keyframes draw-line {
    to { stroke-dashoffset: 0; }
}

.sd-chart-caption {
    display: block;
    text-align: center;
    font-size: .66rem;
    color: rgba(255,255,255,.28);
    margin-top: 6px;
}

/* Topics */
.sd-topics {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
}

.sd-topic-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
}

.sdt-name {
    font-size: .76rem;
    color: rgba(255,255,255,.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sdt-track {
    width: 90px;
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    overflow: hidden;
}

.sdt-fill {
    height: 100%;
    border-radius: 10px;
    width: var(--w, 0%);
    animation: bar-fill .9s cubic-bezier(.4,0,.2,1) both;
}

.sdt-fill { animation-delay: 1.4s; }
.sd-topic-row:nth-child(2) .sdt-fill { animation-delay: 1.6s; }
.sd-topic-row:nth-child(3) .sdt-fill { animation-delay: 1.8s; }

@keyframes bar-fill {
    from { width: 0 !important; }
    to   { width: var(--w); }
}

.sdf-blue  { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.sdf-amber { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.sdf-green { background: linear-gradient(90deg, #10b981, #34d399); }

.sdt-pct {
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    min-width: 30px;
    text-align: right;
}

/* Next session */
.sd-next {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    padding: 10px 14px;
    border-radius: 10px;
}

.sd-next i { color: #60a5fa; font-size: .85rem; }
.sd-next strong { color: #fff; }

.sd-next-tag {
    margin-left: auto;
    font-size: .66rem;
    font-weight: 700;
    background: rgba(59,130,246,.18);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,.28);
    padding: 2px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ---------- Floating notification toasts ---------- */
.hero-notif {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(10,14,32,.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    padding: 11px 16px;
    min-width: 210px;
    max-width: 240px;
    box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.06) inset;
    z-index: 3;
}

.hn-1 {
    top: -30px; left: -20px;
    animation: notif-bob 5s ease-in-out infinite;
}

.hn-2 {
    bottom: -20px; right: -24px;
    animation: notif-bob 5s ease-in-out infinite 1.6s;
}

.hn-3 {
    top: 50%; right: -32px;
    transform: translateY(-50%);
    animation: notif-bob-mid 5s ease-in-out infinite .8s;
}

@keyframes notif-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

@keyframes notif-bob-mid {
    0%, 100% { transform: translateY(-50%); }
    50%       { transform: translateY(calc(-50% - 7px)); }
}

.hn-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    flex-shrink: 0;
}

.hn-gold  { background: rgba(245,158,11,.2); color: #fbbf24; }
.hn-green { background: rgba(16,185,129,.2); color: #34d399; }
.hn-amber { background: rgba(251,146,60,.2); color: #fb923c; }

.hn-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.2);
}

.hn-text strong {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.hn-text span {
    display: block;
    font-size: .71rem;
    color: rgba(255,255,255,.45);
    margin-top: 1px;
}

/* ============================================================
   ABOUT V2 — Redesigned "About Your Tutor" section
   ============================================================ */

/* ---- Centered header ---- */
.av2-header {
    margin-bottom: 40px;
}

.av2-header .section-title {
    display: block;
    margin-bottom: 18px;
}

.av2-intro-center {
    font-size: 1.05rem;
    color: var(--text-med);
    line-height: 1.85;
    max-width: 680px;
    margin: 0 auto;
}

/* ---- Full-width quote ---- */
.av2-quote-wide {
    position: relative;
    padding: 24px 32px 24px 64px;
    margin: 0 0 48px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 1.05rem;
    color: var(--text-med);
    line-height: 1.85;
    font-style: italic;
}

.av2-quote-wide > i.fa-quote-left {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.6rem;
    color: var(--accent);
    opacity: .5;
    font-style: normal;
}

/* ---- Two-column body ---- */
.av2-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

/* ---- Left: image side ---- */
.av2-img-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 24px 8px;
}

.av2-dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(59,130,246,.35) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    z-index: 0;
    border-radius: 4px;
    pointer-events: none;
}

.av2-frame-accent {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 180px;
    height: 180px;
    border-right: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
    border-radius: 0 0 var(--radius-lg) 0;
    z-index: 0;
    pointer-events: none;
}

.av2-photo-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    flex: 1;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(30,64,175,.2), 0 8px 24px rgba(0,0,0,.12);
    border: 4px solid #fff;
}

.av2-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.av2-photo-wrap:hover .av2-photo { transform: scale(1.03); }

.av2-photo-fallback {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #93c5fd;
}

/* Floating credential cards */
.av2-float-card {
    position: absolute;
    z-index: 4;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: 0 12px 36px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid rgba(255,255,255,.8);
}

.av2-fc-top {
    top: 16px;
    right: -16px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: av2-bob 4.5s ease-in-out infinite;
}

.av2-fc-bottom {
    bottom: 24px;
    left: -16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: av2-bob 4.5s ease-in-out infinite 2.2s;
}

@keyframes av2-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.av2-fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    flex-shrink: 0;
}

.av2-fc-text strong {
    display: block;
    font-size: .9rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.av2-fc-text span {
    display: block;
    font-size: .74rem;
    color: var(--text-light);
}

.av2-fc-stars {
    color: #f59e0b;
    font-size: .9rem;
    letter-spacing: .05em;
    margin-bottom: 2px;
}

.av2-fc-bottom strong {
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-dark);
}

.av2-fc-bottom span {
    font-size: .74rem;
    color: var(--text-light);
}

/* ---- Right: boxes side ---- */
.av2-right {
    display: flex;
    flex-direction: column;
}

/* 2 × 2 features grid */
.av2-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 30px;
}

.av2-feat {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: var(--transition);
}

.av2-feat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #bfdbfe;
    background: #fff;
}

.av2-feat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.av2-feat-icon i {
    font-size: 1.25rem;
    line-height: 1;
}

.av2-feat-icon svg {
    display: block;
    flex-shrink: 0;
}

.av2-feat > div:last-child strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
    line-height: 1.3;
}

.av2-feat > div:last-child span {
    font-size: .8rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* CTA row */
.av2-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

/* Coming soon note */
.av2-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .83rem;
    color: var(--text-light);
    background: var(--bg-light);
    border: 1px dashed #d1d5db;
    padding: 10px 16px;
    border-radius: 8px;
}

.av2-coming-soon i { color: var(--accent); }

.av2-coming-soon a {
    color: var(--primary-light);
    font-weight: 600;
    transition: var(--transition);
}

.av2-coming-soon a:hover { text-decoration: underline; }

/* About v2 responsive */
@media (max-width: 1024px) {
    .av2-body { gap: 40px; }
}

@media (max-width: 768px) {
    .av2-quote-wide   { padding: 18px 20px 18px 48px; font-size: .95rem; margin-bottom: 32px; }
    .av2-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .av2-img-side     { padding: 12px; min-height: 300px; }
    .av2-photo-wrap   { min-height: 300px; }
    .av2-photo-fallback { min-height: 300px; }
    .av2-float-card   { display: none; }
    .av2-dot-grid,
    .av2-frame-accent { display: none; }
    .av2-features     { grid-template-columns: 1fr; }
    .av2-ctas         { flex-direction: column; }
}

/* ---------- Hero responsive ---------- */
@media (max-width: 1100px) {
    .hero-inner    { gap: 44px; }
    .score-dash    { max-width: 380px; }
    .hn-1          { left: -10px; }
    .hn-2          { right: -10px; }
    .hn-3          { right: -10px; }
}

@media (max-width: 900px) {
    .hero-notif    { display: none; }
    .hero-right    { justify-content: center; }
    .score-dash    { max-width: 400px; }
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 0 72px;
        gap: 40px;
    }
    .hero-right { display: none; }
    .hero-h1    { font-size: clamp(2.3rem, 9vw, 3.2rem); }
    .hero-sub   { font-size: 1rem; }
    .hero-cta-row { flex-direction: column; }
    .hero-btn-primary,
    .hero-btn-ghost { justify-content: center; }
    .hero-proof-strip { gap: 16px; }
    .hps-item strong  { font-size: 1.3rem; }
}
