:root {
    --navy: #0B1326;
    --navy-deep: #060E20;
    --blue: #4F46E5;
    --blue-bright: #6366F1;
    --cyan: #7175FF;
    --teal: #9D73FF;
    --aqua: #C7D2FE;
    --blue-soft: #F2F5FA;
    --cyan-soft: #EEF2F8;
    --white: #FFFFFF;
    --text: #111827;
    --text-soft: #536179;
    --border: rgba(15, 23, 42, .11);
    --surface: rgba(255, 255, 255, .96);
    --surface-muted: #F7F8FC;
    --surface-alt: #F2F5FA;
    --shadow-sm: 0 12px 28px rgba(39, 48, 72, .08);
    --shadow-lg: 0 24px 60px rgba(39, 48, 72, .12);
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-hero: 32px;
    --container: 1180px;
    --section-space: clamp(72px, 9vw, 120px);
    --gradient-primary: linear-gradient(90deg, #4338CA, #6D68F0);
    --gradient-secondary: linear-gradient(135deg, #7175FF, #9D73FF);
    --transition: 180ms ease;
}

:root[data-theme="dark"] {
    --text: #F8FAFC;
    --text-soft: #94A3B8;
    --border: rgba(255, 255, 255, .08);
    --surface: rgba(24, 33, 56, .96);
    --surface-muted: #131B2E;
    --surface-alt: #182138;
    --blue-soft: #131B2E;
    --cyan-soft: #0F172A;
    --shadow-sm: 0 16px 30px rgba(0, 0, 0, .22);
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 80% 15%, rgba(99, 102, 241, .08), transparent 34%),
        radial-gradient(circle at 10% 0%, rgba(157, 115, 255, .08), transparent 28%),
        var(--cyan-soft);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
main { display: block; }
body.menu-open { overflow: hidden; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -44px;
    left: 20px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    transition: top var(--transition);
}

.skip-link:focus { top: 20px; }
.site-shell { overflow: hidden; }
.shell-container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; padding: 0; }
.content-section,
.hero-section,
.channel-strip,
.final-cta-section,
.subpage-hero { padding: var(--section-space) 0; }
.surface-muted { background: linear-gradient(180deg, rgba(247, 248, 252, .72), rgba(255, 255, 255, .96)); }

.section-heading { display: flex; flex-direction: column; gap: 14px; }
.section-heading.center { max-width: 760px; margin: 0 auto 44px; text-align: center; align-items: center; justify-self: center; }
.section-heading h1,
.section-heading h2,
.hero-copy h1,
.subpage-hero h1,
.legal-card h1 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.03;
}
.hero-copy h1 { font-size: clamp(42px, 6vw, 72px); }
.section-heading h2,
.subpage-hero h1,
.legal-card h1 { font-size: clamp(32px, 4vw, 52px); }
.section-heading p,
.hero-copy p,
.subpage-hero p,
.summary-panel p,
.feature-card p,
.pricing-card p,
.testimonial-card p,
.legal-card p,
.legal-card li,
.pipeline-card p,
.integration-card p,
.use-case-card p,
.faq-stack p {
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.72;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .18);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.button,
.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.button:hover,
.nav-login:hover { transform: translateY(-1px); }
.button-primary { background: var(--gradient-primary); box-shadow: 0 10px 25px rgba(99, 102, 241, .23); color: #fff; }
.button-secondary { background: rgba(255, 255, 255, .88); border-color: var(--border); color: var(--blue); }
.button-large { min-height: 54px; padding: 0 28px; }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; }

.marketing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: padding var(--transition), background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.marketing-header.is-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 24px rgba(7, 59, 118, .08);
}
:root[data-theme="dark"] .marketing-header.is-scrolled { background: rgba(7, 26, 52, .86); }

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    background: rgba(255, 255, 255, .54);
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}
:root[data-theme="dark"] .header-inner { background: rgba(7, 26, 52, .74); border-color: var(--border); }

.brand-mark-wrap { display: none; }
.brand-link { display: inline-flex; align-items: center; gap: 0; min-width: 0; }
.brand-link:hover { text-decoration: none; }
.brand-logo {
    height: clamp(56px, 7vw, 96px);
    width: auto;
    max-width: min(42vw, 320px);
    display: block;
    object-fit: contain;
}
[data-theme="dark"] .brand-logo { content: url('/images/dark.png'); }
@media (max-width: 900px) {
    .brand-logo {
        height: clamp(48px, 12vw, 84px);
        max-width: 54vw;
    }
}
.brand-wordmark {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(24px, 2vw, 30px);
    letter-spacing: -.05em;
    line-height: 1;
    color: var(--navy);
}
:root[data-theme="dark"] .brand-wordmark { color: #fff; }
.brand-wordmark small { font-size: .52em; font-weight: 700; letter-spacing: -.03em; color: var(--text-soft); }
.footer-brand .brand-wordmark { font-size: 28px; }

.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; min-width: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-weight: 600; white-space: nowrap; }
.nav-button { padding: 0; border: 0; background: transparent; }
.mega-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 18px);
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    min-width: 430px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
}
:root[data-theme="dark"] .mega-menu { background: rgba(7, 26, 52, .98); }
.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu,
.has-mega-menu.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu a {
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(239, 248, 255, .8), rgba(241, 255, 255, .9));
    font-weight: 600;
    color: var(--text);
}
:root[data-theme="dark"] .mega-menu a { background: rgba(8, 34, 71, .92); }

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid var(--border);
}
:root[data-theme="dark"] .lang-switch { background: rgba(8, 34, 71, .9); }
.lang-switch a { padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--text-soft); }
.lang-switch a.active { background: var(--gradient-primary); color: #fff; }
.lang-switch.compact a { padding: 6px 10px; }
.icon-button,
.mobile-menu-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .85);
    display: grid;
    place-items: center;
    color: var(--navy);
    cursor: pointer;
}
:root[data-theme="dark"] .icon-button,
:root[data-theme="dark"] .mobile-menu-button { background: rgba(8, 34, 71, .9); color: #fff; }
.mobile-menu-button,
.mobile-drawer { display: none; }
.nav-login { color: var(--text); }

.hero-grid,
.two-column-section,
.subpage-hero-inner,
.pricing-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
    gap: 44px;
    align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-caption { font-size: 14px; font-weight: 600; color: var(--text-soft); }
.hero-kpis,
.kpi-grid,
.analytics-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hero-kpis div,
.kpi-grid article,
.analytics-kpis article {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .hero-kpis div,
:root[data-theme="dark"] .kpi-grid article,
:root[data-theme="dark"] .analytics-kpis article { background: rgba(8, 34, 71, .92); }
.hero-kpis strong,
.kpi-grid strong,
.analytics-kpis strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 28px; }
.hero-kpis span,
.kpi-grid span,
.analytics-kpis span { display: block; margin-top: 6px; color: var(--text-soft); font-size: 14px; }

.hero-visual { position: relative; min-height: 720px; }
.river-flow {
    position: absolute;
    inset: auto 0 140px 20%;
    height: 220px;
    background: radial-gradient(circle at 12% 50%, rgba(34, 211, 197, .52), transparent 24%), linear-gradient(90deg, rgba(23, 198, 232, .5), rgba(34, 211, 197, .12));
    filter: blur(10px);
    border-radius: 140px;
    transform: skewX(-14deg);
}
.river-flow-top { top: 80px; bottom: auto; left: 0; right: 10%; height: 180px; opacity: .8; }
.channel-orbit { position: absolute; inset: 0; }
.channel-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    color: var(--navy);
}
:root[data-theme="dark"] .channel-badge { background: rgba(8, 34, 71, .96); color: #fff; }
.channel-badge .material-symbols-outlined { color: var(--blue); font-size: 22px; }
.badge-0 { top: 0; left: 20%; }
.badge-1 { top: 28px; left: 44%; }
.badge-2 { top: 10px; right: 18%; }
.badge-3 { top: 148px; right: 2%; }
.badge-4 { top: 86px; left: 4%; }
.badge-5 { top: 190px; left: 14%; }
.badge-6 { top: 244px; right: 16%; }
.badge-7 { top: 264px; left: 42%; }
.hero-device-stack { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: end; }

.floating-card,
.panel-mockup,
.pricing-card,
.summary-panel,
.analytics-panel,
.legal-card,
.template-card,
.integration-card,
.testimonial-card,
.feature-card,
.use-case-card,
.contact-grid .feature-card,
.pipeline-card,
.table-panel,
.profile-card-large,
.whatsapp-grid article,
.workflow-node,
.builder-node,
.bot-float-card,
.faq-stack article {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.phone-mockup { padding: 18px; border-radius: 34px; transform: translateY(12px); }
.dashboard-mockup { padding: 18px; }
.mockup-header,
.dashboard-topbar,
.profile-header-large,
.mobile-drawer-header,
.footer-bottom,
.footer-bottom-actions,
.footer-socials,
.legal-actions,
.channel-strip-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.mockup-header,
.dashboard-topbar,
.profile-header-large,
.mobile-drawer-header,
.footer-bottom,
.footer-bottom-actions,
.channel-strip-inner { justify-content: space-between; }
.mockup-header div,
.profile-header-large div { display: flex; flex-direction: column; }
.dashboard-status,
.pipeline-stage,
.template-label,
.status-pill,
.pricing-plan,
.legal-updated {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(23, 198, 232, .12);
    border: 1px solid rgba(23, 198, 232, .22);
    color: var(--text-soft);
    font-size: 13px;
}
.chat-thread { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.chat-thread.compact { margin-top: 22px; }
.message { width: max-content; max-width: 88%; padding: 14px 16px; border-radius: 18px; font-size: 14px; line-height: 1.5; }
.bubble-in { background: var(--blue-soft); color: var(--text); }
.bubble-out { margin-left: auto; background: var(--gradient-primary); color: #fff; }
.bubble-out.accent { background: var(--gradient-secondary); color: var(--navy-deep); }

.dashboard-body,
.panel-mockup.inbox-panel { display: grid; grid-template-columns: 170px 180px 1fr 180px; gap: 14px; margin-top: 18px; }
.dashboard-sidebar,
.panel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: var(--navy);
    color: rgba(255, 255, 255, .8);
}
.dashboard-sidebar span,
.panel-sidebar span { padding: 12px 14px; border-radius: 14px; }
.dashboard-sidebar span.active,
.panel-sidebar span.active { background: rgba(255, 255, 255, .14); color: #fff; }
.dashboard-conversations,
.panel-list,
.pipeline-board,
.workflow-builder,
.workflow-list,
.faq-stack { display: grid; gap: 16px; }
.conversation-pill,
.list-row {
    padding: 14px;
    border-radius: 18px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
}
.dashboard-chat,
.panel-chat {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(239, 248, 255, .86), rgba(241, 255, 255, .98));
    border: 1px solid var(--border);
}
:root[data-theme="dark"] .dashboard-chat,
:root[data-theme="dark"] .panel-chat { background: linear-gradient(180deg, rgba(8, 34, 71, .86), rgba(9, 41, 65, .98)); }
.dashboard-profile,
.panel-profile { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid var(--border); }
:root[data-theme="dark"] .dashboard-profile,
:root[data-theme="dark"] .panel-profile { background: rgba(8, 34, 71, .78); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span,
.template-actions span,
.automation-sequence div,
.flow-sequence div,
.mobile-nav a,
.channel-strip-list span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 59, 118, .06);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}
:root[data-theme="dark"] .tag-row span,
:root[data-theme="dark"] .template-actions span,
:root[data-theme="dark"] .automation-sequence div,
:root[data-theme="dark"] .flow-sequence div,
:root[data-theme="dark"] .mobile-nav a,
:root[data-theme="dark"] .channel-strip-list span { color: #fff; background: rgba(8, 34, 71, .94); }
.hero-fish-wrap { position: absolute; left: -40px; top: 120px; width: 240px; opacity: .96; }

.channel-strip { padding-top: 0; }
.channel-strip-inner {
    padding: 22px 28px;
    border-radius: 26px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-sm);
}
.channel-strip-inner p { margin: 0; font-weight: 800; }
.channel-strip-list { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.feature-card-grid,
.integration-grid,
.use-case-grid,
.testimonial-grid,
.templates-grid,
.whatsapp-grid,
.contact-grid,
.pricing-grid {
    display: grid;
    gap: 22px;
}
.feature-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { padding: 24px; }
.feature-card h3,
.use-case-card h2,
.faq-stack h3,
.pricing-card h2,
.legal-card h2,
.integration-card h3,
.testimonial-card strong,
.summary-panel strong,
.pipeline-card h3,
.template-card h3 {
    margin: 0 0 12px;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 22px;
    letter-spacing: -.03em;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--gradient-primary);
    color: #fff;
}
.check-list { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-soft); line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; top: 8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gradient-secondary); }
.metric-banner { padding: 22px; border-radius: 20px; background: var(--gradient-primary); color: #fff; }
.metric-banner strong,
.metric-banner span { display: block; }
.whatsapp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.whatsapp-grid article,
.workflow-node,
.builder-node,
.bot-float-card,
.faq-stack article { padding: 18px; }
.workflow-node { display: flex; align-items: center; gap: 14px; }
.workflow-node span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-primary); color: #fff; font-weight: 800; }
.bot-stage { position: relative; min-height: 500px; border-radius: var(--radius-hero); padding: 40px; background: linear-gradient(180deg, rgba(7, 59, 118, .06), rgba(23, 198, 232, .12)); border: 1px solid var(--border); }
.bot-stage-fish { position: absolute; left: 32px; top: 24px; }
.bot-center-card { position: absolute; inset: 110px 72px auto; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.bot-center-card h3 { margin: 0 0 12px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 30px; }
.bot-center-card p { margin: 0 0 16px; color: var(--text-soft); }
.bot-float-card { position: absolute; font-weight: 700; }
.card-top { top: 42px; right: 38px; }
.card-right { top: 200px; right: 16px; }
.card-bottom { bottom: 26px; left: 56px; }
.kpi-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.table-panel { padding: 18px; overflow: auto; }

.table-panel table { width: 100%; border-collapse: collapse; }
.table-panel th,
.table-panel td { padding: 16px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.table-panel th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); }
.table-panel td { font-size: 15px; }
.status-pill.success { background: rgba(22, 199, 154, .14); }
.automation-sequence,
.flow-sequence { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pipeline-card { padding: 22px; }
.pipeline-card dl,
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pipeline-card dd { margin: 6px 0 0; font-weight: 700; }
.pipeline-card dt,
.profile-grid strong { color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.profile-card-large { padding: 26px; }
.avatar-circle { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-primary); color: #fff; font-size: 22px; font-weight: 800; }
.profile-header-large > div { margin-right: auto; }
.profile-grid { margin-top: 22px; }
.profile-grid span { display: block; margin-top: 6px; font-weight: 700; }
.profile-history { margin-top: 20px; padding: 18px; border-radius: 18px; background: var(--surface-alt); color: var(--text-soft); }
.templates-grid { grid-template-columns: 1fr 1fr; }
.template-card { padding: 24px; }
.template-card.alt { transform: translateY(36px); }
.template-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.analytics-panel { padding: 24px; }
.chart-area { margin-top: 18px; padding: 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(239, 248, 255, .8), rgba(241, 255, 255, .95)); border: 1px solid var(--border); }
:root[data-theme="dark"] .chart-area { background: linear-gradient(180deg, rgba(8, 34, 71, .86), rgba(9, 41, 65, .98)); }
.chart-line {
    height: 120px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, transparent 0%, rgba(34, 211, 197, .18) 100%),
        radial-gradient(circle at 18% 76%, rgba(34, 211, 197, .9) 0 6px, transparent 7px),
        radial-gradient(circle at 36% 58%, rgba(26, 167, 255, .9) 0 6px, transparent 7px),
        radial-gradient(circle at 54% 64%, rgba(26, 167, 255, .9) 0 6px, transparent 7px),
        radial-gradient(circle at 72% 32%, rgba(34, 211, 197, .9) 0 6px, transparent 7px),
        radial-gradient(circle at 90% 16%, rgba(7, 59, 118, .9) 0 6px, transparent 7px);
}
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 120px; margin-top: 18px; }
.chart-bars span { flex: 1; border-radius: 999px 999px 8px 8px; background: var(--gradient-primary); }
.leaderboard-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--text-soft); }
.integration-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.integration-card,
.testimonial-card,
.use-case-card,
.summary-panel,
.pricing-card { padding: 24px; }
.use-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-case-card { font-weight: 700; }
.section-cta-inline { display: flex; justify-content: center; margin-top: 22px; }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-card strong,
.testimonial-card span { display: block; }
.testimonial-card span { margin-top: 8px; color: var(--text-soft); }
.pricing-teaser { padding: 34px; border-radius: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .94)); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.pricing-card { display: flex; flex-direction: column; gap: 14px; }
.price-callout { font-size: 30px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-weight: 800; }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-card.featured { background: linear-gradient(180deg, rgba(8, 126, 245, .08), rgba(34, 211, 197, .08)); }
.final-cta-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.final-cta-card h2,
.final-cta-card p,
.final-cta-card .section-chip { color: inherit; }
.final-cta-card .section-chip { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .22); }
.subpage-hero { padding-top: 28px; }
.subpage-hero-inner.single-column { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 840px; }
.anchor-grid { align-items: stretch; }
.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legal-section { padding-top: 40px; }
.legal-card { max-width: 860px; margin: 0 auto; padding: 34px; }
.legal-brand { margin-bottom: 26px; }
.legal-card section + section { margin-top: 22px; }
.legal-card ul { margin: 8px 0 0; padding-left: 20px; color: var(--text-soft); }
.legal-actions { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.marketing-footer { padding: 0 0 48px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 24px;
    padding: 34px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
:root[data-theme="dark"] .footer-grid { background: rgba(7, 26, 52, .95); }
.footer-grid h2 { margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid li a,
.footer-socials a,
.footer-bottom p { color: var(--text-soft); font-weight: 600; }
.footer-brand-column p { margin: 18px 0; color: var(--text-soft); max-width: 340px; }
.footer-company-info {
    font-size: .95rem;
    line-height: 1.7;
    font-weight: 600;
}
.footer-bottom { justify-content: space-between; padding: 20px 8px 0; }

.mobile-drawer {
    position: absolute;
    inset: calc(100% + 12px) 0 auto auto;
    width: min(360px, 100%);
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
:root[data-theme="dark"] .mobile-drawer { background: rgba(7, 26, 52, .98); }
.mobile-drawer[hidden] { display: none !important; }
.mobile-nav { display: grid; gap: 12px; margin-top: 16px; }
.mobile-nav a { padding: 14px 16px; border-radius: 16px; }

@media (max-width: 1100px) {
    .header-inner { grid-template-columns: auto auto; }
    .desktop-nav { display: none; }
    .mobile-menu-button { display: grid; }
    .header-actions > .button,
    .header-actions > .nav-login { display: none; }
    .mobile-drawer { display: block; }
    .feature-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .integration-grid,
    .pricing-grid,
    .testimonial-grid,
    .contact-grid,
    .use-case-grid,
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid,
    .two-column-section,
    .subpage-hero-inner,
    .pricing-teaser { grid-template-columns: 1fr; }
    .hero-visual { min-height: 920px; }
    .dashboard-body,
    .panel-mockup.inbox-panel { grid-template-columns: 1fr 1fr; }
    .panel-profile,
    .dashboard-profile { grid-column: span 2; }
    .final-cta-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 860px) {
    .marketing-header { padding: 14px 0; }
    .header-inner { grid-template-columns: auto 1fr; justify-items: stretch; padding: 10px 16px; border-radius: 26px; }
    .brand-link { justify-content: flex-start; }
    .header-actions { justify-self: end; justify-content: flex-end; }
    .lang-switch { display: none; }
    .hero-visual { min-height: 820px; }
    .hero-device-stack { grid-template-columns: 1fr; }
    .phone-mockup { max-width: 280px; }
    .hero-kpis,
    .kpi-grid.compact,
    .analytics-kpis,
    .templates-grid,
    .whatsapp-grid,
    .integration-grid,
    .pricing-grid,
    .testimonial-grid,
    .contact-grid,
    .use-case-grid,
    .compact-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .dashboard-body,
    .panel-mockup.inbox-panel,
    .pipeline-card dl,
    .profile-grid { grid-template-columns: 1fr; }
    .panel-profile,
    .dashboard-profile { grid-column: auto; }
    .hero-actions.stacked-mobile,
    .footer-bottom,
    .footer-bottom-actions,
    .channel-strip-inner { flex-direction: column; align-items: flex-start; }
    .channel-strip-inner { padding: 20px; }
    .hero-fish-wrap { position: relative; left: 0; top: 0; margin: 0 auto 20px; width: 180px; }
    .bot-center-card { position: relative; inset: auto; padding: 24px; }
    .bot-float-card,
    .bot-stage-fish { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
    .bot-stage { display: grid; gap: 14px; min-height: auto; }
    .template-card.alt { transform: none; }
}

@media (max-width: 640px) {
    .shell-container { width: min(calc(100% - 20px), var(--container)); }
    .hero-section,
    .content-section,
    .channel-strip,
    .final-cta-section,
    .subpage-hero { padding: 58px 0; }
    .section-chip { font-size: 11px; }
    .button,
    .nav-login { width: 100%; }
    .hero-actions { align-items: stretch; }
    .hero-visual { min-height: 720px; }
    .channel-badge { padding: 8px 10px; font-size: 12px; }
    .channel-badge span:last-child { display: none; }
    .badge-0 { left: 0; }
    .badge-1 { left: 32%; }
    .badge-2 { right: 0; }
    .badge-3 { top: 150px; right: 0; }
    .badge-4 { top: 110px; left: 0; }
    .badge-5 { top: 220px; left: 8%; }
    .badge-6 { top: 250px; right: 14%; }
    .badge-7 { top: 300px; left: 36%; }
    .brand-wordmark { font-size: 24px; }
    .legal-card,
    .pricing-teaser,
    .final-cta-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .river-flow { filter: none; }
}

@keyframes drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card,
.channel-badge,
.hero-fish-wrap img { animation: drift 7s ease-in-out infinite; }
.channel-badge:nth-child(even),
.hero-fish-wrap img { animation-duration: 9s; }
