/* [AEGIS-SIGMA]: PHI-ALIGNED STYLESHEET
 * Uses Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144)
 * for all spacing, typography, and layout ratios.
 * © 2026 Jared R. Lawson. ALL RIGHTS RESERVED.
 */

:root {
    /* Gemstone Palette */
    --gem-f1-obsidian: #0B0B0D;
    --gem-f2-ruby: #9B111E;
    --gem-f3-amber: #FFBF00;
    --gem-f5-emerald: #50C878;
    --gem-f8-sapphire: #0F52BA;
    --gem-f13-amethyst: #9966CC;
    --gem-f21-diamond: #00E5FF;
    --gem-f13-amethyst-light: rgba(153, 102, 204, 0.2);
    
    /* Typography (Phi Scale) */
    --text-xs: 8px;
    --text-sm: 13px;   /* F7 */
    --text-base: 19px; /* F8 */
    --text-lg: 34px;   /* F9 */
    --text-xl: 55px;   /* F10 */
    
    /* Spacing (Fibonacci) */
    --spacing-xs: 5px;
    --spacing-sm: 8px;
    --spacing-md: 13px;
    --spacing-lg: 21px;
    --spacing-xl: 34px;
    --spacing-2xl: 55px;
    --spacing-3xl: 89px;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 13px; /* F7 */
    --border: var(--gem-f13-amethyst-light);
    --text-primary: #F0F0F5;
    --text-secondary: #9CA3AF;
    --bg-slate: #121216;
}

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

html {
    scroll-behavior: smooth;
    min-height: 100%;
    background: var(--gem-f1-obsidian);
    background-image:
        linear-gradient(rgba(11, 11, 13, 0.70), rgba(11, 11, 13, 0.85)),
        url("../aegis-sigma.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (min-width: 669px) and (max-width: 1024px) {
    html {
        background-attachment: fixed;
        background-image:
            linear-gradient(rgba(11, 11, 13, 0.60), rgba(11, 11, 13, 0.75)),
            url("../aegis-tablet.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 668px) {
    html {
        background-attachment: fixed;
        background-image:
            linear-gradient(rgba(11, 11, 13, 0.60), rgba(11, 11, 13, 0.75)),
            url("../mobile-background.png");
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .grid-2 { grid-template-columns: 1fr !important; }
    .grid-4 { grid-template-columns: 1fr !important; }
    .pricing-grid { grid-template-columns: 1fr !important; gap: var(--spacing-md); }
    section .grid-2 > *,
    #architecture .container > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    section .grid-4 > * { margin-bottom: var(--spacing-md); }
}

body {
    font-family: 'Inter', sans-serif;
    font-size: var(--text-base);
    color: var(--text-primary);
    line-height: 1.618; /* Phi Line Height */
    overflow-x: hidden;
    min-height: 100vh;
    background: transparent;
}

/* Typography */
h1 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: var(--text-base); font-weight: 700; }
.mono { font-family: 'JetBrains Mono', monospace; }
.text-gradient {
    background: linear-gradient(135deg, var(--gem-f21-diamond) 0%, var(--gem-f13-amethyst) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--spacing-lg); }
.section { padding: var(--spacing-3xl) 0; position: relative; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: var(--spacing-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-lg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 10px;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--gem-f21-diamond);
    color: var(--gem-f1-obsidian);
    box-shadow: 0 0 var(--spacing-lg) rgba(0, 229, 255, 0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 var(--spacing-xl) rgba(0, 229, 255, 0.4); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--gem-f13-amethyst);
    color: var(--gem-f13-amethyst);
}
.btn-outline:hover { background: rgba(153, 102, 204, 0.1); }

@keyframes header-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
@keyframes gradient-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Header */
header {
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 13, 0.45);
    backdrop-filter: blur(20px);
    border-bottom: none;
}
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,229,255,0.8), rgba(139,92,246,0.8), rgba(0,229,255,0.8));
    background-size: 200% 100%;
    box-shadow: 0 0 12px 2px rgba(0,229,255,0.3), 0 0 30px 4px rgba(139,92,246,0.2), 0 1px 8px 0 rgba(0,229,255,0.15);
    animation: header-glow 4s ease-in-out infinite, gradient-shimmer 10s linear infinite;
    pointer-events: none;
    z-index: 2;
}
@media (prefers-reduced-motion: reduce) { header::after, .mobile-nav::before { animation: none; opacity: 0.7; } }
header nav { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 6px 0; width: 100%; }
.logo { font-size: var(--text-sm); font-weight: 800; color: var(--text-primary); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--gem-f21-diamond); }
.logo-img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a, .nav-dropdown > a { color: var(--text-secondary); text-decoration: none; font-size: var(--text-sm); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-dropdown > a:hover { color: var(--gem-f21-diamond); }
.nav-cta {
    background: var(--gem-f21-diamond);
    color: var(--gem-f1-obsidian);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 229, 255, 0.2), inset 0 0 0 1px rgba(255,255,255,0.08);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 229, 255, 0.3), inset 0 0 0 1px rgba(255,255,255,0.1); }
.nav-cta:active { transform: translateY(1px) scale(0.98); }

/* Desktop CTA visibility */
.desktop-cta { display: inline-flex; }

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s;
}
.hamburger:hover { border-color: var(--gem-f21-diamond); }
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
/* Hamburger to X animation */
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 56px;
    right: 0;
    left: auto;
    width: 280px;
    height: calc(100vh - 56px);
    background: rgba(11, 11, 13, 0.65);
    backdrop-filter: blur(16px);
}
.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,229,255,0.8), rgba(139,92,246,0.8), rgba(0,229,255,0.8));
    background-size: 200% 100%;
    box-shadow: 0 0 12px 2px rgba(0,229,255,0.3), 0 0 30px 4px rgba(139,92,246,0.2), 0 -1px 8px 0 rgba(0,229,255,0.15);
    animation: header-glow 4s ease-in-out infinite, gradient-shimmer 10s linear infinite;
    pointer-events: none;
}

.mobile-nav {
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 21px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    pointer-events: none;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 340px;
}
.mobile-nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-links a {
    display: block;
    padding: 16px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    transition: color 0.2s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:active { color: var(--gem-f21-diamond); }
.mobile-nav-cta {
    margin-top: 34px;
    font-size: 15px;
    padding: 14px 40px;
}

/* Hero */
.hero { padding: 120px 0 var(--spacing-2xl); text-align: center; border-bottom: 1px solid var(--border); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 100px;
    color: var(--gem-f21-diamond);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
    margin-top: 8px;
}
.hero h1 { margin-bottom: var(--spacing-lg); }
.hero p { font-size: var(--text-base); color: var(--text-secondary); max-width: 700px; margin: 0 auto var(--spacing-xl); }
.hero-buttons { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--spacing-xl); }

/* Terminal Block */
.terminal {
    background: var(--bg-slate);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: left;
    margin-top: var(--spacing-xl);
    overflow-x: auto;
}
.terminal .prompt { color: var(--gem-f5-emerald); }
.terminal .success { color: var(--gem-f21-diamond); }
.terminal .warn { color: var(--gem-f2-ruby); }

/* Pricing */
.pricing-card {
    background: var(--bg-slate);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: var(--spacing-xl);
    position: relative;
    transition: all 0.3s;
    display: flex; flex-direction: column;
}
.pricing-card:hover { border-color: var(--gem-f21-diamond); transform: translateY(-8px); }
.pricing-card.popular { border-color: var(--gem-f13-amethyst); box-shadow: 0 0 var(--spacing-xl) rgba(153, 102, 204, 0.1); }
.pricing-card.popular::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 229, 255, 0.08);
    color: var(--gem-f21-diamond);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 700;
}
.tier-name { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: var(--spacing-sm); }
.tier-price { font-size: var(--text-lg); font-weight: 800; color: var(--text-primary); margin-bottom: var(--spacing-xs); }
.tier-price span { font-size: var(--text-sm); color: var(--text-secondary); font-weight: 400; }
.tier-desc { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--spacing-lg); min-height: 40px; }
.tier-features { list-style: none; margin-bottom: var(--spacing-xl); flex: 1; }
.tier-features li { padding: var(--spacing-sm) 0; color: var(--text-secondary); font-size: var(--text-sm); display: flex; align-items: flex-start; gap: var(--spacing-sm); border-top: 1px solid rgba(255,255,255,0.05); }
.tier-features li:last-child { border-bottom: none; }
.check { color: var(--gem-f5-emerald); }
.close-btn { color: var(--gem-f2-ruby); }
.pricing-card .btn { margin-top: auto; }

/* Footer */
footer { padding: var(--spacing-xl) 0; text-align: center; color: var(--text-secondary); border-top: 1px solid var(--border); font-size: var(--text-sm); }

/* Responsive — tablet nav + 2-col cards */
@media (min-width: 669px) and (max-width: 1024px) {
    .nav-links { display: none; }
    .desktop-cta { display: none; }
    .hamburger { display: flex; margin-left: auto; }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    #proof .grid-2 { grid-template-columns: 1fr !important; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .bolton-grid { grid-template-columns: 1fr 1fr; }
    .layer-grid { grid-template-columns: 1fr 1fr; }
}

/* Responsive — mobile */
@media (max-width: 668px) {
    .nav-links { display: none; }
    .desktop-cta { display: none; }
    .hamburger { display: flex; margin-left: auto; }
    .dropdown-menu { position: static; transform: none; display: none; background: transparent; border: none; box-shadow: none; padding: 0; min-width: unset; backdrop-filter: none; }
    .nav-cta { text-align: center; padding: 10px 20px; font-size: 14px; border-radius: 10px; }
    .hero h1 { font-size: 32px; }
    .grid-2 { grid-template-columns: 1fr !important; }
    .grid-4 { grid-template-columns: 1fr !important; }
    .bolton-grid { grid-template-columns: 1fr; }
    .layer-grid { grid-template-columns: 1fr; }
    .hero-badge { border-radius: 100px; }
    .btn { padding: 12px 24px; font-size: 14px; border-radius: 10px; }
    .container { padding: 0 21px; }
    .terminal { padding: 13px; margin-left: 0; margin-right: 0; max-width: 100%; }
    .hero-buttons { margin-bottom: 34px; }
    body, html { max-width: 100vw; overflow-x: hidden; }
}

/* Mobile header fix - keep logo inline */
@media (max-width: 668px) {
    .logo {
        flex-wrap: nowrap;
        gap: 8px;
        font-size: 14px;
    }
    .logo-img {
        height: 36px !important;
    }
    #status-indicator {
        width: 6px !important;
        height: 6px !important;
        margin: 0 4px !important;
    }
}

/* Phone-only terminal — edge-to-edge with compact styling */
@media (max-width: 600px) {
    .terminal {
        font-size: 14px !important;
        padding: 10px !important;
        margin: 0 -16px 24px -16px !important;
    }
    .terminal div {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    .terminal-header {
        margin: -10px -10px 10px -10px !important;
        padding: 4px 10px !important;
        border-radius: 10px 10px 0 0 !important;
    }
}

/* Status Indicator with Heartbeat Pulse */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}
.status-active {
    background: var(--gem-f5-emerald) !important;
    box-shadow: 0 0 12px var(--gem-f5-emerald), 0 0 20px rgba(80, 200, 120, 0.4) !important;
    animation: heartbeat 1.5s ease-in-out infinite !important;
}
.status-under-attack {
    background: var(--gem-f3-amber);
    box-shadow: 0 0 8px var(--gem-f3-amber);
    animation: pulse-fast 0.5s ease-in-out infinite;
}
.status-offline {
    background: var(--gem-f2-ruby) !important;
    box-shadow: 0 0 8px var(--gem-f2-ruby) !important;
    animation: none !important;
}
@keyframes heartbeat {
    0% { transform: scale(1); opacity: 1; }
    14% { transform: scale(1.5); opacity: 1; }
    28% { transform: scale(1); opacity: 1; }
    42% { transform: scale(1.5); opacity: 1; }
    70% { transform: scale(1); opacity: 1; }
}
@keyframes pulse-fast {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.6; }
}
@media (max-width: 668px) {
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}
.status-active {
    background: var(--gem-f5-emerald) !important;
    box-shadow: 0 0 12px var(--gem-f5-emerald), 0 0 20px rgba(80, 200, 120, 0.4) !important;
    animation: heartbeat 1.5s ease-in-out infinite !important;
}
.status-offline {
    background: var(--gem-f2-ruby) !important;
    box-shadow: 0 0 8px var(--gem-f2-ruby) !important;
    animation: none !important;
}


/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-label--diamond  { color: var(--gem-f21-diamond); }
.section-label--amethyst { color: var(--gem-f13-amethyst); }
.section-label--amber    { color: var(--gem-f3-amber); }
.section-label--emerald  { color: var(--gem-f5-emerald); }
.section-title  { font-size: 36px; margin-top: 12px; }
.section-desc   { color: var(--text-secondary); max-width: 700px; margin: 16px auto 0; }
.section-desc--sm { margin-top: 12px; }
.subsection-title { font-size: 28px; margin-top: 8px; }

/* ========== CASE STUDIES ========== */
.case-study .container { font-size: 0.78rem; }
.case-study { padding-top: 30px !important; }
.case-study > .container > h2 + p { margin-bottom: 24px; }


/* ==========================================
   COLOUR UTILITIES
   ========================================== */
.c-diamond  { color: var(--gem-f21-diamond); }
.c-amethyst { color: var(--gem-f13-amethyst); }
.c-amber    { color: var(--gem-f3-amber); }
.c-emerald  { color: var(--gem-f5-emerald); }
.c-ruby     { color: var(--gem-f2-ruby); }

/* ==========================================
   URIEL-OS SECTION
   ========================================== */
#urielos {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.layer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.layer-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.layer-card--diamond  { border: 1px solid rgba(0, 229, 255, 0.2); }
.layer-card--emerald  { border: 1px solid rgba(80, 200, 120, 0.2); }
.layer-card--amethyst { border: 1px solid rgba(153, 102, 204, 0.2); }
.layer-card--amber    { border: 1px solid rgba(255, 191, 0, 0.2); }
.layer-card--ruby     { border: 1px solid rgba(155, 17, 30, 0.2); }
.layer-num  { font-size: 32px; font-weight: 800; margin-bottom: 4px; }
.layer-code { font-family: 'JetBrains Mono', monospace; font-size: 14px; opacity: 0.7; }
.layer-verb { font-size: 16px; font-weight: 700; margin: 8px 0; }
.layer-desc { font-size: 14px; color: var(--text-secondary); }

/* ==========================================
   TRIAD SYNC
   ========================================== */
.triad-wrap { text-align: center; }
.triad-sync {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 12px;
}
.triad-label   { font-size: 14px; font-weight: 700; color: var(--gem-f21-diamond); letter-spacing: 1px; }
.triad-sub     { font-size: 14px; color: var(--text-secondary); }
.triad-divider { width: 55px; height: 1px; background: linear-gradient(90deg, transparent, var(--gem-f13-amethyst), transparent); }
.triad-powered { font-size: 14px; font-weight: 700; color: var(--gem-f13-amethyst); }
.triad-models  { font-size: 14px; color: var(--text-secondary); }

/* ==========================================
   TERMINAL MODIFIERS
   ========================================== */
.terminal--hero  { max-width: 600px; margin: 40px auto 24px; }
.terminal--proof { margin-top: 0; }
.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(80, 200, 120, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: -12px -12px 12px -12px;
    border-radius: 12px 12px 0 0;
}
.terminal-header-prompt { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--gem-f5-emerald); }

/* ==========================================
   PRICING MODIFIERS
   ========================================== */
.pricing-card--ruby { border-color: var(--gem-f2-ruby); }
.btn-full  { width: 100%; justify-content: center; }
.btn-sm    { font-size: 14px; padding: 10px 16px; }
.btn-ruby  { border-color: var(--gem-f2-ruby); color: var(--gem-f2-ruby); }
.btn-oracle { background: linear-gradient(135deg, #9966CC 0%, #00E5FF 100%); }

/* ==========================================
   ENTERPRISE SECTION
   ========================================== */
.enterprise-header { text-align: center; margin: 40px 0 30px; }
.enterprise-grid   { margin-top: 30px; }

/* ==========================================
   BOLT-ON SECTION
   ========================================== */
.bolton-box {
    max-width: 800px;
    margin: 0 auto 40px;
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
}
.bolton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}
.bolton-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.bolton-card--featured {
    background: rgba(153, 102, 204, 0.08);
    border: 2px solid var(--gem-f13-amethyst);
    position: relative;
}
.bolton-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gem-f13-amethyst);
    color: white;
    padding: 2px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
}
.bolton-tier-label           { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.bolton-tier-label--amber    { color: var(--gem-f3-amber); }
.bolton-tier-label--amethyst { color: var(--gem-f13-amethyst); }
.bolton-tier-label--ruby     { color: var(--gem-f2-ruby); }
.bolton-price       { font-size: 28px; font-weight: 800; color: var(--gem-f21-diamond); }
.bolton-price span  { font-size: 14px; color: var(--text-secondary); }
.bolton-fib         { font-size: 14px; color: var(--text-secondary); margin: 8px 0; font-family: 'JetBrains Mono', monospace; }
.bolton-total       { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.bolton-total strong { color: var(--text-primary); }

/* ==========================================
   UNLOCK SECTION
   ========================================== */
.unlock-wrap  { max-width: 600px; margin: 0 auto; }
.unlock-title { text-align: center; margin-bottom: 20px; font-size: 18px; color: var(--gem-f21-diamond); }
.unlock-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.unlock-item  { display: flex; align-items: center; gap: 8px; padding: 10px; background: rgba(80, 200, 120, 0.05); border-radius: 8px; }
.unlock-text  { font-size: 14px; color: var(--text-secondary); }

/* ==========================================
   FIBONACCI PILL
   ========================================== */
.fib-pill-wrap { text-align: center; margin-top: 40px; margin-bottom: 48px; }
.fib-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 24px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 100px;
    color: var(--gem-f21-diamond);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.fib-pill-sub { font-size: 14px; font-weight: 400; opacity: 0.8; }

/* ==========================================
   PROOF SECTION
   ========================================== */
#proof { border-top: 1px solid var(--border); }
.grid-2--center { align-items: center; }
.proof-desc { color: var(--text-secondary); margin-bottom: 32px; }
.proof-img  { width: 100%; border-radius: 12px; border: 1px solid var(--border); }

/* ==========================================
   FOOTER META
   ========================================== */
.footer-meta { margin-top: 8px; font-size: 14px; }

/* AEGIS-SIGMA LANDING - AUDIT CARD STYLES */
:root {
    --gem-f1-ruby: #CF222E;
    --gem-f2-ruby: #B31020;
    --gem-f5-emerald: #50C878;
    --gem-f13-amethyst: #9966CC;
    --gem-f21-diamond: #00E5FF;
}

.audit-section { padding: 34px 0; }

.audit-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.1) 0%, rgba(153, 102, 204, 0.06) 100%);
    pointer-events: none;
    z-index: 0;
}

.audit-card-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: white;
}

.audit-card-header p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.connection-status.connected { border-color: var(--gem-f5-emerald); }
.connection-status.disconnected { border-color: var(--gem-f1-ruby); }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gem-f1-ruby);
    animation: pulse 2s infinite;
}

.status-dot.connected {
    background: var(--gem-f5-emerald);
    animation: none;
}

.connection-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.connection-detail { display: flex; flex-direction: column; }

.connection-detail label {
    color: var(--gem-f13-amethyst);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.connection-detail span { color: var(--text-secondary); }

.connection-stats {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.stat .value { color: white; font-weight: 600; }

.scan-section {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.scan-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.scan-input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.scan-input-group input:focus {
    outline: none;
    border-color: var(--gem-f21-diamond);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2);
}

.btn-scan {
    background: linear-gradient(135deg, var(--gem-f13-amethyst), var(--gem-f21-diamond));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.btn-scan:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(153, 102, 204, 0.3);
}

.terminal-readout {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--gem-f5-emerald);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 100px;
}

.terminal-readout .loading { opacity: 0.7; animation: blink 1s infinite; }

.scan-result {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-top: 16px;
}

.coherence-score {
    font-size: 36px;
    font-weight: 800;
    color: var(--gem-f2-ruby);
    margin: 8px 0;
}

.coherence-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manifest-preview {
    padding: 24px;
    background: linear-gradient(180deg, rgba(153, 102, 204, 0.06), rgba(0, 229, 255, 0.03));
}

.manifest-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gem-f13-amethyst);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vulnerability-map {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.heat-cell {
    height: 80px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.heat-cell.high {
    background: linear-gradient(135deg, rgba(207, 34, 46, 0.3), rgba(179, 16, 32, 0.2));
    border: 1px solid rgba(207, 34, 46, 0.4);
}

.heat-cell.medium {
    background: linear-gradient(135deg, rgba(80, 200, 120, 0.2), rgba(50, 150, 90, 0.15));
    border: 1px solid rgba(80, 200, 120, 0.3);
}

.heat-cell.low {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 180, 200, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.heat-label { font-size: 14px; margin-bottom: 4px; color: white; }
.heat-status { font-size: 9px; color: var(--text-secondary); text-transform: uppercase; }

.shadow-probes { margin: 20px 0; }

.probe-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid var(--gem-f21-diamond);
}

.probe-item:last-child { margin-bottom: 0; }

.probe-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.probe-info { flex: 1; }

.probe-ip { font-weight: 600; color: white; font-size: 14px; margin-bottom: 2px; }
.probe-time { font-size: 14px; color: var(--text-secondary); }

.fbi-tease {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--gem-f2-ruby);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.fbi-tease::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.fbi-tease-content { position: relative; z-index: 2; }

.fbi-tease h3 {
    margin: 0 0 8px 0;
    color: var(--gem-f2-ruby);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fbi-tease p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.fibonacci-bundle {
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(153, 102, 204, 0.06));
}

.bundle-header { text-align: center; margin-bottom: 16px; }

.bundle-header h3 {
    margin: 0;
    color: var(--gem-f21-diamond);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bundle-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bundle-item:last-child { margin-bottom: 0; }

.bundle-item.highlight {
    border-color: var(--gem-f21-diamond);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.bundle-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gem-f13-amethyst), var(--gem-f21-diamond));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.bundle-content { flex: 1; }

.bundle-title { font-weight: 700; color: white; font-size: 15px; margin-bottom: 4px; }

.bundle-price {
    color: var(--gem-f21-diamond);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.bundle-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.hook-text {
    font-size: 14px;
    color: var(--gem-f5-emerald);
    background: rgba(80, 200, 120, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(80, 200, 120, 0.2);
}

.btn-upgrade {
    background: linear-gradient(135deg, var(--gem-f21-diamond), var(--gem-f13-amethyst));
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-top: 12px;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 229, 255, 0.3);
}

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

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

.card-dark {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: var(--spacing-xl);
    backdrop-filter: blur(4px);
}

.card-dark p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.card-dark {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: var(--spacing-xl);
    backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
    .scan-input-group { flex-direction: column; }
    .connection-details { grid-template-columns: 1fr; }
    .bundle-item {
        flex-direction: column;
        text-align: center;
    }
    .bundle-icon { margin: 0 auto; }
    .audit-section { padding: 17px 0; }
}


/* Desktop dropdown nav — slides out of the header glow line, sharp corners */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: var(--text-sm); font-weight: 500; cursor: pointer; padding: 8px 18px; user-select: none; transition: color 0.2s; }
.nav-dropdown > .dropdown-toggle:hover { color: var(--gem-f21-diamond); }
.nav-dropdown.menu-open > .dropdown-toggle { color: var(--gem-f21-diamond); }
.dropdown-arrow { font-size: 11px; color: var(--text-secondary); margin-left: 2px; }
.dropdown-menu { display: none !important; }
.dropdown-menu.open { display: block !important; position: fixed; background: rgba(11, 11, 13, 0.45); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 0; padding: 8px 0; min-width: 200px; z-index: 999; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); animation: nav-slide-down 0.42s cubic-bezier(0.16, 1, 0.3, 1) both; }
.dropdown-menu.closing { display: block !important; animation: nav-slide-up 0.32s cubic-bezier(0.4, 0, 1, 1) both; }
.dropdown-menu li { list-style: none; opacity: 0; animation: nav-item-fade 0.4s ease forwards; }
.dropdown-menu li:nth-child(1) { animation-delay: 0.08s; }
.dropdown-menu li:nth-child(2) { animation-delay: 0.12s; }
.dropdown-menu li:nth-child(3) { animation-delay: 0.16s; }
.dropdown-menu li:nth-child(4) { animation-delay: 0.20s; }
.dropdown-menu li:nth-child(5) { animation-delay: 0.24s; }
.dropdown-menu li a { display: block; padding: 10px 24px; color: var(--text-secondary); font-size: 14px; text-decoration: none; white-space: nowrap; }
.dropdown-menu li a:hover { color: var(--gem-f21-diamond); background: rgba(0, 229, 255, 0.06); }
@keyframes nav-slide-down { 0% { transform: translateY(-56px); } 100% { transform: translateY(0); } }
@keyframes nav-slide-up { 0% { transform: translateY(0); } 100% { transform: translateY(-56px); } }
@keyframes nav-item-fade { 0% { opacity: 0; transform: translateX(-4px); } 100% { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .dropdown-menu.open, .dropdown-menu.closing, .dropdown-menu li { animation: none; } .dropdown-menu li { opacity: 1; } }
@media (max-width: 668px) {
  .dropdown-menu.open { position: static; border: none; box-shadow: none; background: transparent; padding: 0; min-width: auto; z-index: auto; animation: none; transform: none; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dropdown-menu.closing { animation: none; }
  .dropdown-menu li { animation: none; opacity: 1; }
  .dropdown-menu li a { padding: 12px 20px; font-size: 15px; white-space: normal; }
}
/* Sanctum Popup - Simple Version Display */

/* Sanctum Popup - Epic Sales Modal */



/* ========== PAGINATION ========== */
.pagination-row {
    display: flex; justify-content: center; align-items: center; gap: 8px; margin: 32px 0 16px;
}
.pagination-btn {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #8b949e; padding: 6px 16px; border-radius: 6px; cursor: pointer; font-size: 13px;
    transition: all 0.2s;
}
.pagination-btn:hover { background: rgba(0,229,255,0.1); border-color: rgba(0,229,255,0.3); color: #00E5FF; }
.pagination-btn:disabled { opacity: 0.3; cursor: default; background: transparent; }
.pagination-info { color: #555; font-size: 12px; padding: 0 8px; }
.pagination-page { display: none; }
.pagination-page.active { display: block; }
