/* ============================================
   BNM SaaS Landing Page — Premium Design System
   ============================================ */

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

:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-50: #eff6ff;
    --primary-900: #1e3a5f;

    /* Neutral Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --accent: #8b5cf6;

    /* Surfaces */
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --bg-dark: #0a0a0f;
    --bg-dark-card: rgba(255,255,255,0.05);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 60px rgba(37,99,235,0.15);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--bg);
    overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 1px 3px rgba(37,99,235,0.3), 0 0 0 0 rgba(37,99,235,0);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(37,99,235,0.4), 0 0 0 4px rgba(37,99,235,0.1);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 1.5px solid transparent;
}
.btn-ghost:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.btn-ghost-light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-large {
    font-size: 16px;
    padding: 14px 32px;
}

.btn-small {
    font-size: 13px;
    padding: 6px 16px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s var(--ease);
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s var(--ease);
}
.nav-link:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

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

.region-selector {
    appearance: none;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 13px;
    font-family: var(--font);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}
.region-selector:hover { border-color: var(--gray-300); }
.region-selector:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-nav-cta {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    transition: all 0.25s var(--ease);
}
.btn-nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--bg-dark);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: rgba(37, 99, 235, 0.15);
    animation: glowFloat 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -100px;
    background: rgba(139, 92, 246, 0.1);
    animation: glowFloat 10s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #93bbfc;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}
.hero-title span {
    background: linear-gradient(135deg, #ffffff 0%, #93bbfc 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    margin-top: 64px;
}

.hero-screenshot-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}

.hero-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.hero-screenshot-placeholder,
.card-screenshot-placeholder,
.workflow-screenshot-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.card-screenshot-placeholder {
    aspect-ratio: 16/10;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-color: var(--gray-200);
}

.card-screenshot-mobile {
    aspect-ratio: 9/16;
    max-width: 200px;
    margin: 20px auto 0;
}

.workflow-screenshot-placeholder {
    aspect-ratio: 16/9;
    max-width: 100%;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border: 1px dashed var(--gray-300);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    font-weight: 500;
}
.card-screenshot-placeholder .placeholder-content,
.workflow-screenshot-placeholder .placeholder-content {
    color: var(--gray-400);
}

.placeholder-size {
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof {
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-100);
    background: var(--bg);
}

.social-proof-label {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.social-proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-300);
    padding: 8px 20px;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
}
.proof-item:hover {
    color: var(--gray-500);
    border-color: var(--gray-200);
}

/* ============================================
   SECTION HEADERS (Reusable)
   ============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.section-eyebrow-light {
    color: #93bbfc;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.section-title-light {
    color: #fff;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-500);
}
.section-subtitle-light {
    color: rgba(255,255,255,0.55);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
    padding: 100px 0;
    background: var(--bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.problem-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s var(--ease);
}
.problem-card:hover {
    border-color: #fca5a5;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.08);
    transform: translateY(-2px);
}

.problem-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border-radius: var(--radius-md);
    color: #ef4444;
}

.problem-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}

.problem-solution {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   WHAT IS BNM
   ============================================ */
.what-is-bnm {
    padding: 100px 0;
    background: var(--bg-alt);
}

.what-is-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Full-width studio card */
.what-is-card-full {
    margin-bottom: 24px;
}

.what-is-card-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.what-is-card-text {
    display: flex;
    flex-direction: column;
}

.what-is-card-visual {
    min-width: 0; /* prevent overflow */
}

/* Mobile apps side-by-side grid */
.what-is-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card tags */
.what-is-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-50);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}

.what-is-card-tag-orange {
    color: #ea580c;
    background: #fff7ed;
}

.what-is-card-tag-green {
    color: #16a34a;
    background: #f0fdf4;
}

.what-is-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}
.what-is-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-4px);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(37,99,235,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.what-is-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.what-is-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.studio-card .what-is-icon {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-light));
    color: var(--primary);
}

.app-card .what-is-icon {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
}

.what-is-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.what-is-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.what-is-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.what-is-features li {
    font-size: 14px;
    color: var(--gray-700);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}
.what-is-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5'%3e%3cpolyline points='20 6 9 17 4 12'/%3e%3c/svg%3e") no-repeat center;
    background-size: contain;
}

/* ============================================
   AI ENGINE SECTION (Dark)
   ============================================ */
.ai-engine {
    position: relative;
    padding: 120px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.ai-section-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.ai-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-how-it-works {
    margin-bottom: 64px;
}

.ai-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.ai-flow-step {
    flex: 1;
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s var(--ease);
}
.ai-flow-step:hover {
    border-color: rgba(37,99,235,0.3);
    background: rgba(37,99,235,0.05);
    transform: translateY(-4px);
}

.ai-flow-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 12px;
}

.ai-flow-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ai-flow-step p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

.ai-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    flex-shrink: 0;
    padding: 0 4px;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ai-feature-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s var(--ease);
}
.ai-feature-card:hover {
    border-color: rgba(37,99,235,0.3);
    background: rgba(37,99,235,0.05);
    transform: translateY(-4px);
}

.ai-feature-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(139,92,246,0.15));
    border-radius: var(--radius-md);
    color: #93bbfc;
    margin-bottom: 16px;
}

.ai-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.ai-feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg);
}

.workflow-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-50);
    border: 2px solid var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s var(--ease);
}
.flow-step:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37,99,235,0.3);
}
.flow-step-done {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: var(--success);
}
.flow-step-done:hover {
    background: var(--success);
    color: #fff;
    box-shadow: 0 0 30px rgba(16,185,129,0.3);
}

.flow-connector {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    position: relative;
}
.flow-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(-45deg);
}

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

.step-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease);
    position: relative;
}
.step-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   BUSINESS ADVISOR
   ============================================ */
.business-advisor {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.advisor-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.advisor-prompt-suggestions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.advisor-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-align: left;
}
.advisor-suggestion:hover {
    background: var(--primary-50);
    border-color: var(--primary-light);
    color: var(--primary);
}

.suggestion-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.advisor-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.advisor-textarea {
    flex: 1;
    font-family: var(--font);
    font-size: 15px;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    resize: none;
    transition: all 0.2s var(--ease);
    line-height: 1.5;
}
.advisor-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.advisor-textarea::placeholder {
    color: var(--gray-400);
}

.advisor-submit-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.advisor-conversation {
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.advisor-messages {
    flex: 1;
    overflow-y: auto;
    max-height: 350px;
    padding-right: 8px;
}
.advisor-messages::-webkit-scrollbar { width: 4px; }
.advisor-messages::-webkit-scrollbar-track { background: transparent; }
.advisor-messages::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.advisor-message {
    margin-bottom: 16px;
    animation: fadeSlideUp 0.3s var(--ease);
}

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

.advisor-message-user {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
    padding: 14px 18px;
    margin-left: 40px;
    font-size: 14px;
    line-height: 1.6;
}

.advisor-message-ai {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 4px var(--radius-lg) var(--radius-lg) var(--radius-lg);
    padding: 20px;
    margin-right: 20px;
}

.advisor-message-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: #dc2626;
    font-size: 14px;
}

.advisor-result-section {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-200);
}
.advisor-result-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.advisor-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.advisor-result-icon {
    font-size: 18px;
}

.advisor-result-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.advisor-result-section p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.advisor-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.advisor-feature-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--primary-50);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    font-size: 13px;
}

.advisor-feature-chip strong {
    color: var(--primary);
    font-size: 13px;
}

.advisor-feature-chip span {
    color: var(--gray-500);
    font-size: 12px;
}

.advisor-plan-recommendation {
    border-bottom: none !important;
}

.advisor-plan-card {
    background: linear-gradient(135deg, var(--primary-50), #f0f0ff);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-md);
    padding: 16px;
}

.advisor-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.advisor-plan-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.advisor-plan-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.advisor-plan-card p {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.advisor-plan-cta {
    font-size: 13px !important;
}

.advisor-summary {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.advisor-summary p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.advisor-simple-message {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
}

.advisor-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
}

.advisor-loading p {
    font-size: 13px;
    color: var(--gray-400);
}

.advisor-loading-dots {
    display: flex;
    gap: 4px;
}

.advisor-loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 1.2s ease-in-out infinite;
}
.advisor-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.advisor-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.1); }
}

.advisor-followup-area {
    margin-top: 16px;
}

.advisor-followup-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.advisor-followup-chip {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.advisor-followup-chip:hover {
    background: var(--primary-50);
    border-color: var(--primary-light);
    color: var(--primary);
}

.advisor-followup-input {
    flex: 1;
    font-family: var(--font);
    font-size: 14px;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    transition: all 0.2s var(--ease);
}
.advisor-followup-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.advisor-send-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advisor-reset-btn {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 13px;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.2s;
}
.advisor-reset-btn:hover {
    color: var(--gray-600);
}

/* ============================================
   WORKFLOW BUILDER
   ============================================ */
.workflow-builder {
    padding: 100px 0;
    background: var(--bg-alt);
}

.workflow-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.workflow-category {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease);
}
.workflow-category:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.workflow-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--primary);
}

.workflow-category h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
}

.workflow-category-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.block-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.block-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    transition: all 0.2s var(--ease);
}
.block-tag:hover {
    background: var(--primary-50);
    border-color: var(--primary-light);
    color: var(--primary);
}

.workflow-tagline {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 48px;
}

/* ============================================
   EXTENSIONS
   ============================================ */
.extensions {
    padding: 100px 0;
    background: var(--bg);
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.extension-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.extension-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.extension-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-light));
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 16px;
}

.extension-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.extension-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.extension-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ext-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-50);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.extensions-tagline {
    text-align: center;
    font-size: 16px;
    color: var(--gray-500);
}

/* ============================================
   DRAFT & LIVE
   ============================================ */
.draft-live {
    padding: 100px 0;
    background: var(--bg-alt);
}

.draft-live-content {
    max-width: 900px;
    margin: 0 auto;
}

.draft-live-description {
    text-align: center;
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.draft-live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.draft-live-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s var(--ease);
}
.draft-live-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.draft-live-icon {
    color: var(--primary);
    margin-bottom: 12px;
}

.draft-live-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.draft-live-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   STUDIO SECTION
   ============================================ */
.studio {
    padding: 100px 0;
    background: var(--bg);
}

.studio-tagline {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.studio-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.studio-feature {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s var(--ease);
}
.studio-feature:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.studio-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 14px;
}

.studio-feature h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.studio-feature p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   USE CASES
   ============================================ */
.use-cases {
    padding: 100px 0;
    background: var(--bg-alt);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease);
}
.use-case-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.use-case-icon {
    font-size: 28px;
}

.use-case-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
}

.use-case-flow {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-50);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-family: 'SF Mono', 'Fira Code', monospace, var(--font);
}

.use-case-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
    padding: 100px 0;
    background: var(--bg);
}

.comparison-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

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

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table thead th {
    background: var(--gray-50);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--gray-800);
}

.custom-app-col {
    color: var(--danger) !important;
    background: #fef2f2;
}

.bnm-col {
    color: var(--success) !important;
    font-weight: 600 !important;
    background: #ecfdf5;
}

.comparison-total {
    background: var(--gray-50) !important;
}
.comparison-total td { border-bottom: none; }

/* ============================================
   CHANNELS
   ============================================ */
.channels {
    padding: 100px 0;
    background: var(--bg-alt);
}

.channels-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 36px;
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
    font-weight: 600;
    color: var(--gray-700);
}
.channel-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: var(--primary);
}

.channel-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.channels-tagline {
    text-align: center;
    font-size: 16px;
    color: var(--gray-500);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: 100px 0;
    background: var(--bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    text-align: center;
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: all 0.3s var(--ease);
}
.trust-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.trust-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.trust-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   DATA SOVEREIGNTY
   ============================================ */
.data-sovereignty {
    padding: 100px 0;
    background: var(--bg-alt);
}

.sovereignty-regions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.region-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s var(--ease);
}
.region-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.region-flag {
    font-size: 36px;
    margin-bottom: 8px;
}

.region-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.region-location {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.compliance-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.sovereignty-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sovereignty-feature {
    text-align: center;
    padding: 24px;
}

.sovereignty-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.sovereignty-feature h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.sovereignty-feature p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: 100px 0;
    background: var(--bg);
}

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

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    transition: all 0.3s var(--ease);
}
.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(37,99,235,0.1);
    transform: scale(1.02);
}
.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-plan-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 28px;
}

.currency-symbol {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-period {
    font-size: 15px;
    color: var(--gray-400);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5'%3e%3cpolyline points='20 6 9 17 4 12'/%3e%3c/svg%3e") no-repeat center;
    background-size: contain;
}

.btn-pricing {
    width: 100%;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f172a 100%);
    text-align: center;
    overflow: hidden;
}

.final-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta .section-title-light {
    max-width: 700px;
    margin: 0 auto 20px;
}

.final-cta-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.5);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.final-cta-note {
    margin-top: 20px;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-950);
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    margin-top: 16px;
    max-width: 240px;
}

.footer-logo {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-column a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .studio-features-grid,
    .trust-grid,
    .sovereignty-features,
    .draft-live-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-flow {
        flex-wrap: wrap;
        gap: 12px;
    }
    .ai-flow-arrow { display: none; }
    .ai-flow-step { min-width: 180px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 24px; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn { justify-content: center; }

    .what-is-card-split {
        grid-template-columns: 1fr;
    }

    .what-is-mobile-grid {
        grid-template-columns: 1fr;
    }

    .mobile-frame-lg {
        max-width: 240px;
    }

    .problem-grid,
    .what-is-grid,
    .ai-features-grid,
    .steps-grid,
    .workflow-categories,
    .extensions-grid,
    .use-cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .studio-features-grid,
    .trust-grid,
    .sovereignty-features,
    .draft-live-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: span 2; }

    .flow-connector { display: none; }
    .workflow-flow {
        gap: 12px;
    }
    .flow-step {
        width: 64px;
        height: 64px;
        font-size: 12px;
    }

    .channels-grid { gap: 12px; }
    .channel-item { padding: 20px 24px; }

    .sovereignty-regions { gap: 12px; }
    .region-card { min-width: 150px; }

    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .advisor-prompt-suggestions {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    section { padding: 72px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .social-proof-logos { gap: 12px; }
    .proof-item { font-size: 12px; padding: 6px 14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .channels-grid { flex-direction: column; align-items: center; }
}

/* ============================================
   CAROUSEL
   ============================================ */
.carousel {
    position: relative;
    margin-top: 20px;
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    pointer-events: none;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.carousel-slide .card-screenshot-placeholder {
    margin-top: 0;
}

.carousel-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.carousel-label {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 10px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
}
.carousel-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-light);
    color: var(--primary);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
}
.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Mobile phone frame for app screenshots */
.mobile-frame {
    max-width: 220px;
    margin: 0 auto;
    background: var(--gray-900);
    border-radius: 28px;
    padding: 10px;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.mobile-frame-lg {
    max-width: 280px;
    border-radius: 32px;
    padding: 12px;
}

.carousel-img-mobile {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.mobile-frame-lg .carousel-img-mobile {
    border-radius: 22px;
}

/* Mobile placeholder (for BNMAdmin until screenshots are added) */
.mobile-placeholder {
    aspect-ratio: 9/19.5;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 13px;
    font-weight: 500;
}

.mobile-frame-lg .mobile-placeholder {
    border-radius: 22px;
}

/* Admin card icon color */
.admin-card .what-is-icon {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    color: #ea580c;
}

/* Mobile carousel adjustments */
.carousel-mobile .carousel-controls {
    margin-top: 10px;
}
.carousel-mobile .carousel-btn {
    width: 28px;
    height: 28px;
}

/* Carousel autoplay progress indicator */
.carousel[data-autoplay] .carousel-dot.active {
    position: relative;
    overflow: hidden;
}
.carousel[data-autoplay] .carousel-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255,255,255,0.4);
    border-radius: inherit;
    animation: dotProgress var(--autoplay-duration, 4s) linear;
}

@keyframes dotProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Pause on hover */
.carousel:hover .carousel-slide {
    /* Carousel pauses via JS on hover */
}

/* ============================================
   WORKFLOW VIDEO
   ============================================ */
.workflow-video-wrapper {
    margin-bottom: 48px;
}

.workflow-video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-2xl);
}

.workflow-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.workflow-video,
.workflow-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.video-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.video-placeholder-inner:hover .video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(37,99,235,0.4);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(37,99,235,0.3);
    transition: all 0.3s var(--ease);
    animation: playPulse 2.5s ease-in-out infinite;
}
.video-play-btn svg {
    margin-left: 4px; /* Optical centering for play triangle */
}

@keyframes playPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.3); }
    50% { box-shadow: 0 0 0 16px rgba(37,99,235,0); }
}

.video-placeholder-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.video-placeholder-inner .placeholder-size {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* Mobile nav menu active state */
.nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
    gap: 0;
}
.nav-menu.active .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}
