/* ============================================
   FLOXIO — Premium Redesign
   Inspired by secret-agents.ru & madbrains.ru
   ============================================ */

/* ============================================
   1. CSS Custom Properties
   ============================================ */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    /* Colors */
    --primary: #1E59C6;
    --primary-light: #3B7BF7;
    --primary-dark: #143F8C;
    --primary-glow: rgba(30, 89, 198, 0.15);
    --surface: #FFFFFF;
    --surface-alt: #F5F7FA;
    --surface-dark: #0A0F1E;
    --surface-dark-alt: #111827;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text: #0A0F1E;
    --text-secondary: #5A6478;
    --text-tertiary: #8B95A8;
    --text-muted: #5A6478;
    --text-on-dark: #FFFFFF;
    --text-on-dark-secondary: rgba(255, 255, 255, 0.7);
    --border: rgba(30, 89, 198, 0.08);
    --border-light: #E5E7EB;
    --accent-primary: #1E59C6;
    --accent-green: #10B981;
    --accent-amber: #F59E0B;

    /* Premium dark surfaces — restrained, near-monochrome (de-neon) */
    --ink-hero: radial-gradient(125% 125% at 72% 16%, #16223e 0%, #0a0f1e 54%, #070b15 100%);
    --ink-flat: radial-gradient(135% 135% at 50% -12%, #16223e 0%, #0a0f1e 56%, #070b15 100%);
    --ink-band: linear-gradient(135deg, #143F8C 0%, #0E2E66 100%);
    --accent-soft: #6E9BF2;

    /* Typography */
    --font-display: 'Wix Madefor Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-gap: 160px;
    --card-padding: 48px;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 50px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 15, 30, 0.04);
    --shadow-md: 0 8px 32px rgba(10, 15, 30, 0.06);
    --shadow-lg: 0 24px 64px rgba(10, 15, 30, 0.08);
    --shadow-glow: 0 0 60px rgba(30, 89, 198, 0.15);
    --shadow-card-hover: 0 32px 80px rgba(30, 89, 198, 0.12);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.4s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ============================================
   3. Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
}

h2 {
    font-size: clamp(36px, 5vw, 64px);
}

h3 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    line-height: 1.2;
}

.label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================
   4. Layout
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
}

@media (min-width: 1280px) {
    .container { padding: 0 40px; }
}

section {
    position: relative;
}

/* ============================================
   5. Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary-dark {
    background: white;
    color: var(--surface-dark);
    padding: 16px 36px;
    border-radius: var(--radius-full);
}

.btn-primary-dark:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ============================================
   6. Glass Effects
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border);
}

.glass-card {
    background: #FFFFFF;
    border: 1px solid #E0E4EC;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(10, 15, 30, 0.06);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(30, 89, 198, 0.2);
}

@media (min-width: 1024px) {
    .glass-card {
        border-radius: var(--radius-xl);
    }
}

/* ============================================
   7. Gradient Border Animation
   ============================================ */
.gradient-border {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--border-light);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
    transition: background var(--transition-normal);
}

.gradient-border:hover::before {
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.55), rgba(30, 89, 198, 0.12));
}

@keyframes rotate-gradient {
    to { --angle: 360deg; }
}

@media (min-width: 1024px) {
    .gradient-border {
        border-radius: var(--radius-xl);
    }
}

/* ============================================
   8. Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition-fast);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.logo img {
    width: 140px;
    height: auto;
}

.logo-text {
    display: none;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(30, 89, 198, 0.06);
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: var(--radius-md);
    padding: 12px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--surface-alt);
    color: var(--primary);
}

/* Header CTA */
.header .btn-primary {
    padding: 10px 24px;
    font-size: 14px;
}

/* Dark header (for dark hero) */
.header--dark .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.header--dark .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.header--dark.scrolled .nav-link {
    color: var(--text);
}

.header--dark.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(30, 89, 198, 0.06);
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

@media (min-width: 1024px) {
    .burger { display: none; }
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.header--dark .burger span {
    background: white;
}

.header--dark.scrolled .burger span {
    background: var(--text);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .nav-link {
    color: white;
    font-size: 24px;
    padding: 12px 24px;
}

.mobile-menu .nav-link:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu .dropdown-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    padding: 8px 24px;
}

/* ============================================
   9. Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--ink-hero);
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 123, 247, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
}

.hero h1 .text-gradient {
    color: var(--accent-soft);
    -webkit-text-fill-color: var(--accent-soft);
    background: none;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: float-down 2s ease-in-out infinite;
}

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

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   10. Pain Points Section
   ============================================ */
.pain-section {
    padding: 120px 0;
    background: var(--surface-alt);
}

@media (min-width: 1024px) {
    .pain-section { padding: var(--section-gap) 0; }
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label-line {
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title {
    margin-bottom: 24px;
    color: var(--text);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 64px;
}

.pain-grid {
    display: grid;
    gap: 24px;
}

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

@media (min-width: 1024px) {
    .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.pain-card {
    padding: 40px 32px;
    position: relative;
}

.pain-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    color: rgba(30, 89, 198, 0.06);
    line-height: 1;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.pain-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Last card spans full width on 2-col grid (5 items) */
@media (min-width: 768px) and (max-width: 1023px) {
    .pain-card:last-child {
        grid-column: 1 / -1;
    }
}

/* On 3-col: first row 3, second row 2 centered */
@media (min-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pain-card:nth-child(4) {
        grid-column: 1 / 2;
        margin-left: auto;
        margin-right: 0;
    }
    .pain-card:nth-child(5) {
        grid-column: 2 / 3;
    }
}

/* ============================================
   11. Results / Metrics Section
   ============================================ */
.results-section {
    padding: 80px 0;
    background: var(--ink-band);
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.result-item {
    color: white;
}

.result-value {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.result-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ============================================
   12. Services / Growth Zones Section
   ============================================ */
.services-section {
    padding: 120px 0;
    background: var(--surface);
}

@media (min-width: 1024px) {
    .services-section { padding: var(--section-gap) 0; }
}

.services-header {
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.1), rgba(30, 89, 198, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.service-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 89, 198, 0.06);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-metric-green {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-green);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
    gap: 12px;
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ============================================
   13. Methodology / Process Section
   ============================================ */
.process-section {
    padding: 120px 0;
    background: var(--surface-alt);
}

@media (min-width: 1024px) {
    .process-section { padding: var(--section-gap) 0; }
}

.process-header {
    margin-bottom: 64px;
}

.process-steps {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.process-step {
    padding: 40px 32px;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.step-badge--free {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.step-badge--pilot {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
}

.step-badge--scale {
    background: rgba(30, 89, 198, 0.08);
    color: var(--primary);
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-deliverables {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.step-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.step-deliverables li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Connector lines between steps (desktop) */
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 58px;
        right: -16px;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        border-radius: 2px;
    }
}

/* ============================================
   14. Cases Section
   ============================================ */
.cases-section {
    padding: 120px 0;
    background: var(--surface-alt);
}

@media (min-width: 1024px) {
    .cases-section { padding: var(--section-gap) 0; }
}

.cases-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.cases-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (min-width: 1024px) {
    .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.case-card {
    padding: 40px 32px;
}

/* Качественный результат (для кейсов без публичных цифр) */
.case-outcome {
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.case-outcome-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 8px;
}
.case-outcome p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}
.case-metric-value .unit { font-size: 0.62em; font-weight: 600; color: var(--text-tertiary); }

.case-industry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.case-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

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

.case-metric-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.case-metric-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* ============================================
   15. Trust Section
   ============================================ */
.trust-section {
    padding: 80px 0;
    background: var(--surface);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {}

.trust-value {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ============================================
   16. CTA Section
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: var(--ink-flat);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta-section { padding: var(--section-gap) 0; }
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(59, 123, 247, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* ============================================
   17. FAQ Section
   ============================================ */
.faq-section {
    padding: 120px 0;
    background: var(--surface);
}

@media (min-width: 1024px) {
    .faq-section { padding: var(--section-gap) 0; }
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: var(--surface-alt);
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: #EDEEF2;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

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

.faq-answer-inner {
    padding: 0 28px 24px;
    background: var(--surface-alt);
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   18. Footer
   ============================================ */
.footer {
    padding: 60px 0 40px;
    background: var(--surface-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

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

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

/* ============================================
   19. Scroll Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate="fadeUp"] {
    transform: translateY(40px);
}

[data-animate="fadeIn"] {
    transform: none;
}

[data-animate="scaleIn"] {
    transform: scale(0.95);
}

[data-animate="slideLeft"] {
    transform: translateX(-40px);
}

[data-animate="slideRight"] {
    transform: translateX(40px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger children */
[data-animate-stagger] > [data-animate] {
    transition-delay: calc(var(--stagger-index, 0) * 80ms);
}

/* ============================================
   20. Responsive
   ============================================ */

/* Small tablets */
@media (max-width: 1023px) {
    :root {
        --section-gap: 100px;
        --card-padding: 32px;
        --radius-lg: 24px;
        --radius-xl: 30px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-gap: 80px;
        --card-padding: 24px;
        --radius-lg: 20px;
        --radius-xl: 24px;
    }

    body {
        font-size: 16px;
    }

    .hero {
        min-height: 100svh;
        padding: 100px 20px 60px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 36px;
    }

    .section-description {
        margin-bottom: 40px;
    }

    .cases-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .glass-card {
        box-shadow: 0 2px 16px rgba(10, 15, 30, 0.1);
        border-color: #D0D5DD;
    }

    .results-grid {
        gap: 24px;
    }

    .result-value {
        font-size: 40px;
    }

    .trust-value {
        font-size: 32px;
    }

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

    .pain-number {
        font-size: 48px;
    }
}

/* ============================================
   21. Utility Classes
   ============================================ */
.text-gradient {
    color: var(--accent-soft);
    -webkit-text-fill-color: var(--accent-soft);
    background: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   22. Sub-page styles
   ============================================ */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ink-flat);
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(59, 123, 247, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.page-hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: clamp(36px, 5vw, 64px);
}

.page-hero p {
    font-size: clamp(17px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Sub-page content sections */
.content-section {
    padding: 120px 0;
}

@media (min-width: 1024px) {
    .content-section { padding: var(--section-gap) 0; }
}

.content-section:nth-child(even) {
    background: var(--surface-alt);
}

.feature-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.feature-card {
    padding: var(--card-padding);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   23. Blog page
   ============================================ */
.blog-grid {
    display: grid;
    gap: 32px;
}

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

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16223e 0%, #0c1426 100%);
    border-bottom: 1px solid var(--border-light);
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    color: white;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.blog-card:hover .blog-card-link {
    gap: 10px;
}

/* ============================================
   24. Lead Capture Form
   ============================================ */
.lead-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    appearance: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
}

.form-select option {
    background: var(--surface-dark);
    color: white;
}

.form-select:has(option:checked:not([disabled])) {
    color: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.12);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-success {
    text-align: center;
    color: var(--accent-green);
    font-size: 18px;
    font-weight: 600;
    padding: 40px 0;
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

.form-note a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   25. 4-Step Process Grid
   ============================================ */
.process-steps--four {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .process-steps--four { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (min-width: 1024px) {
    .process-steps--four { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   26. Trust Block (expanded)
   ============================================ */
.trust-expanded {
    padding: 120px 0;
    background: var(--surface);
}

@media (min-width: 1024px) {
    .trust-expanded { padding: var(--section-gap) 0; }
}

.trust-details {
    display: grid;
    gap: 32px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .trust-details { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .trust-details { grid-template-columns: repeat(3, 1fr); }
}

.trust-detail-card {
    padding: 32px;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.trust-detail-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-detail-card h4 svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-detail-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-detail-card li,
.trust-tag {
    font-size: 14px;
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.trust-detail-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   27. Industry Pages
   ============================================ */
.industry-pain-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .industry-pain-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.industry-pain-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.industry-pain-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.industry-pain-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   28. Case Card (detailed)
   ============================================ */
.case-card--detailed {
    padding: 40px 32px;
}

.case-systems {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.case-system-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.case-next {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* ============================================
   29. About / Approach pages
   ============================================ */
.approach-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .approach-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.approach-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.approach-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.approach-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   30. Restaurant landing page — specific components
   ============================================ */

/* Hero stats (inside page-hero) */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

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

.hero-stat-value {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.restaurant-hero {
    min-height: auto;
    padding: 140px 20px 100px;
}

/* Market shift band */
.market-shift {
    padding: 100px 0;
}

.market-shift-header {
    text-align: center;
    margin-bottom: 56px;
}

.market-shift-header .section-title {
    color: white;
    margin-top: 16px;
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 640px) {
    .market-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .market-grid { grid-template-columns: repeat(4, 1fr); }
}

.market-sources {
    text-align: center;
    margin-top: 48px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Voice AI architecture row */
.voice-architecture {
    display: grid;
    gap: 24px;
    margin-top: 56px;
}

@media (min-width: 768px) {
    .voice-architecture { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.arch-card {
    padding: 32px;
    text-align: center;
}

.arch-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(30,89,198,0.1), rgba(30,89,198,0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.arch-icon svg { width: 28px; height: 28px; }

.arch-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.arch-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.moat-line {
    text-align: center;
    margin-top: 32px;
    font-size: 16px;
    color: var(--accent-green);
    font-weight: 500;
}

/* Archetypes grid */
.archetype-header {
    margin-top: 72px;
    margin-bottom: 32px;
    text-align: center;
}

.archetype-header h3 {
    font-size: 28px;
    color: var(--text);
}

.archetype-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .archetype-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.archetype-card {
    padding: 36px 32px;
    position: relative;
}

.archetype-letter {
    position: absolute;
    top: 28px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(30, 89, 198, 0.1);
    line-height: 1;
}

.archetype-card h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.archetype-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.archetype-for {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: var(--surface-alt);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.archetype-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Unit economics block */
.unit-econ {
    margin-top: 56px;
    padding: 40px 36px;
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.04), rgba(59, 123, 247, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.unit-econ-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.unit-econ-header h3 {
    font-size: 22px;
    color: var(--text);
    margin: 0;
}

.unit-econ-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.unit-econ-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
}

.ue-n {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}

.ue-highlight {
    color: var(--primary);
    font-size: 18px;
}

.unit-econ-final {
    background: var(--primary);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    font-size: 17px;
    text-align: center;
}

/* CV proof cards */
.cv-proof-header {
    margin-top: 64px;
    margin-bottom: 32px;
    text-align: center;
}

.cv-proof-header h3 {
    font-size: 28px;
    color: var(--text);
}

.cv-proof-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 900px) {
    .cv-proof-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) and (max-width: 899px) {
    .cv-proof-grid { grid-template-columns: repeat(2, 1fr); }
    .cv-proof-grid > :nth-child(3) { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; width: 100%; }
}

.cv-proof-card {
    padding: 32px 28px;
    text-align: center;
}

.cv-proof-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.cv-proof-context {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.cv-proof-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.cv-proof-metrics > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cv-proof-metrics strong {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cv-proof-metrics span {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* CV supplementary chips */
.cv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 48px;
}

.cv-chips span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

/* Price anchor block */
.price-anchor {
    margin-top: 40px;
    padding: 28px 32px;
}

.price-anchor h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.price-anchor ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-anchor li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Moat callout */
.moat-callout {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--accent-amber);
    border-radius: var(--radius-sm);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

.moat-callout svg { color: var(--accent-amber); margin-top: 2px; }

/* Service Intelligence specific */
.si-output {
    margin-top: 40px;
    padding: 32px;
    text-align: center;
}

.si-output h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.si-output p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.si-positioning {
    margin-top: 32px;
    padding: 24px 28px;
    background: rgba(30, 89, 198, 0.05);
    border: 1px solid rgba(30, 89, 198, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
}

.si-positioning-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Forecast I/O grid */
.forecast-io {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .forecast-io { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.forecast-io-card {
    padding: 32px;
}

.forecast-io-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.forecast-io-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.forecast-io-card li {
    padding: 8px 0;
    padding-left: 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.forecast-io-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.forecast-cases {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .forecast-cases { grid-template-columns: 1fr 1fr; }
}

.forecast-case {
    padding: 24px 28px;
}

.forecast-case-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.forecast-case-metric {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.forecast-case-metric strong {
    color: var(--primary);
}

/* Form checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-light);
}

/* Service Intelligence: journey flow */
.journey-header,
.journey-tech-header {
    margin-top: 56px;
    margin-bottom: 32px;
    text-align: center;
}

.journey-header h3,
.journey-tech-header h3 {
    font-size: 28px;
    color: var(--text);
}

.journey-flow {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .journey-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .journey-flow { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.journey-step {
    padding: 28px 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.journey-step-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--surface-alt);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.journey-step h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.journey-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Service Intelligence: tech modules */
.journey-tech {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .journey-tech { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.journey-tech-card {
    padding: 36px 32px;
}

.tech-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(30,89,198,0.1), rgba(30,89,198,0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.tech-icon svg { width: 28px; height: 28px; }

.journey-tech-card h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.tech-role {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    font-style: italic;
}

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

.tech-list li {
    padding: 8px 0 8px 26px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 14px;
    height: 2px;
    background: var(--primary);
}

/* Service Intelligence: manager output */
.si-output-block {
    margin-top: 56px;
    padding: 40px 36px;
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.04), rgba(16, 185, 129, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.si-output-block h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text);
}

.si-output-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .si-output-grid { grid-template-columns: 1fr 1fr; }
}

.si-output-label {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.si-output-grid p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Delivery QC: flow */
.qc-flow {
    display: grid;
    gap: 20px;
    margin-top: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .qc-flow {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        gap: 16px;
    }
}

.qc-step {
    padding: 24px 20px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.qc-step-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
}

.qc-step h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.qc-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.qc-arrow {
    display: none;
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
}

@media (min-width: 768px) {
    .qc-arrow { display: block; }
}

/* Delivery QC: impact */
.qc-impact {
    margin-top: 56px;
}

.qc-impact h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text);
}

.qc-impact-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .qc-impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .qc-impact-grid { grid-template-columns: repeat(4, 1fr); }
}

.qc-impact-card {
    padding: 28px 20px;
    text-align: center;
}

.qc-impact-metric {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.qc-impact-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.qc-why {
    margin-top: 40px;
    padding: 32px;
}

.qc-why h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.qc-why p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Voice AI: compressed section */
.voice-compact {
    padding: 80px 0;
}

.voice-compact-grid {
    display: grid;
    gap: 32px;
    align-items: center;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .voice-compact-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; }
}

.voice-compact-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

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

.voice-compact-list li {
    padding: 6px 0 6px 22px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.voice-compact-list li::before {
    content: '·';
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    top: 6px;
}

.voice-compact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

/* CV use cases — switch to 3-col grid */
@media (min-width: 1024px) {
    .cv-use-cases { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ============================================
   Sales design upgrades — eyebrow, stat bands, metric triplets, integrations
   ============================================ */

/* All-caps eyebrow label above product sections */
.product-eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Hero stat band — oversize display numerals (Winnow pattern) */
.stat-band {
    padding: 80px 0;
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-band-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
}

@media (min-width: 640px) {
    .stat-band-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .stat-band-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
    .stat-band-grid--three { grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 1080px; margin: 0 auto; }
}

.stat-band-item .stat-big {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    color: var(--text);
    line-height: 0.95;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-band-item .stat-caption {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

.stat-band-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 40px;
}

/* Metric triplet — "до X%" cards under each product (Presto pattern) */
.metric-triplet {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .metric-triplet { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.metric-triplet-card {
    padding: 32px 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.metric-triplet-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.metric-triplet-card .metric-label-top {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.metric-triplet-card .metric-big {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.05;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    max-width: 100%;
    overflow-wrap: break-word;
}

.metric-triplet-card .metric-caption {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Integration logo strip */
.integrations-strip {
    padding: 40px 0 48px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-alt);
}

.integrations-strip-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.integrations-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 40px;
    opacity: 0.85;
}

.integrations-logos .int-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    letter-spacing: -0.01em;
}

/* Case-card headline lead number (Voosh pattern) */
.case-headline-metric {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

/* Pricing — integration only (no SaaS) */
.integration-pricing {
    margin-top: 40px;
    padding: 36px 36px;
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.04), rgba(16, 185, 129, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.integration-pricing-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.integration-pricing-head h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.integration-pricing-head .int-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(30, 89, 198, 0.1);
    color: var(--primary);
}

.integration-tiers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .integration-tiers { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.integration-tier {
    padding: 20px 22px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.integration-tier-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.integration-tier-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
}

.integration-tier-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.integration-notes {
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.integration-notes strong { color: var(--text); }

/* ============================================
   Packages by restaurant format (Tier 2 segment pitch)
   ============================================ */
.packages-section {
    padding: 120px 0;
    background: var(--surface);
}

@media (min-width: 1024px) {
    .packages-section { padding: var(--section-gap) 0; }
}

.packages-grid {
    display: grid;
    gap: 24px;
    margin-top: 56px;
}

@media (min-width: 768px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.package-card {
    position: relative;
    padding: 32px 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .package-card { padding: 40px 36px; }
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 89, 198, 0.25);
    box-shadow: var(--shadow-card-hover);
}

.package-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(30, 89, 198, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    align-self: flex-start;
}

.package-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.package-pain,
.package-solution {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.package-pain strong,
.package-solution strong {
    color: var(--text);
    font-weight: 600;
}

.package-metrics {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 640px) {
    .package-metrics { gap: 16px; }
}

.package-metric-value {
    word-break: normal;
    overflow-wrap: break-word;
}

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

.package-metric-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.package-metric-label {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.35;
}

/* RU anonymous case cards (replacement for western giants) */
.ru-cases-grid {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .ru-cases-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (min-width: 1200px) {
    .ru-cases-grid { grid-template-columns: repeat(3, 1fr); }
}

.ru-case-card {
    padding: 32px 28px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ru-case-header {
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border-light);
}

.ru-case-type {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.ru-case-facts {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.ru-case-row {
    font-size: 14px;
    line-height: 1.6;
}

.ru-case-row strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.ru-case-row--before strong { color: var(--accent-amber); }
.ru-case-row--after strong { color: var(--accent-green); }

.ru-case-result {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.05), transparent);
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(30, 89, 198, 0.12);
}

.ru-case-result strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}

.ru-case-result-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Fix metric-triplet alignment — bigger consistent font, center */
.metric-triplet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.metric-triplet-card .metric-big {
    white-space: normal;
}

/* Fix cv-proof-metrics — prevent overflow of long numbers */
.cv-proof-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-proof-metrics strong {
    word-break: normal;
    hyphens: none;
    font-size: 16px;
}

.cv-proof-metrics span {
    font-size: 11px;
}

@media (min-width: 1024px) {
    .cv-proof-metrics strong { font-size: 18px; }
    .cv-proof-metrics span { font-size: 12px; }
}

/* Stat-band proof subtitle (before stats numbers) */
.stat-band-sources {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
}

/* Hero video placeholder slot */
.hero-video-slot {
    position: relative;
    margin: 64px auto 0;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 9;
}

.hero-video-slot video,
.hero-video-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-slot::after {
    content: 'Демо-видео · скоро здесь';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
}

.hero-video-slot:has(video) ::after,
.hero-video-slot:has(img) ::after {
    display: none;
}

/* Product demo placeholder inside deep sections */
.demo-slot {
    margin: 48px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px dashed var(--border);
    background: linear-gradient(135deg, rgba(30, 89, 198, 0.03), rgba(16, 185, 129, 0.02));
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

.demo-slot video,
.demo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Demo slot with actual AI-generated image */
.demo-slot--has-image {
    aspect-ratio: auto;
    background: var(--surface-dark);
    border: 1px solid var(--border);
    border-style: solid;
    padding: 0;
    display: block;
    flex-direction: column;
    position: relative;
    color: inherit;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-slot--has-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

.demo-caption {
    padding: 16px 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    letter-spacing: 0.01em;
}

/* Hero video slot — real image */
.hero-video-slot img {
    aspect-ratio: auto;
}

.hero-video-slot:has(img)::after {
    display: none;
}

/* ============================================
   Industry Solutions section (on solutions.html)
   ============================================ */
.industry-solutions {
    padding: 120px 0;
    background: var(--surface-alt);
}

@media (min-width: 1024px) {
    .industry-solutions { padding: var(--section-gap) 0; }
}

.industry-solutions-grid {
    display: grid;
    gap: 24px;
    margin-top: 56px;
}

@media (min-width: 768px) {
    .industry-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .industry-solution-card--featured {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .industry-solution-card--featured {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 0;
    }
}

.industry-solution-card {
    position: relative;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.industry-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(30, 89, 198, 0.2);
}

.industry-solution-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-dark);
}

@media (min-width: 1024px) {
    .industry-solution-card--featured .industry-solution-media {
        aspect-ratio: auto;
        height: 100%;
    }
}

.industry-solution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.industry-solution-card:hover .industry-solution-media img {
    transform: scale(1.03);
}

.industry-solution-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

@media (min-width: 768px) {
    .industry-solution-body {
        padding: 36px 32px;
    }
}

.industry-solution-body--compact {
    padding: 28px 24px;
}

@media (min-width: 768px) {
    .industry-solution-body--compact {
        padding: 32px 28px;
    }
}

.industry-solution-tag {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(30, 89, 198, 0.08);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

.industry-solution-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    margin: 0;
}

.industry-solution-card--featured h3 {
    font-size: 26px;
}

.industry-solution-body p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

.industry-solution-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.industry-solution-metric {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    padding: 5px 12px;
    border-radius: var(--radius-full);
}

.industry-solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    transition: gap var(--transition-fast);
}

.industry-solution-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.industry-solution-card:hover .industry-solution-link {
    gap: 12px;
}

.industry-solution-card:hover .industry-solution-link svg {
    transform: translateX(4px);
}

/* ============================================
   31. Sticky scroll CTA bar
   ============================================ */
.scroll-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-dark);
    color: white;
    padding: 12px 16px;
    z-index: 40;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-out);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    visibility: hidden;
}

.scroll-cta-bar.is-visible {
    transform: translateY(0);
    visibility: visible;
}

.scroll-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.scroll-cta-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.scroll-cta-bar .btn {
    padding: 10px 20px;
    font-size: 14px;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .scroll-cta-bar {
        left: auto;
        right: 32px;
        bottom: 32px;
        border-radius: var(--radius-full);
        padding: 12px 12px 12px 24px;
        max-width: 460px;
    }
    .scroll-cta-inner { gap: 16px; }
}

@media (max-width: 639px) {
    .scroll-cta-label { display: none; }
    .scroll-cta-inner { justify-content: center; }
}

/* ============================================
   32. Print / PDF styles
   ============================================ */
@media print {
    .scroll-cta-bar,
    .header,
    .mobile-menu,
    .footer,
    .hero-scroll,
    #fluid-cursor-canvas {
        display: none !important;
    }

    .faq-answer {
        max-height: none !important;
        overflow: visible !important;
    }

    .faq-item {
        break-inside: avoid;
    }

    .page-hero,
    .results-section,
    .market-shift,
    .cta-section {
        background: white !important;
        color: black !important;
        padding: 40px 0 !important;
    }

    .page-hero h1,
    .page-hero p,
    .market-shift-header .section-title,
    .hero-stat-value,
    .hero-stat-label,
    .market-grid .result-value,
    .market-grid .result-label,
    .cta-section h2,
    .cta-section .cta-description,
    .market-sources,
    .hero-label {
        color: black !important;
    }

    .market-shift-header .section-label,
    .section-label-line {
        color: #666 !important;
        background: #666 !important;
    }

    section {
        break-inside: avoid;
        padding: 40px 0 !important;
    }

    body {
        font-size: 11pt;
        color: black;
        background: white;
    }

    h1 { font-size: 28pt !important; }
    h2 { font-size: 20pt !important; }
    h3 { font-size: 14pt !important; }

    .lead-form,
    .form-submit {
        display: none !important;
    }

    .glass-card,
    .gradient-border::before {
        box-shadow: none !important;
        background: white !important;
    }

    a { color: var(--primary) !important; text-decoration: underline; }
}

/* ============================================
   33. Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   23. About — Founder block
   ============================================ */
.founder {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 8px;
}
@media (min-width: 900px) {
    .founder { grid-template-columns: 360px 1fr; gap: 56px; }
}
.founder-photo {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--surface-alt);
}
.founder-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.02);
}
@media (min-width: 900px) {
    .founder-photo { position: sticky; top: 110px; }
}
.founder-name { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.founder-role {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
}
.founder-body p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    max-width: 640px;
}
.founder-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
    margin: 32px 0 8px;
}
@media (max-width: 480px) {
    .founder-stats { grid-template-columns: 1fr; gap: 20px; }
}
.founder-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
}
.founder-stat-value span {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--text-tertiary);
}
.founder-stat-label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-secondary);
}
.founder-credo {
    margin: 32px 0 0;
    padding: 22px 28px;
    border-left: 3px solid var(--accent-primary);
    background: var(--surface-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
}

/* ============================================
   24. Clients band (logo wall)
   ============================================ */
.clients-band {
    padding: 56px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
}
.clients-band-title {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-bottom: 28px;
}
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 56px;
    padding: 0;
    margin: 0;
}
.client-logo {
    display: inline-flex;
    align-items: center;
    /* запасной вид, если картинка не загрузится */
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 24px);
    letter-spacing: -0.01em;
    color: var(--text-tertiary);
}
.client-logo img {
    height: 28px;
    width: auto;
    filter: grayscale(100%) brightness(0.45);
    opacity: 0.6;
    transition: opacity var(--transition-fast), filter var(--transition-fast);
}
.client-logo:hover img {
    opacity: 1;
    filter: grayscale(100%) brightness(0.2);
}
/* квадратный значок iiko — чуть крупнее для визуального баланса с вордмарками */
.client-logo--mark img { height: 38px; }

/* ============================================
   25. Founder mini-block (homepage)
   ============================================ */
.founder-mini-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 36px;
}
@media (min-width: 768px) {
    .founder-mini-inner { grid-template-columns: 210px 1fr; gap: 48px; padding: 48px 56px; }
}
.founder-mini-photo {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 240px;
}
.founder-mini-photo img {
    width: 100%;
    display: block;
    filter: grayscale(100%) contrast(1.02);
}
.founder-mini-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 14px 0 20px;
}
.founder-mini-bio {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 620px;
}

/* Cases — NDA note */
.cases-note {
    max-width: 760px;
    margin: 0 0 40px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 16px 22px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--border-light);
}

/* Homepage case previews — 3 columns on wide */
@media (min-width: 1024px) {
    .cases-grid--three { grid-template-columns: repeat(3, 1fr); }
}
.cases-grid--three .case-card p { font-size: 14.5px; }

/* directions 2026-09 */
/* — меню: выпадающий список направлений — */
.nav-dropdown--directions .dropdown-menu { min-width: 320px; }
.nav-dropdown--directions .dropdown-link { white-space: nowrap; }

/* — хлебные крошки на тёмном hero — */
.breadcrumbs { font-size: 14px; margin-bottom: 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; color: rgba(255, 255, 255, 0.5); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255, 255, 255, 0.3); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

/* — hero страницы направления — */
.page-hero--direction { min-height: auto; padding: 150px 0 90px; }
.page-hero--direction .page-hero-content { max-width: 880px; margin: 0 auto; }
.page-hero--direction h1 { font-size: clamp(34px, 5vw, 60px); }
.page-hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.74); line-height: 1.65; margin: 0 auto 36px; max-width: 780px; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* — блок «Коротко»: для кого / что получаете / первый результат — */
.direction-facts-section { padding: 72px 0 0; background: var(--surface); }
.direction-facts { display: grid; gap: 20px; }
@media (min-width: 768px) { .direction-facts { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.direction-facts .trust-detail-card { background: var(--surface-alt); }

/* — типовые задачи — */
.tasks-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .tasks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tasks-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.tasks-grid .pain-card { padding: 36px 30px; }
.tasks-grid .pain-card h3 { font-size: 20px; }

/* — этапы внедрения — */
.page--direction .process-section { background: var(--surface); }
.page--direction .process-step { display: flex; flex-direction: column; }
.page--direction .step-deliverables { list-style: none; margin-top: auto; padding-top: 20px; }
.page--direction .step-deliverables li span { flex: 1; }
.process-note { margin-top: 32px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 780px; }
.page--direction .step-badge { max-width: 100%; white-space: normal; line-height: 1.35; text-align: left; }

/* — кейсы на странице направления — */
.page--direction .cases-note { margin-top: -24px; }
.cases-links { margin-top: 32px; font-size: 15px; color: var(--text-secondary); }
.cases-links a { color: var(--primary); font-weight: 500; }
.cases-links a:hover { text-decoration: underline; }
.page--direction .founder-mini { padding: 0 0 120px; }
.page--direction .faq-section + .founder-mini { padding-top: 0; }

/* — главная: четыре направления — */
.directions-section { padding: 100px 0 40px; background: var(--surface); }
@media (min-width: 1024px) { .directions-section { padding: 120px 0 60px; } }
.directions-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .directions-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.direction-card { display: flex; flex-direction: column; padding: var(--card-padding); text-decoration: none; color: inherit; }
.direction-card h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 10px; }
.direction-card-benefit { font-size: 16px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }
.direction-card-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; flex-grow: 1; }
.direction-card-list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); line-height: 1.5; }
.direction-card-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.direction-card .service-link { margin-top: auto; }
.direction-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-full); background: rgba(30, 89, 198, 0.08); color: var(--primary); margin-bottom: 18px; }
.direction-card--accent { background: var(--ink-band); border-color: transparent; color: #fff; }
.direction-card--accent:hover { border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 32px 80px rgba(20, 63, 140, 0.35); }
.direction-card--accent h3, .direction-card--accent .direction-card-list li { color: #fff; }
.direction-card--accent .direction-card-benefit { color: rgba(255, 255, 255, 0.78); }
.direction-card--accent .direction-card-list li::before { background: var(--accent-soft); }
.direction-card--accent .service-link { color: #fff; }
.direction-card--accent .direction-tag { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* — страница автора — */
.page--author .founder-section { padding: 100px 0; }
.page--author #topics { padding: 100px 0; }
.author-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.author-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-full); border: 1px solid var(--border-light); font-size: 15px; font-weight: 500; color: var(--text); background: #fff; transition: all var(--transition-fast); }
.author-links a:hover { border-color: var(--primary); color: var(--primary); }
.author-projects { display: grid; gap: 20px; }
@media (min-width: 768px) { .author-projects { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .author-projects { grid-template-columns: repeat(3, 1fr); } }
.author-projects .feature-card { display: flex; flex-direction: column; }
.author-projects .feature-card p { margin-bottom: 12px; }
.author-project-result { color: var(--text); margin-bottom: 20px; }
.author-projects .service-link { margin-top: auto; }
.author-topics { list-style: none; }
.author-topics li { padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 15.5px; line-height: 1.5; color: var(--text); }
.author-topics li:last-child { border-bottom: none; }
/* /directions 2026-09 */
