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

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Colors - Educational Palette */
    --primary: #1e40af; /* Deep Blue */
    --primary-light: #3b82f6;
    --primary-soft: rgba(30, 64, 175, 0.08);
    
    --accent-teal: #14b8a6; /* Soft Teal */
    --accent-yellow: #f59e0b; /* Warm Orange/Yellow for CTA */
    --accent-yellow-light: #fbbf24;

    /* Semantic Colors */
    --bg-light: #f1f5f9; /* Soft blue-gray tint background */
    --bg-soft: #ffffff;
    --bg-dark: #0f172a; /* Deep blue-black for footer */
    --text-main: #1e3a8a; /* Deep blue for headings */
    --text-muted: #64748b;
    --text-light: #ffffff;

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(30, 64, 175, 0.1), 0 4px 6px -4px rgba(30, 64, 175, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(30, 64, 175, 0.1), 0 8px 10px -6px rgba(30, 64, 175, 0.05);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 70px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    z-index: 1001;
}

.logo img {
    height: 32px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.desktop-only {
    display: block;
}

.mobile-cta {
    display: none;
}

/* Hamburger Toggle style */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .mobile-cta {
        display: block;
        margin-top: 20px;
    }

    .desktop-only {
        display: none !important;
    }

    /* Hero Section Spacing Fixes (Mobile & Tablet) */
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .cta-group {
        width: 100%;
        align-items: center;
        gap: 8px !important; /* Tight spacing CTA -> microtext: 6-10px */
    }

    .hero-socials {
        margin-top: 10px !important; /* Tight spacing microtext -> socials: 8-12px */
        width: 100%;
        justify-content: center;
    }

    .social-card-group {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .social-card-mini {
        height: 42px;
        padding: 0 16px;
    }
}

.btn-cta-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.btn-cta-black:hover {
    background: #ffffff;
    color: #000000;
}

.btn-cta-black svg {
    width: 16px;
    height: 16px;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px; /* Increased size as requested */
    background: #000000; /* Black background */
    color: #ffffff; /* White text */
    font-size: 1.1rem; /* Slightly larger font */
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #000000; /* Border at start to prevent jump on hover */
    cursor: pointer;
    box-shadow: none; /* Removed glow/shadow */
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #ffffff; /* White on hover */
    color: #000000; /* Black text on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Subtle non-colored shadow */
}

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

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    opacity: 0.12; /* Default opacity in range 5%-12% */
    filter: blur(0.5px);
    transition: opacity 0.5s ease;
    z-index: 0;
}

.floating-icon svg {
    width: 45px;
    height: 45px;
}

/* Colors from requested palette */
.color-blue { color: #1F4E79; }
.color-teal { color: #5FA8A9; }
.color-yellow { color: #F4A825; }
.color-purple { color: #A78BFA; }
.color-green { color: #6EE7B7; }

/* Asymmetrical Scatter Positions */
.icon-1 { top: 10%; left: 5%; animation: floatGentle 12s ease-in-out infinite; opacity: 0.08; }
.icon-2 { top: 15%; right: 8%; animation: floatGentle 15s ease-in-out infinite reverse; opacity: 0.1; }
.icon-3 { bottom: 20%; left: 10%; animation: floatGentle 14s ease-in-out infinite 1s; opacity: 0.06; }
.icon-4 { bottom: 12%; right: 6%; animation: floatGentle 16s ease-in-out infinite 2s; opacity: 0.09; }
.icon-5 { top: 45%; left: 12%; animation: floatGentle 18s ease-in-out infinite; opacity: 0.07; }
.icon-6 { top: 65%; right: 15%; animation: floatGentle 13s ease-in-out infinite reverse 1s; opacity: 0.11; }
.icon-7 { bottom: 45%; left: 4%; animation: floatGentle 17s ease-in-out infinite 3s; opacity: 0.08; }
.icon-8 { top: 82%; left: 22%; animation: floatGentle 19s ease-in-out infinite; opacity: 0.05; }
.icon-9 { bottom: 18%; right: 28%; animation: floatGentle 21s ease-in-out infinite reverse 2s; opacity: 0.12; }
.icon-10 { top: 8%; right: 35%; animation: floatGentle 14s ease-in-out infinite 1s; opacity: 0.09; }
.icon-11 { bottom: 8%; left: 38%; animation: floatGentle 16s ease-in-out infinite; opacity: 0.07; }
.icon-12 { top: 32%; right: 4%; animation: floatGentle 15s ease-in-out infinite reverse 3s; opacity: 0.1; }
.icon-13 { bottom: 35%; right: 10%; animation: floatGentle 20s ease-in-out infinite 2s; opacity: 0.08; }
.icon-14 { top: 72%; left: 8%; animation: floatGentle 18s ease-in-out infinite reverse 1s; opacity: 0.11; }

@keyframes floatGentle {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(15px, -20px) rotate(5deg); }
    66% { transform: translate(-10px, 15px) rotate(-3deg); }
}

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

.hero-text {
    max-width: 560px;
    display: flex;
    flex-direction: column;
}

.hero-cta-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.microcopy {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.dot {
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

/* Desktop & Laptop Specific Fixes */
@media (min-width: 1025px) {
    .hero-grid {
        align-items: stretch;
    }

    .hero-cta-section {
        margin-top: auto;
        padding-top: 40px; /* Ensure visual separation */
    }

    .cta-group {
        align-items: flex-start;
        gap: 8px; /* Button -> text: 6-10px */
        margin-top: 0;
    }

    .hero-socials {
        margin-top: 10px; /* Text -> social buttons: 8-12px */
        justify-content: flex-start;
    }
}

.social-card-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-card-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.social-card-mini svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hero Visual & Blobs */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: blobMorph 15s ease-in-out infinite alternate;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.1);
}

.blob {
    position: absolute;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.5;
    border-radius: 50%;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-teal);
    top: -50px;
    right: -20px;
    animation: floating 8s ease-in-out infinite;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-yellow);
    bottom: -30px;
    left: -40px;
    animation: floating 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    bottom: 50%;
    right: 30%;
    animation: floating 12s ease-in-out infinite 2s;
}

@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes floating {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
}

/* Decorative Elements */
.decorative {
    position: absolute;
    z-index: 11;
    pointer-events: none;
}

.star {
    top: 10%;
    left: -10%;
    animation: rotate 10s linear infinite;
}

.arrow-curve {
    bottom: 0;
    right: 0;
    transform: rotate(-15deg);
}

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

/* ===== Features & Social Section (from previous version, keeping but updating) ===== */
.features, .social {
    padding: 60px 0;
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    max-width: 900px; /* Increased from 700px to keep title on one line */
    margin: 0 auto 60px;
}

.section-tag-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: transparent; /* Removed background effect */
    border: 1px solid rgba(30, 64, 175, 0.2); /* Added subtle border instead */
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 24px;
}

.feature-icon svg { width: 30px; height: 30px; stroke-width: 2; }

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-card:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-5px);
}

.social-card svg { width: 24px; height: 24px; fill: currentColor; }

/* ===== Minimal Footer Newsletter ===== */
.footer-newsletter {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-content {
    max-width: 450px;
    margin-bottom: 40px;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.signup-compact {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    margin: 20px 0 12px;
}

.signup-compact input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.signup-compact input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.signup-compact .btn-subscribe {
    background: #000000;
    border: 1px solid #000000;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.signup-compact .btn-subscribe:hover {
    background: #ffffff;
    color: #000000;
}

/* ===== Success Modal Styles ===== */
.success-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none; /* JS toggles to flex */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal-overlay.visible {
    opacity: 1;
}

.success-modal-card {
    background: white;
    padding: 40px;
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.success-modal-overlay.visible .success-modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.modal-logo {
    height: 48px;
    width: auto;
    margin-bottom: -10px; /* Overlap effect */
    position: relative;
    z-index: 1;
}

.modal-beta-pill {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, #A78BFA, #5FA8A9);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.modal-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-bottom: 32px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.modal-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: #000000;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #000000;
    box-shadow: none;
}

.modal-btn-primary:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modal-btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.modal-btn-primary:hover svg {
    transform: translateX(4px);
}

.modal-btn-secondary {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px 16px;
}

.modal-btn-secondary:hover {
    color: var(--text-main);
}

.subtle-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-bottom .logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom .logo img {
    height: 32px;
}

.crafted-text {
    font-family: 'Poppins', sans-serif;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.crafted-text a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.crafted-text a:hover {
    color: white;
    text-decoration: underline;
    opacity: 1;
}

/* ===== Beta Update Section ===== */
.beta-update {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to bottom, #f8fafc, #edf2f7);
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.beta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.beta-label-pill {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.beta-badge-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    opacity: 0.6;
    margin-bottom: 24px;
}

.beta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-main);
}

.beta-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto 40px;
    max-width: 650px;
}

.beta-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    opacity: 0.8;
}

.beta-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.beta-icon {
    position: absolute;
    opacity: 0.08;
    filter: blur(0.5px);
    transition: var(--transition);
}

.beta-icon svg {
    width: 60px;
    height: 60px;
}

.b-icon-1 { top: 15%; left: 10%; animation: floatGentle 14s infinite; }
.b-icon-2 { top: 20%; right: 12%; animation: floatGentle 16s infinite reverse; }
.b-icon-3 { bottom: 20%; left: 15%; animation: floatGentle 18s infinite 1s; }
.b-icon-4 { bottom: 15%; right: 10%; animation: floatGentle 15s infinite reverse 2s; }

/* Animations Hub */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== Comprehensive Responsiveness ===== */
@media (max-width: 1100px) {
    .hero-title { font-size: 3.5rem; }
    .hero-grid { gap: 40px; }
}

@media (max-width: 992px) {
    .hero-title, .beta-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .hero-visual { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 50px;
        padding-top: 20px;
    }
    
    .hero-text { 
        margin: 0 auto; 
        order: 2; /* Text below image on mobile for better flow */
    }
    
    .hero-visual { 
        order: 1; 
        max-width: 320px;
    }

    .hero-title, .beta-title { font-size: 2.5rem; }
    
    .nav-links { display: none; } /* Could be replaced with a hamburger menu later */
    
    .cta-group { 
        align-items: center; 
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom { 
        flex-direction: column; 
        gap: 20px; 
    }

    /* Reduce background icon clutter on mobile */
    .floating-icon:nth-child(even) {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title, .beta-title {
        font-size: 2.1rem;
    }
    
    .hero-description, .beta-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .signup-compact {
        flex-direction: column;
        gap: 12px;
    }

    .signup-compact input,
    .signup-compact .btn-subscribe {
        width: 100%;
        border-radius: 12px;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .social-card {
        width: 100%;
        justify-content: center;
    }

    .nav-cta {
        display: none;
    }

    .hero-visual {
        max-width: 280px;
    }

    .blob {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
}

/* ===== Selection Styling ===== */
::selection {
    background: var(--primary-soft);
    color: var(--primary);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-soft);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}