/**
 * clearlee™ Official Web Design System
 * Palette: Deep Cyber Obsidian, Electric Cyan, Sovereign Gold, Emerald Trust
 */

:root {
    --bg-dark: #07090e;
    --bg-card: rgba(15, 20, 32, 0.75);
    --bg-card-hover: rgba(22, 30, 48, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 240, 255, 0.25);
    
    --cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --emerald: #10b981;
    --red: #ef4444;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Atmosphere */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    top: 40%;
    right: -150px;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.max-w-800 { max-width: 800px; }
.max-w-600 { max-width: 600px; }
.text-center { text-align: center; }
.text-cyan { color: var(--cyan); }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }

/* Announcement Banner */
.top-banner {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(212, 175, 55, 0.1));
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.88rem;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-pill {
    background: var(--cyan);
    color: #000;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.banner-link {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
}

.banner-link:hover { text-decoration: underline; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 14px 0;
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    background: transparent;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    background: transparent;
}

.brand-prefix {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #14b8a6;
    text-transform: uppercase;
}

.brand-main {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #14b8a6;
    margin: 0;
}

.brand-main .brand-tm {
    font-size: 0.85rem;
    font-weight: 600;
    vertical-align: super;
    margin-left: 2px;
    color: #2dd4bf;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #14b8a6;
}

.brand-tm {
    font-size: 0.65rem;
    vertical-align: super;
    color: var(--gold);
}

.brand-subtitle {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-gold {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #fde047;
}

.btn-gold:hover {
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-lg {
    padding: 14px 26px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.seal-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--border-highlight);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.seal-chip-text {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--cyan);
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #00f0ff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.metric-card {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Terminal Showcase Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-showcase-box {
    position: relative;
    padding: 32px 28px;
    background: rgba(13, 19, 34, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(20, 184, 166, 0.15);
    max-width: 440px;
    width: 100%;
}

.terminal-brand-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-brand-header .brand-prefix {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #14b8a6;
}

.terminal-brand-header .brand-main {
    font-size: 2.2rem;
    margin-top: 4px;
    color: #14b8a6;
}

.brand-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.telemetry-badges-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.telemetry-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 9, 19, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-live {
    background: #14b8a6;
    box-shadow: 0 0 10px #14b8a6;
}

.badge-label {
    color: var(--text-muted);
    font-weight: 500;
}

.badge-value {
    color: #fff;
    font-weight: 600;
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.terminal-footer-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.text-teal {
    color: #14b8a6 !important;
}
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Sections */
.section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Dual Engine Cards */
.engine-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.engine-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.engine-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.defend-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.route-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.engine-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.engine-icon {
    font-size: 2.2rem;
}

.engine-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.tag-defend {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-route {
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.engine-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.engine-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.engine-feature-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.engine-feature-list li {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.engine-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

.card-footer-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    font-size: 0.88rem;
}

.card-footer-metric strong {
    color: var(--cyan);
    font-family: var(--font-mono);
}

/* Calculator */
.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: #1e2638;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cyan);
    cursor: pointer;
    box-shadow: 0 0 10px var(--cyan);
}

.range-val {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
}

.primary-result {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.res-lbl {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.res-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin: 8px 0;
}

.res-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.result-breakdown {
    margin-bottom: 24px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Connectors */
.connectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.connector-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.connector-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.connector-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.connector-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.connector-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.connector-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 20px;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.03));
}

.seal-mini-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.newsletter-form {
    margin-top: 24px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex-grow: 1;
    background: #0d121f;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
}

.input-group input:focus {
    border-color: var(--cyan);
    outline: none;
}

.feedback-msg {
    margin-top: 10px;
    font-size: 0.85rem;
}

.feedback-msg.success { color: var(--emerald); }
.feedback-msg.error { color: var(--red); }

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px;
    background: #05070a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 16px 0;
}

.footer-seal-trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trust-badge {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chat-toggle-btn:hover {
    transform: scale(1.08);
}

.chat-badge-ping {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #000;
}

.chat-window {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 380px;
    height: 520px;
    background: #0a0e18;
    border: 1px solid var(--border-highlight);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chat-header {
    background: #0f1626;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.agent-avatar {
    width: 36px;
    height: 36px;
    background: rgba(0, 240, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.agent-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.agent-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.chat-close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    max-width: 85%;
    line-height: 1.45;
}

.bot-msg {
    background: #151e33;
    color: #e2e8f0;
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.user-msg {
    background: var(--cyan);
    color: #000;
    font-weight: 500;
    align-self: flex-end;
}

.chat-quick-chips {
    padding: 8px 14px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-top: 1px solid var(--border-color);
}

.chip {
    background: #141b2d;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.chip:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.chat-input-bar {
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    background: #0c111d;
    border-top: 1px solid var(--border-color);
}

.chat-input-bar input {
    flex-grow: 1;
    background: #151d30;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
}

.chat-send-btn {
    background: var(--cyan);
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0b0f19;
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-card-lg {
    max-width: 880px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-btn {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.auth-form .form-group input,
.auth-form .form-group select {
    width: 100%;
    background: #111726;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.95rem;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus {
    border-color: var(--cyan);
    outline: none;
}

.form-foot {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
}

.form-foot a {
    color: var(--cyan);
    text-decoration: none;
}

/* Dashboard View */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.tenant-badge {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan);
}

.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.dash-stat-box {
    background: #111827;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.dash-stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.dash-stat-box strong {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin: 4px 0;
}

.dash-stat-box small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dash-section {
    margin-bottom: 20px;
}

.dash-section h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.vault-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vault-item {
    background: #111827;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vault-tag {
    color: var(--emerald);
    font-size: 0.72rem;
    font-family: var(--font-mono);
}

.connector-status-card {
    background: #111827;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator.online {
    width: 10px;
    height: 10px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald);
}

.status-info strong {
    display: block;
    font-size: 0.88rem;
}

.status-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Founder Cockpit */
.founder-cockpit-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.crown-icon {
    font-size: 2.2rem;
}

.founder-cockpit-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.founder-cockpit-header span {
    font-size: 0.8rem;
    color: var(--gold);
    font-family: var(--font-mono);
}

.founder-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.f-stat-card {
    background: #101625;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.f-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.f-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 6px 0;
}

.f-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.founder-table-wrapper {
    margin-top: 20px;
}

.founder-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.founder-table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.78rem;
    font-family: var(--font-mono);
}

.founder-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.tag-active {
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Legal Body */
.legal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--cyan);
}

.legal-body h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: #fff;
}

.legal-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.legal-body ul {
    margin: 10px 0 20px 24px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.legal-body code {
    font-family: var(--font-mono);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Enclave SDK Section */
.sdk-enclave-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.03) 50%, transparent 100%);
}

.enclave-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.enclave-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.enclave-card.highlight-border {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
}

.enclave-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.enclave-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.enclave-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: #fff;
    line-height: 1.3;
}

.enclave-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.enclave-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.enclave-bullets li {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.enclave-bullets li::before {
    content: "•";
    color: var(--cyan);
    font-size: 1.3rem;
    position: absolute;
    left: 4px;
    top: -2px;
}

.dual-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.track-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 20px;
}

.track-item h4 {
    font-size: 1.05rem;
    color: var(--cyan);
    margin-bottom: 8px;
}

.track-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Whitepaper Section */
.whitepaper-section {
    padding: 80px 0;
}

.whitepaper-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(7, 9, 14, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.1);
}

.whitepaper-tag {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 12px;
}

.whitepaper-info h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #fff;
}

.whitepaper-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.whitepaper-takeaways {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.takeaway-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.takeaway-icon {
    color: var(--emerald);
    font-weight: 800;
    font-size: 1.1rem;
}

.whitepaper-form-box {
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.whitepaper-form-box h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: #fff;
}

.form-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.data-privacy-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .engine-cards-grid,
    .calculator-card,
    .connectors-grid,
    .footer-grid,
    .founder-stats-grid,
    .enclave-grid,
    .whitepaper-box {
        grid-template-columns: 1fr;
    }
    .hero-heading { font-size: 2.5rem; }
    .nav-links { display: none; }
    .hero-metrics { grid-template-columns: 1fr 1fr; }
}
