:root {
    --bg-base: #0a120e;
    --text-primary: #ffffff;
    --text-secondary: #a0b5a8;
    --accent-main: #5B8C6E;
    --accent-glow: rgba(91, 140, 110, 0.4);
    --accent-secondary: #C4A96A;
    --glass-bg: rgba(15, 25, 18, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --success: #6AAF7B;
    --danger: #D4655E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    animation: pageIn 0.6s ease-out;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animated Mesh Background & Overlays */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: radial-gradient(circle at 10% 20%, rgba(91, 140, 110, 0.12), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(196, 169, 106, 0.12), transparent 30%),
        radial-gradient(circle at 60% 40%, rgba(123, 175, 142, 0.08), transparent 40%);
    filter: blur(80px);
    animation: meshShift 25s ease-in-out infinite alternate;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    opacity: 0.6;
}

@keyframes meshShift {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(2%, 2%); }
    100% { transform: scale(1) translate(-2%, -2%); }
}

/* Typography & Core */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
}

h1 { font-size: 4.5rem; letter-spacing: -2px; }
h2 { font-size: 3rem; letter-spacing: -1px; }

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}

a:hover { color: var(--accent-main); }

/* Glass Panel — shared card style */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s, border-color 0.4s;
}

.glass-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 140, 110, 0.2);
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.gradient-text {
    background: linear-gradient(to right, #5B8C6E, #C4A96A, #D9C48E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite reverse;
}

@keyframes shine { to { background-position: 200% center; } }

/* UI Elements */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s, box-shadow 0.4s;
}

.glass-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 140, 110, 0.4);
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(91, 140, 110, 0.15);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 10px 25px -5px var(--accent-glow);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before { left: 100%; }

.cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px -5px var(--accent-glow);
}

/* Ripple effect for buttons */
.cta-primary .ripple,
.cta-secondary .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to { transform: scale(4); opacity: 0; }
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-main);
    transform: translateY(-2px);
}

/* Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 18, 14, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-text { color: var(--text-primary); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.language-switch:hover {
    border-color: rgba(91, 140, 110, 0.45);
    background: rgba(91, 140, 110, 0.12);
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-main);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links .language-switch::after,
.footer-links .language-switch::after { display: none; }

.nav-links a.active { color: var(--accent-main); }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1002;
    border-radius: 8px;
    transition: background 0.3s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 18, 14, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-nav.open a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--accent-main);
}

.mobile-nav .language-switch {
    font-size: 1rem;
    transform: translateY(20px);
}

.mobile-nav.open .language-switch {
    transform: translateY(0);
}

/* Layout */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 5% 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 1rem 0 3rem;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(91, 140, 110, 0.1);
    border: 1px solid rgba(91, 140, 110, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c8e6d0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.status-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shimmerBadge 3s infinite ease-out;
}

@keyframes shimmerBadge { 100% { left: 200%; } }

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-main);
    animation: pulseBase 2s infinite;
}

.hero h1 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.08em;
}

.hero p {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Hero subtitle typed cursor effect */
.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.typed-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent-main);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.button-group {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 200;
}

/* Trust signals bar */
.trust-bar {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item .trust-number {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--accent-main), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Graphic / Quiz Card Hologram */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.quiz-hologram {
    width: 380px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(8deg) rotateY(-10deg);
    animation: floatHologram 8s ease-in-out infinite alternate;
}

@keyframes floatHologram {
    0% { transform: rotateX(8deg) rotateY(-10deg) translateY(0px); }
    100% { transform: rotateX(12deg) rotateY(-5deg) translateY(-25px); }
}

.quiz-card {
    position: absolute;
    width: 100%;
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(15, 25, 18, 0.6);
    border: 1px solid rgba(91, 140, 110, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.quiz-card-front { top: 0; z-index: 3; }
.quiz-card-back-1 { top: 20px; left: 15px; z-index: 2; opacity: 0.6; transform: scale(0.96); }
.quiz-card-back-2 { top: 40px; left: 30px; z-index: 1; opacity: 0.3; transform: scale(0.92); }

.quiz-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-secondary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.quiz-question {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.quiz-options { display: flex; flex-direction: column; gap: 0.6rem; }

.quiz-option {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quiz-option-letter {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(91, 140, 110, 0.15);
    border: 1px solid rgba(91, 140, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-main);
    flex-shrink: 0;
}

.quiz-option.correct {
    border-color: rgba(106, 175, 123, 0.5);
    background: rgba(106, 175, 123, 0.1);
    color: var(--text-primary);
}

.quiz-option.correct .quiz-option-letter {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.quiz-progress-bar {
    margin-top: 1.5rem;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 65%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-main), var(--accent-secondary));
    animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Floating decorative elements */
.float-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(15, 25, 18, 0.7);
    border: 1px solid rgba(91, 140, 110, 0.2);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite alternate;
    white-space: nowrap;
}

.float-badge-streak { top: 30px; right: -30px; color: var(--accent-secondary); animation-delay: 0.5s; }
.float-badge-score { bottom: 60px; left: -40px; color: var(--success); animation-delay: 1.5s; }

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* Bento Box Features section */
.bento-section { margin-top: 8rem; margin-bottom: 8rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.08em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "bank bank analysis"
        "exams community community"
        "calendar sync smart"
        "focus library library"
        "premium premium premium";
    grid-auto-rows: minmax(240px, auto);
    gap: 1.5rem;
    align-items: stretch;
}

.bento-item {
    min-height: 240px;
    height: 100%;
    padding: clamp(2rem, 2.2vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-bank { grid-area: bank; }
.feature-analysis { grid-area: analysis; }
.feature-exams { grid-area: exams; }
.feature-community { grid-area: community; }
.feature-calendar { grid-area: calendar; }
.feature-sync { grid-area: sync; }
.feature-smart { grid-area: smart; }
.feature-focus { grid-area: focus; }
.feature-library { grid-area: library; }
.feature-premium { grid-area: premium; }

.bento-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(91, 140, 110, 0.15), rgba(196, 169, 106, 0.15));
    border: 1px solid rgba(91, 140, 110, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.feature-icon {
    font-size: 30px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.bento-item:hover .bento-icon {
    transform: translateY(-2px);
    border-color: rgba(91, 140, 110, 0.5);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 0 20px rgba(91, 140, 110, 0.2);
}

.bento-item h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.bento-item p {
    max-width: 54ch;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-bank p,
.feature-community p,
.feature-library p,
.feature-premium p {
    max-width: 76ch;
}

.feature-premium {
    min-height: 220px;
    border-color: rgba(196, 169, 106, 0.18);
    background:
        linear-gradient(135deg, rgba(196, 169, 106, 0.08), rgba(91, 140, 110, 0.05)),
        var(--glass-bg);
}

.feature-premium .bento-icon {
    color: var(--accent-secondary);
    border-color: rgba(196, 169, 106, 0.28);
    background: linear-gradient(135deg, rgba(196, 169, 106, 0.18), rgba(91, 140, 110, 0.12));
}

/* Animations & Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* Staggered reveal for child items */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
    animation: staggerFallback 0s 2s forwards;
}

.stagger-reveal.active > * {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

@keyframes staggerFallback {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ping {
    75%, 100% { transform: scale(3); opacity: 0; }
}

@keyframes pulseBase {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 5% 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 6rem;
    position: relative;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-main);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(91, 140, 110, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(91, 140, 110, 0.5);
}

.back-to-top {
    font-size: 1.3rem;
    line-height: 1;
}

/* Legal Pages (Privacy, Terms, FAQ, Delete Account) */
.legal-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 5% 4rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    width: 280px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
    border-left: 2px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(91, 140, 110, 0.1);
    color: var(--accent-main);
    border-left-color: var(--accent-main);
}

.legal-document {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 120px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-section ul {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 3rem 0;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    align-items: flex-start;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    border-color: rgba(91, 140, 110, 0.25);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(91, 140, 110, 0.05);
}

.info-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.info-card:hover .info-icon {
    transform: scale(1.05);
    background: rgba(91, 140, 110, 0.1);
}

.info-text strong {
    color: var(--accent-main);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-text { color: var(--text-secondary); }

.highlight-inline {
    background: rgba(91, 140, 110, 0.2);
    color: #c8e6d0;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Data table for legal pages */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.data-table th, .data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: background 0.2s;
}

.data-table th {
    color: var(--accent-main);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.01);
}

.data-table tr:hover td {
    background: rgba(91, 140, 110, 0.06);
}

/* FAQ Accordion Styles */
.faq-question {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-main);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.faq-expanded .faq-icon { transform: rotate(45deg); }

/* FAQ answer collapse animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
}

.faq-item.faq-expanded .faq-answer {
    max-height: 1000px;
}

/* At a Glance Cards */
.glance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.glance-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    align-items: flex-start;
    transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.glance-card:hover {
    border-color: rgba(91, 140, 110, 0.3);
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(91, 140, 110, 0.08);
}

.glance-card .glance-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s;
}

.glance-card:hover .glance-icon {
    transform: scale(1.1);
    background: rgba(91, 140, 110, 0.1);
}

.glance-card strong {
    color: var(--accent-main);
    display: block;
    margin-bottom: 0.25rem;
}

.glance-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Updated badge */
.updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(91, 140, 110, 0.1);
    border: 1px solid rgba(91, 140, 110, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c8e6d0;
    margin-bottom: 1.5rem;
}

/* Google Play Badge */
.play-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.8rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.play-badge:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.play-badge .play-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.play-badge svg.play-svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter:
        drop-shadow(0 0 14px rgba(91, 140, 110, 0.55))
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.08));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s;
}

.play-badge:hover svg.play-svg {
    transform: scale(1.06) rotate(-2deg);
    filter:
        drop-shadow(0 0 22px rgba(91, 140, 110, 0.8))
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.12));
}

.sticky-cta .play-badge svg.play-svg {
    width: 26px;
    height: 26px;
    filter:
        drop-shadow(0 0 8px rgba(91, 140, 110, 0.5))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.final-cta-band .play-badge svg.play-svg {
    width: 46px;
    height: 46px;
}

/* Hidden SVG defs container holds gradients used by Play icons */
.svg-defs {
    width: 0;
    height: 0;
    position: absolute;
    overflow: hidden;
    pointer-events: none;
}

.play-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.play-badge-text small {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.play-badge-text span {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 4rem;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p { max-width: 100%; }

    .quiz-hologram { transform: scale(0.8) rotateX(5deg); }

    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "bank bank"
            "analysis exams"
            "community community"
            "calendar sync"
            "smart focus"
            "library library"
            "premium premium";
        grid-auto-rows: minmax(220px, auto);
    }

    .bento-item { min-height: 220px; }
    .feature-bank,
    .feature-community,
    .feature-library,
    .feature-premium { min-height: 210px; }

    .footer-wrap {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .footer-links { justify-content: center; }

    .legal-content-wrapper { flex-direction: column; }

    .legal-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }

    .float-badge { display: none; }

    .glance-grid { grid-template-columns: 1fr; }

    .trust-bar { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }

    .navbar { padding: 1rem 5%; }
    h1 { font-size: 2.5rem; letter-spacing: -1px; }
    .hero p, .hero-subtitle { font-size: 1.1rem; }

    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group button,
    .button-group a { width: 100%; text-align: center; justify-content: center; }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        grid-auto-rows: auto;
    }

    .bento-item {
        grid-area: auto;
        min-height: auto;
        padding: 2rem;
    }

    .bento-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

    .feature-icon {
        font-size: 28px;
        line-height: 1;
    }

    .quiz-hologram {
        width: 300px;
        height: 340px;
    }

    .trust-bar {
        gap: 1.5rem;
        justify-content: center;
    }

    .trust-item { font-size: 0.85rem; }
    .trust-item .trust-number { font-size: 1.1rem; }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

/* ═══════════════════════════════════════════════════════════
   MARKETING REDESIGN — sections added below
   ═══════════════════════════════════════════════════════════ */

/* ── Sticky Install CTA ─────────────────────────────────── */
.sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translate(-50%, 140%);
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.6rem 0.6rem 1.25rem;
    background: rgba(10, 18, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(91, 140, 110, 0.25);
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(91, 140, 110, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, visibility 0.4s;
    max-width: calc(100vw - 2rem);
}

.sticky-cta.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sticky-cta-text strong {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 700;
}

.sticky-cta-text small {
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.sticky-cta .play-badge {
    padding: 0.6rem 1rem;
    border-radius: 100px;
    margin: 0;
}

.sticky-cta .play-badge-text small { font-size: 0.55rem; }
.sticky-cta .play-badge-text span { font-size: 0.85rem; }

/* ── Hero device stack (3 fanned phones) ────────────────── */
.hero-device-stack {
    position: relative;
    width: 420px;
    height: 540px;
    perspective: 1400px;
    margin: 0 auto;
}

.hero-device-stack .device-frame {
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: center bottom;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: deviceFloat 8s ease-in-out infinite alternate;
}

.hero-device-stack .device-frame:nth-child(1) {
    transform: translateX(-50%) translateX(-130px) rotate(-10deg) scale(0.92);
    z-index: 1;
    opacity: 0.78;
    animation-delay: 0s;
}

.hero-device-stack .device-frame:nth-child(2) {
    transform: translateX(-50%) translateY(-12px) rotate(0deg) scale(1);
    z-index: 3;
    animation-delay: 1s;
}

.hero-device-stack .device-frame:nth-child(3) {
    transform: translateX(-50%) translateX(130px) rotate(10deg) scale(0.92);
    z-index: 1;
    opacity: 0.78;
    animation-delay: 2s;
}

@keyframes deviceFloat {
    0% { translate: 0 0; }
    100% { translate: 0 -14px; }
}

/* ── Device frame (phone mockup) ────────────────────────── */
.device-frame {
    width: 240px;
    aspect-ratio: 9 / 19.5;
    padding: 10px;
    border-radius: 38px;
    background: linear-gradient(160deg, #1a2520, #0a120e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 40px rgba(91, 140, 110, 0.15);
    overflow: hidden;
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    background: #0a120e;
}

.device-frame--lg { width: 280px; }
.device-frame--sm { width: 200px; }

/* ── Trust micro-row under hero CTA ─────────────────────── */
.trust-micro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.trust-micro .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    background: rgba(91, 140, 110, 0.07);
    border: 1px solid rgba(91, 140, 110, 0.18);
    border-radius: 100px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.1px;
    transition: border-color 0.3s, background 0.3s;
}

.trust-micro .pill:hover {
    border-color: rgba(91, 140, 110, 0.35);
    background: rgba(91, 140, 110, 0.11);
}

.trust-micro .pill svg {
    width: 16px;
    height: 16px;
    color: var(--accent-main);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ─── Keyword emphasis (.kw / .kw-num) ──────────────────── */
.kw {
    font-weight: 700;
    color: #FFD24A;
    text-shadow: 0 0 18px rgba(255, 210, 74, 0.25);
}

.kw-num {
    font-weight: 800;
    color: #FFCF40;
    letter-spacing: -0.3px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 22px rgba(255, 207, 64, 0.35);
}

/* ── Animated Stats Grid ────────────────────────────────── */
.stats-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.stat-cell {
    text-align: center;
    padding: 0.5rem;
    min-width: 0;
}

.stat-counter {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ── How It Works (3 steps) ─────────────────────────────── */
.howto-section {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

.howto-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.howto-step {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.howto-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px -8px var(--accent-glow);
}

.howto-step-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.howto-step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.howto-step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.55;
}

/* ── Feature Spotlights (alternating L/R) ───────────────── */
.spotlights-section {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.feature-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 5rem;
    margin-bottom: 7rem;
}

.feature-spotlight:nth-child(even) .spotlight-text {
    order: 2;
}

.feature-spotlight:nth-child(even) .spotlight-visual {
    order: 1;
}

.spotlight-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.spotlight-text h3 {
    font-size: 2.6rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.spotlight-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 50ch;
}

.spotlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.spotlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.spotlight-list li::before {
    content: '✓';
    color: var(--accent-main);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.spotlight-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-main);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s, color 0.3s;
}

.spotlight-inline-cta:hover {
    color: var(--accent-secondary);
    gap: 0.75rem;
}

.spotlight-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 380px;
}

/* Stylized visual card (replaces device-frame screenshots) */
.spotlight-visual-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 5 / 6;
    padding: 2.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(91, 140, 110, 0.18), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(196, 169, 106, 0.18), transparent 55%),
        linear-gradient(160deg, rgba(15, 25, 18, 0.85), rgba(10, 18, 14, 0.95));
    border: 1px solid rgba(91, 140, 110, 0.25);
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
    transform: rotate(-2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-spotlight:nth-child(even) .spotlight-visual-card {
    transform: rotate(2deg);
}

.spotlight-visual:hover .spotlight-visual-card {
    transform: rotate(0deg) scale(1.02);
}

.spotlight-visual-emoji {
    font-size: 5.5rem;
    line-height: 1;
    filter: drop-shadow(0 8px 24px rgba(91, 140, 110, 0.4));
    margin-bottom: 0.5rem;
}

.spotlight-visual-headline {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spotlight-visual-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 28ch;
}

.spotlight-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.spotlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    background: rgba(91, 140, 110, 0.1);
    border: 1px solid rgba(91, 140, 110, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.spotlight-chip--gold {
    background: rgba(196, 169, 106, 0.12);
    border-color: rgba(196, 169, 106, 0.3);
    color: var(--accent-secondary);
}

/* Decorative corner glow on visual cards */
.spotlight-visual-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(91, 140, 110, 0.25), transparent 60%);
    pointer-events: none;
}

/* ── Testimonials Carousel ──────────────────────────────── */
.testimonials-section {
    margin-top: 8rem;
    margin-bottom: 8rem;
    position: relative;
}

.testimonial-track-wrap {
    position: relative;
    margin-top: 3rem;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0.5rem 2rem;
    scroll-behavior: smooth;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
    flex: 0 0 360px;
    scroll-snap-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(91, 140, 110, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(91, 140, 110, 0.15);
}

.testimonial-stars {
    color: var(--accent-secondary);
    font-size: 1.05rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.testimonial-author-info strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-author-info span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.testimonial-nav-btn:hover {
    border-color: var(--accent-main);
    color: var(--accent-main);
    transform: translateY(-2px);
}

/* ── Premium Showcase (informational) ───────────────────── */
.premium-section {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

.premium-showcase {
    padding: 3rem;
    background:
        linear-gradient(135deg, rgba(196, 169, 106, 0.08), rgba(91, 140, 110, 0.05)),
        var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(196, 169, 106, 0.25);
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(196, 169, 106, 0.05);
}

.premium-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: rgba(196, 169, 106, 0.15);
    border: 1px solid rgba(196, 169, 106, 0.35);
    border-radius: 100px;
    color: var(--accent-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.premium-header h2 {
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.premium-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 60ch;
    margin: 0 auto;
}

.premium-perks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.premium-perk {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.premium-perk-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 2px;
}

.premium-footnote {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.premium-footnote .play-badge { margin-top: 1.5rem; }

/* ── FAQ Teaser on Home ─────────────────────────────────── */
.faq-teaser-section {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

.faq-teaser-grid {
    max-width: 820px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-teaser-grid .faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 2rem auto 0;
    color: var(--accent-main);
    font-weight: 700;
    font-size: 1rem;
    transition: gap 0.3s, color 0.3s;
}

.faq-teaser-link:hover {
    color: var(--accent-secondary);
    gap: 0.75rem;
}

.faq-teaser-link-wrap {
    display: flex;
    justify-content: center;
}

/* ── Final CTA Band ─────────────────────────────────────── */
.final-cta-band {
    margin-top: 8rem;
    margin-bottom: 4rem;
    padding: 4.5rem 3rem;
    border-radius: 32px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(91, 140, 110, 0.2), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 169, 106, 0.18), transparent 50%),
        linear-gradient(160deg, rgba(15, 25, 18, 0.85), rgba(10, 18, 14, 0.95));
    border: 1px solid rgba(91, 140, 110, 0.25);
    box-shadow: inset 0 0 0 1px var(--glass-highlight), 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.final-cta-band h2 {
    font-size: 3rem;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-band p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-band .play-badge {
    transform: scale(1.1);
    margin: 0 auto;
}

.final-cta-band-foot {
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ── Section Header refinement (centered + tighter) ─────── */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — Marketing redesign breakpoints
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        text-align: center;
        gap: 3rem;
        padding-bottom: 2rem;
    }

    .hero-text { max-width: 100%; }
    .hero p { max-width: 100%; }
    .trust-micro { justify-content: center; }
    .button-group { justify-content: center; }

    .hero-device-stack {
        width: 100%;
        max-width: 380px;
        height: 460px;
    }

    .device-frame { width: 200px; }
    .hero-device-stack .device-frame:nth-child(1) { transform: translateX(-50%) translateX(-95px) rotate(-10deg) scale(0.88); }
    .hero-device-stack .device-frame:nth-child(3) { transform: translateX(-50%) translateX(95px) rotate(10deg) scale(0.88); }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
        gap: 2rem 1rem;
    }
    .stat-counter { font-size: 2.2rem; }

    .howto-grid { grid-template-columns: 1fr; gap: 1rem; }

    .feature-spotlight {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
        text-align: center;
    }

    .feature-spotlight .spotlight-text { order: 2 !important; }
    .feature-spotlight .spotlight-visual { order: 1 !important; min-height: 420px; }
    .spotlight-text h3 { font-size: 2rem; }
    .spotlight-list li { justify-content: flex-start; text-align: left; }
    .spotlight-list { max-width: 360px; margin-left: auto; margin-right: auto; }

    .testimonial-card { flex-basis: 80vw; }

    .premium-showcase { padding: 2rem 1.5rem; }
    .premium-perks { grid-template-columns: 1fr; gap: 0.5rem 1rem; max-width: 100%; }
    .premium-header h2 { font-size: 1.7rem; }

    .final-cta-band {
        padding: 3rem 1.5rem;
        margin-top: 5rem;
    }
    .final-cta-band h2 { font-size: 2rem; }

    .sticky-cta {
        left: 1rem;
        right: 1rem;
        bottom: 0.75rem;
        transform: translate(0, 140%);
        max-width: none;
        justify-content: space-between;
        padding: 0.55rem 0.55rem 0.55rem 1rem;
    }
    .sticky-cta.visible { transform: translate(0, 0); }

    /* On mobile, lift back-to-top so it doesn't collide with sticky CTA */
    body.has-sticky-cta .back-to-top.visible {
        bottom: 5.5rem;
    }
}

@media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 0.75rem; }
    .stat-counter { font-size: 1.9rem; }
    .stat-label { font-size: 0.7rem; letter-spacing: 1px; }
    .spotlight-text h3 { font-size: 1.7rem; }
    .final-cta-band h2 { font-size: 1.7rem; }
    .testimonial-card { flex-basis: 85vw; padding: 1.5rem; }
    .testimonial-quote { font-size: 0.95rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-device-stack .device-frame,
    .float-badge,
    .gradient-text {
        animation: none !important;
    }
    .testimonial-track { scroll-behavior: auto; }
}
