/* ═══════════════════════════════════════════════════════════════
   CSN Bio Link v2 — Premium Design System
   No Bootstrap dependency. Pure custom CSS.
   ═══════════════════════════════════════════════════════════════ */

/* ── Self-hosted Poppins (latin only) ── */
@font-face { font-family:'Poppins'; font-style:normal; font-weight:300; font-display:swap; src:url('/static/fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap; src:url('/static/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap; src:url('/static/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap; src:url('/static/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap; src:url('/static/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:800; font-display:swap; src:url('/static/fonts/poppins-800.woff2') format('woff2'); }

/* ── Design Tokens ── */
:root {
    --primary: #1565c0;
    --primary-deep: #0d47a1;
    --secondary: #f5a623;
    --accent: #e8950a;
    --success: #22c55e;

    --dark-950: #020c1b;
    --dark-900: #071428;
    --dark-800: #0d2040;
    --dark-700: #163458;
    --dark-600: #1e4a70;

    --light-50: #f8fafc;
    --light-100: #f1f5f9;
    --light-200: #e2e8f0;
    --light-300: #cbd5e1;
    --light-400: #94a3b8;
    --light-500: #64748b;

    --gradient-brand: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #f5a623 100%);
    --gradient-hero: linear-gradient(135deg, #071428 0%, #0d47a1 60%, #1565c0 100%);
    --gradient-cta: linear-gradient(135deg, #0d47a1 0%, #f5a623 100%);

    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover-border: rgba(255, 255, 255, 0.18);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 10px 40px -10px rgba(21, 101, 192, 0.5);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-900);
    color: var(--light-50);
    min-height: 100vh;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Glass Effect ── */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--light-50);
    border: 1.5px solid var(--glass-hover-border);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-lg { padding: 18px 42px; font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: box-shadow 0.3s;
}

.site-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo i {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
}
.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    color: var(--light-400);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}
.nav-menu a:hover { color: white; }
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width 0.3s var(--ease);
    border-radius: 2px;
}
.nav-menu a:hover::after { width: 100%; }

.auth-buttons { display: flex; gap: 12px; align-items: center; }
.auth-buttons .btn { padding: 10px 24px; font-size: 0.9rem; }

/* ── Mobile Toggle ── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--light-50);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Nav ── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.mobile-nav.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--light-300);
    font-weight: 500;
    transition: var(--transition);
}
.mobile-nav a:hover { background: rgba(255, 255, 255, 0.06); color: white; }
.mobile-auth-buttons { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--glass-border); display: flex; flex-direction: column; gap: 10px; }
.mobile-auth-buttons .btn { text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION (Centered Layout)
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.55;
    z-index: 1;
}

.hero-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f0abfc 0%, #f472b6 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.92;
    margin: 0 auto 40px;
    max-width: 600px;
    font-weight: 400;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-buttons .btn-primary { background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3); color: white; box-shadow: none; }
.hero-buttons .btn-primary:hover { background: rgba(255,255,255,0.25); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero-buttons .btn-outline { border-color: rgba(255,255,255,0.25); color: white; }
.hero-buttons .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ═══════════════════════════════════════════════════════════════
   BENTO GRID SECTION
   ═══════════════════════════════════════════════════════════════ */
.bento-section {
    padding: 100px 0;
    background: var(--dark-950);
}

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

.bento-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-hover-border);
    box-shadow: var(--shadow-md);
}

/* Large card (spans 2 cols + 2 rows) */
.bento-lg {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 32px;
}

/* Wide card (spans 2 cols) */
.bento-wide { grid-column: span 2; }
.bento-wide-content { display: flex; align-items: flex-start; gap: 20px; }

/* Stat card */
.bento-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 16px;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--light-400); font-weight: 500; }

.bento-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: white;
    flex-shrink: 0;
}

.bento-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-50);
}
.bento-card p {
    font-size: 0.9rem;
    color: var(--light-400);
    line-height: 1.65;
}

.bento-card-text h3 { font-size: 1.3rem; text-align: center; }
.bento-card-text p { font-size: 0.95rem; text-align: center; max-width: 320px; }

/* Small phone mockup for bento */
.bento-mockup { display: flex; justify-content: center; }
.phone-mockup-sm {
    width: 200px;
    height: 380px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: floatMockup 6s ease-in-out infinite;
}
@keyframes floatMockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.phone-screen-sm {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.4) 100%);
    border-radius: 22px;
    overflow: hidden;
    padding: 24px 16px;
}

.mockup-profile { text-align: center; }
.mockup-avatar { width: 56px; height: 56px; background: rgba(255, 255, 255, 0.25); border-radius: 50%; margin: 0 auto 10px; }
.mockup-name { width: 90px; height: 12px; background: rgba(255, 255, 255, 0.35); border-radius: 6px; margin: 0 auto 6px; }
.mockup-bio { width: 120px; height: 8px; background: rgba(255, 255, 255, 0.2); border-radius: 4px; margin: 0 auto 18px; }
.mockup-links { display: flex; flex-direction: column; gap: 8px; }
.mockup-link { height: 36px; background: rgba(255, 255, 255, 0.18); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); }

/* ═══════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════ */
.features-section {
    padding: 100px 0;
    background: var(--dark-950);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--light-400);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-hover-border);
    box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-50);
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--light-400);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS (Steps)
   ═══════════════════════════════════════════════════════════════ */
.steps-section {
    padding: 100px 0;
    background: var(--dark-900);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.95rem;
    color: var(--light-400);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-cta);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-content .btn { background: white; color: var(--primary-deep); box-shadow: var(--shadow-md); }
.cta-content .btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ═══════════════════════════════════════════════════════════════
   WHY SECTION
   ═══════════════════════════════════════════════════════════════ */
.why-section {
    padding: 100px 0;
    background: var(--dark-900);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.why-card:hover {
    border-color: var(--glass-hover-border);
    transform: translateY(-4px);
}
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}
.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}
.why-card p {
    font-size: 0.92rem;
    color: var(--light-400);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL SECTION
   ═══════════════════════════════════════════════════════════════ */
.testimonial-section {
    padding: 100px 0;
    background: var(--dark-800);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.testimonial-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonial-stars { color: var(--secondary); font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-text {
    font-size: 0.95rem;
    color: var(--light-300);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    color: white;
    font-size: 0.95rem;
}
.testimonial-author span {
    font-size: 0.82rem;
    color: var(--light-500);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════ */
.faq-section {
    padding: 100px 0;
    background: var(--dark-900);
}
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--glass-hover-border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}
.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0 24px 22px;
}
.faq-answer p {
    font-size: 0.93rem;
    color: var(--light-400);
    line-height: 1.75;
}

@media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE SECTIONS (About, Features detail, Discover, etc.)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
    text-align: center;
    padding: 80px 0 40px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 60%);
}

.page-section { padding: 60px 0; }

.page-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--light-400);
    max-width: 640px;
    margin: 0 auto;
}

.page-content {
    max-width: 800px;
    line-height: 1.9;
    color: var(--light-300);
}
.page-content h2 { margin: 40px 0 16px; font-size: 1.5rem; font-weight: 700; color: var(--light-50); }
.page-content ul { padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; }

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-card {
    padding: 32px 24px;
}
.info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.info-card p {
    font-size: 0.95rem;
    color: var(--light-400);
    line-height: 1.7;
}
.info-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   ERROR PAGE (404)
   ═══════════════════════════════════════════════════════════════ */
.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    min-height: 60vh;
}
.error-code {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.error-title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.error-description { font-size: 1.1rem; color: var(--light-400); margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.error-illustration { margin-bottom: 24px; }
.error-illustration i { font-size: 4rem; color: var(--primary); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    padding: 64px 0 0;
    background: var(--dark-950);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand p {
    color: var(--light-400);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-50);
    margin-bottom: 20px;
}
.footer-column a {
    display: block;
    padding: 6px 0;
    color: var(--light-400);
    font-size: 0.95rem;
    transition: var(--transition);
}
.footer-column a:hover { color: white; transform: translateX(4px); }

.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-400);
    font-size: 1.1rem;
    transition: var(--transition);
}
.footer-social a:hover { background: rgba(99, 102, 241, 0.2); color: var(--primary); border-color: rgba(99, 102, 241, 0.3); }

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: var(--light-500);
    font-size: 0.85rem;
}

/* ── Contact page ── */
.contact-info { margin-top: 24px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
}
.contact-item i { font-size: 1.4rem; color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   AUTH MODALS
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-panel {
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    border-radius: var(--radius-xl);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s var(--ease);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .modal-panel {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    color: var(--light-400);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: white; }

.modal-panel { position: relative; }

.modal-header { text-align: center; margin-bottom: 28px; }
.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--gradient-brand);
    color: white;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.modal-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.modal-header p { font-size: 0.9rem; color: var(--light-400); }

/* Form */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-300);
}
.form-group input {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--light-50);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-group input::placeholder { color: var(--light-500); }
.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-prefix {
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: var(--transition);
}
.input-prefix:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.input-prefix span {
    padding: 12px 0 12px 16px;
    font-size: 0.9rem;
    color: var(--light-500);
    white-space: nowrap;
}
.input-prefix input {
    border: none;
    background: transparent;
    padding: 12px 16px 12px 4px;
    flex: 1;
    min-width: 0;
}
.input-prefix input:focus { box-shadow: none; }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.form-footer a { color: var(--primary); }
.form-footer a:hover { text-decoration: underline; }

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-400);
    cursor: pointer;
    font-size: 0.85rem;
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.modal-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 1rem;
}

.modal-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    color: var(--light-500);
    font-size: 0.8rem;
}
.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glass-border);
}
.modal-divider span {
    position: relative;
    background: var(--dark-800);
    padding: 0 16px;
}

.modal-social { display: flex; gap: 12px; }
.btn-social {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--light-300);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glass-hover-border);
}

.modal-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--light-400);
}
.modal-switch a { color: var(--primary); font-weight: 600; }
.modal-switch a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-lg { grid-row: span 1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu, .auth-buttons { display: none; }
    .mobile-menu-toggle { display: flex; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-lg { grid-column: span 1; }
    .bento-wide { grid-column: span 1; }
    .bento-wide-content { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .phone-mockup-sm { width: 180px; height: 340px; }
    .btn { padding: 12px 24px; font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; }
    .stat-number { font-size: 2.2rem; }
    .error-code { font-size: 6rem; }
}

