/* ═══════════════════════════════════════════════════════════════
   AIPrunr Marketing — Luxury Luminous Beige & Silver Theme
   Design System: UX Pro Max | Bento Box Grid + Swiss Minimalism
   Typography: Poppins (headings) + Open Sans (body)
   Palette: Luminous warm beige & brushed silver platinum with gold accents
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
    /* Background — Beige & Silver Luxury Mesh */
    --bg-color: #f5f0e8;
    --bg-beige-light: #faf7f2;
    --bg-beige: #f3eee5;
    --bg-beige-dark: #e8dfd1;
    --bg-silver-light: #f4f6fa;
    --bg-silver: #e5ebf2;
    --bg-silver-dark: #cbd5e1;
    --bg-gradient: radial-gradient(circle at 12% 15%, rgba(229, 235, 242, 0.9) 0%, transparent 45%),
                   radial-gradient(circle at 88% 22%, rgba(245, 240, 230, 0.95) 0%, transparent 50%),
                   radial-gradient(circle at 50% 85%, rgba(220, 228, 238, 0.85) 0%, transparent 55%),
                   linear-gradient(135deg, #faf7f2 0%, #eee6d8 30%, #e6edf5 70%, #dce5ef 100%);

    /* Text — high contrast for WCAG AAA (Crisp Charcoal Slate, zero pure black) */
    --text-primary: #1e2430;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Metallic Silver Tokens */
    --silver: #94a3b8;
    --silver-light: #f1f5f9;
    --silver-dark: #475569;
    --silver-border: rgba(203, 213, 225, 0.85);
    --silver-bg: rgba(241, 245, 249, 0.7);
    --silver-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);

    /* Accent & Gold */
    --gold: #ca8a04;
    --gold-light: #eab308;
    --gold-dark: #a16207;
    --gold-bg: rgba(202, 138, 4, 0.08);
    --gold-border: rgba(202, 138, 4, 0.25);
    --accent-gradient: linear-gradient(135deg, #eab308 0%, #ca8a04 45%, #a16207 100%);
    --demo-accent: #6366f1;

    /* Success */
    --green: #15803d;
    --green-bg: rgba(21, 128, 61, 0.08);

    /* Cards & Glassmorphism */
    --card-bg: rgba(255, 255, 255, 0.82);
    --card-bg-hover: rgba(255, 255, 255, 0.96);
    --card-border: rgba(203, 213, 225, 0.75);
    --card-shadow: 0 8px 30px rgba(100, 116, 139, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    --card-shadow-hover: 0 16px 45px rgba(100, 116, 139, 0.14), 0 2px 6px rgba(0, 0, 0, 0.03);
    --card-radius: 24px;

    /* Layout */
    --nav-height: 72px;
    --section-gap: 120px;
    --container-max: 1140px;
    --grid-gap: 24px;

    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --duration: 250ms;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-beige);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--bg-gradient);
    z-index: -1;
    will-change: transform;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem 0;
}

p {
    margin: 0 0 1rem 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--duration) var(--ease);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Gradient Text ───────────────────────────────────────────── */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-silver-text {
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #0f172a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR & WRAPPER
   ═══════════════════════════════════════════════════════════════ */

.nav-wrapper {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 1000;
}

/* Standard Navbar Pill */
.navbar,
.navbar-pill {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.84) !important;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 9999px !important;
    border: 1.5px solid rgba(203, 213, 225, 0.85) !important;
    box-shadow: 0 12px 36px rgba(100, 116, 139, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    max-width: none !important;
}

.nav-logo,
.navbar-pill a:first-child {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo img,
.navbar-pill img {
    height: 40px !important;
    width: 40px !important;
    min-width: 40px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    border: 1px solid rgba(203, 213, 225, 0.6);
}

.nav-logo span,
.navbar-pill span {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-left: 8px;
}

/* Nav Links */
.nav-links,
.nav-links-pill {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links li,
.nav-links-pill li {
    flex-shrink: 0;
}

.nav-links a,
.nav-links-pill a {
    color: var(--text-secondary) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 8px 16px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links-pill a:hover {
    color: var(--text-primary) !important;
    background: rgba(226, 232, 240, 0.6);
}

/* Contact Sales pill */
.nav-links a.btn-primary,
.nav-links-pill a.btn-primary,
.navbar-pill .btn-primary {
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.28) !important;
}

.nav-links a.btn-primary:hover,
.nav-links-pill a.btn-primary:hover,
.navbar-pill .btn-primary:hover {
    background: linear-gradient(135deg, #a16207 0%, #854d0e 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.38) !important;
}

/* Live Demo Nav Button */
.nav-links a.nav-demo-btn,
.nav-links-pill a.nav-demo-btn {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.2) 100%) !important;
    color: #047857 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-links a.nav-demo-btn:hover,
.nav-links-pill a.nav-demo-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border-color: #047857 !important;
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

.demo-pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: demoPulse 2s infinite;
}

.nav-links a.nav-demo-btn:hover .demo-pulse-dot,
.nav-links-pill a.nav-demo-btn:hover .demo-pulse-dot {
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

@keyframes demoPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a16207 0%, #854d0e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(202, 138, 4, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(203, 213, 225, 0.9);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.05);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--gold);
    color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(100, 116, 139, 0.12);
}

.btn-primary.large {
    font-size: 1.1rem;
    padding: 18px 48px;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(202, 138, 4, 0.3);
}

.btn-primary.large:hover {
    box-shadow: 0 10px 36px rgba(202, 138, 4, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Luminous Beige & Silver
   ═══════════════════════════════════════════════════════════════ */
.hero {
    padding: 170px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 3.6rem;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--gold-dark) !important;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary) !important;
    max-width: 800px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.65;
}

.accuracy-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(203, 213, 225, 0.9);
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(100, 116, 139, 0.08);
}

.pulse-green {
    width: 8px;
    height: 8px;
    background-color: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
    display: inline-block;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-background {
    display: none;
}

/* Download Counter */
.download-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 7px 22px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: 0 2px 10px rgba(100, 116, 139, 0.08);
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.download-counter:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(148, 163, 184, 0.9);
    box-shadow: 0 4px 14px rgba(100, 116, 139, 0.12);
    transform: translateY(-1px);
}

.download-counter span {
    font-weight: 800;
    color: var(--gold-dark);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS & CARDS
   ═══════════════════════════════════════════════════════════════ */
.section {
    padding: 90px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 56px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.dark-bg {
    background: transparent;
}

/* ── Grids — Bento Style ─────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--grid-gap);
}

/* ── Cards — Frosted Silver Glass ────────────────────────────── */
.card {
    background: var(--card-bg);
    padding: 36px;
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: default;
}

.card:hover {
    background: var(--card-bg-hover);
    border-color: rgba(148, 163, 184, 0.8);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Pricing Alignment ───────────────────────────────────────── */
.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-header {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-desc {
    min-height: 60px;
    display: flex;
    align-items: start;
    justify-content: center;
}

.pricing-features {
    flex-grow: 1;
}

.pricing-footer {
    margin-top: auto;
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE LIST
   ═══════════════════════════════════════════════════════════════ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 18px;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

.feature-list li strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   GLASS CARD (Solution visual)
   ═══════════════════════════════════════════════════════════════ */
.glass-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(203, 213, 225, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--card-radius);
    padding: 36px;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: 0 16px 48px rgba(100, 116, 139, 0.1);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
    padding-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
}

.stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.status-bad {
    color: #dc2626;
    font-weight: 800;
}

.reco-kill {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   STEPS — How It Works
   ═══════════════════════════════════════════════════════════════ */
.step {
    text-align: center;
    padding: 32px 20px;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--card-shadow);
    cursor: default;
}

.step:hover {
    background: var(--card-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(148, 163, 184, 0.8);
}

.step-num {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid rgba(203, 213, 225, 0.9);
    color: var(--gold-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.08);
}

.step h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ═══════════════════════════════════════════════════════════════
   CAPABILITY CARDS — Bento Grid
   ═══════════════════════════════════════════════════════════════ */
.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: var(--card-radius);
    text-align: left;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--card-shadow);
    cursor: default;
}

.capability-card:hover {
    background: var(--card-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(148, 163, 184, 0.85);
}

.cap-icon {
    font-size: 1.6rem;
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 14px;
    border: 1px solid rgba(203, 213, 225, 0.85);
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.06);
}

.capability-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.capability-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    text-align: center;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    margin: 0 32px;
    border-radius: var(--card-radius);
    padding: 90px 40px;
    backdrop-filter: blur(16px);
    box-shadow: var(--card-shadow);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    font-weight: 800;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
    background: rgba(245, 240, 232, 0.88);
    border-top: 1.5px solid rgba(203, 213, 225, 0.8);
    backdrop-filter: blur(16px);
    padding: 48px 0;
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   CODE BLOCKS & TECHNICAL CONTAINERS (Brushed Silver Aluminum)
   ═══════════════════════════════════════════════════════════════ */
.code-block,
pre.code-terminal {
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-family: var(--font-mono) !important;
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ═══════════════════════════════════════════════════════════════
   FORENSIC COMPARISON SECTION
   ═══════════════════════════════════════════════════════════════ */
.comparison-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.hook-box {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(203, 213, 225, 0.85);
    padding: 56px 48px;
    border-radius: 32px;
    margin-bottom: 70px;
    text-align: center;
    backdrop-filter: blur(24px);
    box-shadow: var(--card-shadow);
    position: relative;
}

.hook-box::before {
    content: "STRATEGIC AUDIT";
    position: absolute;
    top: 24px;
    right: 48px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 2.5px;
    opacity: 0.8;
}

.hook-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hook-box p {
    color: var(--text-secondary);
    font-size: 1.12rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.hook-box .highlight {
    color: var(--gold-dark);
    font-weight: 700;
}

.landscape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 70px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.landscape-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(203, 213, 225, 0.75);
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.landscape-card:hover {
    transform: translateY(-6px);
    border-color: rgba(148, 163, 184, 0.85);
    background: #ffffff;
    box-shadow: var(--card-shadow-hover);
}

.landscape-card h4 {
    color: var(--gold-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.6);
    padding-bottom: 12px;
    font-weight: 800;
}

.landscape-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landscape-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(203, 213, 225, 0.4);
}

.landscape-card li:last-child {
    border-bottom: none;
}

.landscape-card .name {
    font-weight: 700;
    color: var(--text-primary);
}

.landscape-card .type {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(226, 232, 240, 0.7);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Comparison Table */
.comparison-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(203, 213, 225, 0.85);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
    backdrop-filter: blur(24px);
    margin: 0 auto 50px;
    max-width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.comparison-table th, 
.comparison-table td {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.55);
    vertical-align: middle;
}

.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) { width: 30%; text-align: left; }
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) { width: 17.5%; text-align: center; }
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) { width: 17.5%; text-align: center; }
.comparison-table th:nth-child(4),
.comparison-table td:nth-child(4) { width: 17.5%; text-align: center; }
.comparison-table th:nth-child(5),
.comparison-table td:nth-child(5) { width: 17.5%; text-align: center; }

.comparison-table th {
    background: rgba(226, 232, 240, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 800;
    height: 70px;
}

.feature-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-info .title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.feature-info .desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.tool-tag {
    font-size: 0.65rem;
    color: var(--gold-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comp-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

.comp-icon.check { color: var(--green); }
.comp-icon.cross { color: #ef4444; opacity: 0.4; }
.comp-icon.warn { color: #d97706; }

.cell-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.col-aiprunr {
    background: rgba(21, 128, 61, 0.05) !important;
    position: relative;
    border-left: 1.5px solid rgba(21, 128, 61, 0.25);
    border-right: 1.5px solid rgba(21, 128, 61, 0.25);
}

.comparison-table tr:last-child .col-aiprunr {
    border-bottom: none;
}

.aip-header-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.aip-header-box .brand {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.02em;
}

.aip-header-box .gen {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pill-elite {
    background: var(--green);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
    display: inline-block;
}

.highlight-text {
    color: var(--green);
    font-weight: 800;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE & MOBILE SYSTEM (UX PRO MAX)
   ═══════════════════════════════════════════════════════════════ */

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(203, 213, 225, 0.8);
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gold);
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-pill.menu-open .mobile-nav-toggle span:nth-child(1),
.navbar.menu-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.navbar-pill.menu-open .mobile-nav-toggle span:nth-child(2),
.navbar.menu-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-pill.menu-open .mobile-nav-toggle span:nth-child(3),
.navbar.menu-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Scroll Hint for Tables */
.table-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* ── Tablet Viewport (max-width: 1024px) ────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --section-gap: 80px;
    }

    .container {
        padding: 0 24px;
    }

    .comparison-wrapper {
        border-radius: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .grid-2 {
        gap: 28px;
    }
}

/* Desktop: the mobile-drawer copy of "Contact Sales" (added by mobile-nav.js)
   stays hidden, so the navbar shows the button once. The 992px rule below
   shows it again inside the mobile menu. */
.nav-mobile-cta {
    display: none;
}

/* Mid-size screens: tighten the links so the whole menu fits inside the pill. */
@media (max-width: 1360px) and (min-width: 993px) {
    .nav-links-pill {
        gap: 2px;
    }

    .nav-links-pill a {
        padding: 8px 10px;
        font-size: 0.8rem !important;
        letter-spacing: 0.3px;
    }

    .navbar-pill > .btn-primary {
        margin-left: 10px !important;
        padding: 10px 18px !important;
    }
}

@media (max-width: 1180px) and (min-width: 993px) {
    .navbar-pill {
        padding: 8px 12px;
    }

    .navbar-pill > a:first-child {
        padding-right: 4px !important;
    }

    .navbar-pill > a:first-child span {
        font-size: 1.15rem !important;
    }

    .nav-links-pill a {
        padding: 6px 7px;
        font-size: 0.72rem !important;
        letter-spacing: 0.2px;
    }

    .navbar-pill > .btn-primary {
        margin-left: 6px !important;
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }
}

/* ── Mobile Navigation Breakpoint (max-width: 992px) ───────────── */
@media (max-width: 992px) {
    .nav-wrapper {
        top: 10px;
        width: calc(100% - 20px);
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar,
    .navbar-pill {
        flex-wrap: wrap;
        padding: 10px 14px !important;
        border-radius: 24px !important;
        position: relative;
        justify-content: space-between;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* Hide desktop CTA button in navbar header; will show inside drawer */
    .navbar-pill > .btn-primary,
    .navbar > .btn-primary {
        display: none !important;
    }

    .nav-links,
    .nav-links-pill {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 6px;
        padding: 14px 0 6px 0;
        margin-top: 10px;
        border-top: 1px solid rgba(203, 213, 225, 0.7);
        animation: mobileNavSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .navbar-pill.menu-open .nav-links,
    .navbar-pill.menu-open .nav-links-pill,
    .navbar.menu-open .nav-links,
    .navbar.menu-open .nav-links-pill {
        display: flex !important;
    }

    .nav-links li,
    .nav-links-pill li {
        width: 100%;
    }

    .nav-links a,
    .nav-links-pill a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.92rem !important;
        text-align: left;
        background: rgba(255, 255, 255, 0.6);
        color: var(--text-primary) !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }

    .nav-links a:hover,
    .nav-links-pill a:hover,
    .nav-links a:active,
    .nav-links-pill a:active {
        background: rgba(226, 232, 240, 0.95);
        color: var(--gold-dark) !important;
    }

    /* Mobile CTA inside menu */
    .nav-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 8px;
    }

    .nav-mobile-cta .btn-primary {
        display: flex !important;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px !important;
        border-radius: 14px !important;
    }
}

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

/* ── Mobile Phones & Small Screens (max-width: 768px) ───────────── */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }

    /* Hero */
    .hero {
        padding: 110px 0 50px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
        line-height: 1.18;
        margin-bottom: 16px;
        word-break: break-word;
    }

    .hero h2 {
        font-size: clamp(0.95rem, 3.4vw, 1.25rem) !important;
        letter-spacing: 0.8px;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .hero-sub {
        font-size: clamp(0.92rem, 2.8vw, 1.05rem) !important;
        line-height: 1.65;
        margin-bottom: 28px;
        padding: 0 4px;
    }

    .accuracy-pill {
        font-size: 0.72rem;
        padding: 6px 14px;
        letter-spacing: 0.5px;
        max-width: 96%;
        margin: 0 auto 18px auto;
        line-height: 1.4;
        display: inline-flex;
        text-align: center;
        justify-content: center;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        gap: 12px;
    }

    .hero-btns a,
    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.92rem;
        border-radius: 14px;
    }

    /* Section Spacing */
    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: clamp(1.6rem, 5.2vw, 2.1rem);
        margin-bottom: 32px;
        line-height: 1.25;
    }

    /* Grids to single column */
    .grid-2,
    .grid-3,
    .grid-4,
    .landscape-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
        width: 100%;
    }

    /* Cards */
    .card,
    .glass-card,
    .capability-card,
    .step,
    .landscape-card,
    .pricing-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
        width: 100%;
    }

    .card h3,
    .capability-card h4,
    .step h4 {
        font-size: 1.2rem;
    }

    .card p,
    .capability-card p,
    .step p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Strategic Audit Hook Box */
    .hook-box {
        padding: 32px 18px !important;
        border-radius: 24px !important;
        margin-bottom: 40px;
    }

    .hook-box::before {
        top: 14px;
        right: 18px;
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .hook-box h2 {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .hook-box p {
        font-size: 0.95rem !important;
        line-height: 1.65;
    }

    /* Responsive Comparison Table */
    .table-scroll-hint {
        display: block;
    }

    .comparison-wrapper {
        border-radius: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 0 36px 0;
        border: 1.5px solid var(--card-border);
        box-shadow: var(--card-shadow);
        width: 100%;
    }

    .comparison-table {
        min-width: 680px;
        width: 100%;
        table-layout: auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 14px 12px;
        font-size: 0.82rem;
    }

    .comparison-table th {
        height: auto;
        padding: 16px 12px;
        font-size: 0.72rem;
    }

    .feature-info .title {
        font-size: 0.92rem;
    }

    .feature-info .desc {
        font-size: 0.78rem;
    }

    .aip-header-box .brand {
        font-size: 1.15rem;
    }

    .pill-elite {
        padding: 4px 10px;
        font-size: 0.72rem;
    }

    /* Terminal & Code */
    .code-block,
    pre.code-terminal {
        padding: 14px 12px !important;
        font-size: 0.78rem !important;
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* CTA Section */
    .cta-section {
        margin: 0 10px;
        padding: 48px 18px;
        border-radius: 24px;
    }

    .cta-section h2 {
        font-size: clamp(1.6rem, 5.5vw, 2.4rem);
        line-height: 1.2;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        padding: 36px 0;
        margin-top: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-links a {
        margin: 0 8px;
        font-size: 0.82rem;
    }

    /* Interactive Calculator */
    .calc-row,
    .calculator-row {
        flex-direction: column !important;
        gap: 16px !important;
    }

    input[type="range"] {
        width: 100% !important;
        touch-action: manipulation;
    }
}

/* ── Small Smartphones (max-width: 480px) ───────────────────────── */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .navbar,
    .navbar-pill {
        padding: 8px 12px !important;
    }

    .nav-logo span,
    .navbar-pill span {
        font-size: 1.2rem;
    }

    .hero {
        padding: 95px 0 40px;
    }

    .hero h1 {
        font-size: 1.65rem !important;
    }

    .accuracy-pill {
        font-size: 0.68rem;
        padding: 5px 10px;
        letter-spacing: 0.2px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents iOS auto zoom */
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }
}

/* SANSIDERA parent-brand mark (2026-10-29) */
.navbar-pill > a:first-child .brand-stack { display: flex; flex-direction: column; line-height: 1.05; }
.navbar-pill > a:first-child .by-sansidera {
    display: flex; align-items: center; gap: 4px; margin-top: 3px;
    font-family: Georgia, 'Times New Roman', serif; font-size: 0.6rem !important; font-weight: 600;
    letter-spacing: 0.12em; color: #12203a; white-space: nowrap;
}
.navbar-pill .by-sansidera img {
    height: 18px !important; width: 18px !important; min-width: 18px; border-radius: 0; display: inline-block;
    border: none !important; background: none; box-shadow: none;
}
.navbar-pill > .btn-primary { white-space: nowrap; }
.sansidera-credit { display: flex; flex-direction: column; gap: 2px; }
.sansidera-brand { display: flex; align-items: center; gap: 10px; }
.sansidera-by { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.sansidera-mark { height: 34px; width: auto; }
.sansidera-word { height: 48px; width: auto; }
@media (max-width: 768px) {
    .sansidera-credit, .sansidera-brand { align-items: center; justify-content: center; }
}
