/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #f472b6;
    --secondary: #0f172a;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-hero: radial-gradient(circle at 20% 20%, rgba(99,102,241,0.25), transparent 45%), radial-gradient(circle at 80% 0%, rgba(244,114,182,0.25), transparent 35%), linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(244,114,182,0.08));
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.45);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.15), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 40px -12px rgb(15 23 42 / 0.2);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: radial-gradient(circle at top, rgba(99,102,241,0.08), transparent 45%), var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
}

[hidden] {
    display: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.35), transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.4s ease;
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 8px 16px;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 16px 32px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

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

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo .logo-mark {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
}

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

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

.release-banner {
    margin-top: 72px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(79,70,229,0.12));
    border-bottom: 1px solid rgba(99,102,241,0.15);
    color: var(--gray-700);
    font-size: 0.95rem;
}

.release-banner-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.release-banner-text strong,
.release-banner-date strong {
    color: var(--primary);
}

.release-banner-date {
    font-weight: 600;
}

@media (max-width: 768px) {
    .release-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.25), transparent 60%);
    filter: blur(20px);
    pointer-events: none;
}

.hero > .container,
.hero-visual {
    position: relative;
    z-index: 2;
}

.floating-svg {
    position: absolute;
    width: 140px;
    height: 140px;
    opacity: 0.3;
    pointer-events: none;
    filter: drop-shadow(0 10px 25px rgba(15,23,42,0.12));
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.floating-svg svg {
    width: 100%;
    height: 100%;
    display: block;
    color: rgba(99, 102, 241, 0.35);
}

.floating-svg--hero-1 {
    top: 12%;
    left: 6%;
}

.floating-svg--hero-2 {
    bottom: 4%;
    right: 12%;
}

.floating-svg--analytics-1 {
    top: 18%;
    right: 8%;
    width: 110px;
    height: 110px;
    color: rgba(16, 185, 129, 0.35);
}

.floating-svg--analytics-2 {
    bottom: 8%;
    left: 6%;
    width: 160px;
    height: 160px;
    color: rgba(249, 115, 22, 0.25);
}

.floating-svg--pricing-1 {
    top: 10%;
    left: 10%;
    width: 130px;
    height: 130px;
    color: rgba(59, 130, 246, 0.22);
}

.floating-svg--pricing-2 {
    bottom: 6%;
    right: 18%;
    width: 150px;
    height: 150px;
    color: rgba(236, 72, 153, 0.28);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-release-note {
    font-size: 0.95rem;
    color: var(--gray-600);
    max-width: 640px;
    margin: 0 auto;
}

.hero-release-note span {
    color: var(--primary);
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    max-width: 700px;
    margin: 60px auto 0;
    perspective: 1000px;
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--gray-200);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s ease, box-shadow 0.4s ease;
    animation: heroFloat 12s ease-in-out infinite;
}

.hero-visual:hover .browser-mockup {
    transform: rotateX(6deg) rotateY(-6deg) translateY(-12px);
    box-shadow: 0 25px 55px -25px rgba(15,23,42,0.45);
    animation-play-state: paused;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
    flex: 1;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
}

@keyframes heroFloat {
    0%, 100% { transform: rotateX(0deg) rotateY(0deg) translateY(0); }
    50% { transform: rotateX(-4deg) rotateY(4deg) translateY(-8px); }
}

.browser-content {
    padding: 40px;
}

.product-card-demo {
    display: flex;
    gap: 32px;
    text-align: left;
}

.product-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-title-demo {
    width: 180px;
    height: 24px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 12px;
}

.product-price-demo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.delivery-estimate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    animation: highlight 2s ease-in-out infinite;
}

@keyframes highlight {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
}

.delivery-estimate strong {
    color: var(--success);
}

.add-to-cart-demo {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--gray-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 640px) {
    .product-card-demo {
        flex-direction: column;
    }
    .product-image {
        width: 100%;
        height: 160px;
    }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
    padding: 120px 0;
    background: radial-gradient(circle at 20% 20%, rgba(99,102,241,0.07), transparent 60%),
                radial-gradient(circle at 80% 0%, rgba(244,114,182,0.08), transparent 45%),
                var(--white);
    position: relative;
    overflow: hidden;
}

.problem::after {
    content: '';
    position: absolute;
    inset: 10% 20% auto auto;
    width: 240px;
    height: 240px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), transparent);
    filter: blur(40px);
    pointer-events: none;
}

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

@media (max-width: 900px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.problem-content h2 {
    margin-bottom: 20px;
}

.problem-content p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 520px;
}

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--gray-600);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(99,102,241,0.08);
    border-left: 4px solid rgba(239,68,68,0.4);
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.problem-list li svg {
    flex-shrink: 0;
    color: var(--danger);
}

.problem-list li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(239,68,68,0.7);
}

.problem-visual {
    display: flex;
    justify-content: center;
}

.stat-card {
    background: rgba(15,23,42,0.9);
    padding: 48px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(239,68,68,0.25), transparent 55%);
    pointer-events: none;
}

.stat-card-negative {
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.stat-icon {
    width: 72px;
    height: 72px;
    background: rgba(239, 68, 68, 0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution {
    padding: 100px 0;
    background: var(--gray-50);
}

.solution-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.solution-header h2 {
    margin-bottom: 16px;
}

.solution-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: var(--glass-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(244,114,182,0.15));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.solution-card h3 {
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--gray-500);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-header h2 {
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(99,102,241,0.08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.2);
}

.feature-check {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(16,185,129,0.25);
}

.feature-item h4 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: var(--gray-900);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   CUSTOM CSS FEATURE SECTION
   ============================================ */
.custom-css {
    padding: 100px 0;
    background: var(--gray-50);
}

.custom-css-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.custom-css-header p {
    color: var(--gray-600);
    max-width: 640px;
}

.pro-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-css-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}

.custom-css-content {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99,102,241,0.08);
    position: relative;
    overflow: hidden;
}

.custom-css-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(244,114,182,0.1), transparent 55%);
    pointer-events: none;
}

.custom-css-content h3 {
    margin-bottom: 12px;
}

.custom-css-content p {
    color: var(--gray-600);
}

.custom-css-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-css-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.custom-css-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-css-list strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.custom-css-list span {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.custom-css-preview {
    padding: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: stretch;
    background: rgba(15,23,42,0.9);
    overflow: hidden;
}

.custom-css-screenshot {
    width: 100%;
    min-height: 360px;
    position: relative;
}

.custom-css-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.custom-css-screenshot:hover img {
    transform: scale(1.03);
}

.custom-css-screenshot .screenshot-caption {
    position: static;
    display: block;
    margin-top: 12px;
    color: var(--gray-500);
    padding: 16px 0 0;
}

@media (max-width: 900px) {
    .custom-css-grid {
        grid-template-columns: 1fr;
    }

    .custom-css-header {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .custom-css-content {
        padding: 28px;
    }
}

/* ============================================
   ANALYTICS PREVIEW (PRO)
   ============================================ */
.analytics-preview {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.analytics-preview-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.analytics-preview-header p {
    color: var(--gray-600);
    margin-top: 12px;
}

.analytics-card {
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(99,102,241,0.08);
    backdrop-filter: blur(8px);
}

.analytics-card-content {
    display: grid;
    grid-template-columns: minmax(320px, 1.3fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: stretch;
}

@media (max-width: 960px) {
    .analytics-card-content {
        grid-template-columns: 1fr;
    }
}

.analytics-metrics {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.analytics-card-headline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.analytics-card-headline h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--gray-900);
}

.analytics-card-headline p {
    margin: 4px 0 0;
    color: var(--gray-500);
}

.analytics-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-chip-sm {
    font-size: 0.7rem;
    padding: 6px 14px;
}

.analytics-card .obdd-field-desc {
    color: var(--gray-600);
}

.obdd-card-analytics-disabled {
    background: linear-gradient(145deg, #eef2ff 0%, #f5f3ff 45%, #ecfeff 100%);
    border: 1px dashed rgba(124, 58, 237, 0.35);
}

.obdd-card-analytics-disabled::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 60%),
                radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.18), transparent 60%);
    pointer-events: none;
}

.obdd-card-analytics-disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1px);
    pointer-events: none;
}

.obdd-card-analytics-disabled .analytics-card-content,
.obdd-card-analytics-disabled .obdd-analytics-unlock-badge {
    position: relative;
    z-index: 2;
}

.obdd-analytics-unlock-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
}

.obdd-analytics-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 12px 0 8px;
    opacity: 0.45;
}

.obdd-analytics-mini-card {
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: #fff;
    box-shadow: 0 12px 18px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.obdd-analytics-mini-card::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(45deg);
}

.obdd-analytics-mini-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.obdd-analytics-mini-card strong {
    font-size: 2.1rem;
    line-height: 1;
}

.obdd-analytics-mini-card small {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.obdd-mini-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.obdd-mini-warning {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.obdd-mini-danger {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.analytics-screenshot {
    border-radius: var(--radius-lg);
    background: var(--gray-100);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 320px;
    opacity: 0.65;
}

.analytics-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.analytics-screenshot:hover img {
    transform: scale(1.02);
}

.analytics-screenshot .screenshot-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}

.analytics-card .screenshot-placeholder::after {
    display: none;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.pricing-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-header h2 {
    margin-bottom: 12px;
}

.pricing-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.pricing-release-note {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--gray-700);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.pricing-release-note svg {
    color: var(--primary);
}

.pricing-waitlist-note {
    margin-top: 16px;
    font-size: 0.98rem;
    color: var(--gray-600);
    text-align: center;
}

.pricing-waitlist-note a {
    color: var(--primary);
    font-weight: 600;
}

.pricing-table-wrapper {
    margin-bottom: 40px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.comparison-heading {
    margin-bottom: 16px;
}

.comparison-heading h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
    color: var(--gray-900);
}

.comparison-heading p {
    margin: 0;
    color: var(--gray-600);
}

.pricing-table-scroll {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}

.pricing-table th {
    background: rgba(99,102,241,0.08);
    color: var(--gray-900);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-table td:first-child {
    font-weight: 500;
    color: var(--gray-700);
    width: 45%;
}

.feature-yes {
    color: #10b981;
    font-weight: 600;
}

.feature-no {
    color: var(--gray-400);
    font-weight: 500;
}

.feature-limited {
    color: var(--gray-600);
    font-style: italic;
}

.feature-wip {
    color: var(--warning);
    font-weight: 600;
}

 .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: var(--glass-bg);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99,102,241,0.1);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.2);
}

.pricing-card-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(99,102,241,0.08), rgba(244,114,182,0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.pricing-card:hover::after,
.pricing-card.pricing-card-featured::after {
    opacity: 1;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.price-period {
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li.partial {
    color: var(--warning);
    font-style: italic;
}

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

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-guarantee {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-top: 16px;
}

.waitlist-card {
    margin-top: 48px;
    padding: 36px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(244,114,182,0.12));
    border: 1px solid rgba(99,102,241,0.15);
    box-shadow: var(--shadow-md);
}

.waitlist-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.waitlist-card p {
    color: var(--gray-600);
}

.waitlist-form {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.waitlist-form input {
    flex: 1 1 240px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 1rem;
    background: var(--white);
}

.waitlist-form button {
    flex: 0 0 auto;
    min-width: 220px;
}

.waitlist-note {
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--gray-600);
}

.waitlist-message {
    margin-top: 18px;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-weight: 500;
    border: 1px solid transparent;
}

.waitlist-message.success {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: var(--success);
}

.waitlist-message.error {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.3);
    color: var(--danger);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(99,102,241,0.06), transparent 45%, rgba(236,72,153,0.05));
    position: relative;
    overflow: hidden;
}

.contact::before,
.contact::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 65%);
    filter: blur(20px);
    opacity: 0.6;
    pointer-events: none;
}

.contact::before {
    top: -60px;
    left: -120px;
}

.contact::after {
    bottom: -80px;
    right: -100px;
}

.contact-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-header p {
    color: var(--gray-600);
    margin-top: 12px;
}

.contact-form {
    margin-top: 40px;
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(99,102,241,0.12);
    position: relative;
    z-index: 1;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.contact-form-field label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    font-size: 1rem;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
    background: var(--white);
}

.contact-form-field.full-width {
    grid-column: 1 / -1;
}

.contact-form button {
    min-width: 220px;
}

.contact-frame {
    position: absolute;
    width: 1px;
    height: 1px;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.contact-form-message {
    margin-top: 18px;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-weight: 500;
    border: 1px solid transparent;
}

.contact-form-message.success {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: var(--success);
}

.contact-form-message.error {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.3);
    color: var(--danger);
}

@media (max-width: 640px) {
    .contact {
        padding: 80px 0;
    }

    .contact-form {
        padding: 28px;
    }

    .contact-form button {
        width: 100%;
    }
}

/* ============================================
   TERMS PAGE
   ============================================ */
.terms-page {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.terms {
    padding: 80px 0 120px;
}

.terms-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.terms-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 12px;
}

.terms-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.terms-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid rgba(99,102,241,0.08);
    box-shadow: var(--shadow);
}

.terms-section + .terms-section {
    margin-top: 20px;
}

.terms-section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.terms-section p,
.terms-section li {
    color: var(--gray-600);
    line-height: 1.7;
}

.terms-section ul {
    margin-left: 18px;
    list-style: disc;
}

.terms-section li + li {
    margin-top: 6px;
}

.terms-section a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .terms {
        padding: 60px 0 100px;
    }

    .terms-section {
        padding: 24px;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(99,102,241,0.08);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(99,102,241,0.04);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 320px;
}

.faq-answer p {
    padding: 0 26px 22px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #4338ca, #8b5cf6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::after,
.final-cta::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.final-cta::before {
    top: -120px;
    left: -60px;
    background: rgba(244,114,182,0.6);
}

.final-cta::after {
    bottom: -140px;
    right: -40px;
    background: rgba(59,130,246,0.6);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 18px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 520px;
    margin: 0 auto 34px;
}

.cta-buttons {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LANDING PLACEHOLDERS & EXTRAS
   ============================================ */
.section-subtitle {
    margin-top: 12px;
    font-size: 1.0625rem;
    color: var(--gray-500);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.screenshot-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1.5px dashed var(--gray-300);
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.12), transparent 55%),
        radial-gradient(circle at 80% 40%, rgba(16, 185, 129, 0.10), transparent 55%),
        linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    min-height: 220px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.screenshot-placeholder::before {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.screenshot-placeholder::after {
    content: "Capture d’écran à ajouter";
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 600;
}

.screenshot-placeholder.has-image {
    border: none;
    padding: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-placeholder.has-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 40px -25px rgba(15,23,42,0.4);
}

.screenshot-placeholder.has-image::before,
.screenshot-placeholder.has-image::after {
    content: none;
}

.screenshot-placeholder.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.screenshot-placeholder.has-image:hover img {
    transform: scale(1.04);
}

.screenshot-caption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.features-showcase {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.features-showcase-copy {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.features-showcase-copy h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.features-showcase-copy p {
    color: var(--gray-600);
    margin-bottom: 14px;
}

.features-showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 18px;
    padding: 0;
}

.features-showcase-list li {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.features-showcase-list strong {
    color: var(--gray-900);
}

.features-showcase-visuals {
    display: grid;
    gap: 18px;
}

.demo {
    padding: 100px 0;
    background: var(--gray-50);
}

.demo-header {
    text-align: center;
    margin-bottom: 48px;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

.demo-panel {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99,102,241,0.08);
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.demo-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.18);
    box-shadow: var(--shadow-lg);
}

.demo-panel h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.demo-panel p {
    margin-bottom: 14px;
    color: var(--gray-600);
}

.custom-css-content .screenshot-placeholder {
    margin-top: 22px;
    min-height: 200px;
}

.testimonials-proof {
    margin-top: 36px;
    display: grid;
    gap: 14px;
}

@media (max-width: 900px) {
    .features-showcase {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}

.image-lightbox.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-lightbox__overlay {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

.image-lightbox__body {
    position: relative;
    max-width: min(1200px, 95vw);
    width: 100%;
    max-height: 90vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-lightbox__image {
    width: 100%;
    max-height: calc(90vh - 60px);
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: var(--shadow-xl);
}

.image-lightbox__caption {
    margin-top: 12px;
    color: var(--gray-100);
    font-size: 0.95rem;
    text-align: center;
}

.image-lightbox__caption[hidden] {
    display: none;
}

.image-lightbox__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.75);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.image-lightbox__close:hover {
    background: rgba(15, 23, 42, 0.95);
}

body.image-lightbox-open {
    overflow: hidden;
}
