/* ========================================
   AIO NEXUS Website — Neural Industrial Theme
   ======================================== */

:root {
    --bg-primary: #05080f;
    --bg-secondary: #0a1120;
    --bg-tertiary: #101a2e;
    --bg-elevated: #16243d;
    --bg-glass: rgba(8, 14, 28, 0.82);

    --text-primary: #f2f7ff;
    --text-secondary: #b0bfd8;
    --text-muted: #7a8eb3;

    --accent-brass: #8eb3ff;
    --accent-brass-light: #b3ccff;
    --accent-copper: #9d7cff;
    --accent-copper-light: #bc9eff;
    --accent-steam: #4dc7ff;
    --accent-gold: #c9bcff;

    --border-subtle: rgba(142, 179, 255, 0.12);
    --border-accent: rgba(142, 179, 255, 0.28);
    --border-machine: rgba(255, 255, 255, 0.05);

    --glow-brass: 0 0 30px rgba(142, 179, 255, 0.18);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-section: 24px;
    --radius-card: 16px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-copper); text-decoration: none; transition: all var(--transition); }
a:hover { color: var(--accent-brass-light); }
h1, h2, h3, h4 { 
    font-family: var(--font-display); 
    font-weight: 800; 
    letter-spacing: 0.08em; 
    text-transform: uppercase;
    line-height: 1.2;
}
.mono { font-family: var(--font-mono); letter-spacing: 0.1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav-main {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 40px; height: 40px; }
.nav-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--text-primary); letter-spacing: 0.1em; }
.nav-title-accent { color: var(--accent-brass); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
    color: var(--text-secondary); padding: 10px 16px; border-radius: 6px;
    text-transform: uppercase; letter-spacing: 0.08em; transition: all var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); }
.nav-link.active { color: var(--accent-brass); background: rgba(184, 134, 11, 0.1); }
.nav-link-cta {
    background: linear-gradient(135deg, var(--accent-copper), var(--accent-brass));
    color: var(--bg-primary) !important; font-weight: 700; margin-left: 8px;
}
.nav-link-cta:hover { background: linear-gradient(135deg, var(--accent-copper-light), var(--accent-brass-light)); box-shadow: var(--glow-brass); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--accent-brass); margin: 5px 0; }

/* Hero Improvements */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: 
        radial-gradient(circle at 50% -20%, rgba(142, 179, 255, 0.15), transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(157, 124, 255, 0.08), transparent 40%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    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: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    pointer-events: none;
}

.hero-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-brass);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    display: inline-block;
    padding: 4px 16px;
    border: 1px solid var(--border-accent);
    background: rgba(142, 179, 255, 0.05);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--text-primary);
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 auto 48px;
    max-width: 640px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 64px;
}

.hero-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .hero-btns { flex-direction: column; align-items: center; }
}

/* Buttons */
/* Tactile Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 32px; font-family: var(--font-display); font-size: 0.85rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
    border-radius: 4px; border: 1px solid transparent; cursor: pointer; 
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-copper) 0%, var(--accent-brass) 100%);
    color: #03050a; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0.4;
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), var(--glow-brass);
    filter: brightness(1.1);
}

.btn-secondary { 
    background: var(--bg-elevated); 
    color: var(--text-primary); 
    border-color: var(--border-accent);
    box-shadow: inset 0 1px 0 var(--border-machine);
}

.btn-secondary:hover { 
    background: var(--bg-tertiary); 
    border-color: var(--accent-brass);
    color: var(--accent-brass);
    transform: translateY(-1px);
}

/* Sections */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
    display: inline-block; font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--accent-brass); text-transform: uppercase; letter-spacing: 0.3em;
    padding: 6px 18px; background: rgba(142, 179, 255, 0.05);
    border: 1px solid var(--border-accent); border-radius: 100px; margin-bottom: 16px;
}
.section-title { 
    font-family: var(--font-display); 
    font-size: clamp(2rem, 5vw, 3rem); 
    font-weight: 800; 
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}
.section-desc { 
    font-family: var(--font-body); 
    font-size: 1.15rem; 
    color: var(--text-secondary); 
    max-width: 680px; 
    margin: 0 auto; 
    line-height: 1.8;
}

/* Spec Section */
.spec-section { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); position: relative; }
.spec-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-brass), transparent); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 24px; }
.spec-card {
    background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle);
    border-radius: 12px; overflow: hidden; transition: all var(--transition);
}
.spec-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-lg); }
.spec-card-header {
    display: flex; align-items: center; gap: 16px; padding: 24px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.08), transparent);
    border-bottom: 1px solid var(--border-subtle);
}
.spec-icon { width: 48px; height: 48px; color: var(--accent-copper); flex-shrink: 0; }
.spec-icon svg { width: 100%; height: 100%; }
.spec-card-header h3 { font-size: 1.15rem; color: var(--text-primary); }
.spec-card-body { padding: 24px; }
.spec-card-body > p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }
.spec-list { list-style: none; margin-bottom: 20px; }
.spec-list li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 0.9rem; color: var(--text-muted); }
.spec-list li::before { content: '▸'; position: absolute; left: 0; color: var(--accent-brass); }
.spec-list li strong { color: var(--text-secondary); }
.spec-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-tag {
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-copper);
    padding: 4px 10px; background: rgba(184, 115, 51, 0.1);
    border: 1px solid rgba(184, 115, 51, 0.25); border-radius: 4px;
}

/* Status Section */
.status-section { background: var(--bg-primary); }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 32px; }
.status-card {
    display: flex; align-items: center; gap: 16px; padding: 20px 24px;
    background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); border: 1px solid var(--border-subtle); border-radius: 10px;
}
.status-indicator { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-brass); box-shadow: 0 0 10px var(--accent-brass); flex-shrink: 0; }
.status-operational .status-indicator { background: var(--accent-brass); box-shadow: 0 0 10px var(--accent-brass); }
.status-info { flex: 1; }
.status-info h4 { font-size: 1rem; margin-bottom: 4px; }
.status-info p { font-size: 0.85rem; color: var(--text-muted); }
.status-uptime { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--accent-brass); }
.status-last-updated { text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.status-last-updated .mono { font-family: var(--font-mono); }

/* Monitors Section */
.monitors-section { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); }
.monitors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.monitor-card {
    background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle);
    border-radius: 10px; overflow: hidden;
}
.monitor-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border-subtle);
}
.monitor-header h4 { font-size: 0.95rem; }
.monitor-badge {
    font-family: var(--font-mono); font-size: 0.65rem; color: var(--accent-brass);
    padding: 3px 8px; background: rgba(184, 134, 11, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.3); border-radius: 4px;
}
.monitor-content { padding: 20px; }
.monitor-metric { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.monitor-metric:last-child { border-bottom: none; }
.metric-label { font-size: 0.9rem; color: var(--text-muted); }
.metric-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--accent-brass); }
.monitor-embed { grid-column: 1 / -1; }
.monitor-embed-content { padding: 20px; }
.embed-placeholder { 
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 200px; background: var(--bg-elevated); border-radius: 8px;
    border: 2px dashed var(--border-accent);
}
.embed-placeholder svg { color: var(--accent-brass); margin-bottom: 16px; opacity: 0.6; }
.embed-placeholder p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.embed-placeholder code { 
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-copper);
    background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); padding: 6px 12px; border-radius: 4px;
}

/* Pricing Section */
.pricing-section { background: var(--bg-primary); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 60px; }
.pricing-card {
    background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); border: 1px solid var(--border-subtle);
    border-radius: 16px; padding: 32px; position: relative;
    display: flex; flex-direction: column;
}
.pricing-featured { border-color: var(--accent-brass); box-shadow: 0 0 40px rgba(184, 134, 11, 0.15); }
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
    color: var(--bg-primary); background: linear-gradient(135deg, var(--accent-copper), var(--accent-brass));
    padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.pricing-header { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 24px; }
.pricing-name { font-size: 1.25rem; margin-bottom: 16px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 12px; }
.price-currency { font-size: 1.5rem; color: var(--text-muted); }
.price-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--accent-brass); }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-desc { font-size: 0.9rem; color: var(--text-muted); }
.pricing-features { list-style: none; flex: 1; margin-bottom: 24px; }
.pricing-features li { padding: 10px 0; font-size: 0.95rem; color: var(--text-secondary); }
.pricing-features .check { color: var(--accent-brass); margin-right: 10px; }
.pricing-features .dimmed { color: var(--text-muted); }
.pricing-features .x { color: var(--text-muted); margin-right: 10px; }
.pricing-btn { width: 100%; margin-top: auto; }
.pricing-compare { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 32px; }
.pricing-compare h3 { font-size: 1.25rem; margin-bottom: 12px; }
.pricing-compare > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-provider-table { margin-bottom: 16px; }
.provider-row {
    display: grid; grid-template-columns: 1.5fr 2fr 1fr 1fr;
    padding: 14px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.9rem;
}
.provider-row.header { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 2px solid var(--border-accent); }
.provider-row span:first-child { font-weight: 600; color: var(--text-primary); }
.provider-row span { color: var(--text-secondary); }
.provider-note { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* CTA */
.cta-section { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%); pointer-events: none; }
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; }
.cta-content p { font-size: 1.1rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; }

/* Footer */
.footer { padding: 80px 0 40px; background: var(--bg-primary); border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-icon { width: 32px; height: 32px; }
.footer-logo span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.footer-logo-accent { color: var(--accent-brass); }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); }
.footer-links h4 { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 0.9rem; color: var(--text-secondary); padding: 6px 0; }
.footer-links a:hover { color: var(--accent-brass); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border-subtle); }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer-tech { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* Demo Section */
.demo-section { background: var(--bg-primary); }

/* Cortex Intelligence Section */
.cortex-section { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); position: relative; }
.cortex-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-brass), transparent); }
.cortex-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px;
}
.cortex-card {
    background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 24px; text-align: center;
    transition: all var(--transition);
}
.cortex-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-md); }
.cortex-icon {
    width: 48px; height: 48px; margin: 0 auto 20px;
    color: var(--accent-brass);
    transition: all var(--transition);
}
.cortex-icon svg { width: 100%; height: 100%; filter: drop-shadow(0 0 5px rgba(142, 179, 255, 0.2)); }
.cortex-card:hover .cortex-icon {
    transform: scale(1.1);
    color: var(--accent-brass-light);
}
.cortex-card h4 {
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 800;
    color: var(--text-primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.1em;
}
.cortex-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.cortex-cta {
    display: flex; align-items: center; justify-content: center; gap: 24px;
    padding: 24px; background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle);
    border-radius: 12px;
}
.cortex-cta p { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 1024px) {
    .cortex-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .cortex-grid { grid-template-columns: 1fr; }
    .cortex-cta { flex-direction: column; text-align: center; }
}
.demo-container { max-width: 900px; margin: 0 auto; }
.demo-placeholder {
    background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); border: 2px dashed var(--border-accent);
    border-radius: 16px; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
}
.demo-placeholder-content { text-align: center; }
.demo-icon { width: 80px; height: 80px; color: var(--accent-brass); margin-bottom: 16px; opacity: 0.7; }
.demo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 8px; }
.demo-subtext { font-size: 0.9rem; color: var(--text-muted); }
.demo-placeholder video { width: 100%; height: 100%; border-radius: 14px; }

/* How It Works Section */
.how-section { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-card { text-align: center; padding: 40px 24px; background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle); border-radius: 16px; position: relative; }
.how-number { position: absolute; top: 20px; left: 24px; font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--bg-elevated); line-height: 1; }
.how-icon { width: 64px; height: 64px; margin: 0 auto 24px; color: var(--accent-copper); }
.how-icon svg { width: 100%; height: 100%; }
.how-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.how-card p { font-size: 0.95rem; color: var(--text-secondary); }

/* Testimonials Section */
.testimonials-section { background: var(--bg-primary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 32px; }
.testimonial-quote { width: 32px; height: 32px; color: var(--accent-brass); margin-bottom: 16px; opacity: 0.5; }
.testimonial-quote svg { width: 100%; height: 100%; }
.testimonial-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-copper), var(--accent-brass)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--bg-primary); font-size: 0.9rem; }
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-info strong { font-size: 0.95rem; color: var(--text-primary); }
.testimonial-info span { font-size: 0.8rem; color: var(--text-muted); }

/* FAQ Section */
.faq-section { background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); }
.faq-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 24px; }
.faq-question { font-family: var(--font-heading); font-size: 1.05rem; color: var(--text-primary); margin-bottom: 12px; }
.faq-answer { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* Modal */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; }
.modal.active { display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); }
.modal-content {
    position: relative; background: linear-gradient(180deg, rgba(13, 20, 34, 0.96) 0%, rgba(10, 16, 28, 0.96) 100%); border: 1px solid var(--border-accent);
    border-radius: 20px; padding: 48px; max-width: 505px; width: 90%; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(184, 134, 11, 0.2);
}
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text-muted); transition: color var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-close svg { width: 24px; height: 24px; }
.modal-header { text-align: center; margin-bottom: 32px; }
.modal-brand { display: flex; justify-content: center; margin-bottom: 16px; }
.modal-logo { width: 48px; height: 48px; }
.modal-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-header p { color: var(--text-secondary); font-size: 0.95rem; }
.signup-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select {
    padding: 14px 16px; background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 1px solid var(--border-subtle);
    border-radius: 8px; font-family: var(--font-heading); font-size: 1rem; color: var(--text-primary);
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent-brass); }
.form-group input::placeholder { color: var(--text-muted); }
.btn-full { width: 100%; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.form-embed-placeholder { background: linear-gradient(180deg, rgba(19, 29, 49, 0.96) 0%, rgba(15, 23, 38, 0.96) 100%); border: 2px dashed var(--border-accent); border-radius: 8px; padding: 40px; text-align: center; color: var(--text-muted); }
.nav-signup-btn { margin-left: 16px; padding: 10px 20px !important; font-size: 0.85rem !important; }

/* Machined Surface Effects (Universal) */
.spec-card,
.status-card,
.monitor-card,
.pricing-card,
.pricing-compare,
.cortex-card,
.how-card,
.testimonial-card,
.faq-item {
    background: linear-gradient(180deg, rgba(22, 36, 61, 0.4) 0%, rgba(10, 17, 32, 0.6) 100%);
    border: 1px solid var(--border-subtle);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 var(--border-machine);
    backdrop-filter: blur(20px);
    transition: all var(--transition);
    position: relative; /* For edge flare */
}

.spec-card:hover,
.cortex-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: 
        var(--shadow-lg), 
        0 0 30px rgba(142, 179, 255, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Custom Interaction: Subtle Edge Flare */
.spec-card::before,
.cortex-card::before,
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--accent-brass), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 10;
}

.spec-card:hover::before,
.cortex-card:hover::before,
.pricing-card:hover::before {
    opacity: 1;
}

/* Pricing Improvements */
.pricing-card {
    min-height: 100%;
    padding: 36px 32px 32px;
}
.pricing-card-core {
    border-color: rgba(142, 179, 255, 0.34);
    box-shadow: 0 22px 60px rgba(0,0,0,0.34), 0 0 0 1px rgba(142, 179, 255, 0.16);
}
.pricing-card-command {
    border-color: rgba(157, 124, 255, 0.28);
}
.pricing-features li {
    border-bottom: 1px solid rgba(142, 179, 255, 0.08);
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-features .check { color: var(--accent-steam); }

/* Animation System */
@keyframes heroDrift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero {
    animation: heroDrift 60s linear infinite alternate;
    background-size: 200% 200%;
}

.status-indicator {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 12px var(--accent-steam); }
    50% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 20px var(--accent-steam); }
}

/* Spacing Rhythm */
section { padding: 140px 0; }
.container { max-width: 1240px; }

/* Responsive Improvements */
@media (max-width: 1100px) {
    .cortex-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 100px 0; }
    .hero-title { font-size: 3rem; }
    .cortex-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .provider-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
    .provider-row.header { display: none; }
    .modal-content { padding: 32px 24px; }
    .nav-signup-btn { margin-left: 0; margin-top: 12px; width: 100%; }
}

/* ===== NEXUS ENTRANCE (SPLASH) ===== */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #03060c;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.8s ease;
}

.splash-screen.exited {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.splash-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #0a1428 0%, #03060c 100%);
}

.brain-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(142, 179, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    animation: brainPulse 4s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.6; }
}

.splash-glass {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 60px;
    background: rgba(10, 18, 32, 0.4);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(142, 179, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    text-align: center;
    border-radius: 4px;
}

.glitch-wrapper {
    margin-bottom: 20px;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: var(--accent-steam);
    z-index: -1;
    animation: glitchAnim 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text::after {
    color: var(--accent-copper);
    z-index: -2;
    animation: glitchAnim 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@keyframes glitchAnim {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

.splash-subtext {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 40px;
}

.splash-subtext span {
    color: var(--accent-brass);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.splash-btn {
    background: transparent;
    border: 1px solid var(--accent-brass);
    color: var(--accent-brass);
    padding: 16px 40px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.splash-btn:hover {
    background: rgba(142, 179, 255, 0.1);
    box-shadow: 0 0 20px rgba(142, 179, 255, 0.2);
    letter-spacing: 0.3em;
}

.btn-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-brass), transparent);
    animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(500%); }
}

.splash-noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    z-index: 5;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
}

/* Reveal System */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

