:root {
    --bg-color: #050507;
    --text-color: #e5e5e5;
    --text-muted: #a3a3a3;
    --accent-color: #3b82f6;
    --accent-blue: #60a5fa;
    --accent-orange: #fb923c;
    --grid-accent: #4ae9fe;
    --bolt-accent: #cb9e3e;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --card-bg: #111114;
    --card-bg-elevated: #15151a;
    --border-color: #222226;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Background Atmosphere — ambient nebula glow */
body {
    background-image: radial-gradient(ellipse at 50% 30%, #141420 0%, transparent 55%);
    background-attachment: fixed;
}

/* Starfield — layer 1 (larger, brighter stars) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        /* Bright white stars */
        radial-gradient(2.5px 2.5px at 7% 12%, #ffffff, transparent 55%),
        radial-gradient(3px 3px at 18% 38%, #ffffff, transparent 55%),
        radial-gradient(2.5px 2.5px at 32% 8%, #ffffff, transparent 55%),
        radial-gradient(3.5px 3.5px at 44% 48%, #ffffff, transparent 55%),
        radial-gradient(2.5px 2.5px at 56% 16%, #ffffff, transparent 55%),
        radial-gradient(3px 3px at 68% 72%, #ffffff, transparent 55%),
        radial-gradient(2.5px 2.5px at 79% 26%, #ffffff, transparent 55%),
        radial-gradient(3.5px 3.5px at 88% 62%, #ffffff, transparent 55%),
        radial-gradient(2.5px 2.5px at 94% 88%, #ffffff, transparent 55%),
        radial-gradient(3px 3px at 4% 78%, #ffffff, transparent 55%),
        radial-gradient(2.5px 2.5px at 38% 92%, #ffffff, transparent 55%),
        radial-gradient(3px 3px at 62% 4%, #ffffff, transparent 55%),
        /* Brand accent stars */
        radial-gradient(3.5px 3.5px at 21% 24%, rgba(147, 197, 253, 1), transparent 55%),
        radial-gradient(3px 3px at 77% 82%, rgba(147, 197, 253, 0.95), transparent 55%),
        radial-gradient(3.5px 3.5px at 55% 76%, rgba(251, 146, 60, 0.95), transparent 55%),
        radial-gradient(3px 3px at 12% 48%, rgba(251, 146, 60, 0.9), transparent 55%);
    z-index: -2;
    pointer-events: none;
    animation: twinkle-a 4.5s ease-in-out infinite alternate;
}

/* Starfield — layer 2 (smaller stars, offset twinkle) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 14% 62%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 26% 84%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 38% 28%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 49% 88%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 62% 40%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 73% 54%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 84% 10%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 2% 34%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1.5px 1.5px at 96% 44%, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(1px 1px at 11% 92%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 23% 18%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 35% 66%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 47% 4%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 58% 60%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 67% 94%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 75% 36%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 91% 4%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 42% 72%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 86% 30%, rgba(255, 255, 255, 0.75), transparent 60%);
    z-index: -2;
    pointer-events: none;
    animation: twinkle-b 3.2s ease-in-out infinite alternate;
}

@keyframes twinkle-a {
    0% {
        opacity: 0.45;
    }

    100% {
        opacity: 1;
    }
}

@keyframes twinkle-b {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

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

/* TEMP: Coming soon banner — remove once MediaExplorer launches */
.coming-soon-banner {
    background: rgba(96, 165, 250, 0.08);
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
    color: var(--accent-blue);
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Header */
header {
    padding: 2rem 0;
    /* backdrop-filter: blur(10px); Optional: if we want a sticky header */
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: white;
    text-decoration: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-toggle:hover,
.dropdown.open .dropdown-toggle {
    color: white;
    background-color: rgba(255, 255, 255, 0.04);
}

.dropdown-caret {
    transition: transform 0.2s ease;
}

.dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 5px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.dropdown-item:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle accent glow behind hero text */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3;
    z-index: -1;
    filter: blur(90px);
    pointer-events: none;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero h1 .accent-blue {
    color: #60a5fa;
}

.hero .subheading {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    color: white;
    border-color: rgba(96, 165, 250, 0.4);
    background-color: rgba(96, 165, 250, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(96, 165, 250, 0.15);
}

.hero-cta:hover .hero-cta-arrow {
    transform: translateY(2px);
    color: var(--accent-blue);
}

.hero-cta-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* About Section */
.about {
    padding: 6rem 0;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

/* Featured Product */
.featured-product {
    padding: 4rem 0 8rem;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Default to side-by-side */
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    /* For animation */
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card.visible:hover {
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(96, 165, 250, 0.08);
}

.product-card.visible:hover .product-image img {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(96, 165, 250, 0.1);
}

/* Inner glow for card */
.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.product-info h2 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
}

.product-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: #d4d4d8;
    margin-bottom: 1.75rem !important;
    line-height: 1.35;
    letter-spacing: -0.01em;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: white;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

.product-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: white;
}

.social-link svg {
    display: block;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1.visible {
    transition-delay: 0.1s;
}

.delay-2.visible {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subheading {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    .product-card {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }

    .product-card .product-image {
        order: 2;
        /* Image below text on mobile */
    }

    .btn-group {
        justify-content: center;
    }

    .product-info h2 {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================================
   PRODUCT PAGE (mediaexplorer.html)
   ========================================================= */

/* Shared utilities */
.container.narrow {
    max-width: 860px;
}

.accent-orange {
    color: var(--accent-orange);
}

.grid-name {
    color: var(--grid-accent);
    font-weight: 600;
}

.bolt-name {
    color: var(--bolt-accent);
    font-weight: 600;
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: white;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
}

.section-lede {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.6;
    color: #d4d4d8;
    letter-spacing: -0.005em;
}

/* Product page sections */
.product-section {
    padding: 6rem 0;
}

/* 1. Product hero */
.product-hero {
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Subtle accent glow behind the hero, tying logo + screenshot together */
.product-hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 420px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.22;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
}

.product-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-hero-logo {
    margin-bottom: 0.85rem;
    margin-left: -0.35rem;
}

.product-hero-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 6px 20px rgba(96, 165, 250, 0.18));
}

.product-hero-text h1 {
    font-size: 2.85rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: white;
    max-width: 520px;
}

.product-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #d4d4d8;
    line-height: 1.45;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

.product-hero-lede {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Placeholders */
.placeholder {
    position: relative;
    width: 100%;
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.04) 0%, rgba(251, 146, 60, 0.04) 100%),
        var(--card-bg-elevated);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 1rem;
}

.placeholder-16x9 {
    aspect-ratio: 16 / 9;
}

.placeholder-4x3 {
    aspect-ratio: 4 / 3;
}

/* 2. Statement block */
.statement-section {
    padding: 5rem 0 3.5rem;
    position: relative;
}

/* Soft radial glow behind text — low opacity blend of blue + orange */
.statement-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 280px;
    background:
        radial-gradient(ellipse at 40% 50%, rgba(59, 130, 246, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse at 62% 50%, rgba(251, 146, 60, 0.06) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.statement-block {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.statement-rule {
    border: none;
    border-top: 1px solid;
    border-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 25%,
        rgba(255, 255, 255, 0.18) 75%,
        transparent 100%
    ) 1;
    margin: 2rem 0;
}

.statement-primary {
    font-size: 2.25rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin: 0;
}

.statement-secondary {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 1.1rem 0 0;
}

/* 3. Feature rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-row.reverse {
    grid-template-columns: 1.15fr 1fr;
}

.feature-row.reverse .feature-text {
    order: 2;
}

.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-text h3 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}

/* 4. Grid (premium) section */
.grid-section {
    position: relative;
}

.grid-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.grid-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 233, 254, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.grid-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 0.5rem;
    color: white;
    line-height: 1.1;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(74, 233, 254, 0.1);
    border: 1px solid rgba(74, 233, 254, 0.35);
    color: var(--grid-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
}

.grid-text .product-tagline {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem !important;
    font-size: 1.25rem;
}

.grid-text .feature-list {
    margin-bottom: 2rem;
}

.grid-text .feature-list li::before {
    background: var(--grid-accent);
    box-shadow: 0 0 8px rgba(74, 233, 254, 0.6);
}

/* 5. Comparison table */
.compare-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.compare-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 1.1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-weight: 400;
}

.compare-table thead th {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
}

.compare-table thead th:first-child {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.compare-table thead th small {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.compare-table thead th:not(:first-child),
.compare-table tbody td {
    text-align: center;
}

.compare-table tbody th {
    color: var(--text-color);
    font-weight: 400;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
}

.check.yes {
    background: rgba(96, 165, 250, 0.15);
    color: var(--accent-blue);
}

.check.no {
    background: rgba(255, 255, 255, 0.04);
    color: #4a4a52;
}

/* 6. Use cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-cases-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

.use-cases-note {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.75;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.use-case {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.3s ease;
}

.use-case.visible {
    opacity: 1;
    transform: translateY(0);
}

.use-case:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.use-case .placeholder {
    margin-bottom: 1.5rem;
    box-shadow: none;
}

.use-case > .marketing-image {
    margin-bottom: 1.25rem;
}

.use-case h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.use-case p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 6b. Own your media library */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.value-block:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
}

.value-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.value-block p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    font-size: 1rem;
}

/* 7. Performance */
.perf-section {
    padding: 5rem 0;
}

.perf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.perf-stat {
    padding: 2rem 1rem;
    border-left: 1px solid var(--border-color);
}

.perf-stat:first-child {
    border-left: none;
}

.perf-stat-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.perf-stat-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* 8. Final CTA */
.cta-section {
    padding-bottom: 8rem;
}

.cta-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.2;
    filter: blur(60px);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
}

.btn-group.center {
    justify-content: center;
    position: relative;
}

/* Product page responsive */
@media (max-width: 900px) {

    .product-hero-grid,
    .feature-row,
    .feature-row.reverse,
    .grid-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Center the hero text block when stacked */
    .product-hero-text {
        text-align: center;
        align-items: center;
    }

    .product-hero-text h1,
    .product-hero-subtitle,
    .product-hero-lede {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-hero-logo {
        margin-left: 0;
        align-self: center;
    }

    /* Center feature row content when stacked; keep bulleted lists left-aligned within a centered block */
    .feature-text {
        text-align: center;
    }

    .feature-text .feature-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }

    /* Grid (premium) card text centered on mobile */
    .grid-text {
        text-align: center;
    }

    .grid-text .feature-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto 2rem;
    }

    .grid-text .btn-group {
        justify-content: center;
    }

    .feature-row.reverse .feature-text {
        order: 1;
    }

    .feature-row.reverse .feature-visual {
        order: 2;
    }

    .product-hero-text h1 {
        font-size: 2.25rem;
    }

    .product-hero-logo img {
        max-width: 260px;
    }

    .grid-card {
        padding: 2.5rem;
    }

    .grid-text h2 {
        font-size: 2rem;
    }

    .use-cases {
        grid-template-columns: 1fr;
    }

    .use-cases-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .perf-stats {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .perf-stat {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 1.5rem 1rem;
    }

    .perf-stat:first-child {
        border-top: none;
    }

    .product-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2,
    .cta-card h2 {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 0.85rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {

    /* Tighten container padding so cards have more breathing room edge-to-edge */
    .container {
        padding: 0 1.25rem;
    }

    .value-grid,
    .use-cases-2x2 {
        grid-template-columns: 1fr;
    }

    /* Center value blocks (Own your media library) when stacked */
    .value-block {
        text-align: center;
    }

    .value-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Make hero CTA easier to tap */
    .hero-cta {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
    }

    /* Slightly more compact compare table on small phones */
    .compare-table th,
    .compare-table td {
        padding: 0.75rem 0.55rem;
        font-size: 0.85rem;
    }

    .statement-section {
        padding: 2.5rem 0 4.5rem;
    }

    .statement-primary {
        font-size: 1.6rem;
    }
}

/* Very small phones (≤430px) — keep headlines from overflowing */
@media (max-width: 430px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .product-hero-text h1 {
        font-size: 1.9rem;
    }

    .product-hero-logo img {
        max-width: 220px;
    }

    .section-header h2,
    .cta-card h2 {
        font-size: 1.75rem;
    }

    .grid-text h2 {
        font-size: 1.75rem;
    }

    .product-info h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        width: 100%;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .grid-card,
    .cta-card {
        padding: 2rem 1.25rem;
    }
}

/* =========================================================
   SUPPORT DEVELOPMENT PAGE
   ========================================================= */

.support-section {
    padding: 5rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 320px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.18;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.support-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.support-card .section-eyebrow {
    margin-bottom: 1rem;
}

.support-card h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: white;
    margin-bottom: 0.75rem;
}

.support-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #d4d4d8;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.support-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.support-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.support-cta {
    margin-bottom: 2.25rem;
}

.btn-kofi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 2.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid rgba(96, 165, 250, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25), 0 0 20px rgba(96, 165, 250, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-kofi:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #4f8ff7 0%, #3b82f6 100%);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35), 0 0 28px rgba(96, 165, 250, 0.25);
}

.kofi-icon {
    flex-shrink: 0;
}

.support-back {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.support-back:hover {
    color: var(--accent-blue);
}

@media (max-width: 600px) {
    .support-section {
        padding: 3rem 0 5rem;
    }

    .support-card {
        padding: 2.25rem 1.5rem;
        border-radius: 14px;
    }

    .support-card h1 {
        font-size: 1.85rem;
    }

    .support-subtitle {
        font-size: 1.1rem;
    }

    .support-body,
    .support-note {
        font-size: 1rem;
    }

    .btn-kofi {
        display: flex;
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* =========================================================
   MARKETING IMAGES — shared container, carousel, lightbox
   ========================================================= */

.marketing-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    background: radial-gradient(ellipse at center, #16161c 0%, #08080b 100%);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(96, 165, 250, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.marketing-image:hover {
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(96, 165, 250, 0.18),
        inset 0 0 0 1px rgba(96, 165, 250, 0.12);
    transform: translateY(-2px);
}

.marketing-image:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

.marketing-image-wide {
    aspect-ratio: 16 / 9;
}

.marketing-image-standard {
    aspect-ratio: 4 / 3;
}

.marketing-image-square {
    aspect-ratio: 1 / 1;
}

.marketing-image-photo {
    aspect-ratio: 3 / 2;
}

.marketing-image > img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.marketing-image.marketing-image-fill > img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: var(--image-position, center center);
}

/* Carousel */
.marketing-carousel {
    position: relative;
    width: 100%;
}

.marketing-carousel-trigger {
    height: 100%;
}

.marketing-image > .marketing-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.carousel-img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.carousel-img.is-active {
    opacity: 1;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 13, 0.65);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(20, 20, 28, 0.85);
    border-color: rgba(96, 165, 250, 0.5);
    color: var(--accent-blue);
}

.carousel-arrow:focus-visible {
    opacity: 1;
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.marketing-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow-prev {
    left: 0.75rem;
}

.carousel-arrow-next {
    right: 0.75rem;
}

.carousel-dots {
    position: absolute;
    bottom: -1.6rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.carousel-dot.is-active {
    background: var(--accent-blue);
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}

.carousel-dot:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Use-case carousels need extra room so the dots don't overlap the title */
.use-case .marketing-carousel {
    margin-bottom: 2.5rem;
}

.use-case .carousel-dots {
    bottom: -1.5rem;
}

@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 7, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: zoom-out;
}

/* Absolute + transform centering — bulletproof regardless of image load timing */
.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(96, 165, 250, 0.15);
    background: #0a0a0d;
}

.lightbox-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 28, 0.7);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox-close:hover {
    background: rgba(30, 30, 40, 0.9);
    border-color: rgba(96, 165, 250, 0.5);
    color: var(--accent-blue);
}

.lightbox-close:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 28, 0.7);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}

.lightbox-arrow[hidden] {
    display: none;
}

.lightbox-arrow:hover {
    background: rgba(30, 30, 40, 0.9);
    border-color: rgba(96, 165, 250, 0.5);
    color: var(--accent-blue);
}

.lightbox-arrow:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.lightbox-arrow-prev {
    left: 0.75rem;
}

.lightbox-arrow-next {
    right: 0.75rem;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .lightbox {
        padding: 1rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(20, 20, 28, 0.85);
    }
}