/* ===================================
   AIFortess - The Fortress Brand Theme
   Institutional | Minimalist | High-Trust
   =================================== */

/* ===================================
   A) DESIGN TOKENS - Fortress Palette
   =================================== */

:root {
    /* === PRIMARY BRAND COLORS === */
    --fortress-indigo: #243447;            /* Primary brand - structure, authority */
    --fortress-indigo-hover: #1a2736;      /* Darker on hover */
    --fortress-indigo-light: #344b63;      /* Lighter variant */
    --fortress-indigo-alpha-10: rgba(36, 52, 71, 0.1);
    --fortress-indigo-alpha-20: rgba(36, 52, 71, 0.2);

    --muted-gold: #9C8A4D;                 /* Accent - CTA only, use sparingly */
    --muted-gold-hover: #8a7a44;           /* Darker on hover */
    --muted-gold-light: #b9a86a;           /* Lighter variant */
    --muted-gold-alpha-10: rgba(156, 138, 77, 0.1);
    --muted-gold-alpha-20: rgba(156, 138, 77, 0.2);

    /* === NEUTRALS === */
    --background-canvas: #F4F4F2;          /* Main page background - Off-White */
    --surface-white: #FFFFFF;              /* Cards, modals, nav - Pure White */
    --border-gray: #D8D8D6;                /* Borders, dividers */
    --border-light: #E8E8E6;               /* Lighter borders */

    /* === TEXT COLORS === */
    --text-primary: #0E0E11;               /* Near Black - headings, primary text */
    --text-secondary: #3D3D42;             /* Body text, paragraphs */
    --text-muted: #6B6B70;                 /* Captions, disabled, labels */
    --text-white: #FFFFFF;                 /* Text on dark backgrounds */

    /* === SEMANTIC COLORS === */
    --success-green: #2D6A4F;
    --success-green-light: #E8F5E9;
    --warning-amber: #B8860B;
    --warning-amber-light: #FFF8E1;
    --error-red: #A63D40;
    --error-red-light: #FFEBEE;
    --info-steel: #4A6572;
    --info-steel-light: #ECEFF1;

    /* === NO GRADIENTS - Solid backgrounds only === */
    --hero-bg: var(--fortress-indigo);
    --nav-bg: var(--surface-white);
    --footer-bg: var(--fortress-indigo);

    /* === SHADOWS - Subtle, institutional === */
    --shadow-sm: 0 1px 2px 0 rgba(14, 14, 17, 0.04);
    --shadow-md: 0 2px 4px -1px rgba(14, 14, 17, 0.06), 0 1px 2px -1px rgba(14, 14, 17, 0.04);
    --shadow-lg: 0 4px 6px -1px rgba(14, 14, 17, 0.08), 0 2px 4px -2px rgba(14, 14, 17, 0.04);
    --shadow-xl: 0 8px 16px -4px rgba(14, 14, 17, 0.1), 0 4px 8px -4px rgba(14, 14, 17, 0.06);

    /* === SPACING === */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 2rem;      /* 32px */
    --spacing-lg: 4rem;      /* 64px */
    --spacing-xl: 6rem;      /* 96px */

    /* === TYPOGRAPHY === */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* === BORDER RADIUS - Sharp, institutional (2-4px max) === */
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --radius-xl: 4px;
    --radius-full: 4px;  /* No pill shapes */

    /* === TRANSITIONS === */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* === FOCUS RING === */
    --focus-ring: 0 0 0 2px var(--fortress-indigo-alpha-20);
    --focus-ring-gold: 0 0 0 2px var(--muted-gold-alpha-20);

    /* === LEGACY VARIABLE MAPPINGS (for compatibility) === */
    --primary-blue: var(--fortress-indigo);
    --primary-blue-hover: var(--fortress-indigo-hover);
    --primary-blue-light: var(--fortress-indigo-light);
    --primary-blue-alpha-10: var(--fortress-indigo-alpha-10);
    --primary-blue-alpha-20: var(--fortress-indigo-alpha-20);
    --accent-orange: var(--muted-gold);
    --accent-orange-hover: var(--muted-gold-hover);
    --accent-orange-alpha-10: var(--muted-gold-alpha-10);
    --accent-orange-alpha-20: var(--muted-gold-alpha-20);
    --deep-navy: var(--fortress-indigo);
    --steel-blue: var(--fortress-indigo-light);
    --background-light: var(--background-canvas);
    --gradient-hero: var(--fortress-indigo);
    --text-gray: var(--text-muted);
    --brand-blue: var(--fortress-indigo);
    --text-red: var(--error-red);
}

/* ===================================
   B) BASE STYLES - Reset & Typography
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--background-canvas);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.015em;
}
h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
h4 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Links */
a {
    color: var(--fortress-indigo);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--fortress-indigo-hover);
}

a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

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

/* ===================================
   C) UTILITY CLASSES
   =================================== */

/* Text Accent - No gradient, solid color */
.text-gradient {
    color: var(--muted-gold);
    display: inline;
}

/* Text Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-blue { color: var(--fortress-indigo); }
.text-orange { color: var(--muted-gold); }
.text-red { color: var(--error-red); }
.text-green { color: var(--success-green); }

/* Background Utilities */
.bg-white { background: var(--surface-white); }
.bg-light { background: var(--background-canvas); }
.bg-navy { background: var(--fortress-indigo); }
.bg-gradient-hero { background: var(--fortress-indigo); }
.bg-gradient-accent { background: var(--muted-gold); }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Badge/Label */
.badge-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--fortress-indigo-alpha-10);
    border: 1px solid var(--fortress-indigo);
    border-radius: var(--radius-md);
    color: var(--fortress-indigo);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* ===================================
   D) BUTTON COMPONENTS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

/* Primary Button - Fortress Indigo (Structure) */
.btn-primary {
    background: var(--fortress-indigo);
    color: var(--text-white);
    border-color: var(--fortress-indigo);
}

.btn-primary:hover {
    background: var(--fortress-indigo-hover);
    border-color: var(--fortress-indigo-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* CTA Button - Muted Gold (Use sparingly) */
.btn-cta {
    background: var(--muted-gold);
    color: var(--text-white);
    border-color: var(--muted-gold);
}

.btn-cta:hover {
    background: var(--muted-gold-hover);
    border-color: var(--muted-gold-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-cta:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring-gold);
}

/* Secondary Button - Outline */
.btn-secondary {
    background: transparent;
    color: var(--fortress-indigo);
    border-color: var(--fortress-indigo);
}

.btn-secondary:hover {
    background: var(--fortress-indigo);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Ghost Button - Subtle */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-gray);
}

.btn-ghost:hover {
    background: var(--background-canvas);
    border-color: var(--fortress-indigo);
    color: var(--fortress-indigo);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.btn-xl {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

/* Button Icons */
.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-icon-left {
    width: 20px;
    height: 20px;
    margin-right: 0.375rem;
}

/* ===================================
   E) NAVIGATION BAR
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface-white);
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    padding: 0.875rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--fortress-indigo);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.375rem 0;
    transition: color var(--transition-base);
}

.nav-link:hover {
    color: var(--fortress-indigo);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fortress-indigo);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ===================================
   F) CARD COMPONENT
   =================================== */

.card {
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.card-header {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-body {
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-footer {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
}

/* Feature Card */
.feature-card {
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--fortress-indigo);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--fortress-indigo-alpha-10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--fortress-indigo);
}

/* ===================================
   G) PRICING TABLE
   =================================== */

.pricing-card {
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--fortress-indigo);
    box-shadow: var(--shadow-lg);
}

/* Featured/Recommended Pricing Card */
.pricing-card.featured {
    border-color: var(--muted-gold);
    border-width: 2px;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--muted-gold);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-popular {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--muted-gold);
    color: var(--text-white);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   H) FORMS & INPUTS
   =================================== */

.input,
.textarea,
.select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.input:hover,
.textarea:hover,
.select:hover {
    border-color: var(--fortress-indigo-light);
}

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: var(--fortress-indigo);
    box-shadow: var(--focus-ring);
}

/* ===================================
   I) ALERTS & BADGES
   =================================== */

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 3px solid;
    margin-bottom: 1rem;
}

.alert-success {
    background: var(--success-green-light);
    border-color: var(--success-green);
    color: var(--success-green);
}

.alert-warning {
    background: var(--warning-amber-light);
    border-color: var(--warning-amber);
    color: var(--warning-amber);
}

.alert-error {
    background: var(--error-red-light);
    border-color: var(--error-red);
    color: var(--error-red);
}

.alert-info {
    background: var(--info-steel-light);
    border-color: var(--info-steel);
    color: var(--info-steel);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.badge-success {
    background: var(--success-green-light);
    color: var(--success-green);
}

.badge-warning {
    background: var(--warning-amber-light);
    color: var(--warning-amber);
}

.badge-error {
    background: var(--error-red-light);
    color: var(--error-red);
}

.badge-primary {
    background: var(--fortress-indigo-alpha-10);
    color: var(--fortress-indigo);
}

/* ===================================
   J) HERO SECTION
   =================================== */

.hero {
    background: var(--fortress-indigo);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Subtle pattern - no gradient */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.6s ease;
}

.hero-content h1,
.hero-content p {
    color: var(--text-white);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero buttons need contrast against dark background */
.hero-cta .btn-primary {
    background: var(--muted-gold);
    border-color: var(--muted-gold);
    color: var(--text-white);
}

.hero-cta .btn-primary:hover {
    background: var(--muted-gold-hover);
    border-color: var(--muted-gold-hover);
}

.hero-cta .btn-secondary {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.hero-cta .btn-secondary:hover {
    background: var(--text-white);
    border-color: var(--text-white);
    color: var(--fortress-indigo);
}

.hero-visual {
    position: relative;
}

/* Terminal Window */
.terminal-window {
    background: rgba(14, 14, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.terminal-header {
    background: rgba(14, 14, 17, 0.95);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.terminal-dot:nth-child(1) { background: #A63D40; }
.terminal-dot:nth-child(2) { background: #B8860B; }
.terminal-dot:nth-child(3) { background: #2D6A4F; }

.terminal-body {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.terminal-line {
    margin-bottom: 0.625rem;
    display: flex;
    gap: 0.5rem;
}

.terminal-line.typing {
    animation: blink 1s infinite;
}

.cursor {
    animation: cursorBlink 1s infinite;
}

/* ===================================
   K) TRUST BAR
   =================================== */

.trust-bar {
    background: var(--surface-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: var(--spacing-md) 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
}

.badge-icon {
    color: var(--fortress-indigo);
}

/* ===================================
   M) LAYOUT GRIDS & SECTIONS
   =================================== */

/* Sections */
.problem-section,
.product-section,
.services-section,
.use-cases-section,
.why-section,
.lead-funnel-section,
.pricing-section,
.final-cta-section {
    padding: var(--spacing-xl) 0;
}

.problem-section {
    background: var(--background-canvas);
}

.product-section {
    background: var(--surface-white);
}

.services-section {
    background: var(--background-canvas);
}

.use-cases-section {
    background: var(--surface-white);
}

.why-section {
    background: var(--background-canvas);
}

.lead-funnel-section {
    background: var(--surface-white);
}

.pricing-section {
    background: var(--background-canvas);
}

.final-cta-section {
    background: var(--fortress-indigo);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.final-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.final-cta-content h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
}

.final-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Final CTA buttons need contrast against dark background */
.final-cta-buttons .btn-primary {
    background: var(--muted-gold);
    border-color: var(--muted-gold);
    color: var(--text-white);
}

.final-cta-buttons .btn-primary:hover {
    background: var(--muted-gold-hover);
    border-color: var(--muted-gold-hover);
}

.final-cta-buttons .btn-secondary {
    background: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.final-cta-buttons .btn-secondary:hover {
    background: var(--text-white);
    border-color: var(--text-white);
    color: var(--fortress-indigo);
}

/* Comparison Table */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
}

.comparison-col h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.comparison-col ul {
    list-style: none;
}

.comparison-col ul li {
    padding: 0.625rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.comparison-col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--fortress-indigo);
    font-size: 1.25rem;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
}

.comparison-divider span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fortress-indigo);
    padding: 0.875rem;
    background: var(--fortress-indigo-alpha-10);
    border: 1px solid var(--fortress-indigo);
    border-radius: var(--radius-md);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Risk Grid */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.risk-card {
    padding: var(--spacing-md);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.risk-card:hover {
    border-color: var(--fortress-indigo);
    box-shadow: var(--shadow-lg);
}

.risk-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.risk-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    font-size: 1.125rem;
}

.risk-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Product/Dashboard Mockup */
.product-preview {
    margin: var(--spacing-lg) 0;
}

.dashboard-mockup {
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    background: var(--background-canvas);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-gray);
}

.mockup-title {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.mockup-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 360px;
}

.mockup-sidebar {
    background: var(--background-canvas);
    padding: var(--spacing-md);
    border-right: 1px solid var(--border-gray);
}

.mockup-menu-item {
    padding: 0.625rem 0.875rem;
    margin-bottom: 0.375rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mockup-menu-item.active {
    background: var(--fortress-indigo-alpha-10);
    color: var(--fortress-indigo);
    border-left: 2px solid var(--fortress-indigo);
}

.mockup-main {
    padding: var(--spacing-md);
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-box {
    padding: var(--spacing-md);
    background: var(--fortress-indigo-alpha-10);
    border: 1px solid var(--fortress-indigo-alpha-20);
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fortress-indigo);
    margin-bottom: 0.375rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.service-card {
    padding: var(--spacing-md);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--fortress-indigo);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: 1rem;
}

.service-header h3 {
    flex: 1;
    margin-bottom: 0;
    font-size: 1.25rem;
}

.service-badge {
    padding: 0.375rem 0.75rem;
    background: var(--fortress-indigo-alpha-10);
    border: 1px solid var(--fortress-indigo);
    border-radius: var(--radius-md);
    color: var(--fortress-indigo);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.service-features li {
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

.service-timeline {
    padding: 0.625rem 0.875rem;
    background: var(--fortress-indigo-alpha-10);
    border-radius: var(--radius-sm);
    color: var(--fortress-indigo);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.use-case-card {
    padding: var(--spacing-md);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.use-case-card:hover {
    border-color: var(--fortress-indigo);
    box-shadow: var(--shadow-lg);
}

.use-case-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fortress-indigo);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.use-case-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.use-case-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.use-case-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--fortress-indigo-alpha-10);
    border-radius: var(--radius-md);
    color: var(--fortress-indigo);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.why-card {
    padding: var(--spacing-md);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.why-card:hover {
    border-color: var(--fortress-indigo);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.why-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Lead Funnel */
.funnel-box {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: var(--surface-white);
    border: 1px solid var(--fortress-indigo);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.funnel-content h2 {
    margin-bottom: var(--spacing-sm);
}

.funnel-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.funnel-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Pricing Layouts */
.pricing-teaser {
    max-width: 840px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: var(--surface-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.pricing-info {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex: 1;
}

.pricing-item {
    flex: 1;
}

.pricing-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}

.pricing-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--fortress-indigo);
}

.pricing-divider {
    width: 1px;
    height: 48px;
    background: var(--border-gray);
}

.product-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--fortress-indigo);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--text-white);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===================================
   L) RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .mockup-content {
        grid-template-columns: 140px 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 64px);
        background: var(--surface-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        border-left: 1px solid var(--border-gray);
        transition: right var(--transition-base);
        gap: 0.875rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .btn-nav {
        width: 100%;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    .comparison-divider {
        padding: var(--spacing-sm) 0;
    }

    .comparison-divider span {
        transform: rotate(90deg);
    }

    .mockup-content {
        grid-template-columns: 1fr;
    }

    .mockup-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-gray);
    }

    .pricing-teaser {
        flex-direction: column;
        text-align: center;
    }

    .pricing-info {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }

    .pricing-divider {
        width: 100%;
        height: 1px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg, .btn-xl {
        width: 100%;
        justify-content: center;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-buttons {
        flex-direction: column;
    }
}
