/* ==========================================================================
   BioScript Premium SaaS Offer Styles (Stripe / Framer Inspired)
   ========================================================================== */

:root {
    /* Core Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);

    /* Layout Tokens */
    --container-max-width: 1200px;
    --container-padding: 2rem;
    --section-spacing-desktop: 160px;
    --section-spacing-tablet: 100px;
    --section-spacing-mobile: 80px;

    /* Colors - Dark Theme Focus */
    --bg-base: #030712;
    /* Tailwind gray-950 */
    --bg-surface: #111827;
    /* Tailwind gray-900 */
    --bg-surface-elevated: rgba(31, 41, 55, 0.6);
    /* Tailwind gray-800 with opacity */

    --text-primary: #f9fafb;
    /* gray-50 */
    --text-secondary: #9ca3af;
    /* gray-400 */
    --text-muted: #6b7280;
    /* gray-500 */

    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);

    --accent-primary: #3b82f6;
    /* blue-500 */
    --accent-primary-hover: #2563eb;
    /* blue-600 */
    --accent-secondary: #8b5cf6;
    /* violet-500 */

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Effects */
    --glass-blur: blur(16px);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-section-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    padding: 5rem 4rem;
    box-shadow:
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 40px -10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.glass-section-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    -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;
}

@media (max-width: 768px) {
    .glass-section-container {
        padding: 3rem 1.5rem;
        border-radius: 24px;
        margin: 20px 0;
    }

    .glass-section-container::before {
        border-radius: 24px;
    }
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--accent-primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-highlight {
    font-weight: 700;
    color: #fff;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 5rem;
    line-height: 1.6;
}

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

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    position: relative;
    z-index: 10;
}

.section-spacing {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .section-spacing {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

.border-top {
    border-top: 1px solid var(--border-subtle);
}

.w-full {
    width: 100%;
}

.inline-icon {
    vertical-align: middle;
    margin-top: -2px;
}

.relative {
    position: relative;
}

/* ==========================================================================
   Global Background & Mesh
   ========================================================================== */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bg-gradient-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 1;
    will-change: transform;
}

.spot-1 {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(30, 58, 138, 0) 70%);
}

.spot-2 {
    bottom: -10%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(76, 29, 149, 0) 70%);
}

/* ==========================================================================
   Components: Buttons & Tokens
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
}

.btn-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.2), 0 4px 6px -2px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.2), 
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.premium-border {
    position: relative;
    background: linear-gradient(var(--bg-surface), var(--bg-base)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%) border-box;
    border: 1px solid transparent;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: background-color var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: calc(140px + 60px);
    /* Account for navbar */
    text-align: center;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 25%,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 30%,
            transparent 60%);
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 50%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 90%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 999px;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-comparison {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    padding: 10px 20px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    border-radius: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
}

.hero-comparison strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-video-wrapper {
    margin-top: 6rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
}

.video-glass-frame {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-strong);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    aspect-ratio: 16/9;
    overflow: hidden;
    transform: rotateX(2deg) translateY(0);
    transition: transform 0.5s ease;
}

.video-glass-frame:hover {
    transform: rotateX(0deg) translateY(-10px);
}

.video-glass-frame iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* ==========================================================================
   Social Proof Stats
   ========================================================================== */
.social-proof {
    margin-top: 80px;
    text-align: center;
}

.proof-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ==========================================================================
   Compact Pricing Preview
   ========================================================================== */
.compact-pricing-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.compact-plan-card {
    flex: 1;
    max-width: 320px;
    padding: 2rem;
    text-align: center;
}

.compact-plan-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.compact-plan-card .price-current {
    margin-bottom: 1.5rem;
    justify-content: center;
}

.compact-plan-card .amount {
    font-size: 2.5rem;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(even) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 2rem;
    }
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */
.use-cases-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.problem-card {
    padding: 3rem 2rem;
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
    display: inline-flex;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.card-icon-wrapper i {
    width: 32px;
    height: 32px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-secondary);
}

/* ==========================================================================
   Solution / Demo
   ========================================================================== */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-top: 3rem;
}

.benefit-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.benefit-list li i {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-list li strong {
    display: block;
    font-size: 1.25rem;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-list li span {
    color: var(--text-secondary);
    display: block;
}

.preview-mockup {
    padding: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg), 0 20px 40px -10px rgba(59, 130, 246, 0.2);
    /* Soft glow background */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    background: #374151;
    /* gray-700 */
}

.url-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 2rem;
    flex-grow: 1;
    text-align: center;
}

.mockup-image {
    width: 100%;
    display: block;
}

.mockup-float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.float-title {
    display: block;
    font-weight: 800;
    font-size: 1.25rem;
}

.float-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   Awareness Video
   ========================================================================== */
/* PRICING ENHANCEMENTS */
.price-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), transparent);
    border-left: 3px solid var(--accent-primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.price-warning {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.75rem;
    opacity: 0.8;
}

/* TRUST INDICATOR STRIP */
.trust-strip {
    padding: 3rem 0;
    background: rgba(59, 130, 246, 0.03);
    margin-bottom: 2rem;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-item i {
    color: var(--accent-primary);
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .trust-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .trust-item {
        justify-content: flex-start;
        font-size: 0.9rem;
    }
}

.awareness-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.1) !important;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.feature-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bento-box {
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, border-color var(--transition-base);
}

.bento-box:hover {
    transform: translateY(-6px);
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.bento-icon h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.bento-box p {
    color: var(--text-secondary);
    flex-grow: 1;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.compare-table-wrapper {
    margin-top: 100px;
    padding: 0;
    overflow: hidden;
    overflow-x: auto;
    /* For mobile */
}

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

.compare-table th,
.compare-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

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

.compare-table th {
    font-family: var(--font-display);
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.2);
}

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

.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.col-competitor {
    background: rgba(255, 0, 0, 0.02);
}

.col-bioscript {
    background: rgba(59, 130, 246, 0.05);
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.compare-table td:nth-child(2) {
    background: rgba(255, 0, 0, 0.02);
}

.compare-table td:nth-child(3) {
    background: rgba(59, 130, 246, 0.05);
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.bs-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding-top: 140px;
    padding-bottom: 140px;
}

.pricing-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(30, 58, 138, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.pricing-grid {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    position: relative;
    transition: transform var(--transition-smooth), border-color var(--transition-base), box-shadow var(--transition-base);
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
}

.plan-card.highlight {
    flex: 1.15;
    background: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

.plan-card.highlight:hover {
    box-shadow: 0 0 70px rgba(59, 130, 246, 0.25);
    border-color: var(--accent-primary);
}

.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary) 0%, #60A5FA 100%);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 20;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.plan-header {
    margin-bottom: 2rem;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.pricing-right {
    padding: 0;
    background: transparent;
}

.price-strikethrough {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.price-current {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.price-current .currency {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-current .amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.price-current .amount:hover {
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
    background: linear-gradient(to right, #fff 0%, #cbd5e1 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.price-current .period {
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.secure-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-text i {
    width: 16px;
    height: 16px;
}

.pricing-right h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-features li i {
    flex-shrink: 0;
}

.feature-highlight {
    position: relative;
    font-weight: 700;
    color: #fff;
    padding: 0.5rem 0.75rem;
    margin: 0.5rem -0.75rem;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), transparent);
    border-left: 3px solid var(--warning);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-highlight i {
    color: var(--warning) !important;
    animation: icon-float 3s ease-in-out infinite;
}

.feature-highlight strong {
    background: linear-gradient(to right, #fff 0%, #fbbf24 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 3s linear infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes text-shimmer {
    to { background-position: 200% center; }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 100px;
}

.faq-item {
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-align: left;
    transition: background-color var(--transition-fast);
}

.faq-trigger:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-chevron {
    transition: transform var(--transition-base);
    color: var(--text-muted);
}

.faq-content {
    max-height: 0;
    padding: 0 2rem;
    transition: all var(--transition-base);
    opacity: 0;
    color: var(--text-secondary);
}

.faq-item.active .faq-content {
    max-height: 300px;
    padding-bottom: 1.5rem;
    opacity: 1;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.final-cta {
    padding-top: 140px;
    padding-bottom: 140px;
}

.final-banner {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.6) 0%, rgba(17, 24, 39, 0.8) 100%);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.15);
    /* subtle gradient background glow */
}

.footer {
    padding: 4rem 0;
}

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

.footer-desc {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-right p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem var(--container-padding);
    z-index: 1000;
    display: none;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Profit Calculator (Interactive)
   ========================================================================== */
.calculator-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid var(--border-strong);
    background: rgba(17, 24, 39, 0.6);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .calculator-card {
        padding: 1.5rem;
    }
}

.calc-input-group {
    margin-bottom: 2rem;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calc-value {
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-weight: 700;
}

/* Custom Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-primary);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

input[type=range]:focus {
    outline: none;
}

/* Toggle Switch */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Results Display */
.calc-results {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.result-value.highlight {
    color: var(--success);
    font-size: 2.5rem;
}

.growth-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.growth-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--success));
    width: 0%;
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 768px) {

    /* Navbar fix */
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Pricing Grid */
    .pricing-grid {
        flex-direction: column;
        gap: 2rem;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .plan-card {
        padding: 2rem 1.25rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Comparison Table Horizontal Scroll */
    .compare-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        /* Allow scroll past padding */
        padding: 0 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Compact Pricing Preview Grid */
    .compact-pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .compact-plan-card {
        max-width: 100%;
        width: 100%;
    }

    .compare-table {
        min-width: 600px;
        /* Ensure columns don't squish too much */
    }

    .compare-table th,
    .compare-table td {
        padding: 1rem;
    }

    /* Social Proof Layout */
    .proof-card-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    /* Adjust specific text alignment for mobile */
    .section-title {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 200ms;
}

.reveal-delay-2 {
    transition-delay: 400ms;
}

/* ==========================================================================
   Product Preview Carousel
   ========================================================================== */
.hero-carousel-wrapper {
    margin-top: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1200px;
}

.carousel-glass-frame {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    transform: rotateX(2deg) translateY(0);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
}

.carousel-glass-frame:hover {
    transform: rotateX(0deg) translateY(-10px);
}

.carousel-nav {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0 1rem;
    overflow-x: auto;
}

.carousel-btn {
    flex: 1;
    padding: 1.25rem 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    transition: color var(--transition-base);
}

.carousel-btn:hover {
    color: var(--text-primary);
}

.carousel-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--accent-primary);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    box-shadow: 0 -2px 10px var(--accent-primary);
}


.carousel-fade-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0b0c10;
    border-radius: 0 0 16px 16px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active-slide {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

/* ==========================================================================
   Creator Use Case Tabs
   ========================================================================== */
.use-case-tabs {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tab-triggers {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--text-primary);
    color: var(--bg-surface);
    border-color: transparent;
}

.tab-contents {
    position: relative;
    padding: 28px;
    min-height: 250px;
    text-align: left;
    transition: transform 0.3s ease;
}

.tab-contents:hover {
    transform: translateY(-6px);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

.pane-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pane-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.pane-content ul {
    list-style: none;
    margin-top: 2rem;
}

.pane-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Mobile Screen Grid (Phase 6)
   ========================================================================== */
.mobile-screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 1rem;
}

.mobile-frame {
    position: relative;
    border-radius: 20px;
    padding: 6px;
    background: #1a1a1a;
    border: 2px solid #333;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    /* Mobile 16:9 vertical approximation */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-frame:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 12px;
    background: #1a1a1a;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.scroll-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    transition: transform 5s ease-in-out;
    border-radius: 14px;
}

.mobile-frame:hover .scroll-img {
    transform: translateY(calc(-100% + 400px));
    /* Simulated scroll down */
}

.hidden-template {
    display: none;
    opacity: 0;
    animation: fadeInTemplate 0.5s forwards;
}

@keyframes fadeInTemplate {
    to {
        opacity: 1;
    }
}

/* ==========================================================================
   Roadmap Section
   ========================================================================== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.roadmap-column {
    padding: 2.5rem 2rem;
}

.roadmap-column h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.roadmap-column ul {
    list-style: none;
}

.roadmap-column li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.roadmap-column li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-strong);
}

.roadmap-column.complete {
    border-top: 3px solid var(--success);
}

.roadmap-column.complete li::before {
    background: var(--success);
}

.roadmap-column.in-progress {
    border-top: 3px solid var(--accent-primary);
}

.roadmap-column.in-progress li::before {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.roadmap-column.in-progress li {
    color: var(--text-primary);
}

.roadmap-column.planned {
    border-top: 3px solid var(--text-muted);
}

.roadmap-column.planned li {
    color: var(--text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
}

.reviewer-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.verified {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.verified .inline-icon {
    width: 14px;
    height: 14px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

    .problem-cards-grid,
    .feature-bento-grid,
    .roadmap-grid,
    .testimonial-grid,
    .mobile-screen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-split {
        grid-template-columns: 1fr;
    }

    .pricing-left,
    .pricing-right {
        padding: 3rem 2rem;
    }

    .pricing-left {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .navbar.scrolled .nav-links {
        display: none;
        /* Hide links on mobile for simplicity, or implement hamburger */
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .problem-cards-grid,
    .feature-bento-grid,
    .roadmap-grid,
    .testimonial-grid,
    .mobile-screen-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .carousel-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .use-case-tabs {
        padding: 0;
    }

    .tab-contents {
        padding: 1.5rem;
    }

    .sticky-cta {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    section {
        padding: var(--section-spacing-mobile) 0;
    }
}

/* ==========================================================================
   Phase 3 Additions: Galleries, Mockups & Overrides
   ========================================================================== */

/* Mockup Frames */
.mockup-frame {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(10, 10, 12, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.mockup-header .dots {
    display: flex;
    gap: 6px;
}

.mockup-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF5F56;
}

.mockup-header .dots span:nth-child(2) {
    background: #FFBD2E;
}

.mockup-header .dots span:nth-child(3) {
    background: #27C93F;
}

.mockup-header .url-bar {
    margin-left: 20px;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 250px;
}

.mobile-frame {
    border: 6px solid #222;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

/* Expandable Screenshot Gallery */
.screenshot-gallery-section {
    position: relative;
    z-index: 10;
}

.expanded-gallery-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanded-gallery-content.expanded {
    max-height: 15000px;
}

.gallery-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

.desktop-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

/* Expand Button Glow */
.btn-glow-animated {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-glow-animated::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff007f, #7f00ff, #00d2ff, #3a7bd5);
    z-index: -1;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.btn-glow-animated:hover::before {
    opacity: 0.8;
    filter: blur(12px);
}

.btn-glow-animated:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

/* Review Popup Styles */
.review-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    max-width: 320px;
}

.review-popup.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.review-popup-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
}

.review-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.popup-badge {
    width: 14px;
    height: 14px;
}

.review-action {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: color 0.2s;
    display: flex;
}

.review-close:hover {
    color: var(--text-primary);
}

.review-close i {
    width: 16px;
    height: 16px;
}

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

.gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.gallery-img:hover {
    transform: translateY(-5px);
}

/* Hidden Templates Logic */
.hidden-template {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-screen-grid.expanded .hidden-template {
    display: block;
    opacity: 1;
    animation: fadeInTemplate 0.5s forwards;
}

/* ==========================================================================
   Sticky Conversion Bar
   ========================================================================== */
.sticky-conversion-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 12, 16, 0.98), rgba(11, 12, 16, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 0;
    z-index: 1000;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    visibility: hidden;
}

.sticky-conversion-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.sticky-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.sticky-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sticky-actions {
    display: flex;
    gap: 1rem;
}

.sticky-actions .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}


@media (max-width: 768px) {
    .sticky-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sticky-info {
        display: none;
    }

    .sticky-actions {
        width: 100%;
        justify-content: center;
    }

    .sticky-actions .btn {
        flex: 1;
    }
}
