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

:root {
    /* Backgrounds */
    --bg: #f5f1e6;              /* warm cream */
    --bg-soft: #faf7ed;          /* lighter cream */
    --bg-card: #ffffff;
    --bg-pistachio: #e3efd3;     /* pale pistachio */
    --bg-pistachio-mid: #c8de9f;
    --bg-mint: #e8f3df;
    --bg-cream: #f9f0d9;

    /* Pistachio scale */
    --pistachio: #9bc26b;        /* signature */
    --pistachio-bright: #b8d986;
    --pistachio-deep: #6b8e4e;
    --pistachio-dark: #3e5a2e;
    --forest: #1f2d1a;

    /* Ink (text) */
    --ink: #1f2d1a;
    --ink-soft: #4a5d42;
    --ink-mute: #7d8a72;
    --ink-faint: #a8b39c;

    /* Accents */
    --coral: #ff7a59;
    --coral-soft: #ffd1c3;
    --honey: #f5b942;
    --honey-soft: #fde6b1;
    --cream-deep: #efd9a3;
    --plum: #7a4e6e;

    /* Lines & shadows */
    --line: rgba(31, 45, 26, 0.08);
    --line-mid: rgba(31, 45, 26, 0.14);
    --line-strong: rgba(31, 45, 26, 0.22);

    --shadow-sm: 0 2px 8px rgba(31, 45, 26, 0.06);
    --shadow-md: 0 14px 36px rgba(31, 45, 26, 0.10);
    --shadow-lg: 0 30px 80px rgba(61, 90, 46, 0.18);
    --shadow-pistachio: 0 18px 50px rgba(107, 142, 78, 0.30);
    --shadow-coral: 0 14px 40px rgba(255, 122, 89, 0.32);

    /* Gradients */
    --grad-pist: linear-gradient(135deg, #b8d986 0%, #6b8e4e 100%);
    --grad-warm: linear-gradient(135deg, #f5b942 0%, #ff7a59 100%);
    --grad-soft: linear-gradient(135deg, #e3efd3 0%, #faf7ed 100%);

    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-sm: 10px;

    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 12% 8%, rgba(155, 194, 107, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 88% 12%, rgba(255, 122, 89, 0.08) 0%, transparent 30%);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: 820px; }

/* ─────────── NAV ─────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 241, 230, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.logo__mark {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    background: var(--grad-pist);
    border-radius: 12px;
    color: #fff;
    font-size: 22px;
    box-shadow: var(--shadow-pistachio);
    animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.logo__accent { color: var(--pistachio-deep); font-style: italic; }
.logo__text { font-family: var(--font-display); font-weight: 700; }

.nav__menu {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}
.nav__menu a {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}
.nav__menu a:hover { color: var(--pistachio-deep); }
.nav__menu a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--pistachio);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s;
}
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; gap: 10px; }

/* ─────────── Buttons ─────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1;
}
.btn--primary {
    background: var(--ink);
    color: #faf7ed;
    box-shadow: 0 8px 24px rgba(31, 45, 26, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(31, 45, 26, 0.32); background: var(--pistachio-dark); }
.btn--accent {
    background: var(--pistachio);
    color: var(--ink);
    box-shadow: var(--shadow-pistachio);
}
.btn--accent:hover { transform: translateY(-2px); background: var(--pistachio-bright); }
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg-soft); }
.btn--lg { padding: 17px 30px; font-size: 15px; }
.btn--full { width: 100%; }

/* ─────────── HERO ─────────── */
.hero {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: float 16s ease-in-out infinite;
}
.blob--1 { width: 520px; height: 520px; background: var(--bg-pistachio-mid); top: -120px; left: -180px; }
.blob--2 { width: 380px; height: 380px; background: var(--coral-soft); top: 40%; right: -120px; animation-delay: -5s; }
.blob--3 { width: 320px; height: 320px; background: var(--honey-soft); bottom: -80px; left: 30%; animation-delay: -10s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(36px, -28px) scale(1.06); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.hero__left { position: relative; z-index: 2; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(155, 194, 107, 0.15);
    border: 1px solid rgba(155, 194, 107, 0.4);
    color: var(--pistachio-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 28px;
}
.pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pistachio-deep);
    box-shadow: 0 0 0 0 rgba(107, 142, 78, 0.6);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(107, 142, 78, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(107, 142, 78, 0); }
    100% { box-shadow: 0 0 0 0 rgba(107, 142, 78, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.4vw, 78px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.0;
    margin-bottom: 28px;
    color: var(--ink);
}
.hero__title em {
    font-style: italic;
    color: var(--pistachio-deep);
    position: relative;
    display: inline-block;
}
.hero__title em::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4%;
    height: 12px;
    background: var(--honey);
    z-index: -1;
    border-radius: 4px;
    transform: skew(-3deg);
    opacity: 0.55;
}
.hero__title .accent-circle {
    display: inline-block;
    position: relative;
    padding: 0 8px;
}
.hero__title .accent-circle svg {
    position: absolute;
    inset: -8px -2px;
    width: calc(100% + 4px);
    height: calc(100% + 16px);
    z-index: -1;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.55;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    align-items: center;
}
.hero__cta-note {
    font-size: 13px;
    color: var(--ink-mute);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__cta-note::before { content: '✓'; color: var(--pistachio-deep); font-weight: 800; }

.hero__avatars {
    display: flex;
    align-items: center;
    gap: 14px;
}
.avatar-stack { display: flex; }
.avatar-stack__item {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--pistachio);
    border: 3px solid var(--bg);
    margin-left: -10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.avatar-stack__item:first-child { margin-left: 0; }
.avatar-stack__item:nth-child(2) { background: var(--coral); }
.avatar-stack__item:nth-child(3) { background: var(--honey); color: var(--ink); }
.avatar-stack__item:nth-child(4) { background: var(--plum); }
.avatar-stack__item:nth-child(5) { background: var(--pistachio-dark); }
.hero__avatars-text strong { display: block; font-size: 14px; color: var(--ink); }
.hero__avatars-text span { font-size: 12px; color: var(--ink-mute); }
.stars { color: var(--honey); letter-spacing: 1px; font-size: 13px; }

/* Hero composition (right) */
.hero__compo {
    position: relative;
    height: 540px;
    z-index: 1;
}
.compo-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    border: 1px solid var(--line);
}
.compo-card--main {
    top: 30px; left: 30px;
    width: 320px;
    transform: rotate(-4deg);
    z-index: 2;
}
.compo-card--video {
    top: 0; right: 0;
    width: 230px;
    transform: rotate(5deg);
    padding: 0;
    overflow: hidden;
    z-index: 3;
}
.compo-card--analytics {
    bottom: 20px; right: 30px;
    width: 280px;
    transform: rotate(-3deg);
    z-index: 4;
}
.compo-card--sticker {
    top: 200px; left: 0;
    background: var(--coral);
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    transform: rotate(-12deg);
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-coral);
    z-index: 5;
    border: none;
}
.compo-card--gear {
    bottom: 60px; left: 60px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--honey);
    display: grid;
    place-items: center;
    font-size: 38px;
    transform: rotate(15deg);
    z-index: 1;
    border: none;
    box-shadow: var(--shadow-md);
    animation: spin 12s linear infinite;
}

.cc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cc-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-pist); display: grid; place-items: center; color: #fff; font-weight: 800; }
.cc-name { font-size: 13px; font-weight: 700; }
.cc-meta { font-size: 11px; color: var(--ink-mute); }
.cc-text { font-size: 13px; color: var(--ink); line-height: 1.5; margin-bottom: 12px; }
.cc-img {
    height: 110px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 30% 40%, var(--pistachio) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, var(--honey) 0%, transparent 55%),
        var(--bg-pistachio);
    margin-bottom: 10px;
}
.cc-stats { display: flex; gap: 14px; font-size: 12px; color: var(--ink-mute); }
.cc-stats b { color: var(--ink); }

.cc-video-frame {
    height: 320px;
    background:
        radial-gradient(circle at 40% 30%, rgba(255, 122, 89, 0.7), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(155, 194, 107, 0.6), transparent 55%),
        #1f2d1a;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
}
.cc-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2d1a;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    padding-left: 4px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
}
.cc-video-tag {
    align-self: flex-start;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.cc-video-cap {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    align-self: flex-start;
    font-weight: 600;
}

.cc-analytics-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cc-analytics-title { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
.cc-analytics-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.cc-analytics-delta { font-size: 11px; color: var(--pistachio-deep); font-weight: 700; background: var(--bg-mint); padding: 3px 8px; border-radius: 6px; }
.cc-mini-chart {
    height: 60px;
    display: flex;
    align-items: end;
    gap: 4px;
}
.cc-mini-chart span {
    flex: 1;
    background: var(--pistachio);
    border-radius: 3px 3px 0 0;
    opacity: 0.85;
}
.cc-mini-chart span:nth-child(1) { height: 30%; }
.cc-mini-chart span:nth-child(2) { height: 50%; }
.cc-mini-chart span:nth-child(3) { height: 35%; }
.cc-mini-chart span:nth-child(4) { height: 65%; }
.cc-mini-chart span:nth-child(5) { height: 45%; }
.cc-mini-chart span:nth-child(6) { height: 80%; }
.cc-mini-chart span:nth-child(7) { height: 60%; background: var(--coral); }
.cc-mini-chart span:nth-child(8) { height: 95%; background: var(--coral); }
.cc-mini-chart span:nth-child(9) { height: 75%; background: var(--coral); }
.cc-mini-chart span:nth-child(10) { height: 100%; background: var(--coral); }

/* Hero metrics strip */
.hero__metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.metric { text-align: center; padding: 0 16px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric__value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--pistachio-dark);
    letter-spacing: -0.02em;
    line-height: 1;
}
.metric__label {
    font-size: 13px;
    color: var(--ink-mute);
    margin-top: 8px;
    line-height: 1.4;
}

/* Marquee logos */
.marquee {
    overflow: hidden;
    padding: 32px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.marquee__label {
    text-align: center;
    font-size: 13px;
    color: var(--ink-mute);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}
.marquee__track {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.marquee__item {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: -0.01em;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.marquee__item:hover { opacity: 1; color: var(--pistachio-deep); }

/* ─────────── Sections ─────────── */
.section { padding: 120px 0; position: relative; }
.section--cream { background: var(--bg-soft); }
.section--pistachio { background: var(--bg-pistachio); }
.section--ink { background: var(--ink); color: #faf7ed; }
.section--ink .section__title { color: #faf7ed; }
.section--ink .section__lead { color: rgba(250, 247, 237, 0.75); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.section__head--left { text-align: left; margin-left: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--bg-pistachio);
    color: var(--pistachio-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.eyebrow::before { content: '◆'; color: var(--pistachio-deep); }

.section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--ink);
}
.section__title em {
    font-style: italic;
    color: var(--pistachio-deep);
}
.section__lead {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

/* ─────────── Problem cards ─────────── */
.problems {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-card__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 20px;
    background: var(--coral-soft);
}
.problem-card:nth-child(2) .problem-card__icon { background: var(--honey-soft); }
.problem-card:nth-child(3) .problem-card__icon { background: var(--bg-pistachio); }
.problem-card:nth-child(4) .problem-card__icon { background: #e9d5e0; }

.problem-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-mute);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.problem-card h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 10px; letter-spacing: -0.02em; font-weight: 600; }
.problem-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.solution-band {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px 40px;
    background: var(--ink);
    border-radius: var(--radius-lg);
    color: var(--bg-soft);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.solution-band::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: var(--pistachio);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
}
.solution-band__icon {
    width: 72px; height: 72px;
    background: var(--pistachio);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 36px;
    color: var(--ink);
    flex-shrink: 0;
    animation: spin 14s linear infinite;
    z-index: 1;
}
.solution-band h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; margin-bottom: 6px; font-weight: 600; }
.solution-band p { font-size: 15px; line-height: 1.55; opacity: 0.82; max-width: 560px; }

/* ─────────── Agents grid ─────────── */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.agent {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
}
.agent::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--bg-pistachio);
    opacity: 0.6;
    transition: transform 0.3s;
}
.agent:nth-child(2)::before, .agent:nth-child(7)::before, .agent:nth-child(11)::before { background: var(--coral-soft); opacity: 0.5; }
.agent:nth-child(3)::before, .agent:nth-child(6)::before, .agent:nth-child(10)::before { background: var(--honey-soft); }
.agent:nth-child(4)::before, .agent:nth-child(8)::before, .agent:nth-child(12)::before { background: #e9d5e0; opacity: 0.6; }

.agent:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.agent:hover::before { transform: scale(1.4); }

.agent > * { position: relative; z-index: 1; }
.agent__id {
    display: inline-block;
    font-size: 11px;
    color: var(--pistachio-dark);
    font-weight: 700;
    background: rgba(155, 194, 107, 0.18);
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 14px;
    letter-spacing: 0.06em;
}
.agent__icon {
    width: 56px; height: 56px;
    background: var(--bg-pistachio);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(31, 45, 26, 0.05);
}
.agent:nth-child(2) .agent__icon { background: var(--coral); }
.agent:nth-child(3) .agent__icon { background: var(--honey); }
.agent:nth-child(4) .agent__icon { background: var(--plum); }
.agent:nth-child(5) .agent__icon { background: var(--pistachio); }
.agent:nth-child(6) .agent__icon { background: var(--cream-deep); }
.agent:nth-child(7) .agent__icon { background: var(--bg-pistachio-mid); }
.agent:nth-child(8) .agent__icon { background: var(--coral-soft); }
.agent:nth-child(9) .agent__icon { background: var(--honey-soft); }
.agent:nth-child(10) .agent__icon { background: #d8c5d3; }
.agent:nth-child(11) .agent__icon { background: var(--bg-mint); }
.agent:nth-child(12) .agent__icon { background: var(--bg-pistachio); }

.agent h3 { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.agent p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.agent__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--pistachio-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dot {
    width: 6px; height: 6px;
    background: var(--pistachio-deep);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pistachio);
    animation: blink 2s infinite;
}
@keyframes blink { 50% { opacity: 0.4; } }

/* ─────────── Conveyor (process) ─────────── */
.conveyor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}
.conveyor__line {
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--pistachio) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    background: var(--bg-card);
    border: 2px solid var(--pistachio);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--pistachio-dark);
    box-shadow: 0 0 0 8px var(--bg-soft), var(--shadow-sm);
    font-size: 22px;
}
.step:nth-child(2) .step__num { background: var(--pistachio); color: #fff; border-color: var(--pistachio); }
.step:nth-child(3) .step__num { background: var(--honey); color: var(--ink); border-color: var(--honey); }
.step:nth-child(4) .step__num { background: var(--coral); color: #fff; border-color: var(--coral); }
.step:nth-child(5) .step__num { background: var(--ink); color: var(--pistachio-bright); border-color: var(--ink); }

.step h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; font-weight: 600; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ─────────── Compare table ─────────── */
.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}
.compare-table th, .compare-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink);
}
.compare-table th {
    background: var(--bg-soft);
    font-weight: 700;
    color: var(--ink-soft);
    font-size: 13px;
    letter-spacing: 0.02em;
}
.compare-table th.us, .compare-table td.us {
    background: linear-gradient(180deg, rgba(155, 194, 107, 0.18) 0%, rgba(155, 194, 107, 0.06) 100%);
    color: var(--pistachio-dark);
    font-weight: 700;
    border-left: 1px solid rgba(155, 194, 107, 0.3);
    border-right: 1px solid rgba(155, 194, 107, 0.3);
}
.compare-table th.us { border-top: 3px solid var(--pistachio); position: relative; }
.compare-table th.us::after {
    content: '★ Хит';
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.06em;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; }

/* ─────────── Showcase ─────────── */
.showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.showcase__card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.2s, box-shadow 0.2s;
}
.showcase__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.showcase__visual {
    aspect-ratio: 4/3.2;
    border-radius: var(--radius);
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
}
.showcase__card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; letter-spacing: -0.015em; font-weight: 600; }
.showcase__card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.showcase__visual--posts { background: var(--bg-pistachio); padding: 18px; }
.post-mock {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.post-mock__avatar {
    width: 36px; height: 36px;
    background: var(--grad-pist);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.post-mock__body { flex: 1; min-width: 0; }
.post-mock__name { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.post-mock__name span { color: var(--ink-mute); font-weight: 400; }
.post-mock__body p { font-size: 12px; color: var(--ink); line-height: 1.5; margin-bottom: 8px; }
.post-mock__stats { display: flex; gap: 10px; font-size: 11px; color: var(--ink-mute); }

.showcase__visual--image {
    background:
        radial-gradient(circle at 25% 30%, var(--pistachio) 0%, transparent 55%),
        radial-gradient(circle at 75% 70%, var(--coral) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, var(--honey) 0%, transparent 60%),
        var(--ink);
    position: relative;
}
.img-mock__brand {
    position: absolute;
    bottom: 16px; left: 16px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
}
.img-mock__sticker {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--honey);
    color: var(--ink);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    transform: rotate(8deg);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.showcase__visual--video {
    background: radial-gradient(circle at 30% 40%, rgba(255, 122, 89, 0.6), transparent 55%), var(--ink);
    position: relative;
}
.video-mock__frame { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.video-mock__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
    padding-left: 4px;
}
.video-mock__caption {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
}
.video-mock__progress { height: 3px; background: rgba(255, 255, 255, 0.2); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.video-mock__progress span { display: block; width: 38%; height: 100%; background: var(--pistachio-bright); }
.video-mock__wave { display: flex; gap: 3px; align-items: end; height: 24px; }
.video-mock__wave span {
    flex: 1;
    background: var(--pistachio-bright);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}
.video-mock__wave span:nth-child(1) { animation-delay: 0s; }
.video-mock__wave span:nth-child(2) { animation-delay: 0.1s; }
.video-mock__wave span:nth-child(3) { animation-delay: 0.2s; }
.video-mock__wave span:nth-child(4) { animation-delay: 0.3s; }
.video-mock__wave span:nth-child(5) { animation-delay: 0.4s; }
.video-mock__wave span:nth-child(6) { animation-delay: 0.5s; }
.video-mock__wave span:nth-child(7) { animation-delay: 0.4s; }
.video-mock__wave span:nth-child(8) { animation-delay: 0.3s; }
.video-mock__wave span:nth-child(9) { animation-delay: 0.2s; }
.video-mock__wave span:nth-child(10) { animation-delay: 0.1s; }
@keyframes wave {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}

/* ─────────── Testimonials ─────────── */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--line);
    position: relative;
}
.testimonial__quote {
    font-family: var(--font-display);
    font-size: 80px;
    line-height: 0.5;
    color: var(--pistachio);
    position: absolute;
    top: 28px; right: 24px;
    opacity: 0.5;
}
.testimonial p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-pist); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; }
.testimonial__author:nth-child(odd) .testimonial__avatar { background: var(--coral); }
.testimonial__name { font-weight: 700; font-size: 14px; }
.testimonial__role { font-size: 12px; color: var(--ink-mute); }
.testimonial__metric {
    margin-left: auto;
    text-align: right;
    background: var(--bg-mint);
    padding: 6px 12px;
    border-radius: 8px;
}
.testimonial__metric b { display: block; font-family: var(--font-display); color: var(--pistachio-dark); font-size: 18px; font-weight: 700; line-height: 1; }
.testimonial__metric span { font-size: 10px; color: var(--ink-mute); }

/* ─────────── Pricing ─────────── */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.plan {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
    background: var(--ink);
    color: var(--bg-soft);
    border: none;
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}
.plan--featured:hover { transform: scale(1.04) translateY(-6px); }
.plan--featured .plan__name { color: var(--pistachio-bright); }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__price small { color: rgba(250, 247, 237, 0.6); }
.plan--featured .plan__lead { color: rgba(250, 247, 237, 0.75); }
.plan--featured .plan__features li { color: rgba(250, 247, 237, 0.92); border-color: rgba(250, 247, 237, 0.1); }
.plan--featured .plan__features li::before { color: var(--pistachio-bright); }

.plan__badge {
    position: absolute;
    top: -14px;
    right: 28px;
    background: var(--coral);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-coral);
}
.plan__name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--pistachio-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-style: italic;
}
.plan__price {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--ink);
}
.plan__price span { font-size: 52px; letter-spacing: -0.025em; }
.plan__price small { font-size: 14px; color: var(--ink-mute); font-weight: 500; margin-left: 4px; font-family: var(--font-body); }
.plan__lead { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin-bottom: 28px; }
.plan__features { margin-bottom: 28px; flex: 1; }
.plan__features li {
    padding: 10px 0 10px 24px;
    font-size: 14px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.plan__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pistachio-deep);
    font-weight: 800;
}
.plan__features li:last-child { border-bottom: none; }

/* ─────────── FAQ ─────────── */
.faq {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq[open] { border-color: var(--pistachio); box-shadow: var(--shadow-sm); }
.faq summary {
    padding: 22px 26px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--ink);
    font-family: var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 28px;
    color: var(--pistachio-deep);
    font-weight: 300;
    transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
    padding: 0 26px 22px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

/* ─────────── CTA ─────────── */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--ink);
    color: var(--bg-soft);
}
.cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.cta__bg .blob--1 { background: var(--pistachio-deep); opacity: 0.4; }
.cta__bg .blob--2 { background: var(--coral); opacity: 0.25; }
.cta__bg .blob--3 { background: var(--honey); opacity: 0.2; }

.cta__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 18px;
    color: #fff;
}
.cta__title em { font-style: italic; color: var(--pistachio-bright); }
.cta__sub {
    text-align: center;
    font-size: 17px;
    color: rgba(250, 247, 237, 0.8);
    margin-bottom: 44px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-form {
    display: grid;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(20px);
}
.cta-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form input, .cta-form select {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
}
.cta-form input:focus, .cta-form select:focus {
    outline: none;
    border-color: var(--pistachio-bright);
    background: rgba(255, 255, 255, 0.08);
}
.cta-form input::placeholder { color: rgba(250, 247, 237, 0.45); }
.cta-form select option { background: var(--ink); color: #fff; }
.cta-form .btn--primary { background: var(--pistachio); color: var(--ink); }
.cta-form .btn--primary:hover { background: var(--pistachio-bright); }
.cta-form__note { font-size: 12px; color: rgba(250, 247, 237, 0.55); text-align: center; margin-top: 6px; }

/* ─────────── Footer ─────────── */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 72px 0 24px; }
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}
.footer__col h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 18px; color: var(--ink); font-weight: 600; }
.footer__col a {
    display: block;
    font-size: 14px;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color 0.2s;
}
.footer__col a:hover { color: var(--pistachio-deep); }
.footer__about { color: var(--ink-soft); font-size: 14px; max-width: 320px; margin-top: 18px; line-height: 1.55; }
.footer__bar {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: var(--ink-mute);
    font-size: 13px;
}

/* ─────────── Reveal animations ─────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .blob, .pulse, .dot, .video-mock__wave span, .logo__mark, .solution-band__icon, .compo-card--gear { animation: none; }
}

/* ─────────── Responsive ─────────── */
@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__compo { height: 460px; max-width: 540px; margin: 0 auto; }
    .nav__menu { display: none; }
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .conveyor { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .conveyor__line { display: none; }
    .pricing, .showcase, .testimonials, .footer__inner { grid-template-columns: 1fr; }
    .hero__metrics { grid-template-columns: repeat(2, 1fr); }
    .hero__metrics .metric:nth-child(2) { border-right: none; }
    .plan--featured { transform: none; }
    .plan--featured:hover { transform: translateY(-6px); }
}
@media (max-width: 640px) {
    .section { padding: 80px 0; }
    .hero { padding: 32px 0 60px; }
    .nav__inner { gap: 12px; height: 64px; }
    .nav__actions .btn--ghost { display: none; }
    .problems { grid-template-columns: 1fr; }
    .agents-grid { grid-template-columns: 1fr; }
    .hero__metrics { grid-template-columns: 1fr; }
    .hero__metrics .metric { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
    .hero__metrics .metric:last-child { border-bottom: none; }
    .solution-band { flex-direction: column; text-align: center; padding: 28px 24px; }
    .cta-form__row { grid-template-columns: 1fr; }
    .footer__bar { flex-direction: column; gap: 8px; text-align: center; }
    .compo-card--main { width: 240px; }
    .compo-card--video { width: 170px; }
    .compo-card--analytics { width: 220px; }
    .marquee__track { gap: 24px; }
    .marquee__item { font-size: 16px; }
}
