@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== BRAND FONT — MavaMotionEV ========== */
@font-face {
    font-family: 'MavaMotion';
    src: url('../assets/fonts/MavaMotionEV-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'MavaMotion';
    src: url('../assets/fonts/MavaMotionEV-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'MavaMotion';
    src: url('../assets/fonts/MavaMotionEV-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'MavaMotion';
    src: url('../assets/fonts/MavaMotionEV-ExtraBold.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}

/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Brand palette — extracted from the ABVECTEUR.AI shield gradient */
    --brand-400: #3aabdb;
    --brand-500: #1495ce;
    --brand-600: #0e72a4;
    --brand-700: #09507a;
    --brand-800: #063a60;
    --brand-900: #053357;

    --primary: #09507a;
    --primary-light: #0e72a4;
    --primary-dark: #053357;
    --primary-bg: #eaf4fa;
    --accent: #1495ce;
    --accent-dark: #0e72a4;

    --text: #053357;
    --text-light: #4a6b85;
    --text-muted: #7d97ab;
    --bg: #ffffff;
    --bg-alt: #f4f9fc;
    --bg-dark: #053357;
    --border: #dbe8f1;

    --gradient-brand: linear-gradient(135deg, #1495ce 0%, #0e72a4 28%, #09507a 60%, #063a60 85%, #053357 100%);
    --gradient-hero: linear-gradient(150deg, #053357 0%, #063a60 35%, #09507a 70%, #0e72a4 100%);
    --gradient-btn: linear-gradient(135deg, #0e72a4, #09507a);

    --shadow-sm: 0 1px 3px rgba(5,51,87,0.08);
    --shadow-md: 0 4px 20px rgba(5,51,87,0.1);
    --shadow-lg: 0 8px 40px rgba(5,51,87,0.14);
    --shadow-xl: 0 20px 60px rgba(5,51,87,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'MavaMotion', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; height: 76px;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.65rem;
    text-decoration: none;
}
.nav-logo .logo-mark { height: 38px; width: auto; display: block; }
.nav-logo .logo-word {
    font-family: var(--font-display);
    font-weight: 600; font-size: 1.35rem;
    color: var(--brand-900);
    letter-spacing: 0.01em; line-height: 1;
}

.nav-links {
    display: flex; align-items: center; gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none; color: var(--text-light);
    font-size: 0.95rem; font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.3rem 1.25rem 0.3rem 0.3rem;
    background: var(--gradient-btn); color: #fff !important;
    border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    text-decoration: none; transition: var(--transition);
    border: none; cursor: pointer;
}
.nav-cta:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14,114,164,0.35);
}
.nav-cta::after { display: none !important; }
.nav-cta .btn-arrow { width: 30px; height: 30px; }
.nav-cta .btn-arrow svg { width: 13px; height: 13px; }
.nav-cta:hover .btn-arrow { transform: rotate(45deg); }

/* Dropdown menu */
/* Stretch the trigger over the full navbar height so the hover target is
   continuous from the bar down into the panel — no dead gap to fall through. */
.nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-dropdown-trigger {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: none; border: none; cursor: pointer;
    color: var(--text-light); font-size: 0.95rem; font-weight: 500;
    font-family: inherit; padding: 0;
    transition: var(--transition);
}
.nav-dropdown-trigger:hover { color: var(--primary); }
.nav-dropdown-trigger .chevron { transition: transform 0.25s ease; }
.nav-dropdown.open .nav-dropdown-trigger .chevron { transform: rotate(180deg); }
/* The panel unfolds from zero height (grid-template-rows 0fr -> 1fr) while it
   de-blurs and fades in, so it reads as a surface opening rather than a card
   sliding into place. The outer box is padded on three sides purely to give the
   panel's shadow somewhere to land inside the overflow clip. */
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    width: max-content; min-width: 340px;
    padding: 14px 34px 34px;
    display: grid; grid-template-rows: 0fr;
    opacity: 0; filter: blur(8px);
    pointer-events: none; overflow: hidden;
    transition: grid-template-rows 300ms ease, opacity 300ms ease, filter 300ms ease;
    z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu {
    grid-template-rows: 1fr;
    opacity: 1; filter: blur(0);
    pointer-events: auto;
}
.nav-dropdown-panel {
    min-height: 0; overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.nav-dropdown-panel > * { margin: 0.6rem; }
.dropdown-item {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    text-decoration: none; color: var(--text);
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--primary-bg); }
.dropdown-item::after { display: none !important; }
.dropdown-icon {
    width: 42px; height: 42px; min-width: 42px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
}
.dropdown-icon svg { width: 22px; height: 22px; }
.dropdown-icon.blue { background: rgba(14,114,164,0.1); color: var(--brand-600); }
.dropdown-icon.deep { background: rgba(5,51,87,0.08); color: var(--brand-900); }
.dropdown-icon.sky { background: rgba(20,149,206,0.12); color: var(--brand-500); }
.dropdown-title {
    display: block; font-weight: 600; font-size: 0.95rem;
    color: var(--text); line-height: 1.3;
}
.dropdown-desc {
    display: block; font-size: 0.8rem; color: var(--text-muted);
    line-height: 1.4; margin-top: 0.1rem;
}

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--brand-900); margin: 5px 0;
    transition: var(--transition);
}

/* ========== BUTTONS ========== */
/* Buttons lead with a disc-mounted diagonal arrow, so their left padding is
   just the disc's inset while the right side keeps a full text margin. */
.btn-arrow {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.2);
    transition: var(--transition);
}
.btn-arrow svg { width: 15px; height: 15px; display: block; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.4rem 1.75rem 0.4rem 0.4rem;
    background: var(--gradient-btn); color: #fff;
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: var(--transition);
    border: none; cursor: pointer;
    box-shadow: 0 4px 14px rgba(9,80,122,0.25);
}
.btn-primary:hover {
    filter: brightness(1.14);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14,114,164,0.38);
}
.btn-primary:hover .btn-arrow { transform: rotate(45deg); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.4rem 1.75rem 0.4rem 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 50px; font-weight: 600; font-size: 1rem;
    text-decoration: none; transition: var(--transition);
    cursor: pointer; backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}
.btn-secondary:hover .btn-arrow { transform: rotate(45deg); }

/* ========== SECTIONS COMMON ========== */
.section { padding: 6rem 2rem; }
/* Brand navy rather than a flat near-black slab: a soft blue glow off the top
   keeps the section reading as part of the gradient family. */
.section-dark {
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(20,149,206,0.16), transparent),
        linear-gradient(180deg, #063a60 0%, var(--bg-dark) 60%);
    color: #fff;
}
.section-alt { background: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.85rem; font-weight: 600; color: var(--brand-600);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.section-dark .section-label { color: var(--brand-400); }
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.1rem; color: var(--text-light);
    max-width: 620px; margin: 0 auto; line-height: 1.7;
}
.section-dark .section-header p { color: rgba(255,255,255,0.62); }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 76px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20,149,206,0.28), transparent),
        radial-gradient(ellipse 60% 40% at 85% 65%, rgba(20,149,206,0.18), transparent),
        radial-gradient(ellipse 45% 35% at 15% 85%, rgba(5,51,87,0.5), transparent);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    color: var(--brand-400); font-size: 0.85rem; font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-400);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20,149,206,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(20,149,206,0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700; color: #fff;
    line-height: 1.08; letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    max-width: 880px; margin-left: auto; margin-right: auto;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, #3aabdb, #8ed6f2);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.72);
    max-width: 660px; margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Hero mockup */
.hero-visual {
    margin-top: 4rem; position: relative;
    max-width: 900px; margin-left: auto; margin-right: auto;
}
.hero-mockup {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}
.mockup-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28ca41; }
/* Real product capture inside the hero window frame. */
.hero-shot {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius);
    background: #fff;
}

/* ========== TRUST BAR ========== */
.trust-bar { padding: 3rem 2rem; border-bottom: 1px solid var(--border); }
.trust-bar .container { text-align: center; }
.trust-bar p {
    font-size: 0.85rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    font-weight: 500; margin-bottom: 2rem;
}
.trust-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 3rem; flex-wrap: wrap; opacity: 0.45;
}
.trust-logo {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600; color: var(--brand-900);
}

/* ========== PROBLEMS / CONSTAT ========== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.problem-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14,114,164,0.25);
}
.problem-icon {
    width: 48px; height: 48px;
    background: var(--primary-bg); color: var(--brand-600);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.problem-icon svg { width: 24px; height: 24px; }
.problem-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.problem-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ========== PRODUCT SECTIONS ========== */
.product-section { padding: 6rem 2rem; }
.product-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.product-layout.reverse { direction: rtl; }
.product-layout.reverse > * { direction: ltr; }

.product-content .product-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: var(--primary-bg); color: var(--brand-600);
    border-radius: 50px;
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
}
.product-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 1rem;
}
.product-content > p {
    font-size: 1.05rem; color: var(--text-light);
    line-height: 1.7; margin-bottom: 2rem;
}
.product-features { display: flex; flex-direction: column; gap: 1.2rem; }
.product-feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
    width: 42px; height: 42px; min-width: 42px;
    border-radius: 12px;
    background: var(--primary-bg); color: var(--brand-600);
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; }
.product-feature h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.product-feature p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

.product-visual { position: relative; }
.product-visual-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative; overflow: hidden;
}
.product-visual-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--gradient-brand);
}

.viz-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.viz-title { font-weight: 700; font-size: 1rem; font-family: var(--font-display); }
.viz-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    background: rgba(20,149,206,0.12); color: var(--brand-600);
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.viz-badge-icon { display: inline-flex; }
.viz-badge-icon svg { width: 13px; height: 13px; }

/* Product screenshot — framed like an app window so a real capture sits in the
   layout as deliberately as the CSS mockups it replaces. */
.product-shot {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin: 0;
}
.product-shot::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--gradient-brand); z-index: 2;
}
.product-shot-bar {
    display: flex; align-items: center; gap: 0.45rem;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.product-shot img {
    display: block; width: 100%; height: auto;
}
/* width/height attributes on the <img> reserve the right box before the file
   arrives, so the section doesn't jump as it loads. */
.product-shot figcaption {
    padding: 0.9rem 1.25rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    font-size: 0.85rem; color: var(--text-muted); text-align: center;
}

/* Full-bleed product shot: a dense dashboard capture needs the whole column to
   stay legible, so it sits below the copy rather than beside it. */
.product-intro { max-width: 780px; margin-bottom: 3rem; }
.product-intro > p { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }
.product-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 1rem;
}
.product-shot-wide { margin-bottom: 3.5rem; }
.product-features-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.product-features-row .product-feature { flex-direction: column; gap: 0.9rem; }

/* SecureGen visual */
.arch-visual { display: flex; flex-direction: column; gap: 1rem; }
.arch-input {
    background: var(--bg-alt); border-radius: var(--radius);
    padding: 1rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem; color: var(--text-light);
    border: 1px solid var(--border);
}
.arch-input .tag { color: var(--brand-600); font-weight: 600; }
.arch-arrow {
    display: flex; justify-content: center;
    color: var(--brand-500); animation: bounce 2s infinite;
}
.arch-arrow svg { width: 22px; height: 22px; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.arch-output { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.arch-block {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 0.9rem;
    text-align: center; transition: var(--transition);
}
.arch-block:hover { border-color: var(--brand-500); background: var(--primary-bg); }
.arch-block-icon {
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-600); margin-bottom: 0.45rem;
}
.arch-block-icon svg { width: 22px; height: 22px; }
.arch-block-label { font-size: 0.75rem; font-weight: 600; color: var(--text); }
.arch-block-sub { font-size: 0.65rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ========== STATS ========== */
.stats-section { background: var(--gradient-hero); padding: 5rem 2rem; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: center;
}
.stat-item h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
    color: var(--brand-400); margin-bottom: 0.3rem;
}
.stat-item p { font-size: 0.9rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ========== HOW IT WORKS ========== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps-grid::before {
    content: ''; position: absolute; top: 40px; left: 15%; right: 15%;
    height: 2px; background: linear-gradient(90deg, var(--border), var(--brand-500), var(--border));
    z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 58px; height: 58px;
    background: var(--gradient-btn); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 18px rgba(9,80,122,0.32);
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.step-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ========== INNOVATION ========== */
.innovation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.innovation-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: var(--transition);
}
.innovation-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(20,149,206,0.45);
    transform: translateY(-4px);
}
.innovation-card-icon {
    width: 48px; height: 48px;
    background: rgba(20,149,206,0.18); color: var(--brand-400);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.innovation-card-icon svg { width: 24px; height: 24px; }
.innovation-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: #fff; }
.innovation-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ========== CTA ========== */
.cta-section { padding: 6rem 2rem; text-align: center; }
.cta-card {
    max-width: 860px; margin: 0 auto;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(20,149,206,0.25), transparent);
}
.cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700; color: #fff;
    margin-bottom: 1rem; position: relative;
    letter-spacing: -0.02em;
}
.cta-card p {
    font-size: 1.1rem; color: rgba(255,255,255,0.7);
    margin-bottom: 2rem; position: relative;
    max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-card .btn-primary { position: relative; }

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.5);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo .logo-word { color: #fff; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem; font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
    color: rgba(255,255,255,0.45);
    text-decoration: none; font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--brand-400); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    color: rgba(255,255,255,0.45);
    text-decoration: none; font-size: 0.9rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--brand-600); color: #fff; }

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
    background: var(--gradient-hero);
    padding: 10rem 2rem 5rem;
    text-align: center;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20,149,206,0.25), transparent);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700; color: #fff;
    position: relative; margin-bottom: 1rem;
    letter-spacing: -0.025em;
}
.page-hero p {
    font-size: 1.15rem; color: rgba(255,255,255,0.7);
    max-width: 620px; margin: 0 auto;
    position: relative; line-height: 1.7;
}

/* ========== PRICING ========== */
.pricing-toggle {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; margin-bottom: 3rem;
}
.pricing-toggle-label {
    font-size: 0.95rem; font-weight: 600; color: var(--text-muted);
    cursor: pointer; transition: var(--transition);
}
.pricing-toggle-label.active { color: var(--text); }
.pricing-save {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(20,149,206,0.14); color: var(--brand-600);
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    margin-left: 0.3rem;
}
.pricing-toggle-switch {
    width: 48px; height: 26px;
    background: var(--border); border: none;
    border-radius: 50px; cursor: pointer;
    position: relative; transition: var(--transition);
    padding: 0;
}
.pricing-toggle-switch.active { background: var(--brand-600); }
.pricing-toggle-knob {
    position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff; border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.pricing-toggle-switch.active .pricing-toggle-knob { left: 25px; }

.pricing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; align-items: start;
}
.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.highlighted {
    border-color: var(--brand-600);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.pricing-card.highlighted:hover { transform: scale(1.03) translateY(-4px); }
.pricing-popular {
    position: absolute; top: -13px; left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1.2rem;
    background: var(--gradient-btn); color: #fff;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    white-space: nowrap;
}
.pricing-card-header { margin-bottom: 1.5rem; }
.pricing-plan {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 700;
    color: var(--text); margin-bottom: 0.3rem;
}
.pricing-target { font-size: 0.85rem; color: var(--text-muted); }
.pricing-price { display: flex; align-items: baseline; gap: 0.1rem; margin-bottom: 0.3rem; }
.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.8rem; font-weight: 700; color: var(--text);
    letter-spacing: -0.03em; line-height: 1;
    transition: var(--transition);
}
.pricing-amount-custom {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 700; color: var(--text);
    line-height: 1; padding: 0.5rem 0;
}
.pricing-currency { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.pricing-period { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.pricing-billing {
    font-size: 0.8rem; color: var(--text-muted);
    margin-bottom: 1.5rem; min-height: 1.2rem;
}
.pricing-limits {
    list-style: none; padding: 0; margin-bottom: 1.5rem;
    border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.pricing-limits li { font-size: 0.9rem; color: var(--text); padding: 0.35rem 0; }
.pricing-limits li strong { color: var(--brand-600); font-weight: 700; }
.pricing-cta {
    display: block; text-align: center;
    padding: 0.8rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text); font-weight: 700; font-size: 0.95rem;
    text-decoration: none; transition: var(--transition);
    margin-bottom: 1.5rem;
}
.pricing-cta:hover {
    border-color: var(--brand-600);
    color: var(--brand-600);
    background: var(--primary-bg);
}
.pricing-cta.primary {
    background: var(--gradient-btn); color: #fff;
    border-color: transparent;
}
.pricing-cta.primary:hover { filter: brightness(1.14); color: #fff; border-color: transparent; }
.pricing-features {
    list-style: none; padding: 0;
    border-top: 1px solid var(--border);
    padding-top: 1.2rem; margin-bottom: 1.2rem;
}
.pricing-features li { font-size: 0.85rem; padding: 0.4rem 0 0.4rem 1.6rem; position: relative; }
.pricing-features li.included { color: var(--text); }
.pricing-features li.excluded { color: var(--text-muted); }
.pricing-features li::before { position: absolute; left: 0; top: 0.4rem; font-size: 0.85rem; }
.pricing-features li.included::before { content: '\2713'; color: var(--brand-500); font-weight: 700; }
.pricing-features li.excluded::before { content: '\2014'; color: var(--border); }
.pricing-support {
    display: flex; flex-direction: column; gap: 0.3rem;
    border-top: 1px solid var(--border); padding-top: 1rem;
}
.pricing-support span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .product-layout { grid-template-columns: 1fr; gap: 3rem; }
    .product-layout.reverse { direction: ltr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.highlighted { transform: scale(1); }
    .pricing-card.highlighted:hover { transform: translateY(-4px); }
}
/* The nav carries two dropdowns plus a CTA, so it needs to collapse well
   before the usual tablet breakpoint or the logo and links start to collide. */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: flex-start;
        position: absolute; top: 76px; left: 0; right: 0;
        background: var(--bg);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        gap: 1.2rem;
    }
    .nav-dropdown-menu {
        position: static; transform: none;
        width: 100%; min-width: 0;
        padding: 0 0 0 0.5rem;
        filter: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { filter: none; }
    .nav-dropdown-panel {
        border: none; background: none; box-shadow: none;
    }
    .nav-dropdown-panel > * { margin: 0.5rem 0 0; }
}
@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-card { padding: 3rem 1.5rem; }
    .arch-output { grid-template-columns: 1fr; }
    .product-features-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .nav-logo .logo-word { font-size: 1.15rem; }
    .nav-logo .logo-mark { height: 34px; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: 1fr; }
}
