/* ─────────────────────────────────────────────────── */
/* VARIABLES & RESET                                   */
/* ─────────────────────────────────────────────────── */
:root {
    --indigo:     #6366f1;
    --indigo-dark:#4f46e5;
    --amber:      #f59e0b;
    --dark:       #0f172a;
    --gray:       #64748b;
    --light:      #f8fafc;
    --white:      #ffffff;
    --green:      #10b981;
    --red:        #ef4444;
    --border:     #e2e8f0;
    --shadow:     0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
    --radius:     12px;
    --radius-lg:  20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─────────────────────────────────────────────────── */
/* LAYOUT                                              */
/* ─────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }

/* ─────────────────────────────────────────────────── */
/* TYPOGRAPHY                                          */
/* ─────────────────────────────────────────────────── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--indigo);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────────────── */
/* BUTTONS                                             */
/* ─────────────────────────────────────────────────── */
.btn-primary {
    background: var(--indigo);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary:hover {
    background: var(--indigo-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-ghost:hover { border-color: var(--dark); background: var(--light); }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ─────────────────────────────────────────────────── */
/* CARD                                                */
/* ─────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.25s;
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────── */
/* PATTERNS & ANIMATIONS                               */
/* ─────────────────────────────────────────────────── */
.dot-grid {
    background-color: #f8fafc;
    background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.float-animation { animation: float 4s ease-in-out infinite; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

@keyframes ticker-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes ticker-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.ticker-left  { animation: ticker-left  20s linear infinite; }
.ticker-right { animation: ticker-right 20s linear infinite; }

/* ─────────────────────────────────────────────────── */
/* NAVBAR                                              */
/* ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.nav-brand svg {
    display: block;
}

.nav-brand-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-left: 6px;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.15s;
}
.nav-links a:hover { color: var(--dark); background: var(--light); }

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px; right: -100%;
    width: 280px;
    height: calc(100vh - 68px);
    background: var(--white);
    border-left: 1px solid var(--border);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu ul a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--dark);
    transition: background 0.15s;
}
.mobile-menu ul a:hover { background: var(--light); }
.mobile-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.mobile-actions .btn-ghost,
.mobile-actions .btn-primary { justify-content: center; }

/* ─────────────────────────────────────────────────── */
/* HERO                                                */
/* ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: 68px;
    display: flex;
    align-items: center;
}
.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 4rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ede9fe;
    color: #5b21b6;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd6fe;
}

.hero-h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.hero-logos { display: flex; flex-direction: column; gap: 0.5rem; }
.logos-label { font-size: 0.75rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }
.logos-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
}
.logos-row span { font-weight: 700; color: #64748b; }
.logos-row .dot { color: #cbd5e1; }

/* Brain Card */
.brain-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(99,102,241,0.5);
    box-shadow: 0 0 0 1px rgba(99,102,241,0.2), 0 0 40px rgba(99,102,241,0.15), var(--shadow-lg);
    position: relative;
}

.brain-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brain-card-title { display: flex; align-items: center; gap: 12px; }
.brain-icon { font-size: 1.5rem; }
.brain-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.brain-id { font-size: 0.72rem; color: #64748b; letter-spacing: 0.08em; margin-top: 2px; }
.brain-live {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 600; color: var(--green);
    background: rgba(16,185,129,0.1);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(16,185,129,0.3);
}
.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.dept-cards { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1rem; }
.dept-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    cursor: pointer;
}
.dept-card:hover { background: rgba(255,255,255,0.08); }
.dept-left { display: flex; align-items: center; gap: 10px; }
.dept-icon { font-size: 1rem; }
.dept-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.dept-updated { font-size: 0.68rem; color: #64748b; margin-top: 1px; }
.dept-right { display: flex; align-items: center; gap: 10px; }
.dept-value { font-size: 0.8rem; font-weight: 700; color: #cbd5e1; }

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.green { background: var(--green); box-shadow: 0 0 6px rgba(16,185,129,0.6); }
.status-dot.amber { background: var(--amber); box-shadow: 0 0 6px rgba(245,158,11,0.6); }
.status-dot.red   { background: var(--red);   box-shadow: 0 0 6px rgba(239,68,68,0.6); }

.brain-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
}
.alert-icon { font-size: 0.9rem; flex-shrink: 0; }
.alert-text { font-size: 0.78rem; font-weight: 600; color: #fca5a5; }
.alert-link { font-size: 0.7rem; color: #94a3b8; margin-top: 2px; }

/* ─────────────────────────────────────────────────── */
/* PROBLEM STATEMENT                                   */
/* ─────────────────────────────────────────────────── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.problem-card { padding: 2rem; }
.problem-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.problem-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--dark); }
.problem-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; }

.problem-transition { text-align: center; padding-top: 1rem; }
.transition-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
    color: var(--white);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

/* ─────────────────────────────────────────────────── */
/* HOW IT WORKS — TIMELINE                             */
/* ─────────────────────────────────────────────────── */
.timeline { margin-top: 4rem; position: relative; }
.timeline-track {
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--indigo));
    border-radius: 2px;
    z-index: 0;
}
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.timeline-step { text-align: center; padding: 0 0.5rem; }
.step-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--white);
    border: 2px solid var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(245,158,11,0.2);
    position: relative;
    z-index: 2;
}
.step-number { font-size: 0.7rem; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.step-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.step-desc { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }

/* ─────────────────────────────────────────────────── */
/* INTEGRATIONS — CATEGORY GRID                        */
/* ─────────────────────────────────────────────────── */
.integrations-section { padding: 100px 0; }

.int-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 0;
}

.int-category {}

.int-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.int-cat-icon { font-size: 1rem; }

.int-cat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.int-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 1.25rem;
}

.int-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.int-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 160px;
}

.int-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.int-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.int-logo-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.int-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
}

.int-connect-badge {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--green);
    background: rgba(16,185,129,0.1);
    padding: 2px 7px;
    border-radius: 100px;
    border: 1px solid rgba(16,185,129,0.25);
    margin-left: auto;
    white-space: nowrap;
}

.int-request-row {
    text-align: center;
    padding-top: 1rem;
}

.int-request-row p {
    font-size: 0.9rem;
    color: #64748b;
}

.int-request-link {
    color: #818cf8;
    font-weight: 600;
    transition: color 0.15s;
}

.int-request-link:hover { color: #a5b4fc; }

/* ─────────────────────────────────────────────────── */
/* FEATURE TABS                                        */
/* ─────────────────────────────────────────────────── */
.feature-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 3rem;
    margin-top: 3rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 0;
}
.feature-tabs::-webkit-scrollbar { display: none; }

.features-tab {
    padding: 12px 20px;
    border: none;
    border-radius: 8px 8px 0 0;
    background: none;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.features-tab:hover { color: var(--dark); background: var(--light); }
.features-tab.active {
    color: var(--indigo);
    border-bottom-color: var(--indigo);
    background: rgba(99,102,241,0.05);
}

.feature-panel { display: none; }
.feature-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.feature-intro {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray);
    padding-left: 1.5rem;
    position: relative;
}
.feature-bullets li::before {
    content: '→';
    color: var(--indigo);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ─────────────────────────────────────────────────── */
/* MOCKUP CARDS                                        */
/* ─────────────────────────────────────────────────── */
.mockup-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.07);
}
.mockup-bar {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mock-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-dot.r { background: #ef4444; }
.mock-dot.y { background: #f59e0b; }
.mock-dot.g { background: #10b981; }
.mock-title { font-size: 0.75rem; font-weight: 600; color: #64748b; margin-left: 4px; }
.mockup-body { padding: 1.25rem; }

/* Company Brain Mockup */
.mock-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}
.mock-dept-tile {
    border-radius: 8px;
    padding: 0.875rem;
    border: 1px solid rgba(255,255,255,0.06);
}
.green-tile { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); }
.amber-tile { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }
.red-tile   { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.2); }

.mock-dept-name { font-size: 0.7rem; color: #64748b; font-weight: 600; margin-bottom: 4px; }
.mock-dept-val  { font-size: 0.92rem; font-weight: 800; color: var(--white); margin-bottom: 3px; }
.mock-dept-sub  { font-size: 0.65rem; color: #64748b; }

.mock-alert-bar {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 7px;
    padding: 0.625rem 0.875rem;
    font-size: 0.72rem;
    color: #fca5a5;
    font-weight: 600;
}

/* Upload Mockup */
.upload-zone {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.upload-zone:hover { border-color: var(--indigo); background: rgba(99,102,241,0.05); }
.upload-zone-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.upload-zone-text { font-size: 0.85rem; font-weight: 600; color: #cbd5e1; }
.upload-zone-sub  { font-size: 0.72rem; color: #64748b; margin-top: 4px; }

.detect-card {
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 10px;
    padding: 1rem;
}
.detect-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.detect-badge { font-size: 0.7rem; font-weight: 700; color: var(--green); }
.detect-conf  { font-size: 0.7rem; color: #64748b; }
.detect-type  { font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.detect-cols  { display: flex; flex-wrap: wrap; gap: 5px; }
.col-tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Dashboard Mockup */
.mock-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.625rem; margin-bottom: 1rem; }
.mock-kpi { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 0.75rem; text-align: center; }
.mock-kpi-val { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.mock-kpi-val.green { color: var(--green); }
.mock-kpi-val.red   { color: var(--red); }
.mock-kpi-name { font-size: 0.65rem; color: #64748b; margin-top: 3px; }

.mock-chart-area { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 0.875rem; }
.mock-chart-label { font-size: 0.72rem; color: #64748b; font-weight: 600; margin-bottom: 0.75rem; }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mock-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.mock-bar-bg { flex: 1; width: 100%; background: rgba(255,255,255,0.04); border-radius: 4px; display: flex; align-items: flex-end; overflow: hidden; }
.mock-bar-fill { width: 100%; background: linear-gradient(180deg, var(--indigo), var(--indigo-dark)); border-radius: 4px 4px 0 0; transition: height 0.3s; }
.amber-fill { background: linear-gradient(180deg, var(--amber), #d97706); }
.mock-bar-label { font-size: 0.62rem; color: #64748b; }

/* Forecast Mockup */
.forecast-insight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
}
.forecast-emoji { font-size: 1.25rem; flex-shrink: 0; }
.forecast-verdict { font-size: 0.82rem; font-weight: 700; color: var(--white); }
.forecast-conf   { font-size: 0.68rem; color: #64748b; margin-top: 2px; }
.forecast-chart  { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 0.875rem; }
.forecast-chart-label { font-size: 0.72rem; color: #64748b; font-weight: 600; margin-bottom: 0.75rem; }
.forecast-line-wrap { margin-bottom: 0.5rem; }
.forecast-svg { width: 100%; height: 100px; }
.forecast-legend { display: flex; gap: 1rem; }
.leg-item { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; color: #64748b; }
.leg-line { display: inline-block; width: 20px; height: 2px; border-radius: 1px; }
.solid { background: var(--indigo); }
.dashed { background: none; border-top: 2px dashed var(--indigo); }
.green-line { background: var(--green); }

/* Chat Mockup */
.chat-body { padding: 0; display: flex; flex-direction: column; height: 340px; }
.chat-messages { flex: 1; overflow: hidden; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg { max-width: 85%; font-size: 0.78rem; line-height: 1.5; padding: 0.6rem 0.875rem; border-radius: 10px; }
.user-msg { background: var(--indigo); color: var(--white); align-self: flex-end; border-radius: 10px 10px 2px 10px; font-weight: 500; }
.ai-msg { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; align-self: flex-start; border-radius: 10px 10px 10px 2px; }
.ai-label { font-size: 0.65rem; font-weight: 700; color: var(--indigo); margin-bottom: 4px; }

.ai-chart-mini { margin-top: 0.625rem; background: rgba(255,255,255,0.03); border-radius: 6px; padding: 0.5rem; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.mini-bar-w { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; }
.mini-bar { width: 100%; background: var(--indigo); border-radius: 2px 2px 0 0; opacity: 0.7; }
.red-bar { background: var(--red); opacity: 0.9; }
.mini-bl { font-size: 0.55rem; color: #64748b; }

.chat-input-bar { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.chat-input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 12px; font-size: 0.78rem; color: #64748b; font-family: inherit; outline: none; }
.chat-send { background: var(--indigo); color: var(--white); border: none; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.chat-send:hover { background: var(--indigo-dark); }

/* ─────────────────────────────────────────────────── */
/* METRICS                                             */
/* ─────────────────────────────────────────────────── */
.metrics-section {
    background: linear-gradient(135deg, var(--indigo-dark), var(--indigo));
    padding: 100px 0;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}
.metric-value {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.metric-label { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

.testimonial-featured {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: rgba(255,255,255,0.15);
    font-family: Georgia, serif;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
}
blockquote { font-size: 1.15rem; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; justify-content: center; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ─────────────────────────────────────────────────── */
/* INDUSTRY USE CASES                                  */
/* ─────────────────────────────────────────────────── */
.industry-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 3rem;
    margin-top: 3rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.industry-tabs::-webkit-scrollbar { display: none; }

.industry-tab {
    padding: 12px 20px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s;
}
.industry-tab:hover { color: var(--dark); background: var(--light); }
.industry-tab.active { color: var(--indigo); border-bottom-color: var(--indigo); background: rgba(99,102,241,0.05); }

.industry-panel { display: none; }
.industry-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.08);
    color: var(--indigo);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(99,102,241,0.15);
}

.industry-left h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.3; }
.industry-left p  { color: var(--gray); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.25rem; }

.kpi-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.kpi-pill {
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

.industry-quote {
    background: var(--light);
    border-left: 3px solid var(--indigo);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: var(--dark);
    font-style: italic;
    line-height: 1.6;
}
.iq-stars { color: var(--amber); font-size: 0.8rem; margin-bottom: 6px; }
.iq-author { font-size: 0.78rem; color: var(--gray); font-style: normal; margin-top: 8px; font-weight: 600; }

.industry-mockup {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.ind-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}
.ind-kpi {
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 1px solid;
}
.green-kpi { background: rgba(16,185,129,0.06);  border-color: rgba(16,185,129,0.2); }
.amber-kpi { background: rgba(245,158,11,0.06);  border-color: rgba(245,158,11,0.2); }
.red-kpi   { background: rgba(239,68,68,0.06);   border-color: rgba(239,68,68,0.2); }
.ind-kpi-val  { font-size: 1.25rem; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.ind-kpi-name { font-size: 0.7rem;  color: var(--gray); font-weight: 600; }

/* ─────────────────────────────────────────────────── */
/* TESTIMONIALS                                        */
/* ─────────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; }
.stars { color: var(--amber); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--gray); font-size: 0.93rem; line-height: 1.65; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 0.875rem; margin-top: auto; }
.person-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.person-name { font-weight: 700; font-size: 0.88rem; }
.person-role { font-size: 0.75rem; color: var(--gray); margin-top: 2px; }

/* ─────────────────────────────────────────────────── */
/* PRICING                                             */
/* ─────────────────────────────────────────────────── */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.toggle-label { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border);
    border-radius: 100px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px; width: 20px;
    left: 3px; bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.toggle-switch input:checked + .toggle-slider { background: var(--indigo); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

.save-badge {
    background: var(--amber);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 2rem;
}
.pricing-featured {
    border: 2px solid var(--indigo);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1), var(--shadow-lg);
    transform: scale(1.02);
}
.pricing-featured:hover { transform: scale(1.04) translateY(-2px); }

.popular-badge {
    background: var(--amber);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    text-align: center;
    margin-bottom: 1.25rem;
    display: block;
}

.plan-label { font-size: 0.72rem; font-weight: 800; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.price-currency { font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.price-amount { font-size: 2.25rem; font-weight: 900; color: var(--dark); line-height: 1; }
.price-period { font-size: 0.88rem; color: var(--gray); margin-left: 2px; }
.enterprise-price { font-size: 2.25rem; font-weight: 900; color: var(--dark); }
.plan-sub { font-size: 0.78rem; color: var(--gray); margin-bottom: 1.5rem; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 2rem; }
.plan-features li { font-size: 0.88rem; color: var(--dark); }
.plan-features li.disabled { color: #cbd5e1; }

/* ─────────────────────────────────────────────────── */
/* DEMO SECTION                                        */
/* ─────────────────────────────────────────────────── */
.demo-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    padding: 100px 0;
}
.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.demo-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.5rem; }
.demo-bullets li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.85); font-weight: 500; }

.demo-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.demo-social-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 1rem; text-align: center; }
.ds-val { font-size: 1.4rem; font-weight: 900; color: var(--white); }
.ds-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

.demo-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form-group input::placeholder { color: #94a3b8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--dark); cursor: pointer; font-weight: 500; }
.checkbox-item input { accent-color: var(--indigo); width: 15px; height: 15px; }

/* ─────────────────────────────────────────────────── */
/* FOOTER                                              */
/* ─────────────────────────────────────────────────── */
.footer { background: var(--dark); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }

.footer-brand { display: flex; align-items: center; line-height: 0; margin-bottom: 0.75rem; }
.footer-brand svg { display: block; }
.footer-brand-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-left: 6px;
}
.footer-tagline { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin-bottom: 0.5rem; }
.footer-made { font-size: 0.82rem; color: #64748b; margin-bottom: 1rem; }

.footer-social { display: flex; gap: 0.625rem; }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #64748b;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.social-btn:hover { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul a { font-size: 0.88rem; color: #64748b; transition: color 0.15s; }
.footer-col ul a:hover { color: var(--white); }

.newsletter { margin-top: 2rem; }
.newsletter-label { font-size: 0.78rem; font-weight: 600; color: #64748b; margin-bottom: 0.75rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
    flex: 1;
    padding: 9px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.82rem;
    outline: none;
}
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form input:focus { border-color: var(--indigo); }
.newsletter-btn {
    padding: 9px 14px;
    background: var(--indigo);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--indigo-dark); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.78rem;
    color: #475569;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: #475569; transition: color 0.15s; }
.footer-bottom-links a:hover { color: #94a3b8; }

/* ─────────────────────────────────────────────────── */
/* RESPONSIVE                                          */
/* ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .brain-card { max-width: 480px; margin: 0 auto; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .container { padding: 0 20px; }

    /* Nav */
    .nav-links, .nav-actions { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    .nav-container { padding: 0 20px; }

    /* Hero */
    .hero-container { grid-template-columns: 1fr; padding-top: 1rem; }
    .hero-h1 { font-size: 2.25rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost { justify-content: center; }

    /* Problem */
    .problem-grid { grid-template-columns: 1fr; }

    /* Timeline */
    .timeline-track { display: none; }
    .timeline-steps { grid-template-columns: 1fr; gap: 1.5rem; }
    .timeline-step { display: flex; align-items: flex-start; gap: 1rem; text-align: left; padding: 0; }
    .step-icon { width: 48px; height: 48px; font-size: 1.125rem; flex-shrink: 0; margin: 0; }

    /* Integration cards */
    .int-card { min-width: 140px; }
    .int-categories { gap: 2rem; padding: 1.5rem 0; }

    /* Feature tabs */
    .feature-panel.active,
    .industry-panel.active { grid-template-columns: 1fr; gap: 2rem; }
    .feature-right { order: -1; }

    /* Metrics */
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-2px); }

    /* Demo */
    .demo-container { grid-template-columns: 1fr; }
    .demo-social { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Mockup */
    .mock-kpi-row { grid-template-columns: repeat(2, 1fr); }
    .ind-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-h1 { font-size: 1.875rem; }
    .section-heading { font-size: 1.625rem; }
    .hero-trust { flex-direction: column; gap: 0.5rem; }
    .logos-row { font-size: 0.8rem; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .demo-social { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
}
