*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --indigo: #6366f1;
    --indigo-light: #818cf8;
    --emerald: #10b981;
    --amber: #f59e0b;
    --surface: #0f172a;
    --surface-2: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255,255,255,0.08);
    --card: rgba(255,255,255,0.04);
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Lexend', sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ─── NAV — www-v6 exact style ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    height: 75px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; height: 100%; flex-shrink: 0; text-decoration: none; }
.nav-logo-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 60%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(99,102,241,.45);
    overflow: hidden;
}
.nav-logo-icon svg { display: block; }
.nav-logo-text { font-size: 21px; font-weight: 900; letter-spacing: -.5px; color: #fff; }

/* Full-height square links — www-v6 style */
.nav-links {
    display: flex; height: 100%; align-items: center;
    flex: 1; justify-content: center;
}
.nav-link {
    height: 100%; display: flex; align-items: center;
    padding: 0 2.5rem;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px;
    transition: background .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
}
.nav-link[data-color="indigo"]:hover,  .nav-link[data-color="indigo"].active-section  { color: #818cf8; background: rgba(99,102,241,.1);  box-shadow: inset 0 -4px 0 #818cf8; }
.nav-link[data-color="emerald"]:hover, .nav-link[data-color="emerald"].active-section { color: #34d399; background: rgba(16,185,129,.1);  box-shadow: inset 0 -4px 0 #34d399; }
.nav-link[data-color="amber"]:hover,   .nav-link[data-color="amber"].active-section   { color: #fbbf24; background: rgba(245,158,11,.1);  box-shadow: inset 0 -4px 0 #fbbf24; }
.nav-link[data-color="cyan"]:hover,    .nav-link[data-color="cyan"].active-section    { color: #22d3ee; background: rgba(6,182,212,.1);   box-shadow: inset 0 -4px 0 #22d3ee; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Nav pill buttons — both same pill shape, ghost vs filled */
.btn-signin {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    border: none; padding: 0.6rem 1.5rem;
    border-radius: 50px; font-family: 'Lexend', sans-serif; font-weight: 600;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.2s; cursor: pointer;
    box-shadow: 0 4px 14px rgba(6,182,212,0.35);
}
.btn-signin:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(6,182,212,0.55); color: #fff; }
/* Make the CTA button match pill shape */
.nav-cta .btn-primary {
    border-radius: 50px; text-transform: uppercase; letter-spacing: 1px;
    font-size: 0.85rem; padding: 0.6rem 1.5rem;
}

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--r); font-family: 'Lexend', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .18s; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-primary { background: linear-gradient(135deg, var(--indigo), #8b5cf6); color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(99,102,241,0.5); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--r-lg); }
.btn-emerald { background: linear-gradient(135deg, var(--emerald), #059669); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,0.3); }
.btn-emerald:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(16,185,129,0.45); }
.btn-amber { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 4px 14px rgba(245,158,11,0.3); }
.btn-amber:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(245,158,11,0.45); }
.btn-outline-amber { background: transparent; border: 1.5px solid #f59e0b; color: #fbbf24; }
.btn-outline-amber:hover { background: rgba(245,158,11,.1); }

/* Gradient pill submit button for login — with generate-style pulse+shimmer */
@keyframes loginPulse {
    0%, 100% { box-shadow: 0 4px 22px rgba(99,102,241,0.42), 0 2px 8px rgba(0,0,0,0.25); }
    50%       { box-shadow: 0 4px 36px rgba(99,102,241,0.72), 0 2px 8px rgba(0,0,0,0.25); }
}
@keyframes loginShimmer {
    0%        { transform: translateX(-150%) skewX(-12deg); }
    55%, 100% { transform: translateX(220%)  skewX(-12deg); }
}
.btn-submit {
    display: block; width: 100%; padding: 1rem;
    background: linear-gradient(135deg, var(--indigo), #8b5cf6);
    color: #fff; border: none; border-radius: 50px;
    font-family: 'Lexend', sans-serif; font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; position: relative; overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: loginPulse 2.8s ease-in-out infinite;
}
.btn-submit::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    animation: loginShimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.65), 0 0 0 4px rgba(99,102,241,0.12); animation: none; }
.btn-submit:hover::before { animation: none; }

/* ─── HERO ─── */
.hero {
    min-height: 50vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16,185,129,0.12) 0%, transparent 50%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(10,242,253,0.08); border: 1px solid rgba(10,242,253,0.25);
    border-radius: 100px; padding: 6px 16px;
    font-size: 13px; font-weight: 600; color: #22d3ee;
    margin-bottom: 28px; animation: fadeInDown .8s ease forwards;
}
.hero-badge-dot { width: 6px; height: 6px; background: #22d3ee; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:none} }

/* ─── HERO TEXT MASK ANIMATION ─── */
.mask-wrap { display: block; overflow: hidden; margin-bottom: -6px; padding-bottom: 6px; }
.mask-inner {
    display: block; opacity: 0;
    transform: translateY(120%) skewY(4deg);
    animation: revealMask 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes revealMask { to { transform: translateY(0) skewY(0); opacity: 1; } }

.hero-h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.08; letter-spacing: -2.5px; margin-bottom: 24px; }
.hero-h1 .grad { background: linear-gradient(135deg, #818cf8, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 640px; margin: 0 auto 40px; line-height: 1.6; animation: fadeUp .9s .4s ease both; min-height: 1.8em; }
.tw-cursor { color: var(--indigo-light); animation: twBlink 1s step-end infinite; font-weight: 300; }
@keyframes twBlink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; animation: fadeUp .9s .6s ease both; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; animation: fadeUp .9s .8s ease both; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 900; color: var(--indigo-light); }
.hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── SECTIONS ─── */
section { padding: 96px 24px; }
.container { max-width: 1120px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--indigo-light); margin-bottom: 12px; }
.section-h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 560px; margin-bottom: 56px; }

/* ─── FEATURES ─── */
.features-outer { max-width: 1600px; margin: 0 auto; padding: 0 32px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon.indigo  { background: rgba(99,102,241,0.15); color: var(--indigo-light); }
.feature-icon.emerald { background: rgba(16,185,129,0.12);  color: #34d399; }
.feature-icon.amber   { background: rgba(245,158,11,0.12);  color: #fbbf24; }
.feature-icon.purple  { background: rgba(139,92,246,0.12);  color: #a78bfa; }
.feature-icon.cyan    { background: rgba(6,182,212,0.12);   color: #22d3ee; }
.feature-icon.rose    { background: rgba(244,63,94,0.12);   color: #fb7185; }
.feature-h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── HOW IT WORKS ─── */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; }
.how-step {
    text-align: center;
    padding: 40px 28px 36px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
    cursor: default;
}
.how-step:nth-child(1):hover { transform: translateY(-8px); border-color: rgba(99,102,241,0.35); box-shadow: 0 20px 48px rgba(99,102,241,0.18), 0 4px 12px rgba(0,0,0,0.3); }
.how-step:nth-child(2):hover { transform: translateY(-8px); border-color: rgba(16,185,129,0.35); box-shadow: 0 20px 48px rgba(16,185,129,0.15), 0 4px 12px rgba(0,0,0,0.3); }
.how-step:nth-child(3):hover { transform: translateY(-8px); border-color: rgba(139,92,246,0.35); box-shadow: 0 20px 48px rgba(139,92,246,0.15), 0 4px 12px rgba(0,0,0,0.3); }
.how-num {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo), #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900; margin: 0 auto 24px;
    box-shadow: 0 0 0 10px rgba(99,102,241,0.08);
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.how-step:nth-child(2) .how-num { background: linear-gradient(135deg,var(--emerald),#059669); box-shadow: 0 0 0 10px rgba(16,185,129,0.08); }
.how-step:nth-child(3) .how-num { background: linear-gradient(135deg,#8b5cf6,#a78bfa);   box-shadow: 0 0 0 10px rgba(139,92,246,0.08); }
.how-step:nth-child(1):hover .how-num { transform: scale(1.18) rotate(-6deg); box-shadow: 0 0 0 14px rgba(99,102,241,0.14), 0 6px 20px rgba(99,102,241,0.45); }
.how-step:nth-child(2):hover .how-num { transform: scale(1.18) rotate(-6deg); box-shadow: 0 0 0 14px rgba(16,185,129,0.14), 0 6px 20px rgba(16,185,129,0.4); }
.how-step:nth-child(3):hover .how-num { transform: scale(1.18) rotate(-6deg); box-shadow: 0 0 0 14px rgba(139,92,246,0.14), 0 6px 20px rgba(139,92,246,0.4); }
.how-h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.3px; }
.how-p  { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ─── PRICING ─── */
.pricing-outer { max-width: 1600px; margin: 0 auto; padding: 0 32px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 24px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; position: relative; }
.plan-card:hover { transform: translateY(-3px); }
.plan-card.plan-start  { border-color: rgba(245,158,11,0.35);  background: rgba(245,158,11,0.04); }
.plan-card.plan-start:hover { border-color: rgba(245,158,11,0.6); }
.plan-card.plan-pro    { border-color: var(--indigo);           background: rgba(99,102,241,0.07); }
.plan-card.plan-pro:hover { border-color: #818cf8; }
.plan-card.plan-school { border-color: rgba(16,185,129,0.35);  background: rgba(16,185,129,0.04); }
.plan-card.plan-school:hover { border-color: rgba(16,185,129,0.6); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); color: #fff; padding: 4px 16px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.plan-badge-pro   { background: linear-gradient(135deg, var(--indigo), #8b5cf6); }
.plan-badge-start { background: linear-gradient(135deg, #f59e0b, #d97706); }
.plan-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 8px; }
.plan-label.amber   { color: #fbbf24; }
.plan-label.indigo  { color: var(--indigo-light); }
.plan-label.emerald { color: #34d399; }
.plan-price  { font-size: 32px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 4px; }
.plan-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.plan-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.plan-feature .chk { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.plan-feature.dim { color: var(--text-muted); opacity: .5; }

/* ─── VIDEO + LOGIN SPLIT SECTION ─── */
.vlogin-section {
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.vlogin-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 95% 50%, rgba(99,102,241,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 5%  80%, rgba(16,185,129,0.08)  0%, transparent 55%);
    pointer-events: none; z-index: 0;
}
.vlogin-grid-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 85% at 65% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 65% 50%, black 20%, transparent 80%);
}
.vlogin-split {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 5vw;
}
.vlogin-left { flex: 1.15; min-width: 0; }
.vlogin-left .section-label { margin-bottom: 10px; }
.vlogin-left p.vlogin-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.65; }

/* Square 1:1 video wrapper — like www-v6 / oneapp-v8 hero */
.video-wrapper-sq {
    width: 100%; aspect-ratio: 1 / 1;
    background: rgba(15,23,42,0.55); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 24px;
    display: flex; justify-content: center; align-items: center;
    position: relative; overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.8), inset 0 0 24px rgba(99,102,241,0.08);
    transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), border-color 0.3s;
    cursor: pointer;
}
.video-wrapper-sq:hover { transform: scale(1.02); border-color: rgba(99,102,241,0.4); }
.video-wrapper-sq:hover .vw-play-btn { background: rgba(99,102,241,0.55); transform: scale(1.1); box-shadow: 0 0 50px rgba(99,102,241,0.6); border-color: transparent; }
.vw-play-btn {
    width: 100px; height: 100px; border-radius: 50%;
    background: rgba(255,255,255,0.13); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s; box-shadow: 0 0 30px rgba(0,0,0,0.5);
    flex-shrink: 0;
}
.vw-play-btn svg { width: 40px; height: 40px; margin-left: 6px; }
.vw-label {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    background: rgba(15,23,42,0.75); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 100px;
    padding: 6px 18px; font-size: 13px; font-weight: 600; color: var(--text-muted);
    white-space: nowrap;
}
/* Ambient glow lines inside video */
.vw-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 50% 20%, rgba(99,102,241,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(16,185,129,0.08) 0%, transparent 50%);
}

.vlogin-right { flex: 0 0 380px; }

/* ─── TESTIMONIALS ANIMATED WALL ─── */
.testimonials-section {
    padding: 80px 24px;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.twall-outer { max-width: 1600px; margin: 0 auto; padding: 0 32px; }
.twall {
    position: relative; height: 460px; overflow: hidden;
    mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, black 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, black 55%, transparent 100%);
}
.twall-card {
    position: absolute;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px 20px;
    width: 29%;
    opacity: 0;
    transform: scale(0.85) translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}
.twall-card.visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.twall-accent { height: 3px; border-radius: 2px; margin-bottom: 14px; }
.twall-quote { font-size: 13px; line-height: 1.7; color: var(--text-muted); margin-bottom: 14px; font-style: italic; }
.twall-author { font-size: 13px; font-weight: 700; color: var(--text); }
.twall-role   { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
@media (min-width: 1000px) {
    .twall { height: 500px; }
    .twall-card { padding: 20px 22px; }
    .twall-quote { font-size: 14px; }
    .twall-author { font-size: 14px; }
    .twall-role { font-size: 12px; }
}
@media (min-width: 1400px) {
    .twall { height: 560px; }
    .twall-card { padding: 24px 26px; }
    .twall-quote { font-size: 15px; }
    .twall-author { font-size: 15px; }
    .twall-role { font-size: 13px; }
}
@media (min-width: 1800px) {
    .twall { height: 640px; }
    .twall-quote { font-size: 16px; }
    .twall-author { font-size: 16px; }
    .twall-role { font-size: 13px; }
}

/* ─── LOGIN CARD ─── */
#prihlasit { scroll-margin-top: 75px; }
.login-card {
    background: rgba(15,23,42,0.75);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(99,102,241,0.22);
    border-radius: var(--r-xl); padding: 40px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
    position: relative; z-index: 1;
}
.login-card h2  { font-size: 24px; font-weight: 900; margin-bottom: 4px; letter-spacing: -.5px; }
.login-card .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-group  { margin-bottom: 16px; }
.form-label  { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 11px 14px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r); color: var(--text);
    font-family: 'Lexend', sans-serif; font-size: 15px;
    outline: none; transition: border-color .15s;
}
.form-control::placeholder { color: rgba(248,250,252,.3); }
.form-control:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.login-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #f87171; margin-bottom: 16px; }
.login-divider { text-align: center; font-size: 13px; color: var(--text-muted); margin: 16px 0; }

/* ─── FOOTER — www-v6 style ─── */
footer {
    background: rgba(0,0,0,0.85);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
}
.footer-flex {
    max-width: 1120px; margin: 0 auto; padding: 0 48px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer-logo-link { display: flex; align-items: center; gap: 6px; opacity: 0.5; filter: grayscale(100%); transition: 0.3s; }
.footer-logo-link:hover { opacity: 1; filter: grayscale(0%); }
.footer-logo-link svg { width: 22px; height: 22px; }
.footer-logo-link span { font-size: 14px; font-weight: 800; }
.footer-links { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.footer-links a, .footer-links button {
    color: var(--text-muted); font-size: 0.82rem; transition: color .15s;
    background: none; border: none; cursor: pointer; font-family: 'Lexend', sans-serif; padding: 0;
}
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-cookie-btn { display: none; }
.footer-cookie-btn.visible { display: inline; }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
    position: fixed; bottom: 1rem; left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: rgba(15,23,42,0.97); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 2rem; border-radius: 24px; z-index: 9999;
    display: flex; flex-direction: column; gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    width: 90%; max-width: 480px; opacity: 0; text-align: center;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-text { font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; }
.cookie-text a { color: #818cf8; font-weight: 500; text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; justify-content: center; }
.cookie-btn { flex: 1; max-width: 160px; padding: 0.6rem 1rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.25s; font-size: 0.84rem; border: none; font-family: 'Lexend', sans-serif; }
.cookie-btn.accept { background: white; color: black; }
.cookie-btn.accept:hover { background: var(--indigo); color: white; }
.cookie-btn.reject { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn.reject:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px;
    background: rgba(15,23,42,0.85); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: white; cursor: pointer; z-index: 900;
    opacity: 0; pointer-events: none; transform: translateY(20px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-top.bumped { bottom: 8rem; }
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--indigo); border-color: transparent; transform: translateY(-4px); box-shadow: 0 14px 28px rgba(99,102,241,0.4); }
.scroll-top svg { width: 22px; height: 22px; }

/* ─── MODALS ─── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(0,0,0,0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
    background: #1e293b; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
    padding: 36px; max-width: 520px; width: 100%;
    position: relative; max-height: 88vh; overflow-y: auto;
    transform: translateY(24px) scale(0.96);
    transition: transform .35s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.active .modal-box { transform: none; }
/* Large modal for ToS / Privacy */
.modal-box.modal-large { max-width: 660px; }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,0.07); border: 1px solid var(--border);
    color: var(--text-muted); font-size: 18px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.modal-icon-badge { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.modal-h2 { font-size: 24px; font-weight: 900; letter-spacing: -.5px; margin-bottom: 6px; text-align: center; }
.modal-sub { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }
.modal-feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.modal-feature { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.modal-divider { height: 1px; background: var(--border); margin: 20px 0; }
.modal-info { background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.modal-price-row { display: flex; align-items: baseline; gap: 8px; justify-content: center; margin-bottom: 24px; }
.modal-price { font-size: 42px; font-weight: 900; letter-spacing: -2px; }
.modal-price-period { font-size: 14px; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-text-body { font-size: 14px; color: var(--text-muted); line-height: 1.75; max-height: 55vh; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.12) transparent; }
.modal-text-body h3 { color: var(--text); font-size: 15px; margin: 20px 0 6px; }
.modal-text-body p  { margin-bottom: 10px; }
.modal-text-body ul { padding-left: 18px; margin-bottom: 10px; }
.modal-text-body::-webkit-scrollbar { width: 4px; }
.modal-text-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    .nav { padding: 0 16px; }
    .nav-links { display: none; }
    .how-grid { grid-template-columns: 1fr; gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-outer { padding: 0 20px; }
    .features-outer { padding: 0 20px; }
    .vlogin-split { flex-direction: column; gap: 40px; }
    .vlogin-right { flex: 0 0 auto; width: 100%; max-width: 440px; margin: 0 auto; }
    .video-wrapper-sq { max-width: 480px; margin: 0 auto; }
    .footer-flex { padding: 0 20px; flex-direction: column; text-align: center; justify-content: center; gap: 12px; }
    .twall-outer { padding: 0 16px; }
    .twall { height: 440px; }
}
@media (max-width: 479px) {
    .twall-outer { padding: 0 12px; }
    .twall { height: 360px; }
}
@media (max-width: 600px) {
    section { padding: 64px 16px; }
    .hero { padding: 100px 16px 60px; }
    .hero-stats { gap: 24px; }
    .vlogin-section { padding: 56px 16px; }
    footer { padding: 1.5rem 0; }
}
