:root {
    /* ===== LIGHT THEME (default) ===== */
    --bg-page: #ffffff;
    --bg-surface: #ffffff;
    --bg-soft: #f5f3ee;
    --bg-soft-2: #f9f8f4;
    --bg-ink: #0d0d10;
    --text-main: #111111;
    --text-secondary: #2a2a2a;
    --text-muted: #6e6a62;
    --border-color: rgba(17, 17, 17, 0.07);
    --border-strong: rgba(17, 17, 17, 0.14);
    --primary: #111111;
    --primary-hover: #000000;
    --primary-text: #ffffff;
    --on-ink: #ffffff;
    --accent-highlight: #2563EB;
    --accent-highlight-hover: #1e40af;
    --shadow-soft: 0 1px 2px rgba(17,17,17,0.04), 0 8px 24px rgba(17,17,17,0.06);
    --shadow-hover: 0 4px 8px rgba(17,17,17,0.06), 0 24px 48px rgba(17,17,17,0.10);
    --shadow-lift: 0 30px 60px -20px rgba(17,17,17,0.20);

    /* Liquid glass tokens (light) */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.7);
    --glass-bg-faint: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(17, 17, 17, 0.08);
    --glass-border-soft: rgba(17, 17, 17, 0.05);
    --glass-shadow:
        0 1px 2px rgba(17, 17, 17, 0.04),
        0 12px 32px rgba(17, 17, 17, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --glass-shadow-hover:
        0 4px 12px rgba(17, 17, 17, 0.06),
        0 24px 50px rgba(17, 17, 17, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    /* Translucent floating surfaces (nav pill, dashboard frame) */
    --nav-bg: rgba(255, 255, 255, 0.7);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.88);
    --frame-bg: rgba(248, 248, 245, 0.75);

    /* Accent palette (brand blue only) */
    --accent-lilac: #2563EB;
    --accent-peach: #2563EB;
    --accent-pink:  #2563EB;
    --accent-mint:  #2563EB;
    --accent-sky:   #2563EB;
    --accent-coral: #2563EB;
    --accent-magenta: #2563EB;
    --accent-purple: #2563EB;
    --accent-blue:    #2563EB;
    --accent-gradient: #2563EB;
    --accent-gradient-soft: rgba(37, 99, 235, 0.18);
    --accent-soft: rgba(37, 99, 235, 0.18);

    /* Typography + motion */
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-serif: 'Instrument Serif', 'Times New Roman', serif;
    --font-body: 'Inter', sans-serif;
    --glass-blur: saturate(180%) blur(22px);
    --glass-blur-heavy: saturate(200%) blur(34px);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition: all 0.45s var(--ease-soft);
    --radius-pill: 999px;
    --radius-lg: 28px;
    --radius-md: 16px;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
    --bg-page: #0b0b0f;
    --bg-surface: #15151c;
    --bg-soft: #1c1c25;
    --bg-soft-2: #20202b;
    --bg-ink: #1f1f2a;
    --text-main: #f5f3ee;
    --text-secondary: #d4d2cd;
    --text-muted: #8a8680;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --primary: #ffffff;
    --primary-hover: #f5f3ee;
    --primary-text: #111111;
    --on-ink: #f5f3ee;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.5), 0 24px 48px rgba(0, 0, 0, 0.5);
    --shadow-lift: 0 30px 60px -20px rgba(0, 0, 0, 0.8);

    /* Glass on dark — translucent light tints over dark surfaces */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-bg-faint: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-soft: rgba(255, 255, 255, 0.06);
    --glass-shadow:
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 12px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --glass-shadow-hover:
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 24px 50px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    /* Dark variants of floating surfaces */
    --nav-bg: rgba(15, 15, 22, 0.65);
    --nav-bg-scrolled: rgba(15, 15, 22, 0.85);
    --frame-bg: rgba(20, 20, 28, 0.7);
}

/* Smooth theme transitions */
html, body {
    transition: background-color 0.4s var(--ease-soft), color 0.4s var(--ease-soft);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Grain texture overlay (Antigravity organic feel) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Animated gradient mesh disabled — body is plain white per design choice */
.bg-mesh { display: none; }

/* Ensure section content paints above the fixed mesh */
.hero,
.trust-bar,
.marquee-section,
.problem-section,
.solution-section,
.features-section,
.industries-section,
.how-section,
.benefits-section,
.security-section,
.testimonials-section,
.final-cta,
.footer {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

p { color: var(--text-secondary); }

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
    will-change: transform, opacity;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: none;
    border: 1px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out);
    z-index: -1;
}

.btn:hover::before { transform: translateX(120%); }

.btn-primary {
    background-color: var(--accent-highlight);
    color: var(--primary-text);
}

.btn-primary:hover {
    background-color: var(--accent-highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.25);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.6rem 0.9rem;
}

.btn-text:hover { color: var(--text-main); }

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Floating pill navbar */
.navbar {
    position: fixed;
    top: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1240px;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: saturate(200%) blur(26px);
    -webkit-backdrop-filter: saturate(200%) blur(26px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    transition: background 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), transform 0.4s var(--ease-out);
    box-shadow:
        0 6px 20px rgba(17, 17, 17, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow:
        0 12px 32px rgba(17, 17, 17, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .navbar {
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.6rem 0.55rem 1.4rem;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

.logo span {
    font-weight: 900;
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
    animation: none;
}



.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-links li a:hover {
    color: var(--text-main);
    background-color: rgba(17,17,17,0.06);
}

.dropdown { position: relative; }

.dropdown-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: var(--bg-surface);
    min-width: 190px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    z-index: 1;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 0.55rem 0.85rem;
    display: block;
    border-radius: 10px;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--bg-soft);
    color: var(--text-main);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-ctas {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.nav-ctas .btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
}

/* === Theme toggle button === */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.theme-toggle:hover {
    color: var(--text-main);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.theme-toggle i {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: opacity 0.35s var(--ease-soft), transform 0.45s var(--ease-out);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.4);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.4);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-main);
    padding: 0.55rem 0.85rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    transition: background-color 0.25s var(--ease-soft);
}

.mobile-menu-toggle:hover {
    background-color: rgba(17, 17, 17, 0.06);
}

.mobile-menu-toggle .fa-bars,
.mobile-menu-toggle .fa-xmark {
    transition: transform 0.3s var(--ease-out);
}

.navbar.is-open .mobile-menu-toggle .fa-bars { display: none; }
.mobile-menu-toggle .fa-xmark { display: none; }
.navbar.is-open .mobile-menu-toggle .fa-xmark { display: inline-block; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

/* Hero orbs removed — replaced by global animated .bg-mesh */
@keyframes float-orb {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px,-30px) scale(1.08); }
}

#canvas-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.2;
}

#canvas-container canvas {
    pointer-events: none;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1800px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.hero-text {
    text-align: left;
    min-width: 0;
}

.hero-supporting {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: -0.6rem 0 2rem;
    opacity: 0;
    animation: fade-up 0.9s var(--ease-out) 0.6s forwards;
}

/* ============================================================
   SPLIT-SCREEN AI DASHBOARD MOCKUP
   ============================================================ */
.hero-dashboard {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: hero-video-in 1.1s var(--ease-out) 0.4s forwards;
}

@keyframes hero-video-in {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dashboard-shadow {
    position: absolute;
    inset: -28px;
    background: rgba(37, 99, 235, 0.16);
    border-radius: 40px;
    z-index: -1;
    opacity: 0.28;
    filter: blur(50px);
}

.dashboard-frame {
    position: relative;
    background: var(--frame-bg);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow:
        0 30px 60px -25px rgba(17, 17, 17, 0.18),
        0 1px 2px rgba(17, 17, 17, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .dashboard-frame {
    box-shadow:
        0 30px 60px -25px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dash-panel {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-soft-2) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 8px rgba(17, 17, 17, 0.04);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.panel-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-mint, .dot-coral, .dot-purple {
    background: var(--accent-highlight);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.panel-tag {
    font-size: 0.68rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}

.panel-tag.tag-warn,
.panel-tag.tag-live {
    color: var(--accent-highlight);
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.18);
}

/* ---- Chat Panel ---- */
.chat-panel { min-height: 260px; }

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

.chat-msg {
    max-width: 92%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.78rem;
    line-height: 1.45;
    animation: chat-in 0.6s var(--ease-out) backwards;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--primary);
    color: var(--primary-text);
    border-bottom-right-radius: 4px;
    animation-delay: 0.6s;
}

.chat-msg.user p { color: var(--primary-text); margin: 0; }

.chat-msg.bot {
    align-self: flex-start;
    background: var(--bg-soft);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
    animation-delay: 1.0s;
}

.chat-msg.bot p { color: var(--text-main); margin: 0 0 6px; font-size: 0.78rem; }
.chat-msg.bot strong { color: var(--text-main); font-weight: 600; }

@keyframes chat-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.kpi-row {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.kpi-pill {
    display: inline-flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px 10px;
    gap: 2px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.kpi-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-heading);
}

.kpi-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.kpi-delta {
    font-size: 0.65rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.kpi-delta.up { color: #2d8d63; }
.kpi-delta.down { color: #c2502a; }

.chat-typing {
    display: inline-flex;
    gap: 4px;
    padding: 8px 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    align-self: flex-start;
    opacity: 0;
    animation: fade-up 0.5s var(--ease-out) 1.6s forwards;
}

.chat-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing-bounce 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-3px); opacity: 1; }
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 4px 4px 4px 12px;
    margin-top: auto;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.chat-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    outline: none;
    pointer-events: none;
}

.chat-input button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--primary-text);
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

/* ---- Conscience Panel ---- */
.conscience-panel { min-height: 260px; }

.insight-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.insight {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
    animation: chat-in 0.6s var(--ease-out) backwards;
}

.insight:nth-child(1) { animation-delay: 0.9s; }
.insight:nth-child(2) { animation-delay: 1.1s; }
.insight:nth-child(3) { animation-delay: 1.3s; }

.insight i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.insight-warn,
.insight-info,
.insight-good {
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(180deg, var(--bg-surface), rgba(37, 99, 235, 0.12));
}
.insight-warn i,
.insight-info i,
.insight-good i {
    background: rgba(37, 99, 235, 0.16);
    color: #0f2d72;
}

.insight h5 {
    font-size: 0.74rem;
    font-weight: 600;
    margin-bottom: 1px;
    color: var(--text-main);
    line-height: 1.2;
}

.insight p {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin: 0;
}

.forecast {
    margin-top: auto;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 10px;
}

.forecast-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.forecast-val {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.82rem;
}

.forecast-val em {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.65rem;
    margin-left: 4px;
}

.forecast-svg {
    width: 100%;
    height: 44px;
    display: block;
}

/* ---- OpDesk Bar ---- */
.opdesk-bar {
    padding: 12px 14px;
    gap: 8px;
}

.opdesk-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opdesk-workflows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.workflow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.7rem;
    color: var(--text-main);
    animation: chat-in 0.5s var(--ease-out) backwards;
    position: relative;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.workflow:nth-child(1) { animation-delay: 1.4s; }
.workflow:nth-child(2) { animation-delay: 1.5s; }
.workflow:nth-child(3) { animation-delay: 1.6s; }
.workflow:nth-child(4) { animation-delay: 1.7s; }

.workflow > i {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.workflow > span:not(.wf-status) {
    font-size: 0.7rem;
    line-height: 1.25;
    color: var(--text-main);
}

.wf-status {
    font-size: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wf-status.running { background: rgba(184, 232, 214, 0.5); color: #2d6b4d; }
.wf-status.queued { background: rgba(255, 200, 168, 0.5); color: #8a4818; }
.wf-status.done { background: rgba(184, 212, 255, 0.55); color: #1a4a8a; }

.wf-status.running::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2d8d63;
    margin-right: 4px;
    vertical-align: middle;
    animation: pulse-dot 1.6s ease-in-out infinite;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.05);
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-highlight);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.38);
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.38); }
    70%  { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.05em;
}

.hero-title .word span {
    display: inline-block;
    transform: translateY(110%);
    animation: word-rise 1.1s var(--ease-out) forwards;
}

@keyframes word-rise {
    to { transform: translateY(0); }
}

.hero-title .highlight {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--accent-highlight);
    letter-spacing: -0.02em;
    animation: word-rise 1.1s var(--ease-out) forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 560px;
    line-height: 1.55;
    opacity: 0;
    animation: fade-up 0.9s var(--ease-out) 0.5s forwards;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 0.9s var(--ease-out) 0.7s forwards;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero scroll cue */
.hero-cue {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 10;
    opacity: 0;
    animation: fade-up 0.9s var(--ease-out) 1s forwards;
}

.hero-cue::after {
    content: '';
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, var(--text-muted), transparent);
    animation: cue-line 2.2s ease-in-out infinite;
}

@keyframes cue-line {
    0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.6; }
    50%      { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* Marquee */
.marquee-section {
    padding: 2.5rem 0;
    background: var(--bg-surface);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
    background: var(--accent-mint);
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
/* 
.marquee-section::before { left: 0;  background: linear-gradient(90deg, var(--bg-surface), transparent); }
.marquee-section::after  { right: 0; background: linear-gradient(-90deg, var(--bg-surface), transparent); } */

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 38s linear infinite;
}

.marquee-section:hover .marquee-content { animation-play-state: paused; }

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    color: var(--primary-text);
    margin: 0 2.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: color 0.3s var(--ease-soft);
}

.marquee-item:hover { color: var(--text-main); }

.marquee-item i {
    font-size: 1.3rem;
    color: var(--primary-text);
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* USP */
.usp-section {
    padding: 7rem 0;
    
}

.usp-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 5rem 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.usp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 0%,  rgba(37,99,235,0.16), transparent 55%),
        radial-gradient(circle at 92% 100%, rgba(37,99,235,0.12), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(37,99,235,0.08), transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: usp-shift 16s ease-in-out infinite;
}

@keyframes usp-shift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50%      { transform: scale(1.08) rotate(2deg); }
}

.usp-card > * { position: relative; z-index: 1; }

.usp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

.usp-card h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.usp-card h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-style: italic;
}

.usp-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto;
}

/* Features */
.features-section {
    padding: 7rem 0;
    
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.section-header h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.divider {
    width: 56px;
    height: 4px;
    background: var(--accent-highlight);
    border-radius: var(--radius-pill);
    margin-top: 1.25rem;
}

.text-center .divider {
    margin: 1.25rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--glass-shadow);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(161,123,255,0.10), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-soft);
    pointer-events: none;
}

.feature-card:hover::after { opacity: 1; }

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-strong);
    border-color: var(--border-strong);
    box-shadow: var(--glass-shadow-hover);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-highlight);
    background: rgba(37, 99, 235, 0.12);
    transition: transform 0.5s var(--ease-out);
}

.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.08);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ============================================================
   INDUSTRIES — Horizontal slider of premium dark glass cards
   ============================================================ */
.industries-section {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.industries-header {
    max-width: 720px;
    margin: 0 auto;
}

.industries-header h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.industries-header .subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.industries-slider-wrap {
    margin-top: 3.5rem;
    position: relative;
    padding-left: 15px;
}

.industries-slider {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem clamp(1.25rem, 4vw, 4rem) 2.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.industries-slider::-webkit-scrollbar { display: none; }

/* Industry card — large vertical premium glass card.
   Tokens are scoped to .industry-card so all children invert together.
   Light theme: dark glossy card (matches the reference).
   Dark theme:  light frosted glass card (flips for contrast).         */
.industry-card {
    /* === Default = LIGHT theme palette (dark card) === */
    --card-bg: linear-gradient(160deg, #07080f 0%, #111627 55%, #0b1120 100%);
    --card-gloss: radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.08), transparent 50%);
    --card-border: rgba(37, 99, 235, 0.15);
    --card-inset: rgba(255, 255, 255, 0.08);
    --card-inset-hover: rgba(255, 255, 255, 0.14);
    --card-shadow: 0 30px 30px -25px rgba(0, 0, 0, 0.55);
    --card-shadow-hover: 0 40px 30px -25px #2564eb96;
    --card-title: #f8fafc;
    --card-text: #dbeafe;
    --card-text-muted: rgba(226, 232, 240, 0.72);
    --card-text-label: rgba(226, 232, 240, 0.55);
    --card-tag-bg: rgba(37, 99, 235, 0.08);
    --card-tag-border: rgba(37, 99, 235, 0.22);
    --card-tag-text: rgba(226, 232, 240, 0.95);
    --card-tag-inset: rgba(255, 255, 255, 0.08);
    --card-glass-bg: rgba(255, 255, 255, 0.06);
    --card-glass-border: rgba(255, 255, 255, 0.12);
    --card-glass-inset: rgba(255, 255, 255, 0.12);
    --card-glass-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
    --card-icon-ghost: rgba(37, 99, 235, 0.08);
    --card-cta-bg: rgba(255, 255, 255, 0.08);
    --card-cta-bg-hover: rgba(255, 255, 255, 0.16);
    --card-cta-border: rgba(255, 255, 255, 0.16);
    --card-cta-border-hover: rgba(255, 255, 255, 0.32);
    --card-cta-text: #ffffff;
    --card-cta-inset: rgba(255, 255, 255, 0.15);

    flex: 0 0 320px;
    height: 520px;
    scroll-snap-align: start;
    border-radius: 28px;
    border: 1px solid var(--card-border);
    background: var(--card-gloss), var(--card-bg);
    box-shadow: var(--card-shadow), inset 0 1px 0 var(--card-inset);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--card-text);
    transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.4s var(--ease-soft);
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover), inset 0 1px 0 var(--card-inset-hover);
}

/* === DARK theme — invert to light frosted glass card === */
[data-theme="dark"] .industry-card {
    --card-bg: linear-gradient(160deg, #f8fafc 0%, #eff6ff 55%, #e2e8f0 100%);
    --card-gloss: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9), transparent 50%);
    --card-border: rgba(37, 99, 235, 0.16);
    --card-inset: rgba(255, 255, 255, 0.85);
    --card-inset-hover: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 30px 30px -25px rgba(15, 23, 42, 0.18);
    --card-shadow-hover: 0 40px 80px -25px rgba(15, 23, 42, 0.26);
    --card-title: #0f172a;
    --card-text: #0f172a;
    --card-text-muted: rgba(15, 23, 42, 0.65);
    --card-text-label: rgba(15, 23, 42, 0.55);
    --card-tag-bg: rgba(255, 255, 255, 1);
    --card-tag-border: rgba(37, 99, 235, 0.18);
    --card-tag-text: rgba(15, 23, 42, 0.82);
    --card-tag-inset: rgba(255, 255, 255, 0.9);
    --card-glass-bg: rgba(255, 255, 255, 0.72);
    --card-glass-border: rgba(37, 99, 235, 0.12);
    --card-glass-inset: rgba(255, 255, 255, 0.92);
    --card-glass-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
    --card-icon-ghost: rgba(37, 99, 235, 0.1);
    --card-cta-bg: rgba(37, 99, 235, 0.08);
    --card-cta-bg-hover: rgba(37, 99, 235, 0.14);
    --card-cta-border: rgba(37, 99, 235, 0.16);
    --card-cta-border-hover: rgba(37, 99, 235, 0.28);
    --card-cta-text: #0f172a;
    --card-cta-inset: rgba(255, 255, 255, 0.7);
}

/* Per-card accent (drives glow + sparkline color) */
.industry-card[data-accent="coral"]   { --card-accent: #2563EB; }
.industry-card[data-accent="pink"]    { --card-accent: #3B82F6; }
.industry-card[data-accent="mint"]    { --card-accent: #60A5FA; }
.industry-card[data-accent="sky"]     { --card-accent: #93C5FD; }
.industry-card[data-accent="purple"]  { --card-accent: #2563EB; }
.industry-card[data-accent="peach"]   { --card-accent: #2563EB; }
.industry-card[data-accent="lilac"]   { --card-accent: #60A5FA; }
.industry-card[data-accent="magenta"] { --card-accent: #3B82F6; }
.industry-card[data-accent="blue"]    { --card-accent: #5FB8FF; }

/* Floating pill tags */
.industry-card-tags {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    z-index: 3;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    background: var(--card-tag-bg);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid var(--card-tag-border);
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    color: var(--card-tag-text);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 var(--card-tag-inset);
}

.industry-tag i { font-size: 0.55rem; opacity: 0.7; }

/* Card visual zone */
.industry-card-visual {
    flex: 1;
    position: relative;
    padding: 4.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.industry-glow {
    position: absolute;
    width: 75%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--card-accent), transparent 65%);
    filter: blur(50px);
    opacity: 0.5;
    z-index: 0;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: card-glow-shift 8s ease-in-out infinite alternate;
}

@keyframes card-glow-shift {
    0%   { transform: translate(-55%, -55%) scale(1); opacity: 0.35; }
    100% { transform: translate(-45%, -45%) scale(1.15); opacity: 0.55; }
}

.industry-icon-ghost {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    color: var(--card-icon-ghost);
    z-index: 1;
    pointer-events: none;
    transition: all ease-in-out 0.5s;
}

.industry-card:hover .industry-icon-ghost {
  color: var(--accent-mint);
}

/* Mini KPI dashboard card inside the visual area */
.industry-mini-card {
    position: relative;
    z-index: 2;
    width: 100%;
    background: var(--card-glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--card-glass-border);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    box-shadow:
        inset 0 1px 0 var(--card-glass-inset),
        var(--card-glass-shadow);
}

.mini-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.mini-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--card-text-label);
    font-family: var(--font-heading);
    font-weight: 500;
}

.mini-delta {
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-heading);
}

.mini-delta.up { color: #2d8d63; }
.mini-delta.down { color: #c2502a; }

.mini-value {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    color: var(--card-title);
}

.mini-spark {
    width: 100%;
    height: 24px;
    color: var(--card-accent);
    opacity: 0.9;
}

/* Bottom content area */
.industry-card-content {
    padding: 0 1.5rem 1.75rem;
    position: relative;
    z-index: 3;
}

.industry-card-content h3 {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--card-title);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    line-height: 1.15;
}

.industry-card-content p {
    font-size: 0.85rem;
    color: var(--card-text-muted);
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

.industry-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: var(--card-cta-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-cta-border);
    border-radius: var(--radius-pill);
    color: var(--card-cta-text);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: inset 0 1px 0 var(--card-cta-inset);
}

.industry-card-cta i { font-size: 0.7rem; transition: transform 0.4s var(--ease-out); }

.industry-card-cta:hover {
    background: var(--card-cta-bg-hover);
    border-color: var(--card-cta-border-hover);
    transform: translateY(-1px);
}

.industry-card-cta:hover i { transform: translateX(3px); }

/* Slider controls */
.industries-controls {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0;
    box-shadow: var(--shadow-soft);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--primary-text);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: var(--bg-surface);
    color: var(--text-muted);
    border-color: var(--border-color);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.brand-col .logo { margin-bottom: 1rem; }

.footer-desc {
    color: var(--text-muted);
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s var(--ease-soft);
    font-size: 0.92rem;
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--text-main);
    transition: width 0.3s var(--ease-out);
}

.footer-col ul li a:hover {
    color: var(--text-main);
}

.footer-col ul li a:hover::after { width: 100%; }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ============================================================
   SHARED — EYEBROW LABEL
   ============================================================ */
.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.trust-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.trust-subtitle {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 0.98rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
    align-items: center;
}

.trust-logo {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s var(--ease-soft);
}

.trust-logo i { font-size: 1.15rem; }

.trust-logo:hover { color: var(--text-main); }

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.problem-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.problem-text h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0.4rem 0 1.5rem;
    font-weight: 600;
}

.problem-text h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.problem-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    max-width: 460px;
}

.problem-text p.muted {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1.4rem;
    margin-bottom: 0;
}

.problem-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.problem-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: var(--bg-soft);
    color: var(--text-secondary);
    transition: var(--transition);
    min-width: 36px;
}

.problem-item:hover {
    background: var(--glass-bg-strong);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow-hover);
}

.problem-item:hover i {
    background: var(--primary);
    color: var(--primary-text);
}

.problem-conclusion {
    text-align: center;
    margin-top: 0rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
    letter-spacing: -0.02em;
    text-align: left;
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.solution-section {
    padding: 7rem 0;
    position: relative;
}

.section-header.text-center .eyebrow {
    margin-bottom: 1.25rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.solution-pillar {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(37, 99, 235, 0.28);
    opacity: 0.9;
}

.solution-pillar:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-strong);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--border-strong);
}

.solution-pillar h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.check-list li i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.16);
    color: #0f2d72;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    flex-shrink: 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    background: var(--bg-soft-2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.platform-chip i {
    font-size: 1rem;
    color: var(--text-main);
}

.platform-chip:hover {
    background: var(--bg-surface);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    color: var(--text-main);
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
}

/* ============================================================
   FEATURES (expanded — 6 cards w/ bullets and number badge)
   ============================================================ */
.feature-card .feature-num {
    position: absolute;
    top: 1.5rem;
    right: 1.6rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.feature-bullets {
    list-style: none;
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feature-bullets li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-highlight);
}



/* ============================================================
   HOW IT WORKS — Hub-and-spoke connectivity diagram
   ============================================================ */
.how-section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.2fr);
    align-items: center;
    gap: 1rem;
}

.how-copy {
    max-width: 560px;
}

.how-copy .section-header {
    text-align: left;
}

.how-copy .subtitle {
    max-width: 100%;
    margin: 0;
    color: var(--text-muted);
}

.how-visual {
    width: 100%;
}

.how-diagram {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 5 / 3;
    margin: 4rem auto 0;
}

.how-diagram-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

/* Icon tiles for inputs (top) and outputs (bottom) */
.how-node {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    transform: translate(-50%, -50%);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    z-index: 2;
    box-shadow:
        0 4px 12px rgba(17, 17, 17, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    animation: how-node-in 0.7s var(--ease-out) backwards;
}

[data-theme="dark"] .how-node {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.how-node:hover {
    transform: translate(-50%, -50%) translateY(-3px) scale(1.08);
    box-shadow:
        0 10px 24px rgba(17, 17, 17, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    z-index: 4;
}

/* How diagram icons use their original brand color when available */
.how-node i { color: var(--text-main); }

.how-node i.fa-microsoft,
.how-node i.fa-windows { color: #3094f0; }

.how-node i.fa-shopify { color: #5c8e3f; }
.how-node i.fa-magento { color: #ee672f; }
.how-node i.fa-wordpress { color: #21759b; }
.how-node i.fa-telegram { color: #2aa6da; }
.how-node i.fa-google { color: #ea4335; }
.how-node i.fa-file-invoice-dollar { color: #2ca01c; }

/* Staggered reveal */
.how-input:nth-of-type(1)  { animation-delay: 0.05s; }
.how-input:nth-of-type(2)  { animation-delay: 0.10s; }
.how-input:nth-of-type(3)  { animation-delay: 0.15s; }
.how-input:nth-of-type(4)  { animation-delay: 0.20s; }
.how-input:nth-of-type(5)  { animation-delay: 0.25s; }
.how-input:nth-of-type(6)  { animation-delay: 0.30s; }
.how-input:nth-of-type(7)  { animation-delay: 0.35s; }
.how-input:nth-of-type(8)  { animation-delay: 0.40s; }
.how-input:nth-of-type(9)  { animation-delay: 0.45s; }
.how-input:nth-of-type(10) { animation-delay: 0.50s; }
.how-input:nth-of-type(11) { animation-delay: 0.55s; }
.how-input:nth-of-type(12) { animation-delay: 0.60s; }
.how-input:nth-of-type(13) { animation-delay: 0.65s; }
.how-output:nth-of-type(1) { animation-delay: 0.90s; }
.how-output:nth-of-type(2) { animation-delay: 0.95s; }
.how-output:nth-of-type(3) { animation-delay: 1.00s; }
.how-output:nth-of-type(4) { animation-delay: 1.05s; }
.how-output:nth-of-type(5) { animation-delay: 1.10s; }
.how-output:nth-of-type(6) { animation-delay: 1.15s; }

@keyframes how-node-in {
    from { opacity: 0; transform: translate(-50%, -30%) scale(0.85); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Output tiles use the brand accent color for consistency */
.how-output {
    color: var(--accent-highlight);
}

.how-output i.fa-envelope { color: #2563EB; }
.how-output i.fa-bell { color: #F59E0B; }
.how-output i.fa-check-double { color: #10B981; }
.how-output i.fa-file-circle-check { color: #2563EB; }
.how-output i.fa-rotate { color: #0EA5E9; }
.how-output i.fa-bolt { color: #F59E0B; }

[data-theme="dark"] .how-output {
    color: var(--accent-highlight);
}

/* Central hub */
.how-hub {
    position: absolute;
    width: 112px;
    height: 112px;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: how-hub-in 0.9s var(--ease-out) 0.8s backwards;
}

@keyframes how-hub-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.how-hub-ring {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
    filter: blur(8px);
    animation: how-hub-pulse 3.5s ease-in-out infinite;
}

@keyframes how-hub-pulse {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50%      { transform: scale(1.15); opacity: 1; }
}

.how-hub-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 40px -10px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.hub-letter {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Phase labels positioned at top and bottom of the diagram */
.how-phase {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    z-index: 3;
    pointer-events: none;
}

.how-phase-top {
    top: -2.6rem;
}

.how-phase-bottom {
    bottom: -2.6rem;
}

.phase-num {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.phase-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* Dark theme — punch up the line colors slightly for visibility */
[data-theme="dark"] .how-lines-in {
    stroke: rgba(201, 184, 255, 0.55);
}

[data-theme="dark"] .how-lines-out {
    stroke: #7fcfa6;
}

[data-theme="dark"] #howArrow path {
    fill: #7fcfa6;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section {
    padding: 7rem 0;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient-soft);
    opacity: 0;
    transition: opacity 0.5s var(--ease-soft);
    pointer-events: none;
}

.benefit-card:hover::after { opacity: 1; }

.benefit-card > * { position: relative; z-index: 1; }

.benefit-card:hover {
    transform: translateY(-5px);
    background: var(--glass-bg-strong);
    border-color: var(--border-strong);
    box-shadow: var(--glass-shadow-hover);
}

.benefit-card i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.benefit-card:hover i {
    background: var(--accent-mint);
    color: var(--primary-text);
    transform: rotate(-6deg) scale(1.05);
}

.benefit-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================================
   SECURITY & GOVERNANCE
   ============================================================ */
.security-section {
    padding: 7rem 0;
    background: var(--bg-ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.security-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.22), transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.18), transparent 55%),
        radial-gradient(circle at 60% 40%, rgba(37, 99, 235, 0.12), transparent 50%);
    pointer-events: none;
}

.security-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.security-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-text .eyebrow {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.security-text h2 {
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    letter-spacing: -0.035em;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.security-text h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.security-text p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 460px;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.security-text .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.security-text .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.sec-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: var(--transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sec-item i {
    font-size: 1.05rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sec-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 7rem 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-strong);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--border-strong);
}

.quote-mark {
    position: absolute;
    top: -14px;
    left: 1.8rem;
    width: 40px;
    height: 40px;
    background: var(--accent-highlight);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    display: flex !important;
  align-items: center;
  justify-content: center;
}

.testimonial-card blockquote {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text-main);
    letter-spacing: -0.012em;
    margin-bottom: 1.6rem;
    flex: 1;
}

.testimonial-card figcaption {
    border-top: 1px solid var(--border-color);
    padding-top: 1.1rem;
    display: flex;
    flex-direction: column;
}

.testimonial-card figcaption strong {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.testimonial-card figcaption span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: 6rem 0 7rem;
    position: relative;
}

.cta-card {
    position: relative;
    background: var(--bg-ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 30px 70px -30px rgba(17, 17, 17, 0.5);
}

.cta-aura {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 138, 91, 0.35), transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(161, 123, 255, 0.32), transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(95, 184, 255, 0.25), transparent 55%);
    animation: usp-shift 18s ease-in-out infinite;
    pointer-events: none;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card .eyebrow {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.cta-card h2 {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.cta-card h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-highlight);
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card .btn-primary {
    background: #ffffff;
    color: #111111;
}

.cta-card .btn-primary:hover {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 14px 30px rgba(255, 255, 255, 0.18);
}

.cta-card .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

/* ============================================================
   FOOTER (expanded — 6 cols)
   ============================================================ */
.footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr 1fr;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-social a svg {
  width: 20px;
  fill: var(--text-secondary);
}
.footer-social a:hover svg {
  fill: var(--primary-text);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--primary-text);
    border-color: var(--primary);
    transform: translateY(-2px);
}



.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
}

.footer-bottom-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1280px) {
    .nav-links li a { padding: 0.5rem 0.7rem; font-size: 0.86rem; }
    .nav-ctas .btn { padding: 0.5rem 0.95rem; font-size: 0.84rem; }
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 2.5rem;
    }
    .hero { height: auto; min-height: 100vh; min-height: 100dvh; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 1199px) {
    .how-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .how-copy .section-header {
        text-align: center;
    }

    .how-visual {
        margin-top: 1rem;
    }

    .logo{ flex: 1;}
    .nav-links { display: none; }
    .nav-ctas { display: flex; align-items: center; gap: 0.4rem; }
    .nav-ctas .btn { display: none; }
    .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: 0.35rem; }
     .navbar.is-open .mobile-menu-toggle  {position: absolute;
    top: 20px;
    right: 16px;}
    .navbar { width: calc(100% - 1.5rem); }

    /* Mobile drawer — expand the navbar pill into a panel when open */
    .navbar.is-open {
        background: var(--bg-page);
        box-shadow: 0 20px 50px rgba(17, 17, 17, 0.12);
        width: 100%;
        height: 100%;
        top: 0px;
        border-radius: 0px;
        padding-top: 1.1rem;
        overflow-y: auto;
    }
    .navbar.is-open .nav-container {
        flex-wrap: wrap;
        padding: 0.55rem 0.6rem 1rem 1.4rem;
    }
    .navbar.is-open .nav-links,
    .navbar.is-open .nav-ctas {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
        align-items: stretch;
    }
    .navbar.is-open .nav-links li a,
    .navbar.is-open .nav-ctas .btn {
        width: 100%;
        justify-content: flex-start;
        padding: 0.7rem 0.95rem;
        font-size: 0.95rem;
    }
    .navbar.is-open .nav-ctas .btn-primary { justify-content: center; }
    .navbar.is-open .theme-toggle {
        align-self: center;
        margin-top: 0.5rem;
    }
    .navbar.is-open .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 1rem;
        min-width: 0;
    }

    /* Stack hero vertically */
    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 7rem 0 4rem;
    }
    .hero-content {
        grid-template-columns: 1fr;
        height: auto;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-text { order: 1; text-align: center; }
    .hero-dashboard { order: 2; max-width: 720px; margin: 0 auto; width: 100%; }
    .hero-subtitle, .hero-supporting { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 3rem; }

    /* Section adjustments */
    .problem-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .solution-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .security-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .how-diagram { margin-top: 3rem; }
    .how-node { width: 44px; height: 44px; font-size: 0.95rem; border-radius: 12px; }
    .how-hub { width: 92px; height: 92px; }
    .hub-letter { font-size: 2.1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
    .brand-col { grid-column: 1 / -1; }
    .usp-card { padding: 3.5rem 2.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    .hero { padding: 6.5rem 0 3rem; }
    .hero-title { font-size: 2.3rem; }
    .dashboard-frame { padding: 10px; gap: 8px; }
    .dashboard-top { grid-template-columns: 1fr; }
    .opdesk-workflows { grid-template-columns: 1fr 1fr; }
    .chat-panel, .conscience-panel { min-height: 220px; }
    .usp-card { padding: 2.5rem 1.5rem; }
    .usp-card h2 { font-size: 1.7rem; }
    .problem-list { grid-template-columns: 1fr; }
    .check-list { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr 1fr; }
    .how-diagram { aspect-ratio: 4 / 3; max-width: 100%; }
    .how-node { width: 38px; height: 38px; font-size: 0.85rem; border-radius: 10px; }
    .how-hub { width: 76px; height: 76px; }
    .hub-letter { font-size: 1.7rem; }
    .how-phase-top { top: -2rem; }
    .how-phase-bottom { bottom: -2rem; }
    .phase-name { font-size: 0.85rem; }
    .security-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 3.5rem 1.75rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .features-section, .usp-section, .industries-section,
    .problem-section, .solution-section, .how-section,
    .benefits-section, .security-section, .testimonials-section { padding: 4.5rem 0; }
    .final-cta { padding: 4rem 0 5rem; }
    .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-actions .btn { width: 100%; }
    .cta-actions .btn { width: 100%; }
    .industry-card { flex-basis: 280px; height: 480px; }
    .solution-pillar { padding: 1.8rem 1.4rem; }
    .feature-card { padding: 2rem 1.5rem; }
    .testimonial-card { padding: 2.5rem 1.4rem 1.6rem; }
}
