/* ═══════════════════════════════════════════════
   ASTRAMETRIC LANDING — STYLES
   ═══════════════════════════════════════════════ */

:root {
    --primary: #0052cc;
    --primary-dark: #003d99;
    --primary-light: #e8f0fe;
    --secondary: #1a1a2e;
    --secondary-2: #16213e;
    --accent: #00b894;
    --accent-orange: #f5a623;
    --accent-red: #ee5a24;
    --accent-purple: #6c5ce7;
    --text-dark: #2d3436;
    --text-mid: #636e72;
    --text-light: #a4adb6;
    --bg: #ffffff;
    --bg-tinted: #f6f8fb;
    --bg-dark: #0f1424;
    --border: #e3e7ec;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 8px 28px rgba(0,0,0,0.08);
    --shadow-lg: 0 18px 60px rgba(0,0,0,0.14);
    --container: 1180px;
    --transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 82, 204, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 82, 204, 0.35); }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-dark);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-ghost {
    background: transparent;
    color: var(--text-dark);
}
.btn-ghost:hover { background: var(--bg-tinted); }

/* ─── NAV ─── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--secondary);
}
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--text-dark);
}

/* ─── HERO ─── */
.hero-wrap {
    background: radial-gradient(1200px 600px at 20% -20%, rgba(108, 92, 231, 0.12), transparent 60%),
                radial-gradient(1000px 600px at 100% 0, rgba(0, 184, 148, 0.10), transparent 60%),
                #fcfdff;
    overflow-x: clip;
    position: relative;
}
.hero {
    position: relative;
    padding: 80px 24px 100px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    max-width: var(--container);
    margin: 0 auto;
    overflow: visible;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0, 82, 204, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 82, 204, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask: linear-gradient(180deg, transparent, white 40%, white 60%, transparent);
    -webkit-mask: linear-gradient(180deg, transparent, white 40%, white 60%, transparent);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 20px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.6);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(0, 184, 148, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0); }
}
.hero-title {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--secondary);
    margin-bottom: 22px;
}
.hero-title-grad {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple) 60%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-meta {
    display: flex;
    gap: 22px;
    font-size: 13px;
    color: var(--text-mid);
    flex-wrap: wrap;
}
.hero-meta i { color: var(--accent); margin-right: 4px; }

.hero-product { position: relative; z-index: 2; }
.hero-product-frame {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 100%;
}
@media (min-width: 1025px) {
    .hero-product-frame {
        transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
        transform-origin: left center;
    }
}
.hero-product-chrome {
    background: #f3f5f8;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
.hero-product-chrome span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffbd2e;
}
.hero-product-chrome span:first-child { background: #ff5f57; }
.hero-product-chrome span:nth-child(3) { background: #28c840; }
.hero-product-url {
    margin-left: 14px;
    background: #fff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 11.5px;
    color: var(--text-mid);
    border: 1px solid var(--border);
    flex: 1;
    text-align: center;
}
.hero-product-screen {
    display: grid;
    grid-template-columns: 130px 1fr;
    height: 320px;
    background: #fafbff;
}
.hpscreen-side {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 14px 12px;
}
.hpscreen-brand {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 18px;
}
.hpscreen-nav-item {
    padding: 8px 10px;
    font-size: 11.5px;
    border-radius: 6px;
    margin-bottom: 4px;
}
.hpscreen-nav-item.active {
    background: rgba(0, 82, 204, 0.25);
    color: #fff;
    border-left: 3px solid var(--primary);
}
.hpscreen-main { padding: 16px; }
.hpscreen-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.hpscreen-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
}
.hpscreen-card-label { font-size: 9px; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.5px; }
.hpscreen-card-val { font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 2px 0; }
.hpscreen-card-up { font-size: 9px; color: var(--accent); }

.hpscreen-chart { padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.hpchart-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-mid);
    padding: 4px 0;
}
.hpchart-row span { width: 50px; }
.hpchart-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    border-radius: 4px;
    flex: 1;
    max-width: var(--w);
}

/* Floating cards */
.float-card {
    position: absolute;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.float-card-title { font-size: 12.5px; font-weight: 600; color: var(--text-dark); }
.float-card-sub { font-size: 11px; color: var(--text-mid); }
.float-card-1 { top: 20px; right: -10px; animation-delay: 0s; }
.float-card-2 { bottom: 80px; left: -10px; animation-delay: 1.2s; }
.float-card-3 { bottom: -10px; right: 30px; animation-delay: 2.4s; }
@media (max-width: 1100px) {
    .float-card { display: none; }
}

/* ─── TRUST BAR ─── */
.trust-bar {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
    padding: 36px 24px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 200px at 50% 100%, rgba(0, 184, 148, 0.18), transparent 60%);
    pointer-events: none;
}
.trust-bar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 18px;
    position: relative;
}
.trust-bar-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.trust-logo {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 1.2px;
    transition: var(--transition);
}
.trust-logo:hover { color: #fff; }

/* ─── SECTIONS ─── */
.section { padding: 96px 24px; position: relative; }
.section-eyebrow {
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 14px;
    text-transform: uppercase;
}
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--secondary);
    margin-bottom: 16px;
}
.section-title-light { color: #fff; }
.section-lead {
    text-align: center;
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-lead-light { color: rgba(255,255,255,0.75); }
.section-tinted {
    background:
        radial-gradient(800px 400px at 90% 20%, rgba(108, 92, 231, 0.06), transparent 60%),
        radial-gradient(800px 400px at 10% 80%, rgba(0, 184, 148, 0.06), transparent 60%),
        var(--bg-tinted);
}
.section-dark {
    background:
        radial-gradient(800px 600px at 80% 0, rgba(108, 92, 231, 0.25), transparent 60%),
        radial-gradient(800px 600px at 20% 100%, rgba(0, 184, 148, 0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-dark), var(--secondary-2));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .section-eyebrow { color: var(--accent); }

/* Coloured section variants for visual rhythm */
.section-problem {
    background: linear-gradient(180deg, #fff8f5, #fff);
    border-top: 1px solid rgba(238, 90, 36, 0.15);
}
.section-problem .section-eyebrow { color: var(--accent-red); }
.section-solution {
    background:
        radial-gradient(900px 500px at 100% 0, rgba(0, 184, 148, 0.08), transparent 60%),
        radial-gradient(900px 500px at 0 100%, rgba(0, 82, 204, 0.08), transparent 60%),
        #fff;
}
.section-solution .section-eyebrow { color: var(--accent); }

/* Gradient divider that adds a coloured strip between sections */
.gradient-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent-purple), var(--accent-orange));
}

/* ─── PROBLEM ─── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}
.problem-item {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.problem-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fce8e8;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.problem-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--secondary); }
.problem-item p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ─── SOLUTION ─── */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.solution-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    opacity: 0.85;
}
.solution-card:nth-child(2)::before { background: linear-gradient(90deg, var(--accent-purple), var(--primary)); }
.solution-card:nth-child(3)::before { background: linear-gradient(90deg, var(--accent), var(--primary)); }
.solution-card:nth-child(4)::before { background: linear-gradient(90deg, var(--accent-orange), var(--accent-red)); }
.solution-card:nth-child(5)::before { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.solution-card:nth-child(6)::before { background: linear-gradient(90deg, var(--accent-purple), var(--accent-red)); }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.solution-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.18);
}
.solution-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--secondary); }
.solution-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ─── FEATURE ROWS ─── */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > .feature-text { order: 2; }
.feature-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    padding: 4px 12px;
    background: rgba(0, 184, 148, 0.12);
    border-radius: 999px;
    margin-bottom: 14px;
}
.feature-text h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 14px;
}
.feature-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin-bottom: 18px;
}
.feature-list {
    list-style: none;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 2.1;
}
.feature-list i { color: var(--accent); margin-right: 10px; }
.feature-mock {
    height: 320px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.15), rgba(108, 92, 231, 0.15));
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.feature-mock-collab {
    background:
        radial-gradient(circle at 30% 30%, rgba(0,184,148,0.4), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(108,92,231,0.4), transparent 40%),
        linear-gradient(135deg, #1c2543, #2d3563);
}
.feature-mock-collab::before {
    content: '👤👤👤  +9';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    padding: 16px 24px;
    border-radius: 999px;
    color: #fff;
}
.feature-mock-undo {
    background: linear-gradient(135deg, #2a1f1c, #4a2a1c);
}
.feature-mock-undo::before {
    content: '↶ UNDO  · 23:45:12 remaining';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: var(--accent-orange);
    font-weight: 600;
    background: rgba(0,0,0,0.4);
    padding: 14px 28px;
    border-radius: 10px;
    letter-spacing: 1px;
}
.feature-mock-time {
    background: linear-gradient(135deg, #1a1a3e, #2c1f4d);
}
.feature-mock-time::before {
    content: 'Mar 3, 2026 · 14:00:00';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    color: #fff;
    font-family: 'Courier New', monospace;
    background: rgba(0,0,0,0.4);
    padding: 18px 30px;
    border-radius: 10px;
    border: 1px solid rgba(108,92,231,0.5);
}
.feature-mock-audit {
    background: linear-gradient(135deg, #0d3b2e, #163d2c);
}
.feature-mock-audit::before {
    content: '0xa1b2c3d4...e5f6 · ✓ verified';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    background: rgba(0,0,0,0.4);
    padding: 14px 26px;
    border-radius: 10px;
}

/* ─── MODULES ─── */
.section-modules {
    background:
        radial-gradient(900px 500px at 90% 10%, rgba(108, 92, 231, 0.10), transparent 60%),
        radial-gradient(900px 500px at 10% 90%, rgba(0, 82, 204, 0.10), transparent 60%),
        #f0f4fb;
}
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.module-cat {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.module-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.module-cat:nth-child(2) { border-top-color: var(--accent); }
.module-cat:nth-child(3) { border-top-color: var(--accent-orange); }
.module-cat:nth-child(4) { border-top-color: var(--accent-purple); }
.module-cat-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.module-cat:nth-child(2) .module-cat-title { color: var(--accent); }
.module-cat:nth-child(3) .module-cat-title { color: var(--accent-orange); }
.module-cat:nth-child(4) .module-cat-title { color: var(--accent-purple); }
.module-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.module-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-tinted);
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text-dark);
    transition: var(--transition);
}
.module-list span:hover { background: var(--primary-light); transform: translateX(2px); }
.module-list i { color: var(--primary); width: 16px; text-align: center; }
.module-cat:nth-child(2) .module-list i { color: var(--accent); }
.module-cat:nth-child(3) .module-list i { color: var(--accent-orange); }
.module-cat:nth-child(4) .module-list i { color: var(--accent-purple); }

/* ─── COMPARE TABLE ─── */
.compare-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.compare-table th, .compare-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.compare-table th {
    background: var(--bg-tinted);
    font-weight: 600;
    color: var(--text-mid);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.compare-table th.us, .compare-table td.us {
    background: linear-gradient(180deg, rgba(0,82,204,0.06), rgba(108,92,231,0.06));
    color: var(--primary);
    font-weight: 700;
}
.compare-table th.us { color: var(--primary); }
.compare-table td .fa-check { color: var(--accent); font-weight: 700; }
.compare-table td .fa-times { color: var(--text-light); }
.compare-table td:first-child { font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }

/* ─── PRICING ─── */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}
.pricing-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    transition: var(--transition);
}
.pricing-toggle-label.active { color: var(--secondary); }
.pricing-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.pricing-switch input { opacity: 0; width: 0; height: 0; }
.pricing-switch span {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border);
    transition: var(--transition);
    border-radius: 99px;
}
.pricing-switch span::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.pricing-switch input:checked + span { background: var(--primary); }
.pricing-switch input:checked + span::before { transform: translateX(22px); }
.badge-save {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    margin-left: 4px;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
.pricing-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card-featured {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--primary), var(--accent-purple), var(--accent)) border-box;
    box-shadow: 0 16px 40px rgba(0, 82, 204, 0.20);
    transform: scale(1.03);
}
.pricing-card-platinum {
    background: linear-gradient(180deg, #1a1a2e, #0f1424);
    color: #fff;
    border: none;
}
.pricing-card-platinum .pricing-tier { color: var(--accent-orange); }
.pricing-card-platinum .pricing-suited,
.pricing-card-platinum .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-card-platinum .pricing-features i { color: var(--accent-orange); }
.pricing-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,82,204,0.3);
}
.pricing-tier {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.pricing-price {
    margin-bottom: 8px;
    line-height: 1.1;
}
.pricing-currency { font-size: 14px; color: var(--text-mid); font-weight: 600; }
.pricing-amount {
    font-size: 38px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -1px;
}
.pricing-card-platinum .pricing-amount { color: #fff; }
.pricing-period { font-size: 13px; color: var(--text-mid); display: block; margin-top: 2px; }
.pricing-suited {
    font-size: 12.5px;
    color: var(--text-mid);
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.pricing-card-platinum .pricing-suited { border-color: rgba(255,255,255,0.1); }
.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}
.pricing-features li {
    font-size: 13px;
    color: var(--text-dark);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pricing-features i { color: var(--accent); font-size: 12px; margin-top: 4px; }
.pricing-foot {
    text-align: center;
    margin-top: 32px;
    color: var(--text-mid);
    font-size: 13px;
}
.pricing-foot i { color: var(--accent); margin-right: 6px; }

/* ─── TESTIMONIALS ─── */
.section-testimonials {
    background:
        radial-gradient(800px 500px at 80% 50%, rgba(245, 166, 35, 0.10), transparent 60%),
        radial-gradient(800px 500px at 20% 50%, rgba(0, 184, 148, 0.10), transparent 60%),
        #fff8ef;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    position: relative;
    transition: var(--transition);
}
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 22px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-quote {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.65;
    margin-bottom: 22px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--secondary); }
.testimonial-role { font-size: 12px; color: var(--text-mid); }

/* ─── FAQ ─── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--text-mid);
    line-height: 1.65;
}

/* ─── FINAL CTA ─── */
.section-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}
.section-cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -1px;
}
.section-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    margin: 0 auto 32px;
}
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.section-cta .btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.section-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ─── FOOTER ─── */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 24px 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand-col .nav-brand { color: #fff; margin-bottom: 16px; }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 18px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 14px;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer a {
    display: block;
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    padding: 4px 0;
    transition: var(--transition);
}
.footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { display: inline; padding: 0; }

/* ─── LOGIN MODAL ─── */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 36, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.login-modal {
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.4);
    position: relative;
    animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.login-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    color: var(--text-mid);
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    line-height: 1;
}
.login-modal-close:hover { background: rgba(0,0,0,0.1); color: var(--text-dark); }
.login-modal-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 560px;
}
.login-modal-left {
    background:
        radial-gradient(600px 400px at 30% 20%, rgba(108, 92, 231, 0.4), transparent 60%),
        radial-gradient(600px 400px at 70% 80%, rgba(0, 184, 148, 0.3), transparent 60%),
        linear-gradient(135deg, var(--secondary), var(--secondary-2));
    color: #fff;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.login-modal-brand { color: #fff; margin-bottom: 32px; display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing: 2px; font-size: 14px; }
.login-modal-left h3 { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.login-modal-left > p { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.55; margin-bottom: 22px; }
.login-modal-perks { list-style: none; padding: 0; margin: 0; }
.login-modal-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
    padding: 7px 0;
}
.login-modal-perks i { color: var(--accent); }
.login-modal-foot {
    margin-top: 28px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
}
.login-modal-foot a { color: var(--accent); font-weight: 600; }
.login-modal-foot a:hover { color: #fff; }

.login-modal-right {
    padding: 36px 36px 30px;
    overflow-y: auto;
}
.login-modal-right h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--secondary);
}
.lm-field { margin-bottom: 14px; }
.lm-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 5px;
}
.lm-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}
.lm-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,82,204,0.12); }
.lm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 18px;
    font-size: 12.5px;
}
.lm-check { display: flex; align-items: center; gap: 6px; color: var(--text-mid); cursor: pointer; }
.lm-row a { color: var(--primary); font-weight: 500; }
.lm-submit { width: 100%; justify-content: center; }
.lm-mfa {
    text-align: center;
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--text-light);
}
.lm-mfa i { color: var(--accent); margin-right: 4px; }
.lm-divider {
    display: flex;
    align-items: center;
    margin: 22px 0 14px;
    font-size: 10.5px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.lm-divider::before, .lm-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.lm-divider span { padding: 0 12px; }
.lm-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.lm-demo {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: inherit;
}
.lm-demo:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-1px); }
.lm-demo-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 10.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lm-demo strong { display: block; font-size: 12px; color: var(--text-dark); }
.lm-demo small { font-size: 10.5px; color: var(--text-mid); }

@media (max-width: 720px) {
    .login-modal-grid { grid-template-columns: 1fr; }
    .login-modal-left { padding: 24px 22px 20px; min-height: auto; }
    .login-modal-left > p, .login-modal-perks { display: none; }
    .login-modal-left h3 { font-size: 20px; margin-bottom: 0; }
    .login-modal-foot { display: none; }
    .login-modal-right { padding: 24px 22px; }
    .lm-demo-grid { grid-template-columns: 1fr; }
}

/* ─── REGION ROADMAP STRIP ─── */
.region-strip {
    background: linear-gradient(135deg, rgba(0,82,204,0.06), rgba(0,184,148,0.06));
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.region-strip-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: center;
}
.region-strip h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}
.region-strip p { font-size: 14px; color: var(--text-mid); }
.region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.region-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}
.region-flag { font-size: 22px; }
.region-name { font-size: 12.5px; font-weight: 600; color: var(--secondary); margin: 4px 0 2px; }
.region-status { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.region-status.live { color: var(--accent); }
.region-status.beta { color: var(--accent-orange); }
.region-status.soon { color: var(--text-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; padding: 60px 24px 80px; }
    .hero-product { display: none; }
    .hero-title { font-size: 44px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 32px; }
    .feature-row.reverse > .feature-text { order: initial; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 12px;
    }
    .nav-toggle { display: block; }
    .region-strip-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 64px 20px; }
    .section-title { font-size: 30px; }
    .section-cta h2 { font-size: 30px; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 16px; }
    .problem-grid, .solution-grid, .pricing-grid, .testimonials-grid, .modules-grid { grid-template-columns: 1fr; }
    .module-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .nav-cta .btn-ghost { display: none; }
    .region-grid { grid-template-columns: repeat(2, 1fr); }
}
