/* ============================================
   VeoTools - MAJOR REDESIGN
   Bento Grid + Floating Cards + Dark Sections
   ============================================ */

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

:root {
    /* Colors */
    --color-cream: #F3F7F5;
    --color-ink: #22282A;
    --color-ink-soft: #2A3336;
    --color-body: #5B6B68;
    --color-muted: #75817E;
    --color-border: #E4ECEA;
    
    /* Brand */
    --brand-50: #EDF8F5;
    --brand-100: #D7F0EB;
    --brand-400: #33B3A2;
    --brand-500: #1E8F7F;
    --brand-600: #177A6C;
    --brand-700: #115E53;
    
    /* Accent */
    --accent-yellow: #FBBF24;
    --accent-green: #22C55E;
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    --space-16: 128px;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 999px;
    
    /* Shadows */
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.04),
                   0 24px 60px rgba(0, 0, 0, 0.1),
                   0 0 0 1px rgba(0, 0, 0, 0.04);
    --shadow-soft-sm: 0 4px 6px rgba(0, 0, 0, 0.04),
                      0 20px 50px rgba(0, 0, 0, 0.07);
    --shadow-brand: 0 4px 20px rgba(30, 143, 127, 0.30);
    --shadow-brand-lg: 0 8px 32px rgba(30, 143, 127, 0.38);
}

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.75;
    color: var(--color-ink);
    background: linear-gradient(135deg, #f7faf9 0%, #f2f7f4 48%, #eef6f3 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Dot Grid Pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(30, 143, 127, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Floating Gradient Blobs */
body::after {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 143, 127, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-blob 20s ease-in-out infinite;
}

@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, 100px) scale(1.1); }
    66% { transform: translate(50px, -50px) scale(0.9); }
}

/* Additional floating blob */
.blob-decoration {
    position: fixed;
    bottom: -300px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-blob-2 25s ease-in-out infinite;
}

@keyframes float-blob-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.15); }
    66% { transform: translate(-50px, 50px) scale(0.85); }
}

/* Third blob */
.blob-decoration-2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-blob-3 30s ease-in-out infinite;
}

@keyframes float-blob-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Grain Texture - More Visible */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 46%, #0d1f1a 100%);
}

[data-theme="dark"] body::before {
    background-image: radial-gradient(circle, rgba(45, 212, 191, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] body::after {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
}

[data-theme="dark"] .blob-decoration {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .blob-decoration-2 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
}

[data-theme="dark"] .grain-overlay {
    opacity: 0.03;
}

/* Grain Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--brand-500), var(--accent-yellow));
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 1040px;
    width: calc(100% - 40px);
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-soft-sm);
    border-radius: var(--radius-2xl);
    padding: 16px 28px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700), var(--accent-yellow));
    color: #ffffff;
    box-shadow: var(--shadow-brand);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(0deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-ink);
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-body);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

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

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 17px;
    border-radius: var(--radius-xl);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700), var(--accent-yellow));
    color: #ffffff;
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand-lg);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-ink);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--brand-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--color-body);
}

.btn-ghost:hover {
    color: var(--color-ink);
}

.btn-teal {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand-lg);
}

.btn-amber {
    background: linear-gradient(135deg, var(--accent-yellow), #F59E0B);
    color: #fff;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.btn-amber:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.5);
}

/* Hero Section - Bento Grid */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.hero-main {
    grid-row: 1 / 3;
    text-align: left;
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 32px;
    background: rgba(240, 253, 250, 0.9);
    color: var(--brand-700);
    border: 1px solid rgba(30, 143, 127, 0.25);
    box-shadow: 0 4px 16px rgba(30, 143, 127, 0.1);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(30, 143, 127, 0.18);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(30, 143, 127, 0.18); }
    50% { box-shadow: 0 0 0 10px rgba(30, 143, 127, 0.04); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--color-ink);
}

.serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-500), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-body);
    margin-bottom: 28px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Cards */
.hero-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.hero-card-stats {
    grid-column: 2;
    grid-row: 1;
}

.hero-card-feature {
    grid-column: 2;
    grid-row: 2;
    animation-delay: 1s;
}

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

.card-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 6px;
}

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
}

.hero-card-feature h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-ink);
}

.hero-card-feature p {
    font-size: 15px;
    color: var(--color-body);
    line-height: 1.6;
}

/* Marquee Section */
.marquee-section {
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.5);
}

.marquee-container {
    max-width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-muted);
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: rgba(240, 253, 250, 0.9);
    color: var(--brand-700);
    border: 1px solid rgba(30, 143, 127, 0.25);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-ink);
}

.section-header p {
    font-size: 19px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
    color: var(--color-body);
}

/* Features - Bento Grid */
.features {
    padding: 56px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(20px);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft), 0 32px 80px rgba(0, 0, 0, 0.12);
}

.bento-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.bento-medium {
    grid-column: span 2;
}

.bento-small {
    grid-column: span 1;
    text-align: center;
}

.bento-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-ink);
    letter-spacing: -0.02em;
}

.bento-card p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
    color: var(--color-body);
}

.bento-stat {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.bento-label {
    font-size: 14px;
    color: var(--color-muted);
}

/* How Section - Dark */
.how-dark {
    padding: 56px 0;
    background: linear-gradient(135deg, #0a1f18 0%, #10251f 50%, #0d3a2e 100%);
    color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.how-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(30, 143, 127, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.how-dark .container {
    position: relative;
    z-index: 1;
}

.how-dark .section-header h2,
.how-dark .section-header p {
    color: var(--color-cream);
}

.how-dark .section-tag {
    background: rgba(30, 143, 127, 0.15);
    color: var(--brand-400);
    border: 1px solid rgba(30, 143, 127, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-400), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.step-card h4 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-cream);
}

.step-card p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(250, 249, 246, 0.7);
}

/* Demo Section */
.demo {
    padding: 56px 0;
}

.demo-box {
    max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    padding: 56px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.dropzone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    margin-top: 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.6);
}

.dropzone:hover {
    border-color: var(--brand-500);
    background: rgba(240, 253, 250, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft-sm);
}

.dropzone-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.dropzone-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-ink);
}

.dropzone-note {
    font-size: 15px;
    color: var(--color-muted);
}

.batch-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.batch-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-ink-soft);
}

.result-area {
    max-width: 760px;
    margin: 32px auto 0;
}

.hidden {
    display: none;
}

/* API Section */
.api {
    padding: 56px 0;
    background: linear-gradient(135deg, #0a1f18 0%, #10251f 50%, #0d3a2e 100%);
    color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.api::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(30, 143, 127, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.api .container {
    position: relative;
    z-index: 1;
}

.api .section-header h2,
.api .section-header p {
    color: var(--color-cream);
}

.api .section-tag {
    background: rgba(30, 143, 127, 0.15);
    color: var(--brand-400);
    border: 1px solid rgba(30, 143, 127, 0.3);
}

.code-block {
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    margin: 40px auto 0;
    max-width: 660px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.4);
    color: var(--color-cream);
    border: 1px solid rgba(30, 143, 127, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.code-block .comment { opacity: 0.5; }
.code-block .keyword { color: var(--brand-400); font-weight: 600; }
.code-block .string { color: var(--accent-yellow); }

.api-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.api .btn-outline {
    border-color: rgba(250, 249, 246, 0.4);
    color: var(--color-cream);
    background: rgba(255, 255, 255, 0.05);
}

.api .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(250, 249, 246, 0.7);
}

/* Pricing Section */
.pricing {
    padding: 56px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    border-radius: var(--radius-2xl);
    padding: 32px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(20px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft), 0 40px 100px rgba(0, 0, 0, 0.15);
}

.pricing-popular {
    transform: scale(1.08);
    border: 2px solid rgba(251, 191, 36, 0.4);
    background: linear-gradient(145deg, #fff9e6 0%, #fff4d4 100%);
}

.pricing-popular:hover {
    transform: scale(1.08) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent-yellow), #F59E0B);
    color: #fff;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    color: var(--color-body);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--color-ink);
    letter-spacing: -0.04em;
}

.pricing-period {
    font-size: 15px;
    color: var(--color-muted);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink-soft);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 56px 0;
    background: linear-gradient(180deg, rgba(30, 143, 127, 0.03) 0%, rgba(251, 191, 36, 0.03) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-2xl);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft), 0 32px 80px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    color: var(--accent-yellow);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-ink-soft);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}

.avatar-1 { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.avatar-2 { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.avatar-3 { background: linear-gradient(135deg, var(--accent-yellow), #F59E0B); }

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-ink);
}

.author-role {
    font-size: 14px;
    color: var(--color-muted);
}

/* FAQ Section */
.faq {
    padding: 56px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-soft-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
}

.faq-item[open] {
    border-color: rgba(30, 143, 127, 0.35);
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(30, 143, 127, 0.1);
}

.faq-question {
    padding: 24px 32px;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-question {
    color: var(--brand-700);
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--brand-500);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px 28px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-ink-soft);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 48px 0;
    background: rgba(255, 255, 255, 0.5);
}

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

.footer-links {
    display: flex;
    gap: 16px;
    list-style: none;
}

.footer-links a {
    font-size: 15px;
    color: var(--color-ink-soft);
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--brand-600);
}

.footer-copy {
    font-size: 14px;
    color: var(--color-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Stagger delays for grid items */
.bento-card:nth-child(1) { transition-delay: 0.1s; }
.bento-card:nth-child(2) { transition-delay: 0.2s; }
.bento-card:nth-child(3) { transition-delay: 0.3s; }
.bento-card:nth-child(4) { transition-delay: 0.4s; }
.bento-card:nth-child(5) { transition-delay: 0.5s; }
.bento-card:nth-child(6) { transition-delay: 0.6s; }

.step-card:nth-child(1) { transition-delay: 0.1s; }
.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.3s; }

.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* Enhanced hover effects */
.bento-card {
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 143, 127, 0.05), transparent);
    transition: left 0.6s ease;
}

.bento-card:hover::before {
    left: 100%;
}

/* Button pulse effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Card tilt effect */
.hero-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-card:hover {
    transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
}

/* Smooth section transitions */
.features,
.how-dark,
.demo,
.api,
.pricing,
.testimonials,
.faq {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.features.active,
.how-dark.active,
.demo.active,
.api.active,
.pricing.active,
.testimonials.active,
.faq.active {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee pause on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Icon bounce on hover */
.bento-icon,
.feature-icon-large {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bento-card:hover .bento-icon,
.hero-card:hover .feature-icon-large {
    transform: scale(1.1) rotate(5deg);
}

/* Step number glow */
.step-number {
    text-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
    transition: text-shadow 0.3s ease;
}

.step-card:hover .step-number {
    text-shadow: 0 0 30px rgba(45, 212, 191, 0.8), 0 0 40px rgba(251, 191, 36, 0.6);
}

/* Pricing card shine */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.pricing-card:hover::before {
    left: 100%;
    opacity: 1;
}

/* Testimonial quote fade */
.testimonial-quote {
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--brand-100);
    font-family: var(--font-serif);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-quote::before {
    opacity: 1;
}

/* FAQ smooth expand */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s ease;
}

.faq-item[open] .faq-answer {
    max-height: 500px;
}

/* Dropzone pulse */
.dropzone {
    position: relative;
}

.dropzone::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid var(--brand-500);
    opacity: 0;
    animation: dropzone-pulse 2s ease-in-out infinite;
}

@keyframes dropzone-pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.02);
    }
}

.dropzone:hover::after {
    animation: none;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-main {
        grid-row: auto;
        text-align: center;
    }
    
    .hero-card {
        grid-column: auto;
        grid-row: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    
    .bento-medium {
        grid-column: span 1;
    }
    
    .bento-small {
        grid-column: span 1;
    }
    
    .navbar {
        max-width: calc(100% - 32px);
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        top: 12px;
        padding: 12px 16px;
        border-radius: var(--radius-xl);
        width: calc(100% - 24px);
    }
    
    .nav-content {
        gap: 12px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions .btn-ghost {
        display: none;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .btn-icon {
        width: 38px;
        height: 38px;
    }
    
    /* Hero */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-card {
        padding: 24px;
    }
    
    .stats-grid {
        flex-direction: row;
        gap: 16px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    /* Marquee */
    .marquee-section {
        padding: 24px 0;
    }
    
    .marquee-track span {
        font-size: 18px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 28px;
    }
    
    /* Sections Padding */
    .features,
    .how-dark,
    .demo,
    .api,
    .pricing,
    .testimonials,
    .faq {
        padding: 56px 0;
    }
    
    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-large {
        grid-column: auto;
    }
    
    .bento-medium {
        grid-column: auto;
    }
    
    .bento-small {
        grid-column: auto;
    }
    
    .bento-card {
        padding: 28px 24px;
    }
    
    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        padding: 32px 24px;
    }
    
    /* Demo */
    .demo-box {
        padding: 28px 20px;
    }
    
    .dropzone {
        padding: 40px 20px;
    }
    
    .dropzone-icon {
        font-size: 48px;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 36px 28px;
    }
    
    .pricing-price {
        font-size: 48px;
    }
    
    .pricing-popular {
        transform: none;
    }
    
    .pricing-popular:hover {
        transform: translateY(-8px);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 28px 24px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 20px 24px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 24px 24px;
        font-size: 15px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* Toast - Mobile */
    #toast-container {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }
    
    /* Loading - Mobile */
    .loading-text {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .spinner {
        width: 32px;
        height: 32px;
    }
    
    /* Comparison - Mobile */
    .comparison-container {
        margin: 24px auto;
        border-radius: var(--radius-lg);
    }
    
    .comparison-handle::before {
        width: 40px;
        height: 40px;
    }
    
    .comparison-handle::after {
        font-size: 16px;
    }
    
    .comparison-label {
        font-size: 11px;
        padding: 6px 12px;
        top: 12px;
    }
    
    .comparison-label.label-before {
        left: 12px;
    }
    
    .comparison-label.label-after {
        right: 12px;
    }
    
    /* Disable hover effects on touch */
    .bento-card:hover,
    .step-card:hover,
    .pricing-card:hover,
    .testimonial-card:hover,
    .hero-card:hover {
        transform: none;
    }
    
    .bento-card:hover::before {
        left: -100%;
    }
    
    .pricing-card:hover::before {
        left: -50%;
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .pricing-price {
        font-size: 34px;
    }
    
    .bento-stat {
        font-size: 32px;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 15px;
    }
}

/* ============================================
   DARK MODE TOGGLE
   ============================================ */
.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-ink);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-sm);
}

[data-theme="dark"] .btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-ink);
}

[data-theme="dark"] .btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-sun,
.icon-moon {
    transition: all 0.3s ease;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="light"] .icon-moon,
:root:not([data-theme]) .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
#toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: toast-slide-in 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-theme="dark"] .toast {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.toast.toast-exit {
    animation: toast-slide-out 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toast-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.toast-success .toast-icon {
    background: var(--accent-green);
    color: white;
}

.toast-error .toast-icon {
    background: #EF4444;
    color: white;
}

.toast-info .toast-icon {
    background: var(--brand-500);
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-ink);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--color-body);
    line-height: 1.4;
}

.toast-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-ink);
}

[data-theme="dark"] .toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--color-border) 25%, rgba(255, 255, 255, 0.5) 50%, var(--color-border) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
}

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

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-lg);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--brand-500);
    border-radius: 50%;
    animation: spinner-rotate 0.8s linear infinite;
}

@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 249, 246, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .loading-overlay {
    background: rgba(10, 10, 10, 0.9);
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

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

.loading-text {
    margin-top: 16px;
    font-size: 16px;
    color: var(--color-body);
}

/* ============================================
   BEFORE/AFTER COMPARISON
   ============================================ */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-image.before {
    z-index: 1;
}

.comparison-image.after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.comparison-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.comparison-handle::after {
    content: '⟨ ⟩';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-ink);
    z-index: 4;
    letter-spacing: 4px;
}

.comparison-label {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

.comparison-label.label-before {
    left: 20px;
}

.comparison-label.label-after {
    right: 20px;
}

