/* Prevent FOUT - font fallback stack */
:root {
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-brand: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ===== FAQ Content Panel ===== */
:root {
    /* CANONICAL COLORS - Use these everywhere */
    --color-cyan: #22d3ee;
    --color-magenta: #d946ef;

    --font-display: 'Outfit', sans-serif;

    /* Map legacy variables to canonical */
    --accent-cyan: var(--color-cyan);
    --accent-magenta: var(--color-magenta);

    /* DEPRECATED - Map to canonical */
    --accent-magenta-light: var(--color-magenta);
}

.faq-panel {
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid var(--cos-border);
    border-radius: 16px;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
}

@media (max-width: 768px) {
    .faq-panel {
        padding: 20px;
        margin: 20px;
        border-radius: 12px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cos-base);
    color: var(--cos-text);
    line-height: 1.6;
    letter-spacing: 0.03em;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px;
}

/* ===== STARFIELD BACKGROUND ===== */
body:not(.cosmic-pro)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Large bright stars */
        radial-gradient(3px 3px at 15% 10%, #ffffff, transparent),
        radial-gradient(3px 3px at 85% 15%, rgba(34, 211, 238, 0.9), transparent),
        radial-gradient(2px 2px at 45% 8%, #ffffff, transparent),
        radial-gradient(3px 3px at 75% 25%, rgba(217, 70, 239, 0.8), transparent),
        radial-gradient(2px 2px at 25% 35%, #ffffff, transparent),
        radial-gradient(3px 3px at 65% 5%, rgba(34, 211, 238, 0.7), transparent),
        radial-gradient(2px 2px at 90% 40%, #ffffff, transparent),
        radial-gradient(3px 3px at 35% 60%, rgba(217, 70, 239, 0.9), transparent),
        radial-gradient(2px 2px at 5% 70%, #ffffff, transparent),
        radial-gradient(3px 3px at 95% 80%, rgba(34, 211, 238, 0.8), transparent),

        /* Medium stars */
        radial-gradient(2px 2px at 55% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 20% 70%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 40% 85%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 70% 75%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 10% 45%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 30% 15%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 60% 30%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 95% 50%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 50% 95%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 85% 10%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 12% 25%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 88% 35%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 42% 55%, rgba(255, 255, 255, 0.7), transparent),

        /* Small distant stars */
        radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 22% 18%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 38% 22%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 52% 28%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 68% 32%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 78% 38%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 92% 42%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 18% 48%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 32% 52%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 48% 58%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 62% 62%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 82% 68%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 58% 78%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 72% 82%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 88% 88%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 2% 92%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 98% 95%, rgba(255, 255, 255, 0.5), transparent),

        /* Tiny sparkle stars */
        radial-gradient(0.5px 0.5px at 14% 16%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(0.5px 0.5px at 26% 24%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(0.5px 0.5px at 34% 36%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(0.5px 0.5px at 46% 44%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(0.5px 0.5px at 54% 56%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(0.5px 0.5px at 66% 64%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(0.5px 0.5px at 74% 76%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(0.5px 0.5px at 84% 86%, rgba(255, 255, 255, 0.5), transparent),

        /* Colored accent stars */
        radial-gradient(1px 1px at 25% 45%, rgba(34, 211, 238, 0.6), transparent),
        radial-gradient(1px 1px at 75% 55%, rgba(217, 70, 239, 0.5), transparent),
        radial-gradient(1px 1px at 35% 75%, rgba(34, 211, 238, 0.4), transparent),
        radial-gradient(1px 1px at 65% 25%, rgba(217, 70, 239, 0.6), transparent),
        radial-gradient(1px 1px at 15% 65%, rgba(34, 211, 238, 0.5), transparent),
        radial-gradient(1px 1px at 85% 45%, rgba(217, 70, 239, 0.4), transparent),

        /* Nebula-like background glow */
        radial-gradient(ellipse 800px 400px at 20% 30%, rgba(34, 211, 238, 0.02), transparent),
        radial-gradient(ellipse 600px 300px at 80% 70%, rgba(217, 70, 239, 0.015), transparent);
    z-index: -1;
    pointer-events: none;
}

/* ===== LIGHT THEME BACKGROUND ===== */
[data-theme="light"] body,
body[data-theme="light"],
body.light-theme {
    background-image: url('../images/light-background-1920x1080.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Fallback for browsers that don't support WebP */
@supports not (background-image: url('../images/light-background-1920x1080.webp')) {
    [data-theme="light"] body,
    body[data-theme="light"],
    body.light-theme {
        background-image: url('../images/light-background-1920x1080.jpg');
    }
}

/* ===== THEME NOTIFICATION ===== */
.theme-notification {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.05));
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    color: var(--cos-cyan);
    backdrop-filter: blur(8px);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 6, 17, 0.50);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--cos-text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links-container {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--cos-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cos-cyan);
}

/* ===== HOME DROPDOWN ===== */
.home-dropdown {
    position: relative;
}

.home-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.home-dropdown > a .dropdown-arrow {
    font-size: 0.55rem;
}

.home-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 180px;
    margin-top: 0.5rem;
    padding: 0.4rem 0;
    background: rgba(10, 14, 26, 0.98);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 12px;
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
}

.home-dropdown:hover .home-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.home-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(34, 211, 238, 0.18);
}

.home-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.3rem;
    color: rgba(245, 248, 255, 0.72);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.home-dropdown-menu li a:hover {
    background: transparent;
    transform: translateY(-2px);
    font-weight: 700;
    color: #ffffff;
}

.home-dropdown-menu li:first-child a {
    border-radius: 12px 12px 0 0;
}

.home-dropdown-menu li:last-child a {
    border-radius: 0 0 12px 12px;
}

[data-theme="light"] .home-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .home-dropdown-menu::before {
    border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .home-dropdown-menu li a {
    color: rgba(15, 23, 42, 0.72);
}

[data-theme="light"] .home-dropdown-menu li a:hover {
    background: transparent;
    transform: translateY(-2px);
    font-weight: 700;
    color: #000000;
}

.launch-button {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.30), rgba(217, 70, 239, 0.14));
    border: 1px solid rgba(217, 70, 239, 0.86);
    color: rgba(255, 255, 255, 0.92) !important;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.9rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    backdrop-filter: blur(14px);
    margin-left: 2rem;
    position: relative;
    opacity: 1;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.launch-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.42), rgba(217, 70, 239, 0.18));
    box-shadow: 0 0 0 1px rgba(217, 70, 239, 0.36), 0 18px 36px rgba(0, 0, 0, 0.40), var(--cos-glow-magenta);
}

 .launch-button[aria-disabled="true"],
 .launch-button.is-disabled {
     opacity: 0.6;
     cursor: not-allowed;
     pointer-events: none;
 }

/* Exponent-style BETA tag (like x² but with BETA) */
.exponent-beta {
    font-size: 0.45em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    vertical-align: super;
    position: relative;
    top: -0.5em;
    margin-left: 1px;
    font-family: 'Inter', sans-serif;
    color: inherit;
}

/* Ensure proper alignment in different button contexts */
.launch-button .exponent-beta,
.cta-button .exponent-beta {
    line-height: 1;
}

.dropdown-divider {
    height: 1px;
    background: var(--cos-border);
    margin: 0.5rem 0;
}

[data-theme="light"] .dropdown-divider {
    background: rgba(0, 120, 180, 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 6rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-signup {
    display: flex;
    justify-content: center;
}

.hero-title-section {
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--cos-text);
}

.title-underline {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cos-cyan), var(--cos-magenta));
    margin-bottom: 1rem;
    border-radius: 999px;
    box-shadow: var(--cos-glow-cyan);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--cos-text-muted);
    text-align: right;
    font-style: normal;
    margin: 0;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-emphasis {
    color: rgba(245, 248, 255, 1);
    font-weight: 400;
}

[data-theme="light"] .hero-emphasis {
    color: rgba(15, 23, 42, 0.95);
}

body.cosmic-pro .hero-emphasis {
    color: rgba(245, 248, 255, 1) !important;
    font-weight: 400;
}

body.cosmic-pro[data-theme="light"] .hero-emphasis {
    color: rgba(15, 23, 42, 0.95) !important;
}

.product-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1.4;
}

.product-badge-new {
    background: rgba(34, 211, 238, 0.15);
    color: var(--cos-cyan, #22d3ee);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.product-badge-soon {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.55rem;
    padding: 0;
    margin-left: 6px;
    font-style: italic;
}

[data-theme="light"] .product-badge-new {
    background: rgba(34, 211, 238, 0.12);
    color: #0891b2;
    border-color: rgba(34, 211, 238, 0.3);
}

[data-theme="light"] .product-badge-soon {
    color: rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cta-button {
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90) !important;
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.20), 0 0 34px rgba(34, 211, 238, 0.12), 0 10px 26px rgba(0, 0, 0, 0.30);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    padding: 12px 26px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cta-button:hover {
    transform: translateY(-1px);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 0 44px rgba(34, 211, 238, 0.16), 0 14px 34px rgba(0, 0, 0, 0.38), var(--cos-glow-cyan);
}

.cta-button[aria-disabled="true"],
.cta-button.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.cta-button.recommended {
    box-shadow: 0 0 0 2px rgba(217, 70, 239, 0.45), 0 0 26px rgba(217, 70, 239, 0.2);
}

.demo-button {
    display: inline-block;
    padding: 12px 26px;
    background: transparent;
    color: var(--cos-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(217, 70, 239, 0.50);
    border-radius: 999px;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.demo-button:hover {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.30), rgba(217, 70, 239, 0.14));
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(217, 70, 239, 0.36), 0 18px 36px rgba(0, 0, 0, 0.40), var(--cos-glow-magenta);
}

/* ===== SIGNUP BOX ===== */
.signup-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--cos-glass);
    border: 1px solid var(--cos-border);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: visible !important;
}

.signup-box::before {
    display: none;
}

/* ── Hero Product List (index.html) ── */
.hero-products {
    border: 1px solid var(--cos-border, rgba(255, 255, 255, 0.10));
    border-radius: 10px;
    padding: 8px 0;
    margin-bottom: 12px;
}

.hero-products-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cos-text-muted, rgba(245, 248, 255, 0.72));
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    text-decoration: none;
    padding: 7px 24px;
    transition: background 0.15s ease, color 0.15s ease;
    letter-spacing: 0.02em;
}

body.cosmic-pro .hero-product-item {
    color: var(--cos-text-muted, rgba(245, 248, 255, 0.72)) !important;
}

.hero-product-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--cos-text, rgba(245, 248, 255, 0.92));
}

body.cosmic-pro .hero-product-item:hover {
    color: var(--cos-text, rgba(245, 248, 255, 0.92)) !important;
}

.hero-product-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex-shrink: 0;
}

.signup-cta {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

[data-theme="light"] .hero-product-item {
    color: rgba(15, 23, 42, 0.75) !important;
}

body.cosmic-pro[data-theme="light"] .hero-product-item,
[data-theme="light"] body.cosmic-pro .hero-product-item,
body[data-theme="light"].cosmic-pro .hero-product-item {
    color: rgba(15, 23, 42, 0.75) !important;
}

[data-theme="light"] .hero-product-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: rgba(15, 23, 42, 0.95) !important;
}

body.cosmic-pro[data-theme="light"] .hero-product-item:hover,
[data-theme="light"] body.cosmic-pro .hero-product-item:hover,
body[data-theme="light"].cosmic-pro .hero-product-item:hover {
    color: rgba(15, 23, 42, 0.95) !important;
}

[data-theme="light"] .product-badge-new {
    background: rgba(15, 23, 42, 0.08);
    color: #0e7490;
    border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .hero-products {
    border-color: rgba(0, 0, 0, 0.10);
}

.signup-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cos-text);
    margin-bottom: 1rem;
}

.signup-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.email-input {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 6, 17, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: var(--cos-text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.email-input:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
    background: rgba(5, 6, 17, 0.45);
}

.email-input::placeholder {
    color: rgba(245, 248, 255, 0.55);
}

.input-error {
    color: #ef4444;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 0.5rem;
    display: none;
}

.signup-button {
    padding: 12px 26px;
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90) !important;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.20), 0 0 34px rgba(34, 211, 238, 0.12), 0 10px 26px rgba(0, 0, 0, 0.30);
}

.signup-button:hover {
    transform: translateY(-1px);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 0 44px rgba(34, 211, 238, 0.16), 0 14px 34px rgba(0, 0, 0, 0.38), var(--cos-glow-cyan);
}

.signup-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.20), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cos-cyan);
    margin: 0 auto 1.5rem;
    font-weight: bold;
}

.success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cos-text);
    margin-bottom: 1rem;
}

.success-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.6;
}

 .cta-button.secondary {
     background: transparent;
     color: var(--cos-text);
     border: 1px solid rgba(34, 211, 238, 0.50);
     box-shadow: none;
 }

 .cta-button.secondary:hover {
     transform: translateY(-1px);
     box-shadow: 0 5px 26px rgba(34, 211, 238, 0.22);
 }

 .launch-hero {
     padding: 5rem 0 4rem;
     position: relative;
 }

 .launch-hero::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 520px;
     height: 520px;
     background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0.02) 40%, transparent 70%);
     border-radius: 50%;
     transform: translate(-50%, -50%);
     z-index: -1;
 }

 .launch-hero-inner {
     display: grid;
     grid-template-columns: 1.2fr 1fr;
     gap: 3rem;
     align-items: center;
 }

 .launch-hero-title {
     font-family: 'Outfit', sans-serif;
     font-size: 3.2rem;
     font-weight: 300;
     letter-spacing: 0.18em;
     text-transform: uppercase;
     color: var(--cos-text);
     margin-bottom: 1rem;
 }

 .launch-hero-subtitle {
     font-family: 'Inter', sans-serif;
     font-weight: 300;
     font-size: 1.15rem;
     color: var(--cos-text-muted);
     line-height: 1.65;
     margin-bottom: 2rem;
     max-width: 42rem;
 }

 .launch-hero-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 1rem;
     align-items: center;
 }

 .launch-hero-note {
     margin-top: 0.85rem;
     color: var(--cos-text-muted);
     min-height: 1.4rem;
 }

 .launch-hero-steps {
     display: grid;
     gap: 1rem;
 }

 .launch-step {
     background: var(--cos-glass);
     border: 1px solid var(--cos-border);
     border-radius: 16px;
     padding: 1.25rem 1.35rem;
     display: grid;
     grid-template-columns: 40px 1fr;
     column-gap: 1rem;
     row-gap: 0.35rem;
     align-items: start;
 }

 .launch-step-number {
     width: 40px;
     height: 40px;
     border-radius: 12px;
     background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.06));
     border: 1px solid rgba(34, 211, 238, 0.30);
     color: var(--cos-text);
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 400;
 }

 .launch-step-title {
     font-family: 'Inter', sans-serif;
     font-weight: 400;
     letter-spacing: 0.06em;
     text-transform: uppercase;
     color: var(--cos-text);
 }

 .launch-step-text {
     grid-column: 2;
     font-family: 'Inter', sans-serif;
     font-weight: 300;
     color: var(--cos-text-muted);
     font-size: 0.95rem;
     line-height: 1.55;
 }

 .launch-page .launch-download h2 {
     margin-bottom: 1rem;
 }

 .launch-section-subtitle {
     text-align: center;
     font-family: 'Inter', sans-serif;
     font-weight: 300;
     color: var(--cos-text-muted);
     margin: 0 auto 3rem;
     max-width: 720px;
 }

 .launch-recommendation {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 2rem;
     padding: 1.75rem 2rem;
     border-radius: 18px;
     background: var(--cos-glass);
     border: 1px solid var(--cos-border);
     margin: 0 auto 2.75rem;
 }

 .launch-recommendation-eyebrow {
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: rgba(176, 176, 204, 0.9);
     font-size: 0.85rem;
     margin-bottom: 0.35rem;
 }

 .launch-recommendation-title {
     font-family: 'Outfit', sans-serif;
     font-size: 1.6rem;
     font-weight: 300;
     color: var(--cos-text);
     margin-bottom: 0.35rem;
 }

 .launch-recommendation-text {
     font-family: 'Inter', sans-serif;
     font-weight: 300;
     color: var(--cos-text-muted);
     max-width: 42rem;
 }

 .launch-recommendation-actions {
     display: flex;
     gap: 0.9rem;
     flex-wrap: wrap;
     justify-content: flex-end;
 }

 .launch-button-group {
     margin-top: 1.25rem;
     display: flex;
     gap: 0.75rem;
     flex-wrap: wrap;
     justify-content: center;
 }

 .launch-status {
     margin-top: 1rem;
     color: var(--cos-text-muted);
     min-height: 1.2rem;
 }

 .launch-help {
     margin-top: 20vh;
     padding: 5.5rem 0;
 }

 .launch-help h2 {
     font-family: 'Outfit', sans-serif;
     font-size: 2.2rem;
     font-weight: 300;
     letter-spacing: 0.18em;
     text-align: center;
     margin-bottom: 3rem;
     color: var(--cos-text);
 }

 .launch-help-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
     gap: 1.5rem;
 }

 .launch-help-card {
     background: var(--cos-glass);
     border: 1px solid var(--cos-border);
     border-radius: 16px;
     padding: 1.75rem;
 }

 .launch-page .launch-download .feature-card {
     background: var(--cos-glass);
     border: 1px solid var(--cos-border);
 }

 .launch-page .launch-download .feature-card:hover {
     border-color: rgba(34, 211, 238, 0.40);
     box-shadow: 0 10px 28px rgba(34, 211, 238, 0.12);
 }

 .launch-page .launch-download .feature-icon {
     background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(217, 70, 239, 0.10));
     border: 1px solid var(--cos-border);
     color: var(--cos-text);
     font-weight: 400;
     letter-spacing: 0.08em;
     text-transform: uppercase;
 }

 .launch-page .launch-help-card {
     background: var(--cos-glass);
     border: 1px solid var(--cos-border);
 }

 .launch-help-card h3 {
     font-family: 'Inter', sans-serif;
     font-size: 1.1rem;
     font-weight: 400;
     color: var(--cos-text);
     margin-bottom: 0.65rem;
 }

 .launch-help-card p {
     color: var(--cos-text-muted);
 }

 @media (max-width: 900px) {
     .launch-hero-inner {
         grid-template-columns: 1fr;
     }

     .launch-hero-title {
         font-size: 2.6rem;
     }
 }

 @media (max-width: 760px) {
     .launch-recommendation {
         flex-direction: column;
         align-items: flex-start;
     }

     .launch-recommendation-actions {
         width: 100%;
         justify-content: flex-start;
     }
 }

 @media (max-width: 600px) {
     .launch-hero {
         padding: 4.25rem 0 3.25rem;
     }

     .launch-hero-actions {
         gap: 0.75rem;
     }

     .launch-step {
         grid-template-columns: 36px 1fr;
     }

     .launch-step-number {
         width: 36px;
         height: 36px;
         border-radius: 10px;
     }
 }

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background-color: var(--cos-base);
}

.features h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--cos-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--cos-glass);
    border: 1px solid var(--cos-border);
    border-radius: 18px;
    padding: 26px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--cos-shadow);
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.55), rgba(217, 70, 239, 0.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.38;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.40);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(217, 70, 239, 0.08));
    border: 1px solid var(--cos-border);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06), 0 12px 30px rgba(0, 0, 0, 0.28);
    margin: 0 auto 16px;
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--cos-text);
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--cos-text-muted);
    margin: 0;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 6rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(245, 248, 255, 0.95) !important;
    text-shadow: none;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(245, 248, 255, 0.7) !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

[data-theme="light"] .stat-number {
    color: rgba(15, 23, 42, 0.85) !important;
}

[data-theme="light"] .stat-label {
    color: rgba(15, 23, 42, 0.6) !important;
}

[data-theme="light"] body.cosmic-pro .stat-number,
body.cosmic-pro[data-theme="light"] .stat-number,
body[data-theme="light"].cosmic-pro .stat-number {
    color: rgba(15, 23, 42, 0.85) !important;
}

[data-theme="light"] body.cosmic-pro .stat-label,
body.cosmic-pro[data-theme="light"] .stat-label,
body[data-theme="light"].cosmic-pro .stat-label {
    color: rgba(15, 23, 42, 0.6) !important;
}

body.cosmic-pro .stat-number {
    color: rgba(245, 248, 255, 0.95) !important;
    font-family: 'Outfit', sans-serif;
}

body.cosmic-pro .stat-label {
    color: rgba(245, 248, 255, 0.7) !important;
    font-family: 'Inter', sans-serif;
}

[data-theme="light"] .stat-number,
[data-theme="light"] body.cosmic-pro .stat-number,
body.cosmic-pro[data-theme="light"] .stat-number,
body[data-theme="light"].cosmic-pro .stat-number {
    color: rgba(15, 23, 42, 0.85) !important;
}

[data-theme="light"] .stat-label,
[data-theme="light"] body.cosmic-pro .stat-label,
body.cosmic-pro[data-theme="light"] .stat-label,
body[data-theme="light"].cosmic-pro .stat-label {
    color: rgba(15, 23, 42, 0.6) !important;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background-color: var(--cos-base);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--cos-text);
}

/* ── About Cards Layout ── */
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.about-card {
    width: 75%;
    background: var(--cos-glass, rgba(10, 14, 26, 0.45));
    border: none;
    border-radius: 14px;
    padding: 2rem 2.5rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(34, 211, 238, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-card--left {
    align-self: flex-start;
}

.about-card--right {
    align-self: flex-end;
}

.about-card-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(245, 248, 255, 0.95);
    margin: 0 0 1rem 0;
}

.about-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--cos-text-muted, rgba(245, 248, 255, 0.72));
    margin: 0;
}

/* Light mode */
[data-theme="light"] .about-card {
    background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .about-card::before {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(34, 211, 238, 0.08));
}

[data-theme="light"] .about-card-label {
    color: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .about-card p {
    color: rgba(15, 23, 42, 0.75);
}

/* Mobile — stack full width */
@media (max-width: 768px) {
    .about-card {
        width: 100%;
    }
}

/* ── About CTA ── */
.about-cta-block {
    margin-top: 3.5rem;
    text-align: center;
}

.about-cta-headline {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: rgba(245, 248, 255, 0.95);
    margin: 0 0 1.8rem 0;
}

[data-theme="light"] .about-cta-headline {
    color: rgba(15, 23, 42, 0.9);
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-block;
    padding: 12px 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Magenta pill — Try It Out */
.about-btn--magenta {
    color: rgba(245, 248, 255, 0.95);
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.20), rgba(217, 70, 239, 0.08));
    border: 1px solid rgba(217, 70, 239, 0.6);
}

.about-btn--magenta:hover {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.30), rgba(217, 70, 239, 0.14));
    border-color: rgba(217, 70, 239, 0.86);
}

/* Cyan pill — Explore Tools */
.about-btn--cyan {
    color: rgba(245, 248, 255, 0.95);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.05));
    border: 1px solid rgba(34, 211, 238, 0.5);
}

.about-btn--cyan:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(34, 211, 238, 0.10));
    border-color: rgba(34, 211, 238, 0.75);
}

/* Light mode buttons */
[data-theme="light"] .about-btn--magenta {
    color: #a21caf;
    background: rgba(217, 70, 239, 0.08);
    border-color: rgba(217, 70, 239, 0.4);
}

[data-theme="light"] .about-btn--magenta:hover {
    background: rgba(217, 70, 239, 0.15);
}

[data-theme="light"] .about-btn--cyan {
    color: #0891b2;
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.3);
}

[data-theme="light"] .about-btn--cyan:hover {
    background: rgba(34, 211, 238, 0.15);
}

.articles-section {
    background: transparent;
    padding: 4rem 0;
}

.articles-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--cos-text-muted, rgba(245, 248, 255, 0.72));
    margin: 0 0 2.5rem 0;
    text-align: left;
}

[data-theme="light"] .articles-heading {
    color: rgba(15, 23, 42, 0.7);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.article-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.article-card-inner {
    background: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.2rem 2rem 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 340px;
}

.article-card-content {
    flex: 1;
}

.article-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: rgba(15, 23, 42, 0.92);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.article-card-body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    color: rgba(15, 23, 42, 0.68);
    line-height: 1.65;
    margin: 0;
}

.article-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.article-card-meta {
    margin-bottom: 1.2rem;
}

.article-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.article-card-meta-row:last-child {
    border-bottom: none;
}

.article-card-meta-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.4);
}

.article-card-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(15, 23, 42, 0.72);
}

.article-card-button {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: rgba(15, 23, 42, 0.88);
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 50px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.article-card:hover .article-card-button {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .article-card-inner {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

/* Article body card — base is cream rgba(235, 230, 222, 0.95) which reads as
 * a dirty yellow-tinted shade on Light theme.
 * Using pure white (#ffffff) to sidestep the simultaneous-contrast perception
 * clash with the cool lavender Light-theme page gradient. */
[data-theme="light"] .article-content-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .article-card-title {
    color: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .article-card-body {
    color: rgba(15, 23, 42, 0.55);
}

[data-theme="light"] .article-card-meta-label {
    color: rgba(15, 23, 42, 0.35);
}

[data-theme="light"] .article-card-meta-value {
    color: rgba(15, 23, 42, 0.6);
}

[data-theme="light"] .article-card-meta-row {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .article-card-button {
    color: rgba(15, 23, 42, 0.85);
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .article-card:hover .article-card-button {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .article-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ══════════════════════════════════════════
   ARTICLE PAGE STYLES
   ══════════════════════════════════════════ */

.article-page {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 160px);
}

.article-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-back-link {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--cos-text-muted, rgba(245, 248, 255, 0.55));
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.15s ease;
}

.article-back-link:hover {
    color: var(--cos-cyan, #22d3ee);
}

/* Handled by .article-card-header */

/* Handled by .article-content-card */

/* ── Article Content Card ── */
.article-content-card {
    background: rgba(235, 230, 222, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
}

.article-card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.article-date-inner {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.4);
    display: block;
    margin-bottom: 0.8rem;
}

.article-title-inner {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: rgba(15, 23, 42, 0.9);
    margin: 0 0 0.8rem 0;
}

.article-subtitle-inner {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.55);
    margin: 0;
}

.article-content-card .article-body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(15, 23, 42, 0.7);
}

.article-content-card .article-body p {
    color: rgba(15, 23, 42, 0.7);
    margin: 0 0 1.5em 0;
}

.article-content-card .article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.35rem;
    letter-spacing: 0.03em;
    color: rgba(15, 23, 42, 0.85);
    margin: 2.5em 0 0.8em 0;
}

.article-content-card .article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: rgba(15, 23, 42, 0.8);
    margin: 2em 0 0.6em 0;
}

.article-content-card .article-quote {
    margin: 2em 0;
    padding: 1.5rem 2rem;
    border-left: 2px solid #0891b2;
    background: rgba(8, 145, 178, 0.06);
    border-radius: 0 8px 8px 0;
}

.article-content-card .article-quote p {
    font-style: italic;
    color: rgba(15, 23, 42, 0.7);
    margin: 0;
}

.article-content-card .article-footer {
    margin-top: 2.5rem;
}

.article-content-card .article-footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.1) 50%, transparent 100%);
    margin-bottom: 1.5rem;
}

.article-content-card .article-footer-nav {
    display: flex;
    justify-content: space-between;
}

.article-content-card .article-footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #0891b2;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.article-content-card .article-footer-link:hover {
    opacity: 0.7;
}

[data-theme="light"] .article-back-link {
    color: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .article-back-link:hover {
    color: #0891b2;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card-inner {
        min-height: auto;
    }

    .article-container {
        padding: 0 1.2rem;
    }

    .article-content-card {
        padding: 1.6rem;
    }

    .article-content-card .article-footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cos-cyan);
}

.brand-reference {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: inherit;
}

.about-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cos-text);
    margin-bottom: 0.8rem;
}

.about-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.6;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== WHITEPAPER SECTION ===== */
.whitepaper-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.whitepaper-circle {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(34, 211, 238, 0.02);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.10);
    position: relative;
}

.whitepaper-button {
    display: inline-block;
    padding: 12px 26px;
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90) !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.20), 0 10px 26px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.whitepaper-button:hover {
    transform: translateY(-1px);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 14px 34px rgba(0, 0, 0, 0.38), var(--cos-glow-cyan);
}

.whitepaper-summary {
    max-width: 300px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* ===== MEET QAI SECTION ===== */
.meet-qai {
    padding: 6rem 0;
    background: var(--cos-base);
}

.qai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.qai-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--cos-text);
}

.qai-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.qai-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qai-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--cos-glass);
    border-radius: 14px;
    border: 1px solid var(--cos-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.qai-feature:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: rgba(34, 211, 238, 0.25);
    transform: translateX(10px);
}

.qai-feature-icon {
    font-size: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(217, 70, 239, 0.08));
    border: 1px solid var(--cos-border);
    border-radius: 14px;
    flex-shrink: 0;
}

.qai-feature-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cos-text);
    margin-bottom: 0.5rem;
}

.qai-feature-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.5;
}

.qai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== QAI SOUNDWAVE ORB ===== */
.qai-soundwave-orb {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.soundwave-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.soundwave-core {
    width: 120px;
    height: 120px;
    background: radial-gradient(ellipse 60% 40% at center, rgba(34, 211, 238, 0.1) 0%, rgba(217, 70, 239, 0.05) 50%, transparent 100%);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye-outline {
    position: relative;
    width: 70px;
    height: 35px;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.8) 0%, rgba(10, 10, 30, 0.9) 100%);
    border: 2px solid rgba(34, 211, 238, 0.4);
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        inset 0 -2px 4px rgba(34, 211, 238, 0.1),
        0 0 15px rgba(34, 211, 238, 0.2);
}

.eye-outline::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background:
        radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.9) 0%, rgba(34, 180, 200, 0.8) 30%, rgba(34, 120, 160, 0.6) 60%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 50%;
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 8px rgba(34, 211, 238, 0.3);
}

.eye-outline::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background:
        radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, transparent 70%);
    border-radius: 50%;
    top: 25%;
    left: 40%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.soundwave-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave-1 {
    width: 120px;
    height: 120px;
    border-color: rgba(34, 211, 238, 0.6);
}

.wave-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(217, 70, 239, 0.5);
}

.wave-3 {
    width: 180px;
    height: 180px;
    border-color: rgba(34, 211, 238, 0.4);
}

.wave-4 {
    width: 210px;
    height: 210px;
    border-color: rgba(217, 70, 239, 0.3);
}

.sound-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--cos-cyan);
    border-radius: 50%;
}

.sound-particle-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
    background: var(--cos-cyan);
}

.sound-particle-2 {
    top: 25%;
    right: 15%;
    animation-delay: 0.5s;
    background: var(--cos-magenta);
}

.sound-particle-3 {
    bottom: 20%;
    left: 25%;
    animation-delay: 1s;
    background: var(--cos-cyan);
}

.sound-particle-4 {
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
    background: var(--cos-magenta);
}

.sound-particle-5 {
    top: 50%;
    left: 10%;
    animation-delay: 0.8s;
    background: var(--cos-cyan);
}

.sound-particle-6 {
    top: 50%;
    right: 10%;
    animation-delay: 1.2s;
    background: var(--cos-magenta);
}

/* ===== QUANT-AGI SECTION ===== */
.quant-agi {
    padding: 6rem 0;
    background: var(--cos-base);
}

.agi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.agi-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agi-core {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outer-ring {
    width: 280px;
    height: 280px;
    border-color: rgba(34, 211, 238, 0.3);
}

.middle-ring {
    width: 200px;
    height: 200px;
    border-color: rgba(217, 70, 239, 0.4);
}

.inner-ring {
    width: 120px;
    height: 120px;
    border-color: rgba(34, 211, 238, 0.6);
}

.agi-center {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(217, 70, 239, 0.20));
    border: 1px solid rgba(34, 211, 238, 0.40);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
}

.agi-symbol {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--cos-text);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.orbit-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.20);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.orbit-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-2 {
    top: 25%;
    right: 15%;
}

.orbit-3 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.orbit-4 {
    bottom: 25%;
    right: 15%;
}

.orbit-5 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-6 {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.agi-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--cos-text);
}

.agi-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.agi-capabilities {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.agi-capability {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--cos-glass);
    border-radius: 14px;
    border: 1px solid var(--cos-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.agi-capability:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: rgba(34, 211, 238, 0.25);
    transform: translateX(10px);
}

.capability-icon {
    font-size: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(217, 70, 239, 0.08));
    border: 1px solid var(--cos-border);
    border-radius: 14px;
    flex-shrink: 0;
}

.capability-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cos-text);
    margin-bottom: 0.5rem;
}

.capability-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.5;
}

.agi-status {
    padding: 2rem;
    background: var(--cos-glass);
    border: 1px solid var(--cos-border);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-light {
    width: 12px;
    height: 12px;
    background: var(--cos-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.status-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--cos-text);
    font-size: 1.1rem;
}

.status-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== QUANT-IDE SECTION ===== */
.quant-ide {
    padding: 6rem 0;
    background: var(--cos-base);
}

.ide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ide-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ide-interface {
    width: 100%;
    max-width: 500px;
    background: var(--cos-glass);
    border: 1px solid var(--cos-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--cos-shadow);
}

.ide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--cos-border);
}

.ide-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--cos-text-muted);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.25);
    color: var(--cos-cyan);
}

.ide-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #ff5f56;
}

.control-dot.yellow {
    background: #ffbd2e;
}

.control-dot.green {
    background: #27ca3f;
}

.ide-body {
    display: flex;
    min-height: 300px;
}

.code-area {
    flex: 1;
    display: flex;
    background: rgba(0, 0, 0, 0.2);
}

.line-numbers {
    display: flex;
    flex-direction: column;
    padding: 1rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--cos-border);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--cos-text-muted);
    min-width: 40px;
}

.line-numbers span {
    line-height: 1.5;
    text-align: right;
}

.code-content {
    flex: 1;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

.code-line {
    margin-bottom: 0.2rem;
}

.keyword {
    color: var(--cos-magenta);
    font-weight: bold;
}

.string {
    color: var(--cos-cyan);
}

.function {
    color: #ffbd2e;
}

.variable {
    color: var(--cos-text);
}

.comment {
    color: var(--cos-text-muted);
    font-style: normal;
}

.ai-assistant {
    width: 200px;
    background: rgba(34, 211, 238, 0.03);
    border-left: 1px solid var(--cos-border);
    padding: 1rem;
}

.assistant-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cos-cyan);
}

.assistant-icon {
    font-size: 1.2rem;
}

.assistant-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.suggestion {
    padding: 0.6rem;
    background: rgba(34, 211, 238, 0.06);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--cos-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion:hover {
    background: rgba(34, 211, 238, 0.12);
    color: var(--cos-text);
    transform: translateX(5px);
}

.ide-footer {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--cos-border);
}

.status-bar {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
}

.status-item {
    color: var(--cos-text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ide-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--cos-text);
}

.ide-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.ide-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ide-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--cos-glass);
    border-radius: 14px;
    border: 1px solid var(--cos-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ide-feature:hover {
    background: rgba(217, 70, 239, 0.05);
    border-color: rgba(217, 70, 239, 0.25);
    transform: translateX(10px);
}

.ide-feature-icon {
    font-size: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.12), rgba(34, 211, 238, 0.08));
    border: 1px solid var(--cos-border);
    border-radius: 14px;
    flex-shrink: 0;
}

.ide-feature-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cos-text);
    margin-bottom: 0.5rem;
}

.ide-feature-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.5;
}

.ide-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.ide-button {
    display: inline-block;
    padding: 12px 26px;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.30), rgba(217, 70, 239, 0.14));
    border: 1px solid rgba(217, 70, 239, 0.86);
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ide-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.42), rgba(217, 70, 239, 0.18));
    box-shadow: 0 0 0 1px rgba(217, 70, 239, 0.36), 0 18px 36px rgba(0, 0, 0, 0.40), var(--cos-glow-magenta);
}

.ide-note {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    font-size: 0.9rem;
    font-style: normal;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: var(--cos-base);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--cos-text);
}

.contact-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--cos-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact p,
.contact a,
.contact label {
    font-family: 'Inter', sans-serif;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--cos-glass);
    border-radius: 14px;
    border: 1px solid rgba(34, 211, 238, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-icon {
    font-size: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(34, 211, 238, 0.08);
    border-radius: 14px;
    flex-shrink: 0;
    color: rgba(245, 248, 255, 0.85);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.contact-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cos-text);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.5;
}

.contact-form-container {
    background: var(--cos-glass);
    border: 1px solid rgba(34, 211, 238, 0.08);
    border-radius: 18px;
    padding: 3rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.contact-form h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cos-text);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 6, 17, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: var(--cos-text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-form select,
#contactForm select {
    background-color: var(--cos-base);
    color: var(--cos-text);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-form select option,
#contactForm select option {
    background-color: var(--cos-base);
    color: var(--cos-text);
}

.contact-form select option:hover,
#contactForm select option:hover {
    background-color: rgba(34, 211, 238, 0.12);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.12);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.05);
    background: rgba(5, 6, 17, 0.45);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245, 248, 255, 0.55);
}

.contact-submit {
    width: 100%;
    padding: 12px 26px;
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.08);
    color: rgba(255, 255, 255, 0.90) !important;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    margin-bottom: 1rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.20), 0 10px 26px rgba(0, 0, 0, 0.30);
}

.contact-submit:hover {
    transform: translateY(-1px);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.08);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.16), 0 14px 34px rgba(0, 0, 0, 0.38);
}

.form-note {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    font-size: 0.9rem;
    text-align: center;
    font-style: normal;
}

.support-link {
    color: var(--cos-cyan);
    text-decoration: underline;
}

.support-link:hover {
    color: var(--cos-magenta);
}

[data-theme="light"] .contact h2,
[data-theme="light"] .contact-details h3,
[data-theme="light"] .contact-form h3 {
    color: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .contact p,
[data-theme="light"] .contact-details p,
[data-theme="light"] .contact-intro,
[data-theme="light"] .contact a,
[data-theme="light"] .form-note {
    color: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.72);
    color: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(34, 211, 238, 0.08);
}

[data-theme="light"] .contact-icon {
    color: rgba(15, 23, 42, 0.7);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-form select,
[data-theme="light"] #contactForm select,
[data-theme="light"] .contact-form select option,
[data-theme="light"] #contactForm select option {
    background-color: rgba(255, 255, 255, 0.96);
    color: rgba(15, 23, 42, 0.88);
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
    color: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .contact-submit {
    color: rgba(15, 23, 42, 0.82) !important;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(34, 211, 238, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .contact-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(34, 211, 238, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* (Contact section Default-theme overrides live in css/theme.css alongside the
 *  Light-theme overrides — they need 'body.cosmic-pro section.contact' specificity
 *  to win against the base body.cosmic-pro rules in theme.css. A dead block of
 *  '[data-theme="default"] .contact-*' rules previously lived here but never fired
 *  due to specificity; removed for cleanliness.) */

/* ===== ACCOUNT DROPDOWN ===== */
.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--cos-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    cursor: pointer;
}

.account-button:hover {
    color: var(--cos-cyan);
}

.account-dropdown .dropdown-arrow {
    display: inline-block;
    font-size: 0.55rem;
}


/* Invisible hover bridge — fills the gap between trigger and menu (signed-in only) */
html[data-auth="true"] .account-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: transparent;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding-top: 0;
    background: rgba(10, 14, 26, 0.98);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 12px;
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    pointer-events: none;
}

html[data-auth="true"] .account-dropdown:hover > .dropdown-menu,
html[data-auth="true"] .account-dropdown:focus-within > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-menu::before {
    display: none;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--cos-text-muted);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--cos-border);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: transparent;
    transform: translateY(-2px);
    font-weight: 700;
    color: #ffffff;
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dropdown-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--cos-text-muted);
    fill: none;
}

.auth-button svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 4px;
    stroke: currentColor;
    fill: none;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cos-accent, #22d3ee);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}

.alert-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    fill: none;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.warning-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.logout-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    vertical-align: -3px;
    margin-right: 4px;
}

/* Team page action buttons */
#members-tbody button svg,
#invitations-tbody button svg {
    width: 16px;
    height: 16px;
    stroke: var(--cos-text-muted);
    fill: none;
    vertical-align: -2px;
}

/* Secure account page buttons */
#resetPasswordBtn svg,
#signOutAllBtn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    vertical-align: -3px;
}

.dropdown-item-text {
    flex: 1;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--cos-base);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--cos-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-heading {
    color: var(--cos-cyan);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
}

.footer-links a {
    color: var(--cos-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--cos-magenta);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding-top: 4rem;
    /* Adds space between header and title */
    padding-bottom: 6rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.0rem;
    font-weight: 300;
    color: var(--cos-text);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--cos-glass);
    padding: 3rem;
    border-radius: 18px;
    border: 1px solid var(--cos-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.legal-content h2 {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: var(--cos-text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--cos-magenta), transparent) 1;
}

.legal-content h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: var(--cos-text);
}

.legal-content p,
.legal-content ul {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--cos-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
}

.legal-content a {
    color: var(--cos-text-muted);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--cos-text);
    text-decoration: underline;
}

.legal-intro {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--cos-text-muted);
    font-style: normal;
}

.title-underline {
    width: 100%;
    max-width: 320px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cos-magenta) 18%, var(--cos-magenta) 82%, transparent 100%);
    margin: 1rem auto 2rem auto;
    border-radius: 999px;
    box-shadow: var(--cos-glow-magenta);
}

.brand-name {
    font-weight: 400;
    color: var(--cos-cyan);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .launch-button {
        margin-left: 0;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .about-content,
    .contact-content,
    .qai-content,
    .ide-content,
    .agi-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ide-interface {
        max-width: 100%;
    }

    .ide-body {
        flex-direction: column;
        min-height: auto;
    }

    .ai-assistant {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--cos-border);
    }

    .assistant-suggestions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .suggestion {
        flex: 1;
        min-width: 120px;
    }

    .about h2,
    .contact h2,
    .qai-text h2,
    .agi-text h2 {
        font-size: 2rem;
    }

    .agi-core {
        width: 250px;
        height: 250px;
    }

    .outer-ring {
        width: 230px;
        height: 230px;
    }

    .middle-ring {
        width: 160px;
        height: 160px;
    }

    .inner-ring {
        width: 100px;
        height: 100px;
    }

    .agi-center {
        width: 60px;
        height: 60px;
    }

    .agi-symbol {
        font-size: 2rem;
    }

    .orbit-element {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .qai-soundwave-orb {
        width: 250px;
        height: 250px;
    }

    .soundwave-container {
        width: 160px;
        height: 160px;
    }

    .soundwave-core {
        width: 60px;
        height: 60px;
    }

    .wave-1 {
        width: 100px;
        height: 100px;
    }

    .wave-2 {
        width: 120px;
        height: 120px;
    }

    .wave-3 {
        width: 140px;
        height: 140px;
    }

    .wave-4 {
        width: 160px;
        height: 160px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ===== REGIONAL TOGGLE SWITCH ===== */
.region-toggle {
    margin: 2rem 0;
    text-align: center;
}

.region-toggle .toggle-label {
    color: var(--cos-text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.region-toggle .toggle-switch {
    display: inline-flex;
    background: var(--cos-glass);
    border: 1px solid var(--cos-border);
    border-radius: 999px;
    padding: 0.3rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.region-toggle .toggle-switch input[type="radio"] {
    display: none;
}

.region-toggle .toggle-option {
    padding: 0.8rem 1.5rem;
    color: var(--cos-text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.region-toggle .toggle-switch input[type="radio"]:checked+label.toggle-option {
    background: rgba(8, 10, 22, 0.50);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.20), 0 2px 10px rgba(0, 0, 0, 0.30);
}

/* Light theme adjustments */
[data-theme="light"] .region-toggle .toggle-switch {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 120, 180, 0.3);
}

[data-theme="light"] .region-toggle .toggle-option {
    color: #475569;
}

[data-theme="light"] .region-toggle .toggle-label {
    color: #475569;
}

/* ===== COOKIE CONSENT POPUP ===== */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-popup {
    background: linear-gradient(135deg, rgba(10, 10, 32, 0.95) 0%, rgba(5, 6, 17, 0.98) 100%);
    border: 1px solid var(--cos-border);
    border-radius: 18px;
    box-shadow: var(--cos-shadow);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.20), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--cos-accent, #22d3ee);
    fill: none;
}

.cookie-title {
    color: var(--cos-text);
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.05em;
}

.cookie-content {
    padding: 20px 24px;
    color: var(--cos-text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

.cookie-description {
    margin-bottom: 20px;
    font-size: 16px;
}

.cookie-categories {
    margin: 20px 0;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--cos-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.category-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.category-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.category-info {
    flex: 1;
}

.category-name {
    color: var(--cos-text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 4px;
}

.category-desc {
    color: var(--cos-text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.category-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-category .toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #374151;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-category .toggle-switch.active {
    background: var(--cos-cyan);
}

.cookie-category .toggle-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-category .toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

.required-badge {
    background: var(--cos-magenta);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.cookie-actions {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

/* Primary cookie button (Accept All) */
.cookie-actions .btn-primary {
    background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(34,211,238,0.05));
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #ffffff;
}

/* Secondary cookie button */
.cookie-actions .btn-secondary {
    background: linear-gradient(135deg, rgba(217,70,239,0.15), rgba(217,70,239,0.05));
    border: 1px solid rgba(217, 70, 239, 0.4);
    color: var(--cos-magenta);
}

/* Tertiary/Ghost cookie button */
.cookie-actions .btn-tertiary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(245, 248, 255, 0.85);
}

.btn-primary {
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 8px 20px rgba(0, 0, 0, 0.30);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(34, 211, 238, 0.40);
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.06);
}

.btn-tertiary {
    background: transparent;
    color: var(--cos-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--cos-text);
}

/* ═══════════════════════════════════════════════════════════
   GLASS PILL BUTTONS - Design System Standard
   ═══════════════════════════════════════════════════════════ */

/* Glass Pill - Cyan (Primary) */
.btn-glass-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(34,211,238,0.05));
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 14px 32px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.btn-glass-cyan:hover {
    background: linear-gradient(135deg, rgba(34,211,238,0.25), rgba(34,211,238,0.10));
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.3);
    border-color: rgba(34, 211, 238, 0.6);
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
}

/* Glass Pill - Magenta (Secondary) */
.btn-glass-magenta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(217,70,239,0.15), rgba(217,70,239,0.05));
    border: 1px solid rgba(217, 70, 239, 0.4);
    border-radius: 50px;
    color: var(--cos-magenta);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 14px 32px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.btn-glass-magenta:hover {
    background: linear-gradient(135deg, rgba(217,70,239,0.25), rgba(217,70,239,0.10));
    box-shadow: 0 0 25px rgba(217, 70, 239, 0.3);
    border-color: rgba(217, 70, 239, 0.6);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--cos-magenta);
}

.cookie-links {
    margin-top: 16px;
    text-align: center;
}

.cookie-links a {
    color: var(--cos-cyan);
    text-decoration: none;
    font-size: 14px;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.cookie-links a:hover {
    color: var(--cos-magenta);
    text-decoration: underline;
}

/* Cookie Manage Preferences Button */
.cookie-manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(34,211,238,0.05));
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    padding: 14px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-manage-btn:hover {
    background: linear-gradient(135deg, rgba(34,211,238,0.25), rgba(34,211,238,0.10));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
    transform: translateY(-2px);
}

/* Cookie Banner (Alternative minimal version) */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(10, 10, 32, 0.95) 0%, rgba(5, 6, 17, 0.98) 100%);
    border: 1px solid var(--cos-border);
    border-radius: 14px;
    padding: 20px;
    z-index: 9999;
    box-shadow: var(--cos-shadow);
    transform: translateY(100%);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-text {
    flex: 1;
    color: var(--cos-text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

.banner-text a {
    color: var(--cos-cyan);
    text-decoration: none;
}

.banner-text a:hover {
    color: var(--cos-magenta);
    text-decoration: underline;
}

.banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    font-family: "Inter", "Helvetica", "Arial", sans-serif;
    letter-spacing: 0.03em;
}

.banner-actions .btn-primary {
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90);
}

.banner-actions .btn-primary:hover {
    transform: translateY(-1px);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 4px 12px rgba(0, 0, 0, 0.30);
}

.banner-actions .btn-tertiary {
    background: transparent;
    color: var(--cos-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-actions .btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--cos-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-popup {
        max-width: 95%;
        max-height: 95vh;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .category-toggle {
        align-self: flex-end;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ===== LIGHT THEME VARIABLES & OVERRIDES ===== */
[data-theme="light"] {
    /* Light theme color palette */
    --bg-primary: #f8fafc;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #cbd5e1;
    --bg-accent: rgba(34, 211, 238, 0.08);
    --bg-accent-hover: rgba(34, 211, 238, 0.15);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;

    --border-primary: rgba(34, 211, 238, 0.3);
    --border-secondary: rgba(34, 211, 238, 0.15);

    --accent-blue: #0066cc;
    --accent-blue-light: #3399ff;
    --accent-magenta: var(--cos-magenta);
    --accent-magenta-light: var(--cos-magenta);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.24);
}

/* Light theme body and background */
[data-theme="light"] body {
    background: transparent;
    color: var(--text-primary);
}

/* Light theme starfield background (subtle tech pattern) */
[data-theme="light"] body::before {
    background:
        /* Subtle tech grid pattern */
        linear-gradient(90deg, rgba(34, 211, 238, 0.02) 1px, transparent 1px),
        linear-gradient(180deg, rgba(34, 211, 238, 0.02) 1px, transparent 1px),

        /* Minimal accent dots */
        radial-gradient(1px 1px at 10% 20%, rgba(34, 211, 238, 0.15), transparent),
        radial-gradient(1px 1px at 80% 30%, rgba(34, 211, 238, 0.1), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(217, 70, 239, 0.1), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(34, 211, 238, 0.08), transparent),

        /* Subtle gradient overlay */
        radial-gradient(ellipse 1200px 800px at 50% 50%, rgba(34, 211, 238, 0.01), transparent),
        radial-gradient(ellipse 600px 300px at 70% 80%, rgba(100, 50, 150, 0.015), transparent);
}

/* Header in light theme */
[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .logo {
    color: var(--cos-cyan);
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.6),
        1px -1px 0 rgba(0, 0, 0, 0.6),
        -1px 1px 0 rgba(0, 0, 0, 0.6),
        1px 1px 0 rgba(0, 0, 0, 0.6),
        0 1px 6px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .nav-links a {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-links a:hover {
    color: var(--accent-blue);
}

/* Hero section in light theme */
[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero h1 {
    color: var(--text-primary);
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero p {
    color: var(--text-secondary);
}

/* Demo button styling for light theme */
[data-theme="light"] .demo-button {
    color: var(--text-primary);
    border-color: var(--cos-magenta);
}

[data-theme="light"] .demo-button:hover {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.30), rgba(217, 70, 239, 0.14));
    color: rgba(255, 255, 255, 0.92);
}

/* Feature sections in light theme */
[data-theme="light"] .features {
    background-color: var(--bg-secondary);
}

[data-theme="light"] .about {
    background-color: var(--bg-secondary);
}

[data-theme="light"] .contact {
    background-color: var(--bg-secondary);
}

[data-theme="light"] .features h2,
[data-theme="light"] .about h2,
[data-theme="light"] .contact h2,
[data-theme="light"] .qai-text h2,
[data-theme="light"] .agi-text h2,
[data-theme="light"] .ide-text h2 {
    color: var(--accent-blue);
}

/* Feature cards in light theme */
[data-theme="light"] .feature-card {
    background: rgba(34, 211, 238, 0.03);
    border: 1px solid var(--border-secondary);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .feature-card:hover {
    background: rgba(34, 211, 238, 0.06);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .feature-card h3 {
    color: var(--text-primary);
}

[data-theme="light"] .feature-card p {
    color: var(--text-secondary);
}

/* Signup box in light theme */
[data-theme="light"] .signup-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .signup-title {
    color: var(--text-primary);
}

[data-theme="light"] .signup-description {
    color: var(--text-secondary);
}

[data-theme="light"] .email-input {
    background: rgba(34, 211, 238, 0.03);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

[data-theme="light"] .email-input::placeholder {
    color: var(--text-muted);
}

[data-theme="light"] .email-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

/* Contact form in light theme */
[data-theme="light"] .contact-form-container {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .contact-form h3 {
    color: var(--text-primary);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
    background: rgba(34, 211, 238, 0.03);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form select:focus,
[data-theme="light"] .contact-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

/* Contact methods in light theme */
[data-theme="light"] .contact-method {
    background: rgba(34, 211, 238, 0.03);
    border: 1px solid var(--border-secondary);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .contact-details h3 {
    color: var(--text-primary);
}

[data-theme="light"] .contact-details p,
[data-theme="light"] .contact-intro,
[data-theme="light"] .about-intro,
[data-theme="light"] .qai-intro,
[data-theme="light"] .agi-intro,
[data-theme="light"] .ide-intro {
    color: var(--text-secondary);
}

/* QAI and AGI features in light theme */
[data-theme="light"] .qai-feature,
[data-theme="light"] .agi-capability,
[data-theme="light"] .ide-feature {
    background: rgba(34, 211, 238, 0.03);
    border: 1px solid var(--border-secondary);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .qai-feature:hover,
[data-theme="light"] .agi-capability:hover,
[data-theme="light"] .ide-feature:hover {
    background: rgba(34, 211, 238, 0.06);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .qai-feature-content h3,
[data-theme="light"] .capability-content h3,
[data-theme="light"] .ide-feature-content h3 {
    color: var(--text-primary);
}

[data-theme="light"] .qai-feature-content p,
[data-theme="light"] .capability-content p,
[data-theme="light"] .ide-feature-content p {
    color: var(--text-secondary);
}

/* AGI status in light theme */
[data-theme="light"] .agi-status {
    background: rgba(217, 70, 239, 0.05);
    border: 1px solid rgba(217, 70, 239, 0.15);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .status-text {
    color: var(--text-primary);
}

[data-theme="light"] .status-description {
    color: var(--text-secondary);
}

/* IDE interface in light theme */
[data-theme="light"] .ide-interface {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .ide-header {
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--border-secondary);
}

[data-theme="light"] .tab {
    background: rgba(34, 211, 238, 0.03);
    color: var(--text-muted);
}

[data-theme="light"] .tab.active {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--border-primary);
    color: var(--accent-blue);
}

[data-theme="light"] .code-area {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .line-numbers {
    background: rgba(0, 0, 0, 0.02);
    border-right: 1px solid var(--border-secondary);
    color: var(--text-muted);
}

[data-theme="light"] .ai-assistant {
    background: rgba(34, 211, 238, 0.03);
    border-left: 1px solid var(--border-secondary);
}

[data-theme="light"] .assistant-header {
    color: var(--accent-blue);
}

[data-theme="light"] .suggestion {
    background: rgba(34, 211, 238, 0.05);
    color: var(--text-secondary);
}

[data-theme="light"] .suggestion:hover {
    background: rgba(34, 211, 238, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .ide-footer {
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-secondary);
}

[data-theme="light"] .status-item {
    color: var(--text-muted);
}

/* Whitepaper circle in light theme */
[data-theme="light"] .whitepaper-circle {
    border: 2px solid var(--border-primary);
    background: rgba(34, 211, 238, 0.02);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .whitepaper-summary {
    color: var(--text-secondary);
}

/* Footer in light theme */
[data-theme="light"] footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
}

[data-theme="light"] .footer-heading {
    color: var(--accent-blue);
}


[data-theme="light"] .footer-links a {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-links a:hover {
    color: var(--accent-magenta);
}

/* Account dropdown in light theme */
[data-theme="light"] .account-button {
    color: var(--text-secondary);
}

[data-theme="light"] .account-button:hover {
    color: var(--accent-blue);
}

[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .dropdown-menu::before {
    border-bottom-color: var(--border-primary);
}

[data-theme="light"] .dropdown-item {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-secondary);
}

[data-theme="light"] .dropdown-item:hover {
    background: transparent;
    transform: translateY(-2px);
    font-weight: 700;
    color: #000000;
}

/* Theme toggle specific styling for light theme */
[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: var(--accent-blue);
}

/* Legal pages in light theme */
[data-theme="light"] .legal-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .legal-header h1 {
    color: var(--accent-blue);
}

[data-theme="light"] .legal-content h2 {
    color: var(--accent-blue);
    border-bottom: 2px solid var(--border-primary);
}

[data-theme="light"] .legal-content p,
[data-theme="light"] .legal-content ul,
[data-theme="light"] .legal-intro {
    color: var(--text-secondary);
}

[data-theme="light"] .legal-content a {
    color: var(--accent-blue);
}

[data-theme="light"] .legal-content a:hover {
    color: var(--accent-magenta);
}

[data-theme="light"] .brand-name {
    color: var(--accent-blue);
}

/* Legal pages on Default theme — off-white content card (Phase 1 rule).
   Covers privacy, terms-of-use, security, cookie-policy, business_enterprise_terms_of_use.
   .legal-header h1 stays white because it sits OUTSIDE the card on the dark page. */
[data-theme="default"] .legal-content {
    background: #f4f4f5;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="default"] .legal-content h2 {
    color: #0f172a;
    border-bottom: 2px solid rgba(15, 23, 42, 0.12);
    border-image: none;
}

[data-theme="default"] .legal-content h3 {
    color: #0f172a;
}

[data-theme="default"] .legal-content p,
[data-theme="default"] .legal-content ul,
[data-theme="default"] .legal-content li,
[data-theme="default"] .legal-intro {
    color: #475569;
}

[data-theme="default"] .legal-content a {
    color: #0891b2;
}

[data-theme="default"] .legal-content a:hover {
    color: #a21caf;
}

[data-theme="default"] .brand-name {
    color: #0891b2;
}

/* Manage Cookie Preferences button on Default theme — solid teal so it reads on the off-white legal card */
[data-theme="default"] .cookie-manage-btn {
    background: #0891b2;
    border: 1px solid #0891b2;
    color: #ffffff;
}

[data-theme="default"] .cookie-manage-btn:hover {
    background: #0e7490;
    border-color: #0e7490;
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.30);
    transform: translateY(-2px);
}

/* Cookie popup in light theme */
[data-theme="light"] .cookie-popup {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .cookie-title,
[data-theme="light"] .category-name {
    color: var(--text-primary);
}

[data-theme="light"] .cookie-description,
[data-theme="light"] .category-desc {
    color: var(--text-secondary);
}

[data-theme="light"] .cookie-category {
    background: rgba(34, 211, 238, 0.03);
    border: 1px solid var(--border-secondary);
}

[data-theme="light"] .category-header:hover {
    background: rgba(34, 211, 238, 0.05);
}

[data-theme="light"] .cookie-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .banner-text {
    color: var(--text-secondary);
}

[data-theme="light"] .banner-text a,
[data-theme="light"] .cookie-links a {
    color: var(--accent-blue);
}

[data-theme="light"] .banner-text a:hover,
[data-theme="light"] .cookie-links a:hover {
    color: var(--accent-magenta);
}

[data-theme="light"] .meet-qai {
    background: var(--bg-primary);
}

[data-theme="light"] .quant-agi {
    background: transparent;
}

[data-theme="light"] .quant-ide {
    background: transparent;
}

/* Stats section in light theme */
[data-theme="light"] .stat-number {
    color: var(--accent-blue);
}

[data-theme="light"] .stat-label {
    color: var(--text-muted);
}

/* Mobile responsiveness adjustments for light theme */
@media (max-width: 768px) {
    .theme-toggle {
        right: 15px;
        top: auto;
        bottom: 80px;
        transform: none;
    }
}

/* ===== LIGHT THEME CONTRAST FIXES ===== */

/* Stronger section alternation for better separation */
[data-theme="light"] .features {
    background-color: #e2e8f0 !important;
}

[data-theme="light"] .about {
    background-color: #e2e8f0 !important;
}

[data-theme="light"] .contact {
    background-color: #e2e8f0 !important;
}

[data-theme="light"] .meet-qai {
    background: #ffffff !important;
}

[data-theme="light"] .quant-agi {
    background: transparent !important;
}

[data-theme="light"] .quant-ide {
    background: transparent !important;
}

/* Fix text readability with stronger contrast */
[data-theme="light"] .about-intro,
[data-theme="light"] .about-item p {
    color: #334155 !important;
}

[data-theme="light"] .success-title {
    color: #0f172a !important;
}

[data-theme="light"] .success-description,
[data-theme="light"] .form-note {
    color: #334155 !important;
}

[data-theme="light"] .contact-intro,
[data-theme="light"] .qai-intro,
[data-theme="light"] .agi-intro,
[data-theme="light"] .ide-intro {
    color: #334155 !important;
}

/* Starlit sky background - scattered dots instead of grid */
[data-theme="light"] body::before {
    background:
        /* Large accent stars */
        radial-gradient(3px 3px at 15% 10%, rgba(0, 120, 180, 0.4), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(0, 120, 180, 0.3), transparent),
        radial-gradient(3px 3px at 45% 8%, rgba(100, 50, 150, 0.3), transparent),
        radial-gradient(2px 2px at 75% 25%, rgba(0, 120, 180, 0.4), transparent),
        radial-gradient(3px 3px at 25% 35%, rgba(100, 50, 150, 0.25), transparent),
        radial-gradient(2px 2px at 65% 5%, rgba(0, 120, 180, 0.3), transparent),
        radial-gradient(3px 3px at 90% 40%, rgba(0, 120, 180, 0.35), transparent),
        radial-gradient(2px 2px at 35% 60%, rgba(100, 50, 150, 0.3), transparent),

        /* Medium scattered stars */
        radial-gradient(2px 2px at 55% 20%, rgba(0, 120, 180, 0.25), transparent),
        radial-gradient(1px 1px at 20% 70%, rgba(0, 120, 180, 0.3), transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(100, 50, 150, 0.2), transparent),
        radial-gradient(1px 1px at 40% 85%, rgba(0, 120, 180, 0.25), transparent),
        radial-gradient(2px 2px at 70% 75%, rgba(0, 120, 180, 0.3), transparent),
        radial-gradient(1px 1px at 10% 45%, rgba(100, 50, 150, 0.2), transparent),

        /* Small distant stars */
        radial-gradient(1px 1px at 95% 50%, rgba(0, 120, 180, 0.2), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(0, 120, 180, 0.15), transparent),
        radial-gradient(1px 1px at 50% 95%, rgba(100, 50, 150, 0.18), transparent),
        radial-gradient(1px 1px at 85% 10%, rgba(0, 120, 180, 0.2), transparent),

        /* Subtle nebula background */
        radial-gradient(ellipse 800px 400px at 30% 20%, rgba(0, 120, 180, 0.02), transparent),
        radial-gradient(ellipse 600px 300px at 70% 80%, rgba(100, 50, 150, 0.015), transparent);
}

/* Stronger section borders */
[data-theme="light"] .features,
[data-theme="light"] .about,
[data-theme="light"] .contact,
[data-theme="light"] .meet-qai,
[data-theme="light"] .quant-agi,
[data-theme="light"] .quant-ide {
    border-top: 1px solid rgba(0, 120, 180, 0.15);
}

/* ===== FOOTER THEME TOGGLE ===== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
    margin-top: 1rem;
}

.theme-label {
    color: #64748b;
    font-weight: 500;
}

.theme-option {
    color: #94a3b8;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.theme-option.active {
    color: var(--cos-cyan);
    background: rgba(34, 211, 238, 0.1);
}

.theme-option:hover:not(.active) {
    color: #cbd5e1;
}

.theme-divider {
    color: #64748b;
}

/* Light theme footer toggle */
[data-theme="light"] .theme-label,
[data-theme="light"] .theme-divider {
    color: #64748b;
}

[data-theme="light"] .theme-option {
    color: #64748b;
}

[data-theme="light"] .theme-option.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
}

[data-theme="light"] .theme-option:hover:not(.active) {
    color: #334155;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== REPORT BUTTON ===== */
.report-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin-top: 2rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.report-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 255, 255, 0.5);
}

/* Light theme report button */
[data-theme="light"] .report-button {
    background: #374151;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(55, 65, 81, 0.3);
}

[data-theme="light"] .report-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(55, 65, 81, 0.5);
}

/* ===== MANAGE BILLING SPINNER ===== */
.billing-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    border-top-color: #00ff88;
    animation: billing-spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes billing-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   LAUNCH QAI HERO SECTION
   ============================================ */

.launch-qai-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.03) 0%, transparent 100%);
}

.launch-hero-heading {
    text-align: center;
    margin-bottom: 50px;
}

body.cosmic-pro .launch-hero-heading h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--cos-text);
    margin: 0;
}

/* Two-column button container */
.launch-buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Base card styles */
.launch-card {
    min-height: 420px; /* Keeps cards same height regardless of content */
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0.04) 100%);
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Content at top */
}

.launch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(34, 211, 238, 0.18);
}

/* Web App Card (Cyan) - Placeholder */
.launch-card-web {
    cursor: default;
}

.launch-card-web:hover {
    border-color: rgba(34, 211, 238, 0.70);
}

.launch-card-web h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--cos-cyan);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 8px 0;
    letter-spacing: 0.10em;
}

/* Desktop App Card (Magenta) - Functional */
.launch-card-desktop {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.10) 0%, rgba(217, 70, 239, 0.04) 100%);
    border-color: rgba(217, 70, 239, 0.30);
    cursor: pointer;
}

.launch-card-desktop:hover {
    border-color: rgba(217, 70, 239, 0.70);
    box-shadow: 0 20px 40px rgba(217, 70, 239, 0.15);
}

.launch-card-desktop h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--cos-magenta);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 8px 0;
    letter-spacing: 0.10em;
}

/* Disabled state for Desktop card (Free tier) */
.launch-card-desktop.disabled {
    opacity: 0.7;
    cursor: default;
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.08) 0%, rgba(100, 100, 100, 0.02) 100%);
    border-color: rgba(100, 100, 100, 0.3);
}

.launch-card-desktop.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(100, 100, 100, 0.3);
}

.launch-card-desktop.disabled h2 {
    color: var(--cos-text-muted);
}

.launch-card-desktop.disabled .launch-card-platform {
    color: var(--cos-text-muted);
}

.launch-card-desktop.disabled .desktop-mockup {
    border-color: rgba(100, 100, 100, 0.2);
}

.launch-card-desktop.disabled .app-titlebar {
    color: var(--cos-text-muted);
    border-color: rgba(100, 100, 100, 0.1);
}

.launch-card-desktop.disabled .app-sidebar {
    background: rgba(100, 100, 100, 0.15);
}

/* Card description text */
.launch-card-desc {
    color: rgba(245, 248, 255, 0.78);
    font-size: 0.9rem;
    margin: 0;
}

/* Platform text (e.g., "for Windows") */
.launch-card-platform {
    color: var(--cos-magenta);
    font-weight: 400;
    font-size: 0.85rem;
    margin: 0 0 8px 0;
}

/* Coming Soon badge */
.coming-soon-badge {
    display: inline-block;
    color: var(--cos-cyan);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    margin-top: 15px;
    padding: 6px 14px;
    background: rgba(34, 211, 238, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

/* ============================================
   BROWSER MOCKUP (Web App Card)
   ============================================ */

.browser-mockup {
    width: 160px;
    height: 110px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
    border-radius: 10px;
    border: 2px solid rgba(34, 211, 238, 0.18);
    overflow: hidden;
    margin-bottom: 25px;
}

.browser-bar {
    height: 22px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
    border-bottom: 1px solid var(--cos-border);
}

.browser-bar .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.browser-bar .dot.red { background: #ff5f57; }
.browser-bar .dot.yellow { background: #febc2e; }
.browser-bar .dot.green { background: #28c840; }

.browser-bar .url-bar {
    flex: 1;
    margin-left: 10px;
    height: 12px;
    background: rgba(34, 211, 238, 0.10);
    border-radius: 6px;
}

.browser-content {
    padding: 12px;
}

.browser-content .content-line {
    height: 5px;
    background: var(--cos-cyan);
    border-radius: 2px;
    margin-bottom: 8px;
    width: 70%;
}

.browser-content .content-line.short {
    background: rgba(34, 211, 238, 0.2);
    width: 90%;
    height: 4px;
    margin-bottom: 5px;
}

/* ============================================
   DESKTOP MOCKUP (Desktop App Card)
   ============================================ */

.desktop-mockup {
    width: 160px;
    height: 110px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
    border-radius: 10px;
    border: 2px solid rgba(217, 70, 239, 0.18);
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.app-titlebar {
    height: 20px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(217, 70, 239, 0.10);
    font-size: 9px;
    color: var(--cos-magenta);
    font-weight: 400;
}

.app-content {
    flex: 1;
    padding: 8px;
    display: flex;
    gap: 8px;
}

.app-sidebar {
    width: 30%;
    background: rgba(217, 70, 239, 0.12);
    border-radius: 4px;
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-main::before {
    content: '';
    display: block;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.app-main::after {
    content: '';
    display: block;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

/* ============================================
   TIER INFO SECTION (Inside Desktop Card)
   ============================================ */

.tier-info-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    margin-top: 20px;
    width: 100%;
}

.tier-warning {
    color: #ff9900;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 0 6px 0;
}

.tier-current {
    color: var(--cos-text-muted);
    font-size: 0.8rem;
    margin: 0 0 12px 0;
}

.tier-current span {
    font-weight: 600;
}

.tier-current span.paid {
    color: var(--cos-cyan);
}

.tier-current span.free {
    color: #ff6b6b;
}

.tier-upgrade-btn {
    display: inline-block;
    background: rgba(8, 10, 22, 0.35);
    border: 1px solid rgba(34, 211, 238, 0.70);
    border-radius: 999px;
    padding: 8px 18px;
    color: rgba(255, 255, 255, 0.90);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.tier-upgrade-btn:hover {
    transform: scale(1.05);
    background: rgba(8, 10, 22, 0.42);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 5px 20px rgba(0, 0, 0, 0.30);
}

/* Hide upgrade button when user has paid tier */
.tier-upgrade-btn.hidden {
    display: none;
}

/* ============================================
   DOWNLOAD OPTIONS SECTION
   ============================================ */

.download-options {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-options h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--cos-cyan);
    margin-bottom: 0.5rem;
}

.download-options-subtitle {
    color: var(--cos-text-muted);
    margin-bottom: 2rem;
}

.download-buttons-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0.04) 100%);
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0.08) 100%);
    border-color: rgba(34, 211, 238, 0.70);
    transform: translateY(-2px);
}

.download-btn .platform-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .launch-buttons-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    body.cosmic-pro .launch-hero-heading h1 {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .launch-card {
        padding: 30px 20px;
    }
    
    .browser-mockup,
    .desktop-mockup {
        width: 140px;
        height: 95px;
    }
}

/* =============================================
   LIGHT THEME — DOWNLOAD / LAUNCH PAGE
   ============================================= */

[data-theme="light"] .launch-qai-hero {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.04) 0%, transparent 100%);
}

[data-theme="light"] .launch-card {
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .launch-card-desktop {
    background: rgba(255, 255, 255, 0.80);
    border-color: rgba(217, 70, 239, 0.25);
}

[data-theme="light"] .launch-card-desc {
    color: #475569;
}

[data-theme="light"] .tier-info-section {
    border-top: 1px solid rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .tier-current {
    color: #475569;
}

[data-theme="light"] .browser-mockup {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: rgba(34, 211, 238, 0.25);
}

[data-theme="light"] .browser-bar {
    background: #e2e8f0;
    border-bottom-color: rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .desktop-mockup {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: rgba(217, 70, 239, 0.25);
}

[data-theme="light"] .app-titlebar {
    background: #e2e8f0;
    border-bottom-color: rgba(15, 23, 42, 0.10);
}

[data-theme="light"] .app-sidebar {
    background: rgba(217, 70, 239, 0.10);
}

[data-theme="light"] .app-main::before {
    background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .app-main::after {
    background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .download-options-subtitle {
    color: #475569;
}

/* Keep download page buttons same cyan/magenta as dark theme */
[data-theme="light"] .launch-card-web h2 {
    color: var(--cos-cyan);
}

[data-theme="light"] .launch-card-desktop h2 {
    color: var(--cos-magenta);
}

[data-theme="light"] .launch-card-platform {
    color: var(--cos-magenta);
}

[data-theme="light"] .tier-upgrade-btn {
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.70);
    color: rgba(255, 255, 255, 0.90);
}

[data-theme="light"] .tier-upgrade-btn:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.86);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.28), 0 5px 20px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .download-btn {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.10) 0%, rgba(34, 211, 238, 0.04) 100%);
    border: 1px solid rgba(34, 211, 238, 0.30);
    color: var(--cos-cyan);
}

[data-theme="light"] .download-btn:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0.08) 100%);
    border-color: rgba(34, 211, 238, 0.70);
}

[data-theme="light"] .download-options h2 {
    color: var(--cos-cyan);
}

[data-theme="light"] .coming-soon-badge {
    color: var(--cos-cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.footer-company-reg {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(245, 248, 255, 0.35);
    margin-top: 0.8rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

[data-theme="light"] .footer-company-reg {
    color: rgba(15, 23, 42, 0.35);
}

/* ============================================================
 * PHASE 2 — DARK THEME: uniformly dark content cards
 * Cards that are off-white by default (article cards, article body)
 * flip to the signin auth-box dark template on Dark theme.
 * Reference: .auth-box { background: rgba(15, 23, 42, 0.85);
 *                        border: 1px solid rgba(255, 255, 255, 0.1); }
 * ============================================================ */

/* --- Latest Articles preview cards (homepage) --- */
[data-theme="dark"] .article-card-inner {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .article-card-title {
    color: rgba(245, 248, 255, 0.92);
}

[data-theme="dark"] .article-card-body {
    color: rgba(245, 248, 255, 0.72);
}

[data-theme="dark"] .article-card-meta-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .article-card-meta-label {
    color: rgba(245, 248, 255, 0.55);
}

[data-theme="dark"] .article-card-meta-value {
    color: rgba(245, 248, 255, 0.85);
}

/* --- Article body (when reading an article) --- */
[data-theme="dark"] .article-content-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .article-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .article-date-inner {
    color: rgba(245, 248, 255, 0.55);
}

[data-theme="dark"] .article-title-inner {
    color: rgba(245, 248, 255, 0.92);
}

[data-theme="dark"] .article-subtitle-inner {
    color: rgba(245, 248, 255, 0.72);
}

[data-theme="dark"] .article-content-card .article-body,
[data-theme="dark"] .article-content-card .article-body p,
[data-theme="dark"] .article-content-card .article-body li {
    color: rgba(245, 248, 255, 0.85);
}

[data-theme="dark"] .article-content-card .article-body h2,
[data-theme="dark"] .article-content-card .article-body h3,
[data-theme="dark"] .article-content-card .article-body h4 {
    color: rgba(245, 248, 255, 0.92);
}
