﻿/* ============================================
   FLAIRE Marketing Website â€” Design System
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Purple â€” primary brand */
    --flaire-purple-50:  #EEEDFE;
    --flaire-purple-100: #CECBF6;
    --flaire-purple-200: #AFA9EC;
    --flaire-purple-400: #7F77DD;
    --flaire-purple-600: #534AB7;
    --flaire-purple-800: #3C3489;
    --flaire-purple-900: #1a1740;

    /* Indigo â€” secondary / gradient partner */
    --flaire-indigo-50:  #EEF2FF;
    --flaire-indigo-200: #C7D2FE;
    --flaire-indigo-400: #818CF8;
    --flaire-indigo-600: #4F46E5;
    --flaire-indigo-800: #3730A3;

    /* Yellow â€” accent only */
    --flaire-yellow-50:  #FEFCE8;
    --flaire-yellow-100: #FEF9C3;
    --flaire-yellow-300: #FDE047;
    --flaire-yellow-400: #FACC15;
    --flaire-yellow-500: #EAB308;
    --flaire-yellow-700: #A16207;

    /* Neutrals */
    --flaire-white:    #FFFFFF;
    --flaire-gray-50:  #F9FAFB;
    --flaire-gray-100: #F3F4F6;
    --flaire-gray-200: #E5E7EB;
    --flaire-gray-300: #D1D5DB;
    --flaire-gray-400: #9CA3AF;
    --flaire-gray-500: #6B7280;
    --flaire-gray-600: #4B5563;
    --flaire-gray-700: #374151;
    --flaire-gray-800: #1F2937;
    --flaire-gray-900: #111827;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Legacy aliases â€” mapped to new palette */
    --green: var(--flaire-purple-600);
    --green-mid: var(--flaire-indigo-400);
    --green-light: var(--flaire-purple-50);
    --green-border: rgba(127,119,221,.18);

    /* Accent â€” yellow */
    --accent: var(--flaire-yellow-400);
    --accent-hover: var(--flaire-yellow-500);
    --accent-light: var(--flaire-yellow-50);
    --accent-border: rgba(250,204,21,.3);

    /* Surfaces */
    --cream: var(--flaire-gray-50);
    --white: #FFFFFF;

    /* Text */
    --ink: var(--flaire-purple-900);
    --ink-soft: var(--flaire-gray-800);
    --ink-muted: var(--flaire-gray-600);

    /* Borders & depth */
    --border: var(--flaire-gray-200);
    --border-soft: rgba(156,163,175,.55);
    --navy: var(--flaire-purple-900);

    --radius: var(--radius-sm);
    --shadow-sm: 0 1px 4px rgba(17,24,39,0.08);
    --shadow: 0 4px 16px rgba(83,74,183,0.14);
    --shadow-lg: 0 12px 40px rgba(83,74,183,0.16), 0 4px 12px rgba(83,74,183,0.08);

    /* Product colors */
    --erp: var(--flaire-purple-800);
    --crm: var(--flaire-purple-600);
    --cms: var(--flaire-indigo-600);
    --erp-light: var(--flaire-purple-50);
    --crm-light: var(--flaire-purple-50);
    --cms-light: var(--flaire-indigo-50);
    --helpdesk: #4F46E5;
    --helpdesk-light: #EEF2FF;

    /* AI Accent â€” cyan / teal */
    --ai-cyan-300: #67E8F9;
    --ai-cyan-400: #22D3EE;
    --ai-cyan-500: #06B6D4;

    /* Glow & Glass tokens */
    --glow-purple: rgba(129,140,248,.20);
    --glow-cyan: rgba(6,182,212,.15);
    --glow-sm: 0 0 20px;
    --glow-md: 0 0 40px;
    --glow-lg: 0 0 60px;
    --transition-smooth: .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink-soft);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes float { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(0,-8px,0)} }
@keyframes barGrow { from { height: 0; } }

.fu { animation: fadeUp .65s cubic-bezier(.16,1,.3,1) both; }
.d1{animation-delay:.08s} .d2{animation-delay:.16s} .d3{animation-delay:.24s}
.d4{animation-delay:.32s} .d5{animation-delay:.42s} .d6{animation-delay:.54s}

/* AI-Inspired Animations */
@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}
@keyframes glow-breathe {
    0%, 100% { opacity: .5; filter: blur(40px); }
    50% { opacity: .8; filter: blur(50px); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes border-glow {
    0%, 100% { border-color: rgba(129,140,248,.15); }
    50% { border-color: rgba(6,182,212,.25); }
}
@keyframes btn-shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}
@keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* â”€â”€ NAVIGATION â”€â”€ */
.site-nav {
    background: var(--flaire-purple-900);
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: sticky; top: 0; z-index: 100;
    transition: box-shadow .3s, border-color .3s;
}
/* Scroll progress indicator */
.site-nav::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: var(--scroll-progress, 0%);
    height: 2px;
    background: linear-gradient(90deg, var(--flaire-indigo-400), var(--ai-cyan-400), var(--flaire-yellow-400));
    z-index: 101;
    transition: none;
}
/* Nav shrink state â€” applied via JS on scroll */
.site-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.25), 0 0 40px rgba(129,140,248,.06);
    border-bottom-color: rgba(129,140,248,.12);
}
.site-nav.scrolled .nav-inner {
    height: 52px;
}
.nav-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; align-items: center;
    padding: 0 2rem; height: 64px; gap: 2rem;
    transition: height .3s cubic-bezier(.4,0,.2,1);
}
.nav-logo {
    font-family: 'Sora', sans-serif;
    font-size: 18px; font-weight: 600;
    color: #fff; text-decoration: none;
    letter-spacing: -.02em; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: .5rem;
}
.nav-logo span { color: var(--flaire-yellow-400); }
.nav-logo-product {
    color: rgba(255,255,255,.78) !important;
    font-size: 12px; font-weight: 500;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: rgba(255,255,255,.08);
    border-left: 2px solid var(--flaire-yellow-400);
}
.nav-logo:hover .nav-logo-product { text-shadow: none !important; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; color: rgba(255,255,255,.65);
    text-decoration: none; padding: 6px 12px;
    border-radius: var(--radius-sm); transition: all .15s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Sign-in button inside the desktop nav — compact ghost variant */
.site-nav .nav-signin {
    padding: 7px 14px; font-size: 12px;
    background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25);
    color: #fff; font-weight: 500; cursor: pointer;
}
.site-nav .nav-signin:hover { background: rgba(255,255,255,.16); }

/* Mobile drawer auth — hidden on desktop, shown when drawer opens */
.nav-auth-mobile { display: none; }

/* Mobile menu toggle */
.nav-toggle {
    display: none; background: none; border: none;
    font-size: 26px; line-height: 1; cursor: pointer; color: #fff;
    padding: 6px 10px; margin-left: auto;
    border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }

/* â”€â”€ BUTTONS â”€â”€ */
/* Ghost â€” white bg, near-black border (for light backgrounds) */
.btn-ghost {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 600; color: var(--flaire-gray-900);
    text-decoration: none; padding: 11px 24px; border-radius: var(--radius-sm);
    background: #fff; border: 2px solid var(--flaire-gray-900);
    transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
    cursor: pointer;
}
.btn-ghost:hover { background: var(--flaire-gray-100); }
.btn-ghost:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,119,221,.35); }
/* Ghost in dark nav context â€” frosted white */
.site-nav .btn-ghost {
    background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.5); color: #fff;
    font-weight: 500;
}
.site-nav .btn-ghost:hover { background: rgba(255,255,255,.22); }

/* Primary â€” deep purple, white text (for light backgrounds) */
.btn-primary {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 600;
    background: var(--flaire-purple-900); color: #fff;
    padding: 8px 18px; border-radius: var(--radius-sm);
    text-decoration: none; transition: all .2s;
    display: inline-flex; align-items: center; gap: 6px;
    border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--flaire-purple-800); }
.btn-primary:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,119,221,.35); }
/* Primary in nav â€” yellow CTA with shimmer */
.site-nav .btn-primary {
    background: var(--flaire-yellow-400); color: var(--flaire-purple-900);
    border: 2px solid var(--flaire-yellow-500); font-weight: 700;
    font-size: 12px; padding: 7px 14px;
    position: relative; overflow: hidden;
}
.site-nav .btn-primary::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    animation: btn-shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}
.site-nav .btn-primary:hover { background: var(--flaire-yellow-300); box-shadow: 0 4px 20px rgba(250,204,21,.35); }

/* Dark â€” primary CTA on white backgrounds (deep purple) */
.btn-dark {
    font-family: 'DM Sans', sans-serif;
    background: var(--flaire-purple-900); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 10px 20px; border-radius: var(--radius-sm);
    text-decoration: none; transition: all .2s;
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer;
}
.btn-dark:hover { background: var(--flaire-purple-800); transform: translateY(-2px); }
.btn-dark:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,119,221,.35); }

/* Light â€” secondary (soft purple fill, dark purple text) */
.btn-light {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 600; color: var(--flaire-purple-800);
    text-decoration: none; padding: 10px 20px; border-radius: var(--radius-sm);
    border: 2px solid var(--flaire-purple-200); background: var(--flaire-purple-50);
    transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer;
}
.btn-light:hover { background: var(--flaire-purple-100); transform: translateY(-1px); }
.btn-light:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,119,221,.35); }

/* Green â€” accent yellow CTA (for light backgrounds) */
.btn-green {
    font-family: 'DM Sans', sans-serif;
    background: var(--flaire-yellow-400); color: var(--flaire-purple-900);
    font-size: 14px; font-weight: 700;
    padding: 10px 20px; border-radius: var(--radius-sm);
    text-decoration: none; transition: all .2s;
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--flaire-yellow-500); cursor: pointer;
}
.btn-green:hover { background: var(--flaire-yellow-300); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(250,204,21,.35); }
.btn-green:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,119,221,.35); }

/* â”€â”€ SECTIONS â”€â”€ */
.section { max-width: 1140px; margin: 0 auto; padding: 6rem 2rem; }
.section-center { text-align: center; }

.sec-badge {
    display: inline-flex; align-items: center;
    background: var(--flaire-purple-50); color: var(--flaire-purple-800);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 999px; margin-bottom: 1rem;
}
.sec-badge-dark {
    background: rgba(250,204,21,.15); color: var(--flaire-yellow-300);
    border: 1px solid rgba(250,204,21,.3);
}

.sec-title {
    font-family: 'Sora', sans-serif;
    font-size: 32px; font-weight: 600;
    letter-spacing: -.02em; line-height: 1.25; color: var(--flaire-purple-900); margin-bottom: 10px;
}
.sec-sub { font-family: 'DM Sans', sans-serif; font-size: 18px; color: var(--ink-soft); max-width: 500px; line-height: 1.7; }
.sec-sub-center { margin: 0 auto; }

/* â”€â”€ HERO â”€â”€ */
.hero-wrap {
    max-width: 1140px; margin: 0 auto;
    padding: 6rem 2rem 4rem;
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem; align-items: center;
}
/* Dashboard sits inside the narrower right column and aligns to its right edge,
   so the carousel doesn't grow past the column even on wide viewports. */
.hero-visual { max-width: 480px; margin-left: auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(250,204,21,.15); border: 1px solid rgba(250,204,21,.3);
    border-radius: 999px; padding: 5px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--flaire-yellow-300);
    margin-bottom: 1.5rem;
}
.badge-dot { width: 6px; height: 6px; background: var(--flaire-yellow-500); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1, .hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 52px; font-weight: 700;
    line-height: 1.2; letter-spacing: -.03em;
    color: #fff; margin-bottom: 1.25rem;
}
.hero h1 em, .hero-title em { font-style: normal; color: var(--flaire-yellow-400); }
.hero-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px; color: #fff;
    line-height: 1.7; margin-bottom: 2rem; max-width: 520px;
}
/* Hero section container â€” gradient bg */
section:has(.hero-wrap) {
    background: linear-gradient(150deg, #1a1740 0%, #3C3489 55%, #3730A3 100%);
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
/* Primary hero CTA â€” yellow on dark */
.hero-ctas .btn-dark {
    background: var(--flaire-yellow-400); color: var(--flaire-purple-900);
    border: 2px solid var(--flaire-yellow-500); font-weight: 700;
}
.hero-ctas .btn-dark:hover { background: var(--flaire-yellow-300); box-shadow: 0 4px 20px rgba(250,204,21,.35); }
/* Secondary hero CTA â€” frosted white */
.hero-ctas .btn-light {
    background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.5); color: #fff;
    font-weight: 500;
}
.hero-ctas .btn-light:hover { background: rgba(255,255,255,.22); border-color: var(--flaire-yellow-400); color: var(--flaire-yellow-300); }
.hero-proof { display: flex; align-items: center; gap: 10px; margin-top: 2rem; }
.avatars { display: flex; }
.av {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid var(--cream); margin-left: -9px;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; color: white;
}
.av:first-child { margin-left: 0; }
.proof-txt { font-size: 14px; color: var(--ink-muted); }
.proof-txt strong { color: var(--ink-soft); font-weight: 600; }

/* â”€â”€ DASHBOARD CARD (Hero Visual) â”€â”€ */
.hero-visual { animation: float 7s ease-in-out infinite; }
/* Carousel host overrides float so the gentle motion doesn't fight the slide. */
.hero-visual[data-dash-carousel] { animation: none; }
.dash {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
}

/* â”€â”€ HERO DASHBOARD CAROUSEL â”€â”€ */
/* Tabs live in the left text column; dashboard viewport stays in the right column.
   The data-dash-carousel attribute lives on .hero-wrap so the JS can wire tabs+track
   across the two grid columns. */
.hero-wrap[data-dash-carousel] .hero-visual { animation: none; }
/* Horizontal pill strip sitting under the dashboard. Centered so it reads as a
   pager for the viewport above. Wraps on narrower widths instead of clipping. */
.dash-product-tabs {
    display: flex; flex-direction: row; flex-wrap: wrap;
    justify-content: center; gap: 8px;
    margin: 1.25rem 0 0;
    max-width: none;
}
.dash-tab {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white);
    border: 1px solid var(--flaire-purple-100);
    color: var(--ink-soft);
    box-shadow: 0 1px 2px rgba(83,74,183,.06);
    padding: 8px 14px; border-radius: 999px;
    font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
    width: auto; justify-content: center; text-align: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.dash-tab:hover {
    background: var(--flaire-purple-50);
    border-color: var(--flaire-purple-200);
    color: var(--ink);
    transform: translateY(-1px);
}
.dash-tab.is-active {
    background: var(--flaire-purple-50);
    border-color: var(--flaire-purple-400);
    color: var(--flaire-purple-800);
    box-shadow: 0 4px 14px rgba(99,102,241,.20);
    transform: translateY(-1px);
}
.dash-tab-dot {
    width: 10px; height: 10px; border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(15,12,50,.05);
    flex-shrink: 0;
}
/* Dark hero background variant (kept around in case the hero gradient is restored) */
[data-theme="dark"] .dash-tab,
.site-nav-dark-context .dash-tab {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
    color: rgba(255,255,255,.78);
    box-shadow: none;
}
[data-theme="dark"] .dash-tab:hover,
.site-nav-dark-context .dash-tab:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.22);
    color: #fff;
}
[data-theme="dark"] .dash-tab.is-active,
.site-nav-dark-context .dash-tab.is-active {
    background: rgba(250,204,21,.16);
    border-color: rgba(250,204,21,.55);
    color: var(--flaire-yellow-300);
}
[data-theme="dark"] .dash-tab.is-active::before,
.site-nav-dark-context .dash-tab.is-active::before {
    background: var(--flaire-yellow-400);
}
.dash-viewport {
    overflow: hidden; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    /* Constrain height to the tallest pane so the surrounding layout doesn't jitter
       when the user clicks through products with slightly different content lengths. */
    position: relative;
    min-width: 0;
}
.dash-track {
    display: flex;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.dash-track > .dash-pane {
    flex: 0 0 100%; min-width: 0;
    /* Each pane carries its own .dash (white card + border + shadow). Strip the
       viewport's own shadow once the pane shadow takes over to avoid double-glow. */
    box-shadow: none;
}
.dash-track > .dash-pane .dash {
    /* Already styled via .dash — no overrides needed. Inheritance fine. */
}
/* Inactive panes shouldn't trap tab focus while parked off-screen */
.dash-pane[aria-hidden="true"] { pointer-events: none; }
.dash-pane[aria-hidden="true"] a,
.dash-pane[aria-hidden="true"] button { visibility: hidden; }

@media (max-width: 900px) {
    .dash-product-tabs { gap: 4px; }
    .dash-tab { padding: 6px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .dash-track { transition: none; }
}
.dash-hdr {
    padding: 13px 16px; background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    display: flex; align-items: center; gap: 7px;
}
.d { width: 11px; height: 11px; border-radius: 50%; }
.dash-title { font-size: 13px; font-weight: 500; color: var(--ink-muted); margin-left: 4px; }
.dash-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.kpi { background: var(--cream); border-radius: 8px; padding: 11px 12px; }
.kpi-n { font-size: 20px; font-weight: 700; line-height: 1; margin-bottom: 3px; }
.kpi-l { font-size: 11px; color: var(--ink-muted); }
.chart-box { background: var(--cream); border-radius: 8px; padding: 11px; }
.chart-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-muted); margin-bottom: 9px; }
.chart-top .up { color: var(--green); font-weight: 600; }
.bars { display: flex; gap: 5px; align-items: flex-end; height: 64px; }
.b { flex: 1; border-radius: 3px 3px 0 0; animation: barGrow .9s cubic-bezier(.34,1.56,.64,1) both; }
.task-list { display: flex; flex-direction: column; gap: 6px; }
.task {
    display: flex; align-items: center; gap: 9px;
    background: var(--cream); border-radius: 7px; padding: 8px 10px;
}
.chk { width: 15px; height: 15px; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.chk.done { background: var(--green); }
.chk.done::after { content:''; width:7px; height:4px; border-left:1.5px solid #fff; border-bottom:1.5px solid #fff; transform:rotate(-45deg) translateY(-1px); display:block; }
.chk.todo { border: 1.5px solid #ddd; }
.task-txt { font-size: 13px; color: var(--ink-soft); flex: 1; }
.task-txt.done { text-decoration: line-through; color: var(--ink-muted); }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 9px; }
.notif {
    background: var(--accent-light); border: 1px solid var(--accent-border);
    border-radius: 8px; padding: 9px 12px;
    display: flex; align-items: center; gap: 8px;
}
.notif-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
.notif-txt { font-size: 13px; color: var(--flaire-yellow-700); font-weight: 500; }

/* â”€â”€ LOGOS BAR â”€â”€ */
.logos-bar {
    background: var(--white);
    border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
    padding: 1.75rem 0;
}
.logos-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.logos-lbl { font-size: 12px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; text-align: center; margin-bottom: 1.25rem; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.logo-co { font-size: 15px; font-weight: 600; color: var(--flaire-purple-800); letter-spacing: -.02em; }

/* â”€â”€ FEATURE CARDS â”€â”€ */
.feat-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.25rem; margin-top: 3.5rem;
}
.feat-card {
    background: var(--white); border-radius: var(--radius-md);
    border: 1px solid var(--flaire-gray-100); padding: 1.5rem; transition: all .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(83,74,183,.10); border-color: var(--flaire-purple-200); }
.feat-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--flaire-purple-50); color: var(--flaire-purple-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 1.25rem;
}
.feat-icon.erp { background: var(--flaire-purple-50); color: var(--flaire-purple-800); }
.feat-icon.crm { background: var(--flaire-purple-50); color: var(--flaire-purple-600); }
.feat-icon.cms { background: var(--flaire-indigo-50); color: var(--flaire-indigo-600); }
.feat-title { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 500; color: var(--flaire-purple-900); margin-bottom: .5rem; }
.feat-desc { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* Skip-to-content link — visually hidden until keyboard focus */
.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 1000;
    background: var(--flaire-purple-900);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--flaire-yellow-400); outline-offset: 2px; }

/* â”€â”€ HOW / DARK SECTION â”€â”€ */
.dark-sec { background: var(--navy); padding: 4rem 0; }
.dark-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.dark-inner .sec-title { color: white; }
.dark-inner .sec-sub { color: rgba(255,255,255,.78); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.home-steps { margin-top: 3rem; }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .steps--5 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 480px)  { .steps--5 { grid-template-columns: 1fr; gap: 1.25rem; } }
.step-num { font-size: 52px; font-weight: 700; color: #818cf8; line-height: 1; margin-bottom: .5rem; letter-spacing: -.04em; }
.step-title { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 500; color: white; margin-bottom: .5rem; }
.step-desc { font-size: 15px; color: rgba(255,255,255,.88); line-height: 1.65; }
.step-tag { margin-top: .75rem; font-size: 11px; color: rgba(255,255,255,.72); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* â”€â”€ TESTIMONIALS â”€â”€ */
.testi-sec { background: var(--white); padding: 4rem 0; border-top: 1px solid var(--border-soft); }
.testi-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3rem; }
.testi-card {
    background: var(--cream); border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft); padding: 1.75rem; transition: all .2s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stars { color: #F5A623; font-size: 15px; margin-bottom: 1rem; letter-spacing: 1px; }
.testi-q { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testi-auth { display: flex; align-items: center; gap: 10px; }
.tav {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: white; flex-shrink: 0;
}
.tname { font-size: 14px; font-weight: 700; color: var(--ink); }
.trole { font-size: 13px; color: var(--ink-muted); }

/* â”€â”€ PRICING (Meridian style) â”€â”€ */
.pricing-sec { background: var(--cream); padding: 6rem 0; border-top: 1px solid var(--border-soft); }
.pricing-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; text-align: center; }

/* Toggle */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2rem; margin-bottom: 3rem; }
.toggle-label { font-size: 15px; font-weight: 600; color: var(--ink-muted); transition: color .2s; }
.toggle-label.active { color: var(--ink); }
.toggle-track {
    width: 46px; height: 24px; background: #ccc; border-radius: 100px;
    cursor: pointer; position: relative; transition: background 0.3s;
}
.toggle-track.on { background: var(--green); }
.toggle-thumb {
    position: absolute; top: 3px; left: 3px;
    width: 18px; height: 18px; border-radius: 50%; background: #fff;
    transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-track.on .toggle-thumb { transform: translateX(22px); }
.save-pill {
    background: var(--green-light); color: var(--green); border: 1px solid var(--green-border);
    font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}

/* Product Columns (pricing overview) */
.product-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.product-col {
    background: var(--white); border-radius: 16px;
    box-shadow: var(--shadow); overflow: hidden;
    display: flex; flex-direction: column; transition: all .2s; position: relative;
}
.product-col:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-header { padding: 24px 22px 18px; border-bottom: 1px solid var(--border-soft); }
.product-col.crm .product-header { border-top: 5px solid var(--crm); }
.product-col.erp .product-header { border-top: 5px solid var(--erp); }
.product-col.suite .product-header { border-top: 5px solid var(--cms); }
.product-tag {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.product-col.crm .product-tag { background: var(--crm-light); color: var(--crm); }
.product-col.erp .product-tag { background: var(--erp-light); color: var(--erp); }
.product-col.suite .product-tag { background: var(--cms-light); color: var(--cms); }
.product-name { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.product-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.ribbon {
    position: absolute; top: -1px; right: -1px;
    background: var(--cms); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 5px 14px 5px 12px;
    border-radius: 0 16px 0 4px;
    z-index: 1;
}

.tiers { padding: 14px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tier-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 13px; border-radius: 9px; border: 1px solid var(--border);
    background: var(--cream); gap: 10px; transition: all .15s;
}
.tier-row:hover { background: var(--crm-light); border-color: var(--green-border); }
.tier-row.trial { background: var(--white); border-style: dashed; opacity: 0.75; }
.tier-row.enterprise { background: var(--accent-light); border-color: var(--accent-border); }
.tier-row.enterprise:hover { background: var(--accent-light); border-color: var(--accent); }
.tier-left { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tier-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); }
.tier-desc { font-size: 12px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-price { font-size: 16px; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.tier-price .per { font-size: 11px; font-weight: 400; color: var(--ink-soft); }
.product-col.crm .tier-row:not(.trial):not(.enterprise) .tier-price { color: var(--crm); }
.product-col.erp .tier-row:not(.trial):not(.enterprise) .tier-price { color: var(--erp); }
.product-col.suite .tier-row:not(.trial):not(.enterprise) .tier-price { color: var(--cms); }
.tier-row.trial .tier-price { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.tier-row.enterprise .tier-price { color: var(--flaire-yellow-700); font-size: 13px; font-weight: 700; }

.suite-savings {
    margin: 0 18px 4px; padding: 8px 13px;
    background: var(--accent-light); border: 1px solid var(--accent-border); border-radius: 8px;
    font-size: 13px; color: var(--flaire-yellow-700); font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}

.features-list { padding: 14px 18px 18px; border-top: 1px solid var(--border-soft); }
.features-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 9px; }
.features-list ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.features-list ul li { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.features-list ul li::before { content: "\2713 "; font-weight: 700; }
.product-col.crm .features-list ul li::before { color: var(--crm); }
.product-col.erp .features-list ul li::before { color: var(--erp); }
.product-col.suite .features-list ul li::before { color: var(--cms); }
.col-cta { padding: 0 18px 20px; }
.col-cta-btn {
    display: block; width: 100%; text-align: center; padding: 11px 16px;
    border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer;
    border: none; transition: all .2s; text-decoration: none; color: white;
}
.col-cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.col-cta-btn.crm { background: var(--crm); }
.col-cta-btn.erp { background: var(--erp); }
.col-cta-btn.suite { background: var(--cms); }

/* Scrollable variant for wide product grids */
.product-columns--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }

/* Pricing page — widen container so 5 product columns fit without horizontal scroll on desktop */
.pricing-page .section { max-width: 1440px; }
.pricing-page .dark-inner,
.pricing-page .pricing-inner { max-width: 1440px; }
@media (min-width: 1280px) {
    .pricing-page .product-columns--scroll { overflow-x: visible; padding-bottom: 0; }
}

/* Plan Cards (focused/detailed) */
.plan-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.5rem; text-align: left; }
.plan-card {
    background: var(--white); border-radius: 16px; padding: 28px 20px;
    box-shadow: var(--shadow); position: relative;
    border-top: 5px solid #ccc; transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.trial { border-top-color: var(--erp); }
.plan-card.starter { border-top-color: var(--green-mid); }
.plan-card.pro { border-top-color: var(--crm); }
.plan-card.enterprise { border-top-color: var(--cms); }

.plan-card .badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    color: white; font-size: 12px; font-weight: 700;
    padding: 4px 14px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.5px;
}
.plan-card .badge.popular { background: var(--crm); }
.plan-card .badge.value { background: var(--cms); }

.plan-card h3 { font-size: 20px; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.plan-card .price { font-size: 36px; font-weight: 800; color: var(--ink); }
.plan-card .price span { font-size: 16px; font-weight: 400; color: var(--ink-soft); }
.plan-card .annual { font-size: 14px; color: var(--erp); font-weight: 600; margin: 4px 0 14px; min-height: 20px; }
.plan-card .desc {
    font-size: 14px; color: var(--ink-soft); margin-bottom: 16px;
    border-top: 1px solid var(--border); padding-top: 12px; line-height: 1.6;
}
.plan-card ul { list-style: none; font-size: 14px; color: var(--ink-soft); flex: 1; }
.plan-card ul li { padding: 4px 0; }
.plan-card ul li::before { content: "\2713 "; color: var(--erp); font-weight: 700; }
.plan-card ul li.extra-user { color: var(--crm); font-weight: 600; font-size: 13px; }
.plan-card ul li.extra-user::before { content: "+ "; color: var(--crm); font-weight: 700; }
.plan-card .cta-btn {
    display: block; margin-top: 20px; text-align: center; padding: 12px;
    border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px;
    cursor: pointer; border: none; transition: all .2s; color: white;
}
.plan-card .cta-btn:hover { opacity: 0.88; }
.plan-card.trial .cta-btn { background: var(--erp); }
.plan-card.starter .cta-btn { background: var(--green-mid); color: #fff; }
.plan-card.pro .cta-btn { background: var(--crm); }
.plan-card.enterprise .cta-btn { background: var(--cms); }

/* â”€â”€ CTA SECTION â”€â”€ */
.cta-sec { padding: 4rem 2rem; background: var(--white); border-top: 1px solid var(--border-soft); text-align: center; }
.cta-sec .sec-title { margin: 0 auto 1rem; max-width: 600px; }
.cta-sec .sec-sub { margin: 0 auto 2.5rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: var(--ink-muted); margin-top: 1.25rem; }

/* â”€â”€ FOOTER â”€â”€ */
.site-footer {
    background: var(--navy); padding: 4rem 0 2rem;
    position: relative;
}
/* Gradient top border */
.site-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--flaire-indigo-400) 30%, var(--ai-cyan-400) 50%, var(--flaire-indigo-400) 70%, transparent 95%);
    opacity: .4;
}
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4,1fr); gap: 3rem; margin-bottom: 3rem; }
.f-logo { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 600; color: white; letter-spacing: -.02em; display: block; margin-bottom: .75rem; text-decoration: none; }
.f-logo span { color: var(--flaire-yellow-400); transition: text-shadow .3s; }
.f-logo:hover span { text-shadow: 0 0 12px rgba(250,204,21,.5); }
.f-tagline { font-size: 14px; color: rgba(255,255,255,.3); line-height: 1.6; max-width: 200px; }
.f-col-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1rem;
    background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(129,140,248,.6));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.f-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.f-links a {
    font-size: 14px; color: rgba(255,255,255,.38); text-decoration: none;
    transition: color .2s, transform .2s, text-shadow .2s;
    display: inline-block;
}
.f-links a:hover {
    color: rgba(255,255,255,.80);
    transform: translateX(4px);
    text-shadow: 0 0 12px rgba(129,140,248,.15);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center;
}
.f-copy { font-size: 13px; color: rgba(255,255,255,.22); }
.f-legal { display: flex; gap: 1.5rem; }
.f-legal a { font-size: 13px; color: rgba(255,255,255,.22); text-decoration: none; transition: color .2s; }
.f-legal a:hover { color: rgba(255,255,255,.55); }

/* â”€â”€ PRODUCT PAGE â”€â”€ */
.product-hero {
    padding: 5rem 2rem 4rem;
    text-align: center;
}
.product-hero .sec-badge { margin-bottom: 1.5rem; }
.product-hero .sec-title { max-width: 700px; margin: 0 auto 1rem; font-size: 48px; font-family: 'Sora', sans-serif; }
.product-hero .sec-sub { max-width: 600px; margin: 0 auto 2rem; }

.feature-section { padding: 4rem 2rem; }
.feature-section:nth-child(even) { background: var(--white); }
.feature-inner { max-width: 1140px; margin: 0 auto; }
.feature-header { margin-bottom: 2.5rem; }
.feature-header h3 { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 500; color: var(--flaire-purple-900); margin-bottom: .5rem; display: flex; align-items: center; gap: 12px; }
.feature-header p { font-size: 16px; color: var(--ink-soft); }
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.feature-item {
    background: var(--cream); border-radius: var(--radius-lg);
    border: 1px solid var(--border); padding: 1.5rem; transition: all .25s;
}
.feature-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-item h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.feature-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* AI Section */
.ai-section { background: var(--navy); padding: 5rem 0; }
.ai-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.ai-inner .sec-badge { background: rgba(99,102,241,.2); color: var(--green-mid); }
.ai-inner .sec-title { color: white; }
.ai-inner .sec-sub { color: rgba(255,255,255,.5); }
.ai-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; }
.ai-card {
    background: rgba(255,255,255,.05); border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.08); padding: 1.75rem; transition: all .25s;
}
.ai-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); transform: translateY(-2px); }
.ai-card h4 { font-size: 17px; font-weight: 700; color: white; margin-bottom: .5rem; }
.ai-card p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: .75rem; }
.ai-card .impact { font-size: 13px; color: var(--green-mid); font-weight: 600; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); }

/* API Section */
.api-section { padding: 4rem 2rem; background: var(--white); }
.api-inner { max-width: 1140px; margin: 0 auto; }
.api-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.api-table th { background: var(--navy); color: white; padding: 12px 16px; text-align: left; font-size: 14px; font-weight: 600; }
.api-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.api-table tr:last-child td { border-bottom: none; }
.api-table tr:hover td { background: var(--green-light); }
.api-method {
    display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px;
    border-radius: 4px; font-family: monospace;
}
.api-method.get { background: var(--green-light); color: var(--green); }
.api-method.post { background: var(--crm-light); color: var(--crm); }
.api-route { font-family: monospace; font-size: 13px; color: var(--ink); }

/* â”€â”€ CONTACT FORM â”€â”€ */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--ink); margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 10px 14px; font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid var(--flaire-gray-300); border-radius: var(--radius-sm);
    background: var(--white); color: var(--flaire-gray-700);
    transition: border-color .15s, box-shadow .15s;
}
.form-group input:hover,
.form-group textarea:hover { border-color: var(--flaire-purple-200); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--flaire-purple-400);
    box-shadow: 0 0 0 3px rgba(127,119,221,.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 13px; color: #cc0000; margin-top: 4px; }
.form-success {
    background: var(--green-light); border: 1px solid var(--green-border);
    border-radius: var(--radius); padding: 1rem 1.5rem;
    color: var(--green); font-weight: 600; margin-bottom: 2rem;
}

/* â”€â”€ NAV DROPDOWNS â”€â”€ */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; color: rgba(255,255,255,.65); background: none; border: none;
    padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer;
    display: flex; align-items: center; gap: 5px;
    transition: all .15s;
}
.nav-dropdown-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-dropdown-btn svg {
    transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown.open .nav-dropdown-btn svg {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); box-shadow: 0 16px 48px rgba(83,74,183,.15), 0 0 0 1px rgba(129,140,248,.06);
    min-width: 220px; padding: 8px 0; z-index: 200;
    padding-top: 10px;
    /* Animated open â€” fade + slide */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1), visibility .25s;
    /* Glassmorphism */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
/* Bridge element (kept for spacing) */
.nav-dropdown-menu::before {
    content: ''; position: absolute; top: -8px; left: 0;
    width: 100%; height: 8px;
}
.nav-dropdown.open > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 16px; font-size: 14px; color: var(--ink-soft);
    text-decoration: none; transition: all .2s;
    border-radius: 6px; margin: 0 6px;
}
.nav-dropdown-menu a:hover { background: var(--cream); color: var(--ink); transform: translateX(3px); }
/* Dropdown product dots â€” glow on hover */
.nav-dd-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    transition: box-shadow .3s;
}
.nav-dropdown-menu a:hover .nav-dd-dot {
    box-shadow: 0 0 8px currentColor, 0 0 16px currentColor;
}

/* â”€â”€ MEGA MENU PANEL â”€â”€ */
.nav-mega {
    position: static;
}
.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.04);
    z-index: 200;
    /* Animation â€” fade + slide down */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1), visibility .3s;
}
/* Hover bridge â€” prevents gap between trigger and panel */
.mega-panel::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}
.nav-mega.open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Gradient accent line at top edge */
.mega-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--flaire-purple-400), var(--flaire-indigo-400), var(--ai-cyan-400));
}

/* Promotional banner bar inside mega panel */
.mega-panel-bar {
    background: linear-gradient(135deg, #1a1740 0%, #3730A3 100%);
    padding: 14px 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    text-align: center;
    letter-spacing: .01em;
}

/* Content area */
.mega-panel-body {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Columns */
.mega-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Category headers â€” like NetDocuments */
.mega-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--flaire-purple-600);
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 2px solid var(--flaire-purple-100);
}

/* Standard text links */
.mega-link,
.nav-links .mega-link {
    display: block;
    padding: 7px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color .15s, padding-left .15s;
    border-radius: 0;
    background: none;
}
.mega-link:hover,
.nav-links .mega-link:hover {
    color: var(--flaire-purple-600);
    padding-left: 6px;
    background: none;
}

/* Product cards (used in Products mega menu) */
.mega-product,
.nav-links .mega-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 2px -12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all .2s;
    color: inherit;
    background: none;
}
.mega-product:hover {
    background: var(--cream);
}
.mega-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: box-shadow .3s, transform .3s;
}
.mega-product:hover .mega-dot {
    box-shadow: 0 0 8px currentColor, 0 0 20px currentColor;
    transform: scale(1.25);
}
.mega-product-name {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}
.mega-product-desc {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 400;
    line-height: 1.3;
}

/* Products mega: 2 columns (wider product col) */
.mega-panel-body:has(.mega-product) {
    grid-template-columns: 1.3fr 1fr;
}

/* Products mega tile grid */
.mega-panel-body--products {
    grid-template-columns: 2fr 1fr;
}
.mega-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 4px;
}
.mega-product-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    min-height: 150px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
    text-align: center;
    border: 1px solid transparent;
}
.mega-product-tile:hover {
    background: var(--cream);
    border-color: var(--border);
}
.mpt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mega-product-tile .mega-product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}
.mega-product-tile .mega-product-desc {
    font-size: 11px;
    color: var(--ink-muted);
    line-height: 1.3;
}
[data-theme="dark"] .mega-product-tile:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .mega-product-tile .mega-product-name { color: rgba(255,255,255,.9); }
[data-theme="dark"] .mega-product-tile .mega-product-desc { color: rgba(255,255,255,.45); }

/* Solutions mega: 4 columns */
.mega-panel-body--4col {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

/* Solutions mega: 3 link columns + 1 featured card */
.mega-panel-body--solutions {
    grid-template-columns: 1fr 1fr 1fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

/* Quiet directional card (right column of Solutions mega) */
.nav-links .mega-feature,
.mega-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px solid var(--border-soft, #E5E1F4);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    transition: border-color .2s, background .2s;
}
.nav-links .mega-feature:hover,
.mega-feature:hover {
    border-color: var(--flaire-purple-200, #C4B5FD);
    background: var(--cream, #FAF8F4);
}
.mega-feature-body { padding: 0; }
.mega-feature-title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink, #1a1740);
    margin-bottom: 6px;
    line-height: 1.3;
}
.mega-feature-desc {
    font-size: 12px;
    color: var(--ink-soft, #475569);
    line-height: 1.5;
    margin: 0 0 12px;
}
.mega-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--flaire-purple-700, #4338CA);
    transition: gap .15s;
}
.nav-links .mega-feature:hover .mega-feature-cta,
.mega-feature:hover .mega-feature-cta { gap: 8px; }

/* Dark mode */
[data-theme="dark"] .mega-feature {
    border-color: rgba(129,140,248,.14);
    background: transparent;
}
[data-theme="dark"] .mega-feature:hover {
    background: rgba(129,140,248,.08);
    border-color: rgba(129,140,248,.30);
}
[data-theme="dark"] .mega-feature-title { color: #E8E8F0; }
[data-theme="dark"] .mega-feature-desc { color: #A0A0B8; }
[data-theme="dark"] .mega-feature-cta { color: var(--ai-cyan-400); }

/* â”€â”€ Products mega â€” categorised layout â”€â”€ */
.mega-panel-body--products-grouped {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
    padding-bottom: 1.25rem;
}
.mega-cat {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.mega-cat-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--flaire-purple-600);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--flaire-purple-100);
}
.mega-cat-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mega-cat-product-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    margin: 0 -8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.mega-cat-product-head:hover {
    background: var(--cream);
}
.mpt-icon-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}
.mega-cat-product-head .mega-product-name {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.mega-cat-product-head .mega-product-desc {
    font-size: 11px;
    color: var(--ink-muted);
    line-height: 1.3;
    margin-top: 1px;
}
.mega-cat-modules {
    list-style: none;
    margin: 0;
    padding: 0 0 0 38px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.mega-cat-modules li { margin: 0; }
.nav-links .mega-cat-modules a,
.mega-cat-modules a {
    display: block;
    padding: 4px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color .15s, padding-left .15s;
    background: none;
    border-radius: 0;
}
.nav-links .mega-cat-modules a:hover,
.mega-cat-modules a:hover {
    color: var(--flaire-purple-600);
    padding-left: 4px;
    background: none;
}
.mega-cat-note {
    margin-top: 6px;
    padding-left: 38px;
    font-size: 11px;
    color: var(--ink-muted);
    font-style: italic;
    line-height: 1.4;
}

/* Footer strip below the categorised body */
.mega-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 2rem 18px;
    border-top: 1px solid var(--border-soft);
    flex-wrap: wrap;
}
.nav-links .mega-panel-foot-cta,
.mega-panel-foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--flaire-purple-50, #EEEDFE);
    color: #4338CA;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
.nav-links .mega-panel-foot-cta:hover,
.mega-panel-foot-cta:hover {
    background: var(--flaire-purple-100, #CECBF6);
    color: #312E81;
    transform: translateX(2px);
}
.mpff-icon { display: inline-flex; align-items: center; }
.mega-panel-foot-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links .mega-panel-foot-links a,
.mega-panel-foot-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    background: none;
    padding: 0;
    transition: color .15s;
}
.nav-links .mega-panel-foot-links a:hover,
.mega-panel-foot-links a:hover {
    color: var(--flaire-purple-600);
    background: none;
}

/* Dark mode for the categorised products layout */
[data-theme="dark"] .mega-cat-heading {
    color: var(--ai-cyan-400);
    border-bottom-color: rgba(129,140,248,.12);
}
[data-theme="dark"] .mega-cat-product-head:hover {
    background: rgba(129,140,248,.06);
}
[data-theme="dark"] .mega-cat-product-head .mega-product-name { color: #E8E8F0; }
[data-theme="dark"] .mega-cat-product-head .mega-product-desc { color: #8589A8; }
[data-theme="dark"] .mega-cat-modules a { color: #A0A0B8; }
[data-theme="dark"] .mega-cat-modules a:hover { color: #E8E8F0; }
[data-theme="dark"] .mega-cat-note { color: #6B6B82; }
[data-theme="dark"] .mega-panel-foot { border-top-color: rgba(129,140,248,.08); }
[data-theme="dark"] .mega-panel-foot-cta {
    background: rgba(129,140,248,.10);
    color: var(--ai-cyan-400);
}
[data-theme="dark"] .mega-panel-foot-cta:hover { background: rgba(129,140,248,.18); }
[data-theme="dark"] .mega-panel-foot-links a { color: #A0A0B8; }
[data-theme="dark"] .mega-panel-foot-links a:hover { color: #E8E8F0; }

/* â”€â”€ MEGA MENU â€” DARK MODE â”€â”€ */
[data-theme="dark"] .mega-panel {
    background: #14132A;
    border-bottom-color: rgba(129,140,248,.08);
    box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 40px rgba(129,140,248,.04);
}
[data-theme="dark"] .mega-panel-bar {
    background: linear-gradient(135deg, #1a1740 0%, #1C1B36 100%);
    color: rgba(255,255,255,.65);
    border-bottom: 1px solid rgba(129,140,248,.06);
}
[data-theme="dark"] .mega-heading {
    color: var(--ai-cyan-400);
    border-bottom-color: rgba(129,140,248,.12);
}
[data-theme="dark"] .mega-link {
    color: #A0A0B8;
}
[data-theme="dark"] .mega-link:hover {
    color: #E8E8F0;
}
[data-theme="dark"] .mega-product:hover {
    background: rgba(129,140,248,.06);
}
[data-theme="dark"] .mega-product-name {
    color: #E8E8F0;
}
[data-theme="dark"] .mega-product-desc {
    color: #6B6B82;
}

/* â”€â”€ STATS BAR â”€â”€ */
.stats-bar {
    background: var(--navy); padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,.05);
}
.stats-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number {
    font-size: 48px; font-weight: 800; color: white;
    letter-spacing: -.03em; line-height: 1;
    display: inline;
}
.stat-suffix {
    font-size: 28px; font-weight: 700; color: var(--flaire-yellow-400);
    display: inline; margin-left: 2px;
}
.stat-item > div:first-child { display: flex; align-items: baseline; justify-content: center; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.4); margin-top: 6px; font-weight: 500; }

/* â”€â”€ COMPLIANCE BADGES â”€â”€ */
.compliance-bar {
    background: var(--white); padding: 4rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.compliance-inner { max-width: 1140px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.compliance-grid {
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.compliance-badge {
    display: flex; flex-direction: column; align-items: center;
    padding: 1.25rem 1.5rem; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--cream);
    min-width: 160px; max-width: 200px; transition: all .2s;
}
.compliance-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-border); }
.compliance-icon {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--green-light); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: .75rem;
}
.compliance-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.compliance-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }

/* â”€â”€ LOGO CAROUSEL â”€â”€ */
@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logos-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logos-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: logoScroll 30s linear infinite;
}
.logos-track:hover {
    animation-play-state: paused;
}
.logos-carousel .logo-co {
    flex-shrink: 0;
    transition: color .2s, opacity .2s;
}
.logos-carousel .logo-co:hover {
    color: var(--ink-soft);
}

/* Pulsar connector carousel */
.connector-carousel-wrap { margin-top: 2rem; }
.connector-carousel-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: .75rem; }
.connector-carousel { overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 10px; mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); }
.connector-track { display: flex; gap: 10px; width: max-content; animation: logoScroll 40s linear infinite; }
.connector-track--rev { animation-direction: reverse; }
.connector-track:hover { animation-play-state: paused; }
.connector-chip { display: flex; align-items: center; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; flex-shrink: 0; cursor: default; transition: border-color .2s, box-shadow .2s; }
.connector-chip:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(83,74,183,.08); }
.connector-chip-dot { display: none; }
.connector-track { display: flex; gap: 10px; width: max-content; animation: logoScroll 70s linear infinite; }
[data-theme="dark"] .connector-chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }

/* â”€â”€ CODE BLOCKS (Developer Hub) â”€â”€ */
.code-block {
    background: #1a1b26; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.08); overflow: hidden;
}
.code-block.compact { margin-top: .75rem; }
.code-tabs {
    display: flex; gap: 0; background: #13141f;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 0 4px;
}
.code-tab {
    background: none; border: none; color: rgba(255,255,255,.4);
    font-size: 13px; font-weight: 600; padding: 10px 16px;
    cursor: pointer; border-bottom: 2px solid transparent;
    transition: all .15s; font-family: inherit;
}
.code-tab:hover { color: rgba(255,255,255,.7); }
.code-tab.active { color: var(--green-mid); border-bottom-color: var(--green-mid); }
.code-body { padding: 0; }
.code-panel {
    display: none; margin: 0; padding: 1.25rem 1.5rem;
    font-size: 13px; line-height: 1.7; color: #a9b1d6;
    font-family: 'Cascadia Code', 'Fira Code', 'SF Mono', Consolas, monospace;
    overflow-x: auto; white-space: pre;
}
.code-panel.active { display: block; }
.code-panel .kw { color: #bb9af7; }
.code-panel .type { color: #7dcfff; }
.code-panel .str { color: #9ece6a; }
.code-panel .num { color: #ff9e64; }
.code-panel .fn { color: #7aa2f7; }
.code-panel .cmt { color: #565f89; font-style: italic; }

/* â”€â”€ API EXPLORER CARDS â”€â”€ */
.api-group-title {
    font-size: 22px; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 1.25rem;
}
.api-group-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.api-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.api-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem;
    transition: all .2s;
}
.api-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-border); }
.api-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: .5rem; flex-wrap: wrap; }
.api-card-header .api-method { flex-shrink: 0; }
.api-card-header .api-route { font-size: 13px; word-break: break-all; }
.api-card-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.api-details { margin-top: .75rem; }
.api-details summary {
    font-size: 13px; font-weight: 600; color: var(--green);
    cursor: pointer; padding: 4px 0;
}
.api-details summary:hover { color: var(--ink); }
.api-method.put { background: #FFF3E0; color: #E76F00; }
.api-method.delete { background: #FFE8E8; color: #CC0000; }

/* â”€â”€ ROADMAP â”€â”€ */
.roadmap-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 2.5rem;
}
.roadmap-col {
    display: flex; flex-direction: column; gap: 1rem;
}
.roadmap-col-header {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; padding: 10px 14px;
    border-radius: var(--radius); display: flex; align-items: center; gap: 8px;
}
.roadmap-col-header.planned { background: var(--cream); color: var(--ink-muted); }
.roadmap-col-header.in-progress { background: var(--accent-light); color: var(--flaire-yellow-700); }
.roadmap-col-header.shipped { background: var(--green-light); color: var(--green); }
.roadmap-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.roadmap-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem;
    transition: all .2s;
}
.roadmap-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.roadmap-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.roadmap-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.roadmap-tags { display: flex; gap: 6px; margin-bottom: .5rem; flex-wrap: wrap; }
.rtag {
    font-size: 11px; font-weight: 700; padding: 2px 8px;
    border-radius: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.rtag.erp { background: var(--erp-light); color: var(--erp); }
.rtag.crm { background: var(--crm-light); color: var(--crm); }
.rtag.cms { background: var(--cms-light); color: var(--cms); }
.rtag.quarter { background: var(--cream); color: var(--ink-muted); border: 1px solid var(--border); }

/* â”€â”€ CHANGELOG â”€â”€ */
.changelog-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.changelog-entry {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.changelog-header {
    padding: 1rem 1.5rem; background: var(--cream);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
}
.changelog-version {
    font-size: 15px; font-weight: 800; color: var(--ink);
    background: var(--white); border: 1px solid var(--border);
    padding: 3px 12px; border-radius: 8px;
}
.changelog-date { font-size: 14px; color: var(--ink-muted); }
.changelog-items { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 8px; }
.changelog-item {
    font-size: 14px; color: var(--ink-soft); line-height: 1.55;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cl-tag {
    font-size: 11px; font-weight: 700; padding: 2px 8px;
    border-radius: 10px; text-transform: uppercase; letter-spacing: .04em;
    flex-shrink: 0;
}
.cl-tag.new { background: var(--green-light); color: var(--green); }
.cl-tag.improved { background: var(--crm-light); color: var(--crm); }
.cl-tag.fixed { background: #FFF3E0; color: #E76F00; }

/* â”€â”€ DARK MODE â”€â”€ */
[data-theme="dark"] {
    --cream: #0C0B1A;
    --white: #14132A;
    --ink: #E8E8F0;
    --ink-soft: #A0A0B8;
    --ink-muted: #6B6B82;
    --border: rgba(127,119,221,0.10);
    --border-soft: rgba(127,119,221,0.05);
    --navy: #0C0B1A;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow: 0 4px 16px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.18);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.22);
    --green-light: rgba(127,119,221,.12);
    --green-border: rgba(127,119,221,.25);
    --accent-light: rgba(250,204,21,.08);
    --accent-border: rgba(250,204,21,.2);
    --erp-light: rgba(60,52,137,.2);
    --crm-light: rgba(83,74,183,.2);
    --cms-light: rgba(79,70,229,.15);
    --erp: #A78BFA;
    --crm: #818CF8;
    --cms: #93C5FD;
    --green: #818CF8;
    --green-mid: #A5B4FC;
    --flaire-purple-50: rgba(129,140,248,.1);
    --flaire-purple-200: rgba(129,140,248,.2);
    --flaire-purple-600: #818CF8;
    --flaire-purple-800: #A0A0B8;
    --flaire-purple-900: #E8E8F0;
    --flaire-gray-500: #A0A0B8;
    --flaire-gray-700: #A0A0B8;
    --flaire-gray-900: #E8E8F0;
    --flaire-indigo-50: rgba(129,140,248,.1);
    --flaire-indigo-600: #818CF8;
}
[data-theme="dark"] .site-nav { background: #1a1840; }
[data-theme="dark"] .nav-dropdown-menu {
    background: rgba(28,27,54,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(129,140,248,.12);
    box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 30px rgba(129,140,248,.06);
}
[data-theme="dark"] .stats-bar { background: #0C0B1A; }
[data-theme="dark"] .dark-sec { background: #0C0B1A; }
[data-theme="dark"] .site-footer { background: #0C0B1A; }
[data-theme="dark"] .dash { background: #1C1B36; border-color: rgba(129,140,248,.08); }
[data-theme="dark"] .dash-hdr { background: #1C1B36; }
[data-theme="dark"] .kpi { background: rgba(129,140,248,.05); }
[data-theme="dark"] .chart-box { background: rgba(129,140,248,.05); }
[data-theme="dark"] .task { background: rgba(129,140,248,.05); }
[data-theme="dark"] .compliance-badge { background: #1C1B36; }
[data-theme="dark"] .api-table th { background: #1C1B36; }
[data-theme="dark"] .api-table tr:hover td { background: rgba(99,102,241,.08); }
[data-theme="dark"] img { filter: brightness(.9); }
[data-theme="dark"] .logos-bar { background: #14132A; }
[data-theme="dark"] .product-col { background: #1C1B36; }
[data-theme="dark"] .plan-card { background: #1C1B36; border-top-color: #333; }
[data-theme="dark"] .tier-row { background: rgba(129,140,248,.05); }
[data-theme="dark"] .tier-row.trial { background: rgba(129,140,248,.03); }
[data-theme="dark"] .tier-row.enterprise { background: rgba(245,158,11,.08); }
[data-theme="dark"] .suite-savings { background: rgba(245,158,11,.08); }
[data-theme="dark"] .faq-item { background: #1C1B36; }
[data-theme="dark"] .feat-card { background: #1C1B36; }
[data-theme="dark"] .feat-title { color: #E8E8F0; }
[data-theme="dark"] .feat-desc { color: #A0A0B8; }
[data-theme="dark"] .card-link { color: var(--flaire-yellow-400); }
[data-theme="dark"] .testi-card { background: #1C1B36; }
[data-theme="dark"] .testi-sec { background: #14132A; }
[data-theme="dark"] .cta-sec { background: #14132A; }
[data-theme="dark"] .product-hero { background: #0C0B1A !important; }
[data-theme="dark"] .breadcrumbs { background: #14132A; }
[data-theme="dark"] .cookie-banner { background: #1C1B36; }
[data-theme="dark"] .feature-item { background: #1C1B36; }
[data-theme="dark"] .mock-widget { background: #1C1B36; }
[data-theme="dark"] .product-screenshot { background: #1C1B36; }
[data-theme="dark"] .product-screenshot-body { background: linear-gradient(135deg, #0C0B1A 0%, #14132A 100%); }
[data-theme="dark"] .contact-wrap input,
[data-theme="dark"] .contact-wrap textarea { background: #1C1B36; color: var(--ink); border-color: rgba(129,140,248,.15); }
[data-theme="dark"] .toggle-track { background: #333; }
[data-theme="dark"] .ribbon { color: #fff; }
[data-theme="dark"] .compliance-bar { background: #14132A; }
[data-theme="dark"] .blog-card { background: #1C1B36; }
[data-theme="dark"] .roadmap-card { background: #1C1B36; }
[data-theme="dark"] .changelog-entry { background: #1C1B36; }
[data-theme="dark"] .changelog-header { background: rgba(129,140,248,.05); }
[data-theme="dark"] .status-item { background: #1C1B36; }
[data-theme="dark"] .compare-table { background: #1C1B36; }
[data-theme="dark"] .compare-table tr:hover td { filter: brightness(1.1); }
[data-theme="dark"] .docs-step { border-color: rgba(129,140,248,.1); }

/* Dark mode text contrast fixes */
[data-theme="dark"] .sec-title { color: #E8E8F0; }
[data-theme="dark"] .sec-badge { background: rgba(129,140,248,.12); color: #A0A0B8; border: 1px solid rgba(129,140,248,.2); }
[data-theme="dark"] .btn-light { color: #E8E8F0; border-color: rgba(129,140,248,.2); background: rgba(129,140,248,.08); }
[data-theme="dark"] .btn-ghost { color: #E8E8F0; border-color: rgba(129,140,248,.2); }
[data-theme="dark"] .feature-header h3 { color: #E8E8F0; }
[data-theme="dark"] .feature-item h4 { color: #E8E8F0; }
[data-theme="dark"] .product-name { color: #E8E8F0; }
[data-theme="dark"] .plan-card h3 { color: #E8E8F0; }
[data-theme="dark"] .plan-card .price { color: #E8E8F0; }
[data-theme="dark"] .tier-name { color: #A0A0B8; }
[data-theme="dark"] .tname { color: #E8E8F0; }
[data-theme="dark"] .compliance-title { color: #E8E8F0; }
[data-theme="dark"] .roadmap-card h4 { color: #E8E8F0; }
[data-theme="dark"] .blog-card h2,
[data-theme="dark"] .blog-card h3 { color: #E8E8F0; }
[data-theme="dark"] .article-body h2 { color: #E8E8F0; }
[data-theme="dark"] .sidebar-card h4 { color: #E8E8F0; }
[data-theme="dark"] .api-group-title { color: #E8E8F0; }
[data-theme="dark"] .api-route { color: #A0A0B8; }
[data-theme="dark"] .status-name { color: #E8E8F0; }
[data-theme="dark"] .team-name { color: #E8E8F0; }
[data-theme="dark"] .form-group label { color: #E8E8F0; }
[data-theme="dark"] .legal-wrap h2 { color: #E8E8F0; }
[data-theme="dark"] .legal-wrap a { color: var(--flaire-yellow-400); }
[data-theme="dark"] .logo-co { color: #A0A0B8; }
[data-theme="dark"] .compliance-icon { background: rgba(129,140,248,.15); color: var(--flaire-yellow-400); }
[data-theme="dark"] .feat-icon { background: rgba(129,140,248,.15) !important; color: var(--flaire-yellow-400) !important; }
[data-theme="dark"] .compliance-desc { color: #A0A0B8; }
[data-theme="dark"] .site-nav .btn-primary,
[data-theme="dark"] .btn-green,
[data-theme="dark"] .hero-ctas .btn-dark,
[data-theme="dark"] .cta-sec .btn-dark,
[data-theme="dark"] .fn-btn { color: #1a1740; }
[data-theme="dark"] .hero h1 em,
[data-theme="dark"] .hero-title em {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    color: #fff;
}
[data-theme="dark"] .hero-brand {
    color: #FACC15;
    -webkit-text-fill-color: #FACC15;
}
[data-theme="dark"] .btn-dark { background: var(--flaire-yellow-400); color: #1a1740; border: 2px solid var(--flaire-yellow-500); }
[data-theme="dark"] .btn-dark:hover { background: var(--flaire-yellow-300); }
[data-theme="dark"] .btn-light { background: rgba(129,140,248,.1); color: #E8E8F0; border-color: rgba(129,140,248,.25); }
[data-theme="dark"] .compare-no { color: #F87171; }
[data-theme="dark"] .compare-partial { color: #FBBF24; }
[data-theme="dark"] .code-panel .cmt { color: #6B6B82; }
[data-theme="dark"] .sec-sub { color: #A0A0B8; }

/* Theme toggle button */
.theme-toggle {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--border);
    box-shadow: var(--shadow); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; color: var(--ink);
}
.theme-toggle:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: block; }

/* â”€â”€ BLOG â”€â”€ */
.blog-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.blog-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    text-decoration: none; color: inherit; transition: all .25s;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card.featured {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1fr;
}
.blog-card-img {
    min-height: 180px; padding: 1.25rem;
    display: flex; align-items: flex-start; justify-content: flex-start;
    position: relative;
}
.blog-card.featured .blog-card-img { min-height: 260px; }
.blog-card-cat {
    font-size: 11px; font-weight: 700; padding: 4px 10px;
    border-radius: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.blog-card-cat.erp { background: var(--erp-light); color: var(--erp); }
.blog-card-cat.crm { background: var(--crm-light); color: var(--crm); }
.blog-card-cat.cms { background: var(--cms-light); color: var(--cms); }
.blog-card-cat.mission { background: var(--green-light); color: var(--green); }
.blog-card-cat.market { background: var(--cms-light); color: var(--cms); }
.blog-card-cat.product { background: var(--erp-light); color: var(--erp); }
.blog-card-cat.architecture { background: var(--crm-light); color: var(--crm); }
.blog-card-cat.ai { background: var(--cms-light); color: var(--cms); }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 6px; font-size: 13px; color: var(--ink-muted); margin-bottom: .5rem; }
.blog-card h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: .5rem; line-height: 1.3; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: .5rem; line-height: 1.35; }
.blog-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.blog-author {
    display: flex; align-items: center; gap: 8px; margin-top: 1rem;
    font-size: 13px; color: var(--ink-muted); font-weight: 500;
}

/* Article page */
.article-wrap {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 300px; gap: 3rem;
}
.article-body { max-width: 720px; }
.article-body h2 { font-size: 24px; font-weight: 700; color: var(--ink); margin: 2rem 0 .75rem; }
.article-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.25rem; }
.article-body ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body ul li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: .5rem; }
.article-lead { font-size: 18px; line-height: 1.7; color: var(--ink-soft); border-left: 3px solid var(--green); padding-left: 1.25rem; }
.sidebar-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem;
}
.sidebar-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.sidebar-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sidebar-card ul li a { font-size: 14px; color: var(--green); text-decoration: none; font-weight: 500; }
.sidebar-card ul li a:hover { text-decoration: underline; }

/* â”€â”€ COMPARISON TABLES â”€â”€ */
.compare-table-wrap {
    overflow-x: auto; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); margin-top: 2rem; border: 1px solid var(--border);
}
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.compare-table th {
    background: var(--navy); color: white; padding: 12px 16px;
    text-align: left; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.compare-table th.col-flaire { background: var(--green); }
.compare-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table td.col-flaire { background: var(--green-light); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { filter: brightness(0.97); }
[data-theme="dark"] .compare-table td.col-flaire { background: rgba(99,102,241,.1); }
.compare-yes { color: var(--green); font-weight: 700; }
.compare-no { color: #CC0000; font-weight: 600; }
.compare-partial { color: #E76F00; font-weight: 600; }

/* â”€â”€ PRODUCT VISUAL MOCK â”€â”€ */
.product-visual {
    max-width: 1140px; margin: 0 auto; padding: 0 2rem;
}
.product-screenshot {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    overflow: hidden; margin: 2rem auto;
}
.product-screenshot .dash-hdr { border-bottom: 1px solid var(--border-soft); }
.product-screenshot-body {
    padding: 2rem; min-height: 200px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.mock-widget {
    background: var(--white); border: 1px solid rgba(209,213,219,.5);
    border-radius: var(--radius); padding: 1.25rem;
}
.mock-widget h5 { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }

/* â”€â”€ COOKIE CONSENT â”€â”€ */
.cookie-banner {
    position: fixed; bottom: 16px; left: 16px; right: auto;
    max-width: 460px; z-index: 1000;
    background: var(--white); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}
.cookie-inner {
    padding: 0.6rem 0.85rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { font-size: 11.5px; color: var(--ink); display: block; margin-bottom: 1px; }
.cookie-text p { font-size: 11px; color: var(--ink-soft); line-height: 1.35; margin: 0; }
.cookie-actions { display: flex; gap: 6px; flex-shrink: 0; }
.cookie-actions .btn-primary,
.cookie-actions .btn-ghost { font-size: 11.5px !important; padding: 5px 12px !important; }

/* â”€â”€ VIDEO PLACEHOLDER â”€â”€ */
.video-placeholder {
    max-width: 800px; margin: 0 auto;
    aspect-ratio: 16/9; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1a1740 0%, #3C3489 50%, #3730A3 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1rem; cursor: pointer; transition: all .3s;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.video-placeholder::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(99,102,241,.2) 0%, transparent 60%);
}
.video-placeholder:hover { transform: scale(1.01); box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.video-placeholder:hover .video-play svg circle { stroke: var(--green-mid); }
.video-play { position: relative; z-index: 1; transition: transform .2s; }
.video-placeholder:hover .video-play { transform: scale(1.1); }
.video-label { font-size: 14px; color: rgba(255,255,255,.5); font-weight: 500; position: relative; z-index: 1; }

/* â”€â”€ INTEGRATION CARDS â”€â”€ */
.integration-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.integration-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem;
    display: flex; gap: 1rem; align-items: flex-start; transition: all .2s;
}
.integration-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.integration-icon {
    width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.integration-info { flex: 1; min-width: 0; }
.integration-info h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.integration-info p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: .4rem; }
.integration-where { font-size: 11px; font-weight: 600; color: var(--ink-soft); }

/* â”€â”€ STATUS PAGE â”€â”€ */
.status-banner {
    display: flex; align-items: center; gap: 10px; justify-content: center;
    padding: 1rem 1.5rem; border-radius: var(--radius-lg); margin-bottom: 2rem;
    font-size: 16px; font-weight: 700;
}
.status-banner.operational { background: var(--green-light); color: var(--green); }
.status-grid { display: flex; flex-direction: column; gap: 8px; }
.status-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dot.operational { background: var(--green); }
.status-dot.degraded { background: #E76F00; }
.status-dot.down { background: #CC0000; }
.status-name { font-size: 15px; font-weight: 600; color: var(--ink); flex: 1; }
.status-state { font-size: 13px; color: var(--green); font-weight: 600; }

/* â”€â”€ DOCS STEPS â”€â”€ */
.docs-steps { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.docs-step {
    display: flex; gap: 1.5rem; padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.docs-step:last-child { border-bottom: none; }
.docs-step-num {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--green); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
}
.docs-step-content h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.docs-step-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-bottom: .5rem; }

/* â”€â”€ ARCHITECTURE DIAGRAM â”€â”€ */
.arch-diagram {
    max-width: 100%;
    margin: 0 auto;
}
.arch-modules {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.arch-module {
    background: var(--white);
    border: 2px solid var(--module-color, var(--border));
    border-radius: var(--radius-md);
    padding: 0.75rem 0.5rem;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: 90px;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}
.arch-module:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(83,74,183,.12);
}
.arch-module-name {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--module-color, var(--ink));
    line-height: 1.2;
}
.arch-module-label {
    font-size: 10px;
    color: var(--ink-soft);
    font-weight: 500;
    margin-top: 2px;
}
.arch-connector {
    color: var(--ink-soft);
    flex-shrink: 0;
    padding: 0 1px;
    display: flex;
    align-items: center;
}
.arch-connector svg {
    width: 22px;
    height: 10px;
}
.arch-arrows {
    color: var(--ink-soft);
    margin: 0;
    line-height: 0;
}
.arch-dashes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.arch-dash {
    flex: 1 1 0;
    min-width: 0;
    max-width: 110px;
    height: 20px;
    position: relative;
}
.arch-dash::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1.5px;
    height: 100%;
    background: repeating-linear-gradient(to bottom, currentColor 0, currentColor 3px, transparent 3px, transparent 6px);
    opacity: .3;
}
/* spacers matching arch-connector width (22px svg + 4px padding) */
.arch-dash + .arch-dash {
    margin-left: 26px;
}
.arch-layer {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
}
.arch-layer-label {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .5rem;
}
.arch-layer-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.arch-layer-tags span {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--flaire-purple-600);
    background: var(--flaire-purple-50);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Dark variant (used inside dark-sec on Home page) */
.arch-diagram--dark .arch-module {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.15);
}
.arch-diagram--dark .arch-module:hover {
    background: rgba(255,255,255,.10);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.arch-diagram--dark .arch-module-name {
    color: #fff;
}
.arch-diagram--dark .arch-module-label {
    color: rgba(255,255,255,.45);
}
.arch-diagram--dark .arch-connector {
    color: rgba(255,255,255,.3);
}
.arch-diagram--dark .arch-arrows {
    color: rgba(255,255,255,.3);
}
.arch-diagram--dark .arch-layer {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.10);
}
.arch-diagram--dark .arch-layer-label {
    color: rgba(255,255,255,.7);
}
.arch-diagram--dark .arch-layer-tags span {
    background: rgba(129,140,248,.15);
    color: var(--ai-cyan-400);
}

/* Dark theme overrides */
[data-theme="dark"] .arch-module {
    background: rgba(129,140,248,.04);
    border-color: rgba(129,140,248,.15);
}
[data-theme="dark"] .arch-module:hover {
    background: rgba(129,140,248,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
[data-theme="dark"] .arch-module-name {
    color: var(--module-color, #E8E8F0);
}
[data-theme="dark"] .arch-module-label {
    color: #6B6B82;
}
[data-theme="dark"] .arch-layer {
    background: rgba(129,140,248,.04);
    border-color: rgba(129,140,248,.08);
}
[data-theme="dark"] .arch-layer-label {
    color: #E8E8F0;
}
[data-theme="dark"] .arch-layer-tags span {
    background: rgba(129,140,248,.12);
    color: var(--ai-cyan-400);
}

@media (max-width: 560px) {
    .arch-modules { flex-direction: column; gap: 8px; }
    .arch-connector { transform: rotate(90deg); }
    .arch-module { max-width: 100%; }
    .arch-arrows { display: none; }
}

/* â”€â”€ VISION & MISSION CARDS â”€â”€ */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.vm-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-smooth);
}
.vm-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(129,140,248,.20);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.vm-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(129,140,248,.12);
    color: var(--ai-cyan-400);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.vm-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ai-cyan-400);
    margin-bottom: .75rem;
}
.vm-title {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}
.vm-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
}

/* Dark theme adjustments for VM cards */
[data-theme="dark"] .vm-card {
    background: rgba(129,140,248,.04);
    border-color: rgba(129,140,248,.08);
}
[data-theme="dark"] .vm-card:hover {
    background: rgba(129,140,248,.08);
    border-color: rgba(129,140,248,.20);
    box-shadow: 0 12px 40px rgba(0,0,0,.3), 0 0 30px rgba(129,140,248,.06);
}

/* Light theme â€” VM cards need inverted treatment since they're on dark-sec */
/* (dark-sec already provides the dark background, so no changes needed) */

@media (max-width: 900px) {
    .vm-grid { grid-template-columns: 1fr; }
    .vm-title { font-size: 20px; }
    .vm-card { padding: 2rem 1.5rem; }
}

/* â”€â”€ LEGAL PAGES â”€â”€ */
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-wrap h2 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 500; color: var(--flaire-purple-900); margin: 2.5rem 0 .75rem; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.legal-wrap ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-wrap ul li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: .4rem; }
.legal-wrap a { color: var(--flaire-purple-600); }
.legal-wrap a:hover { color: var(--flaire-purple-800); }

/* â”€â”€ BREADCRUMBS â”€â”€ */
.breadcrumbs {
    background: var(--white); border-bottom: 1px solid var(--border-soft);
    padding: 10px 0;
}
.breadcrumbs-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 2rem;
    font-size: 13px; display: flex; align-items: center; gap: 6px;
}
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); }
.bc-sep { color: var(--ink-muted); }
.bc-current { color: var(--ink-soft); font-weight: 600; }

/* â”€â”€ BACK TO TOP â”€â”€ */
.back-to-top {
    position: fixed; bottom: 24px; right: 76px; z-index: 998;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--border);
    box-shadow: var(--shadow); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; color: var(--ink);
    opacity: 0; pointer-events: none; transform: translateY(10px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* â”€â”€ FAQ ACCORDION â”€â”€ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: all .2s;
}
.faq-item:hover { border-color: var(--green-border); }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-q {
    padding: 1.15rem 1.5rem; font-size: 15px; font-weight: 700;
    color: var(--ink); cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: '+'; font-size: 20px; font-weight: 300; color: var(--ink-muted);
    transition: transform .2s; flex-shrink: 0; margin-left: 1rem;
}
.faq-item[open] .faq-q::after { content: '\2212'; }
.faq-a {
    padding: 0 1.5rem 1.25rem; font-size: 15px;
    color: var(--ink-soft); line-height: 1.7;
}

/* â”€â”€ TEAM GRID â”€â”€ */
.team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-top: 2.5rem;
}
.team-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    text-align: center; transition: all .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: white;
    margin: 0 auto 1rem;
}
.team-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.team-role { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: .5rem; }
.team-bio { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.team-socials {
    display: flex; gap: 8px; justify-content: center; margin-top: .75rem;
}
.team-socials a {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--cream); display: flex; align-items: center; justify-content: center;
    color: var(--ink-muted); transition: all .15s;
}
.team-socials a:hover { background: var(--green-light); color: var(--green); }

/* â”€â”€ FOOTER NEWSLETTER â€” GLASS CARD â”€â”€ */
.footer-newsletter {
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 2rem; margin-bottom: 2.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    /* Glassmorphism card */
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(129,140,248,.10);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
/* Subtle gradient accent on the left edge */
.footer-newsletter::before {
    content: '';
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--flaire-indigo-400), var(--ai-cyan-400));
    border-radius: 3px 0 0 3px;
}
.fn-text h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 500; color: white; margin-bottom: 4px; }
.fn-text p { font-size: 14px; color: rgba(255,255,255,.4); }
.fn-form { display: flex; gap: 8px; flex-shrink: 0; }
.fn-form input {
    padding: 10px 16px; font-size: 14px; border-radius: 8px;
    border: 1px solid rgba(129,140,248,.15); background: rgba(255,255,255,.06);
    color: white; min-width: 240px; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.fn-form input::placeholder { color: rgba(255,255,255,.3); }
.fn-form input:focus {
    outline: none;
    border-color: var(--ai-cyan-400);
    box-shadow: 0 0 0 3px rgba(6,182,212,.15), 0 0 20px rgba(6,182,212,.08);
}
.fn-btn {
    font-family: 'DM Sans', sans-serif;
    padding: 10px 20px; font-size: 14px; font-weight: 700;
    background: var(--flaire-yellow-400); color: var(--flaire-purple-900);
    border: 2px solid var(--flaire-yellow-500); border-radius: var(--radius-sm);
    cursor: pointer; transition: all .2s; white-space: nowrap;
    position: relative; overflow: hidden;
}
.fn-btn::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    animation: btn-shimmer 4s ease-in-out infinite 1s;
    pointer-events: none;
}
.fn-btn:hover { background: var(--flaire-yellow-300); box-shadow: 0 4px 20px rgba(250,204,21,.35); }

/* â”€â”€ FOOTER SOCIALS â€” GLOW HOVER â”€â”€ */
.f-socials { display: flex; gap: 10px; margin-top: 1rem; }
.f-social-link {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.35);
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.f-social-link:hover {
    color: white; border-color: rgba(129,140,248,.30);
    transform: translateY(-3px);
}
/* Platform-specific glow colors */
.f-social-link:nth-child(1):hover { background: rgba(255,255,255,.12); box-shadow: 0 4px 16px rgba(255,255,255,.10); } /* X */
.f-social-link:nth-child(2):hover { background: rgba(10,102,194,.15); box-shadow: 0 4px 16px rgba(10,102,194,.20); } /* LinkedIn */
.f-social-link:nth-child(3):hover { background: rgba(129,140,248,.12); box-shadow: 0 4px 16px rgba(129,140,248,.15); } /* GitHub */
.f-social-link:nth-child(4):hover { background: rgba(255,0,0,.10); box-shadow: 0 4px 16px rgba(255,0,0,.12); } /* YouTube */

/* â”€â”€ SHARE BAR (Blog Articles) â”€â”€ */
.share-bar {
    margin: 2rem 0; padding: 1.25rem;
    background: var(--cream); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; gap: 1rem;
}
.share-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.share-links { display: flex; gap: 8px; }
.share-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
    background: var(--white); border: 1px solid var(--border);
    color: var(--ink-soft); cursor: pointer; transition: all .15s;
    text-decoration: none; gap: 6px;
}
.share-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* â”€â”€ CRM HUB DIAGRAM â”€â”€ */
.crm-hub-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}
.hub-center {
    grid-column: 2;
    grid-row: 2 / 4;
    text-align: center;
}
.hub-center-inner {
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--green); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; letter-spacing: .02em;
    margin: 0 auto .5rem;
    box-shadow: 0 0 0 8px rgba(99,102,241,.18), 0 0 0 16px rgba(99,102,241,.08);
}
.hub-center-sub { font-size: 12px; color: rgba(255,255,255,.4); font-weight: 600; }
.hub-spoke {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: .75rem 1.25rem;
    transition: all .2s;
}
.hub-spoke:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); transform: scale(1.05); }
.hub-spoke-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); white-space: nowrap; }

/* â”€â”€ CARD LINKS â”€â”€ */
.card-link {
    display: inline-block; margin-top: .75rem;
    font-size: 13px; font-weight: 500; color: var(--flaire-purple-600);
    transition: color .15s;
}
a.feat-card:hover .card-link,
a.testi-card:hover .card-link { color: var(--ink); }
a.compliance-badge { cursor: pointer; }
a.compliance-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-border); }

/* ============================================
   AI-INSPIRED VISUAL ENHANCEMENTS
   ============================================ */

/* â”€â”€ GRADIENT TEXT ON HEADINGS â”€â”€ */
/* Gradient text â€” light mode: dark purple â†’ indigo (high contrast on white) */
.sec-title {
    background: linear-gradient(135deg, #1a1740 0%, #3730A3 60%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Dark sections (dark-sec, ai-section): white â†’ purple â†’ cyan */
.dark-inner .sec-title,
.ai-inner .sec-title {
    background: linear-gradient(135deg, #ffffff 0%, #C7D2FE 50%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-sec .sec-title {
    background: linear-gradient(135deg, #1a1740 0%, #3730A3 50%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 em, .hero-title em {
    background: linear-gradient(135deg, #FACC15 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-style: normal;
}
.step-num {
    background: linear-gradient(180deg, #818CF8 0%, var(--ai-cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-number {
    background: linear-gradient(135deg, #ffffff 30%, var(--ai-cyan-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.product-hero .sec-title {
    background: linear-gradient(135deg, #1a1740 0%, #3730A3 50%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* â”€â”€ NAVIGATION â€” GLASSMORPHISM & LINK ANIMATION â”€â”€ */
.site-nav {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(38,33,92,.88);
    border-bottom: 1px solid rgba(129,140,248,.08);
}
.nav-logo span { transition: text-shadow .3s; }
.nav-logo:hover span {
    text-shadow: 0 0 15px rgba(250,204,21,.5), 0 0 30px rgba(250,204,21,.2);
}
.nav-links > a {
    position: relative;
}
.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--flaire-indigo-400), var(--ai-cyan-400));
    transition: width .3s ease, left .3s ease;
    border-radius: 1px;
}
.nav-links > a:hover::after,
.nav-links > a.active::after {
    width: 70%; left: 15%;
}

/* â”€â”€ HERO â€” AMBIENT ORB EFFECTS â”€â”€ */
section:has(.hero-wrap) {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #1a1740 0%, #312A80 35%, #3730A3 65%, #1E3A5F 100%);
}
section:has(.hero-wrap)::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,.18) 0%, transparent 70%);
    animation: orb-float 15s ease-in-out infinite, glow-breathe 8s ease-in-out infinite;
    pointer-events: none;
}
section:has(.hero-wrap)::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129,140,248,.15) 0%, transparent 70%);
    animation: orb-float 20s ease-in-out infinite reverse, glow-breathe 10s ease-in-out infinite 2s;
    pointer-events: none;
}
.hero-wrap {
    position: relative;
    z-index: 1;
}
.hero-visual {
    filter: drop-shadow(0 0 40px rgba(129,140,248,.15));
}
.dash {
    box-shadow: 0 25px 60px rgba(0,0,0,.25), 0 0 40px rgba(129,140,248,.10);
    border: 1px solid rgba(255,255,255,.12);
}

/* â”€â”€ BUTTON GLOW EFFECTS â”€â”€ */
.btn-dark:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.35), var(--glow-lg) rgba(83,74,183,.10);
}
.hero-ctas .btn-dark:hover {
    box-shadow: 0 4px 25px rgba(250,204,21,.45), var(--glow-lg) rgba(250,204,21,.15);
}
.site-nav .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(250,204,21,.45), 0 0 50px rgba(250,204,21,.12);
}
.btn-green:hover {
    box-shadow: 0 4px 20px rgba(250,204,21,.45), 0 0 50px rgba(250,204,21,.12);
}
.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.30), var(--glow-md) rgba(83,74,183,.10);
}
.fn-btn:hover {
    box-shadow: 0 4px 20px rgba(250,204,21,.45), 0 0 50px rgba(250,204,21,.12);
}
.col-cta-btn:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.25), var(--glow-md) rgba(83,74,183,.08);
    transform: translateY(-2px);
    opacity: 1;
}
.plan-card .cta-btn:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.25), var(--glow-md) rgba(83,74,183,.08);
    opacity: 1;
    transform: translateY(-1px);
}

/* â”€â”€ FEATURE CARDS â€” GLASSMORPHISM â”€â”€ */
.feat-card {
    transition: all var(--transition-smooth);
    border: 1px solid rgba(209,213,219,.6);
}
.feat-card:hover {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(129,140,248,.30);
    box-shadow: 0 8px 32px rgba(83,74,183,.12), 0 0 0 1px rgba(129,140,248,.08), inset 0 1px 0 rgba(255,255,255,.5);
    transform: translateY(-6px);
}
.feat-icon {
    transition: all var(--transition-smooth);
}
.feat-card:hover .feat-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(83,74,183,.15);
}

/* â”€â”€ AI CARDS â€” ENHANCED GLOW â”€â”€ */
.ai-card {
    transition: all var(--transition-smooth);
}
.ai-card:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(129,140,248,.25);
    box-shadow: 0 0 30px rgba(129,140,248,.08), 0 8px 32px rgba(0,0,0,.15);
    transform: translateY(-4px);
}

/* â”€â”€ PLAN & PRODUCT CARDS â€” REFINED â”€â”€ */
.plan-card {
    transition: all var(--transition-smooth);
}
.plan-card:hover {
    box-shadow: 0 16px 48px rgba(83,74,183,.15), 0 0 0 1px rgba(129,140,248,.08);
    transform: translateY(-6px);
}
.product-col {
    transition: all var(--transition-smooth);
}
.product-col:hover {
    box-shadow: 0 16px 48px rgba(83,74,183,.15), 0 0 0 1px rgba(129,140,248,.06);
    transform: translateY(-6px);
}

/* â”€â”€ TESTIMONIAL CARDS â€” SMOOTH LIFT â”€â”€ */
.testi-card {
    transition: all var(--transition-smooth);
}
.testi-card:hover {
    box-shadow: 0 8px 32px rgba(83,74,183,.10);
    transform: translateY(-4px);
}

/* â”€â”€ INTEGRATION CARDS â”€â”€ */
.integration-card {
    transition: all var(--transition-smooth);
}
.integration-card:hover {
    border-color: rgba(129,140,248,.25);
    box-shadow: 0 8px 32px rgba(83,74,183,.10), 0 0 0 1px rgba(129,140,248,.06);
    transform: translateY(-3px);
}

/* â”€â”€ FAQ ITEMS â€” SUBTLE GLOW â”€â”€ */
.faq-item {
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.faq-item:hover {
    border-color: rgba(129,140,248,.20);
    box-shadow: 0 4px 16px rgba(83,74,183,.06);
}

/* â”€â”€ COMPLIANCE BADGES â€” HOVER GLOW â”€â”€ */
.compliance-badge {
    transition: all var(--transition-smooth);
}
.compliance-badge:hover {
    border-color: rgba(129,140,248,.25);
    box-shadow: 0 8px 32px rgba(83,74,183,.10);
    transform: translateY(-4px);
}

/* â”€â”€ DARK SECTION â€” DOT GRID OVERLAY â”€â”€ */
.dark-sec {
    position: relative;
}
.dark-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(129,140,248,.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.dark-sec > * { position: relative; }

/* â”€â”€ STATS BAR â€” GRID OVERLAY â”€â”€ */
.stats-bar {
    position: relative;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(129,140,248,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.stats-bar > * { position: relative; }

/* â”€â”€ LOGO CAROUSEL â€” HOVER GLOW â”€â”€ */
.logo-co {
    transition: all .3s ease;
}
.logos-carousel .logo-co:hover {
    color: var(--flaire-purple-600);
    text-shadow: 0 0 20px rgba(83,74,183,.15);
}

/* â”€â”€ GRADIENT SEPARATOR LINES â”€â”€ */
.logos-bar {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(129,140,248,.2), rgba(6,182,212,.15), rgba(129,140,248,.2), transparent) 1;
}
.testi-sec {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(129,140,248,.15), rgba(6,182,212,.12), rgba(129,140,248,.15), transparent) 1;
}
.cta-sec {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(129,140,248,.15), rgba(6,182,212,.12), rgba(129,140,248,.15), transparent) 1;
}

/* â”€â”€ FORM INPUT FOCUS â€” ENHANCED GLOW â”€â”€ */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--flaire-indigo-400);
    box-shadow: 0 0 0 3px rgba(129,140,248,.15), var(--glow-sm) rgba(129,140,248,.08);
}

/* â”€â”€ CODE BLOCK â€” REFINED â”€â”€ */
.code-block {
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    border: 1px solid rgba(129,140,248,.10);
}

/* â”€â”€ COOKIE BANNER â€” GLASS â”€â”€ */
.cookie-banner {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* â”€â”€ FLOATING BUTTONS â€” GLOW â”€â”€ */
.theme-toggle:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.20), var(--glow-sm) rgba(83,74,183,.08);
}
.back-to-top:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.20), var(--glow-sm) rgba(83,74,183,.08);
}

/* â”€â”€ MOUSE-TRACKING CARD GLOW â”€â”€ */
.feat-card:hover::before,
.ai-card:hover::before,
.product-col:hover::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%); left: var(--mouse-x, 50%);
    width: 200px; height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(129,140,248,.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.feat-card, .product-col {
    position: relative;
    overflow: hidden;
}
.plan-card {
    position: relative;
    overflow: visible;
}

/* â”€â”€ SCROLLBAR â€” MODERN â”€â”€ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--flaire-purple-200); border-radius: 4px; transition: background .2s; }
::-webkit-scrollbar-thumb:hover { background: var(--flaire-purple-400); }

/* â”€â”€ ROADMAP & CHANGELOG â€” SMOOTH TRANSITIONS â”€â”€ */
.roadmap-card {
    transition: all var(--transition-smooth);
}
.roadmap-card:hover {
    box-shadow: 0 8px 32px rgba(83,74,183,.10);
    transform: translateY(-3px);
}
.changelog-entry {
    transition: all var(--transition-smooth);
}
.changelog-entry:hover {
    box-shadow: 0 4px 20px rgba(83,74,183,.08);
    transform: translateY(-2px);
}

/* â”€â”€ BLOG CARDS â€” ENHANCED â”€â”€ */
.blog-card {
    transition: all var(--transition-smooth);
}
.blog-card:hover {
    box-shadow: 0 16px 48px rgba(83,74,183,.12), 0 0 0 1px rgba(129,140,248,.06);
    transform: translateY(-6px);
}

/* â”€â”€ TEAM CARDS â”€â”€ */
.team-card {
    transition: all var(--transition-smooth);
}
.team-card:hover {
    box-shadow: 0 8px 32px rgba(83,74,183,.10);
    transform: translateY(-5px);
}

/* â”€â”€ HERO BADGE â€” GLOW ANIMATION â”€â”€ */
.hero-badge {
    animation: border-glow 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(250,204,21,.08);
}

/* â”€â”€ SECTION BADGE â€” SUBTLE HOVER â”€â”€ */
.sec-badge {
    transition: all .2s;
}
.sec-badge:hover {
    box-shadow: 0 2px 10px rgba(83,74,183,.10);
}

/* ============================================
   AI ENHANCEMENTS â€” DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] .sec-title {
    background: linear-gradient(135deg, #C7D2FE 0%, #818CF8 45%, var(--ai-cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .dark-inner .sec-title,
[data-theme="dark"] .ai-inner .sec-title {
    background: linear-gradient(135deg, #E8E8F0 0%, #A5B4FC 50%, var(--ai-cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .cta-sec .sec-title {
    background: linear-gradient(135deg, #C7D2FE 0%, #818CF8 40%, var(--ai-cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .product-hero .sec-title {
    background: linear-gradient(135deg, #C7D2FE 0%, #818CF8 45%, var(--ai-cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .site-nav {
    background: rgba(26,24,64,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(129,140,248,.10);
}
[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, #E8E8F0 30%, var(--ai-cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .feat-card {
    border-color: rgba(129,140,248,.08);
}
[data-theme="dark"] .feat-card:hover {
    background: rgba(28,27,54,.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(129,140,248,.25);
    box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 30px rgba(129,140,248,.08), inset 0 1px 0 rgba(255,255,255,.03);
}
[data-theme="dark"] .feat-card:hover .feat-icon {
    box-shadow: 0 4px 16px rgba(129,140,248,.15);
}
[data-theme="dark"] .plan-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 30px rgba(129,140,248,.08);
}
[data-theme="dark"] .product-col:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 30px rgba(129,140,248,.06);
}
[data-theme="dark"] .testi-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 20px rgba(129,140,248,.06);
}
[data-theme="dark"] .ai-card:hover {
    box-shadow: 0 0 40px rgba(129,140,248,.12), 0 8px 32px rgba(0,0,0,.25);
}
[data-theme="dark"] .dash {
    box-shadow: 0 25px 60px rgba(0,0,0,.45), 0 0 50px rgba(129,140,248,.12);
    border-color: rgba(129,140,248,.12);
}
[data-theme="dark"] .cookie-banner {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(20,19,42,.95);
}
[data-theme="dark"] .cookie-banner .btn-primary {
    background: var(--flaire-yellow-400);
    color: #1a1740;
    border: none;
    font-weight: 700;
}
[data-theme="dark"] .cookie-banner .btn-primary:hover {
    background: var(--flaire-yellow-300);
}
[data-theme="dark"] .cookie-banner .btn-ghost {
    background: transparent;
    color: #E8E8F0;
    border: 2px solid rgba(255,255,255,.25);
}
[data-theme="dark"] .cookie-banner .btn-ghost:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.4);
}
[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 4px 20px rgba(129,140,248,.20), 0 0 30px rgba(129,140,248,.10);
}
[data-theme="dark"] .back-to-top:hover {
    box-shadow: 0 4px 20px rgba(129,140,248,.20), 0 0 30px rgba(129,140,248,.10);
}
[data-theme="dark"] .compliance-badge:hover {
    border-color: rgba(129,140,248,.25);
    box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 20px rgba(129,140,248,.06);
}
[data-theme="dark"] .faq-item:hover {
    border-color: rgba(129,140,248,.20);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
[data-theme="dark"] .integration-card:hover {
    border-color: rgba(129,140,248,.25);
    box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 20px rgba(129,140,248,.06);
}
[data-theme="dark"] .logos-carousel .logo-co:hover {
    color: #818CF8;
    text-shadow: 0 0 20px rgba(129,140,248,.25);
}
[data-theme="dark"] .btn-dark:hover {
    box-shadow: 0 4px 25px rgba(250,204,21,.35), var(--glow-lg) rgba(250,204,21,.12);
}
[data-theme="dark"] .hero-ctas .btn-dark:hover {
    box-shadow: 0 4px 25px rgba(250,204,21,.45), var(--glow-lg) rgba(250,204,21,.15);
}
[data-theme="dark"] .roadmap-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 20px rgba(129,140,248,.06);
}
[data-theme="dark"] .changelog-entry:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 20px rgba(129,140,248,.06);
}
[data-theme="dark"] .team-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 20px rgba(129,140,248,.06);
}
[data-theme="dark"] ::-webkit-scrollbar-track { background: #0C0B1A; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(129,140,248,.25); }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(129,140,248,.4); }
[data-theme="dark"] .dark-sec::before {
    background-image: radial-gradient(rgba(129,140,248,.05) 1px, transparent 1px);
}
[data-theme="dark"] .stats-bar::before {
    background-image: radial-gradient(rgba(129,140,248,.04) 1px, transparent 1px);
}
[data-theme="dark"] .logos-bar {
    border-image: linear-gradient(90deg, transparent, rgba(129,140,248,.15), rgba(6,182,212,.10), rgba(129,140,248,.15), transparent) 1;
}
[data-theme="dark"] .hero-badge {
    box-shadow: 0 0 20px rgba(250,204,21,.08);
}
[data-theme="dark"] .col-cta-btn:hover {
    box-shadow: 0 4px 20px rgba(129,140,248,.20), var(--glow-md) rgba(129,140,248,.08);
}
[data-theme="dark"] .plan-card .cta-btn:hover {
    box-shadow: 0 4px 20px rgba(129,140,248,.20), var(--glow-md) rgba(129,140,248,.08);
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */

/* â”€â”€ NAV â€” SOLID DARK IN LIGHT MODE â”€â”€ */
html:not([data-theme="dark"]) .site-nav {
    background: #1a1740;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
html:not([data-theme="dark"]) .site-nav.scrolled {
    background: #1a1740;
    box-shadow: 0 4px 20px rgba(38,33,92,.3);
}
/* Nav CTA â€” purple gradient in light mode (color only, keep original shape) */
html:not([data-theme="dark"]) .site-nav .btn-primary {
    background: linear-gradient(135deg, #534AB7 0%, #7C3AED 50%, #6D28D9 100%);
    color: #fff;
    border: none;
    font-weight: 600;
}
html:not([data-theme="dark"]) .site-nav .btn-primary::before {
    display: none;
}
html:not([data-theme="dark"]) .site-nav .btn-primary:hover {
    background: linear-gradient(135deg, #3C3489 0%, #6D28D9 50%, #5B21B6 100%);
    box-shadow: 0 4px 20px rgba(109,40,217,.35);
}
/* Sign In ghost â€” white outline on dark nav */
html:not([data-theme="dark"]) .site-nav .btn-ghost {
    background: rgba(255,255,255,.10);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff;
}

/* â”€â”€ HERO SECTION â€” LIGHT MODE â”€â”€ */
html:not([data-theme="dark"]) section:has(.hero-wrap) {
    background: linear-gradient(135deg, #fffdf7 0%, #ffffff 45%, #ede9fe 100%);
}
html:not([data-theme="dark"]) section:has(.hero-wrap)::before {
    background: radial-gradient(circle at 15% 85%, rgba(237,233,254,.5) 0%, transparent 50%);
}
html:not([data-theme="dark"]) section:has(.hero-wrap)::after {
    background: radial-gradient(circle at 85% 15%, rgba(196,181,253,.2) 0%, transparent 50%);
}
/* Badge */
html:not([data-theme="dark"]) .hero-badge {
    background: #EEEDFE;
    border: 1px solid #C4B5FD;
    color: #374151;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: none;
    font-size: 13px;
    box-shadow: none;
    animation: none;
}
html:not([data-theme="dark"]) .hero-badge .badge-dot {
    background: #7C3AED;
}
/* Headline */
html:not([data-theme="dark"]) .hero h1,
html:not([data-theme="dark"]) .hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #1a1740;
    line-height: 1.15;
}
html:not([data-theme="dark"]) .hero h1 em,
html:not([data-theme="dark"]) .hero-title em {
    color: #1a1740;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #1a1740;
    background-clip: unset;
    font-style: normal;
}
html:not([data-theme="dark"]) .hero-brand {
    color: #7C3AED;
    -webkit-text-fill-color: #7C3AED;
}
/* Subtext */
html:not([data-theme="dark"]) .hero-sub {
    color: #374151;
    font-size: 17px;
    line-height: 1.7;
    max-width: 560px;
}
/* CTA sub note */
html:not([data-theme="dark"]) .hero-cta-sub,
html:not([data-theme="dark"]) [class*="hero-cta-sub"] {
    color: #6B7280 !important;
}
/* Primary CTA â€” purple gradient on light bg (color only, keep original shape) */
html:not([data-theme="dark"]) .hero-ctas .btn-dark {
    background: linear-gradient(135deg, #534AB7 0%, #7C3AED 50%, #6D28D9 100%);
    color: #fff;
    border: none;
    font-weight: 600;
}
html:not([data-theme="dark"]) .hero-ctas .btn-dark:hover {
    background: linear-gradient(135deg, #3C3489 0%, #6D28D9 50%, #5B21B6 100%);
    box-shadow: 0 4px 20px rgba(109,40,217,.35);
}
/* Secondary CTA â€” outlined purple (color only, keep original shape) */
html:not([data-theme="dark"]) .hero-ctas .btn-light {
    background: transparent;
    color: #1a1740;
    border-color: #1a1740;
}
html:not([data-theme="dark"]) .hero-ctas .btn-light:hover {
    background: rgba(38,33,92,.06);
    border-color: #3C3489;
    color: #3C3489;
}
/* Dashboard visual â€” clean, no blur */
html:not([data-theme="dark"]) .hero-visual {
    filter: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
html:not([data-theme="dark"]) .dash {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(38,33,92,.10);
    background: #FFFFFF;
    border-radius: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* â”€â”€ DARK-SEC CARDS â€” keep dark styling in light mode â”€â”€ */
html:not([data-theme="dark"]) .dark-sec .feat-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
}
html:not([data-theme="dark"]) .dark-sec .feat-card:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.15);
}
html:not([data-theme="dark"]) .dark-sec .feat-card .feat-title {
    color: #fff;
}
html:not([data-theme="dark"]) .dark-sec .feat-card .feat-desc {
    color: rgba(255,255,255,.5);
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 900px) {
    .hero-wrap { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero h1, .hero-title { font-size: 36px; }
    .steps, .testi-grid { grid-template-columns: 1fr; }
    /* Views set grid-template-columns inline on .feat-grid (repeat(2|3|4,1fr)),
       and an inline style beats this media query — so without !important the
       cards stay multi-column and shrink to unreadable slivers on phones
       (e.g. 4×76px on /industries). Force a single column on small screens. */
    .feat-grid { grid-template-columns: 1fr !important; }
    .product-columns { grid-template-columns: 1fr; }
    .plan-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Nav: collapse to logo + hamburger only. Auth buttons move into the drawer. */
    .nav-inner { padding: 0 1.25rem; gap: 1rem; height: 60px; }
    .site-nav.scrolled .nav-inner { height: 56px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-right { display: none; }
    .nav-auth-mobile {
        display: flex; flex-direction: column; gap: 10px;
        margin-top: 1rem; padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,.10);
    }
    .nav-auth-mobile-signin {
        font-family: 'DM Sans', sans-serif;
        font-size: 15px; font-weight: 600;
        background: rgba(255,255,255,.06);
        color: #fff; border: 1px solid rgba(255,255,255,.18);
        padding: 12px 18px; border-radius: var(--radius-sm);
        cursor: pointer; text-align: center; width: 100%;
        transition: background .15s;
    }
    .nav-auth-mobile-signin:hover { background: rgba(255,255,255,.12); }
    .nav-auth-mobile-cta {
        font-family: 'DM Sans', sans-serif;
        font-size: 15px; font-weight: 700;
        background: var(--flaire-yellow-400); color: var(--flaire-purple-900);
        padding: 12px 18px; border-radius: var(--radius-sm);
        text-align: center; width: 100%; text-decoration: none;
        transition: background .15s;
    }
    .nav-auth-mobile-cta:hover { background: var(--flaire-yellow-300); }
    /* AI Enhancements: Hide orbs & reduce effects on mobile */
    section:has(.hero-wrap)::before,
    section:has(.hero-wrap)::after { display: none; }
    .dark-sec::before, .stats-bar::before { display: none; }
    .feat-card:hover::before, .ai-card:hover::before,
    .plan-card:hover::before, .product-col:hover::before { display: none; }
    .nav-links > a::after { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(38,33,92,.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(129,140,248,.10);
        padding: 1rem 1.25rem 1.5rem; gap: 4px; z-index: 200;
        animation: mobileMenuSlide .3s cubic-bezier(.4,0,.2,1);
        box-shadow: 0 16px 48px rgba(0,0,0,.3);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    /* Collapse dropdowns out of the flow when closed so rows sit flush together.
       (Desktop uses visibility/opacity for fade animations; mobile needs zero
        layout footprint or links look like they have huge gaps between them.) */
    .nav-links.open .nav-dropdown-menu {
        position: static; box-shadow: none; border: none;
        margin-top: 0; padding: 0 0 0 1rem;
        transform: none; backdrop-filter: none; background: transparent;
        display: none;
    }
    .nav-links.open .nav-dropdown.open > .nav-dropdown-menu {
        display: block;
    }
    .nav-links.open .mega-panel {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        transform: none;
        display: none;
    }
    .nav-links.open .nav-mega.open .mega-panel {
        display: block;
    }
    /* Kill the desktop hover-bridge and decorative top accent on mobile —
       both are absolutely positioned but still trigger paint and the ::before
       sits 20px above each panel which adds a stray gap when the panel opens. */
    .nav-links.open .mega-panel::after,
    .nav-links.open .mega-panel::before { display: none; }
    .nav-links.open .nav-dropdown-menu::before { display: none; }
    /* Tighter row buttons so the drawer is one compact list */
    .nav-links.open .nav-dropdown-btn {
        width: 100%;
        padding: 10px 8px;
        font-size: 15px;
        color: rgba(255,255,255,.85);
        justify-content: space-between;
    }
    .nav-links.open > a {
        padding: 10px 8px;
        font-size: 15px;
    }
    .nav-links.open .mega-panel-bar { display: none; }
    .nav-links.open .mega-panel-body,
    .nav-links.open .mega-panel-body--4col,
    .nav-links.open .mega-panel-body--products-grouped,
    .nav-links.open .mega-panel-body--solutions {
        grid-template-columns: 1fr;
        padding: .5rem 0;
        gap: .75rem;
    }
    .nav-links.open .mega-feature {
        background: rgba(129,140,248,.10);
        border-color: rgba(129,140,248,.20);
        margin-top: .5rem;
    }
    .nav-links.open .mega-feature-title { color: rgba(255,255,255,.9); }
    .nav-links.open .mega-feature-desc { color: rgba(255,255,255,.55); }
    .nav-links.open .mega-feature-cta { color: var(--ai-cyan-400, #22D3EE); }
    .nav-links.open .mega-cat-heading {
        color: rgba(255,255,255,.35);
        border-bottom-color: rgba(255,255,255,.06);
        font-size: 11px;
        padding-bottom: 6px;
    }
    .nav-links.open .mega-cat-product-head { padding: 6px 0; margin: 0; }
    .nav-links.open .mega-cat-product-head:hover { background: rgba(255,255,255,.06); }
    .nav-links.open .mega-cat-product-head .mega-product-name { color: rgba(255,255,255,.85); }
    .nav-links.open .mega-cat-product-head .mega-product-desc { color: rgba(255,255,255,.4); }
    .nav-links.open .mega-cat-modules { padding-left: 38px; }
    .nav-links.open .mega-cat-modules a { color: rgba(255,255,255,.55); font-size: 13px; }
    .nav-links.open .mega-cat-modules a:hover { color: #fff; padding-left: 4px; }
    .nav-links.open .mega-cat-note { color: rgba(255,255,255,.35); padding-left: 38px; }
    .nav-links.open .mega-panel-foot {
        flex-direction: column;
        align-items: flex-start;
        padding: .75rem 0;
        gap: .75rem;
        border-top-color: rgba(255,255,255,.06);
    }
    .nav-links.open .mega-panel-foot-cta {
        background: rgba(129,140,248,.15);
        color: #E8E8F0;
    }
    .nav-links.open .mega-panel-foot-links a { color: rgba(255,255,255,.55); font-size: 13px; }
    .nav-links.open .mega-heading {
        color: rgba(255,255,255,.35);
        border-bottom-color: rgba(255,255,255,.06);
        font-size: 11px;
        padding-bottom: 6px;
        margin-bottom: 2px;
    }
    .nav-links.open .mega-link {
        color: rgba(255,255,255,.6);
        font-size: 14px;
        padding: 5px 0;
    }
    .nav-links.open .mega-link:hover {
        color: #fff;
        padding-left: 6px;
    }
    .nav-links.open .mega-product {
        margin: 0;
        padding: 6px 0;
    }
    .nav-links.open .mega-product:hover {
        background: rgba(255,255,255,.06);
    }
    .nav-links.open .mega-product-name { color: rgba(255,255,255,.8); }
    .nav-links.open .mega-product-desc { color: rgba(255,255,255,.35); }
    .feature-list { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .api-card-grid { grid-template-columns: 1fr; }
    .roadmap-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .compliance-grid { gap: 1rem; }
    .sec-title { font-size: 32px; }
    .product-hero .sec-title { font-size: 36px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card.featured { grid-template-columns: 1fr; }
    .article-wrap { grid-template-columns: 1fr; }
    .cookie-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
    .cookie-inner { flex-direction: column; text-align: center; gap: 0.6rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-newsletter { flex-direction: column; text-align: center; }
    .fn-form { flex-direction: column; }
    .fn-form input { min-width: auto; }
    .share-bar { flex-direction: column; align-items: flex-start; }
    .integration-grid { grid-template-columns: 1fr; }

    /* Homepage layout — tighter padding so mobile doesn't feel like desktop scaled down */
    .hero-wrap { padding: 4rem 1.25rem 2.5rem; gap: 2rem; }
    .hero h1, .hero-title { line-height: 1.15; letter-spacing: -.025em; }
    .hero-sub { font-size: 16px; margin-bottom: 1.5rem; }
    .hero-ctas { width: 100%; gap: 10px; }
    .hero-ctas .btn-dark,
    .hero-ctas .btn-light { width: 100%; justify-content: center; padding: 12px 20px; }
    .dark-sec { padding: 4rem 1.25rem; }
    .dark-sec .dark-inner { padding-left: 0; padding-right: 0; }
    .testi-sec { padding: 4rem 0; }
    .testi-inner { padding: 0 1.25rem; }
    .cta-sec { padding: 4rem 1.25rem; }
    .cta-btns { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-btns .btn-dark,
    .cta-btns .btn-light { width: 100%; justify-content: center; }
    .compliance-bar { padding: 3rem 0; }
    .compliance-grid { gap: 1rem; }
    .compliance-badge { min-width: 140px; padding: 1rem 1rem; flex: 1 1 calc(50% - .5rem); }
}

@media (max-width: 560px) {
    .plan-cards { grid-template-columns: 1fr; }
    .hero-wrap { padding: 3rem 1.25rem 2rem; }
    .hero h1, .hero-title { font-size: 30px; }
    .section { padding: 4rem 1.25rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr; }
    .stat-number { font-size: 36px; }
    .team-grid { grid-template-columns: 1fr; }
    .sec-title { font-size: 26px; }
    .product-hero .sec-title { font-size: 28px; }
    .sec-sub { font-size: 15px; }
    .compliance-badge { min-width: 0; max-width: none; }
    .testi-grid { gap: 1rem; }
}

/* â”€â”€ REDUCED MOTION â”€â”€ */
@media (prefers-reduced-motion: reduce) {
    section:has(.hero-wrap)::before,
    section:has(.hero-wrap)::after { animation: none; }
    .hero-badge { animation: none; }
    .hero-visual { animation: none; }
    .logos-track { animation: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* â”€â”€ FLAIRE WORDMARK â”€â”€ */
:root {
  --flaire-wordmark-base: #1a1740;
  --flaire-wordmark-accent: #6C63FF;
}
.wordmark { color: var(--flaire-wordmark-base); font-weight: 700; }
.wordmark-accent { color: var(--flaire-wordmark-accent); }
