/* ==========================================================================
   siliconbiology.ai Quantum Portal Stylesheet
   Modern Dark Luxury Aesthetic & Glassmorphism System
   ========================================================================== */

:root {
    --bg-base: #060911;
    --bg-surface: #0e1322;
    --bg-card: rgba(18, 24, 40, 0.75);
    --bg-card-hover: rgba(26, 34, 56, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(6, 182, 212, 0.35);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.4);
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;

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

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glow */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--purple-glow), transparent 70%);
    top: 300px;
    right: -200px;
}

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

.max-w-600 {
    max-width: 600px;
}

.text-center { text-align: center; }
.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-white { color: #ffffff; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(6, 9, 17, 0.8);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.brand-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.brand-accent {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.btn-nav {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.5);
}

/* Hero Section */
.hero {
    padding: 90px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 24, 40, 0.8);
    border: 1px solid var(--border-subtle);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 75%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(6, 182, 212, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

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

/* Telemetry Bar */
.telemetry-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.telemetry-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.telemetry-val {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
}

.telemetry-divider {
    width: 1px;
    height: 32px;
    background: var(--border-subtle);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: rgba(10, 14, 25, 0.6);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Grid & Pillar Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media(max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 960px) {
    .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 38px; }
    .telemetry-bar { flex-direction: column; gap: 16px; }
    .telemetry-divider { display: none; }
}

@media(max-width: 680px) {
    .grid-4 { grid-template-columns: 1fr; }
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.pillar-featured {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.15);
}

.popular-ribbon {
    position: absolute;
    top: 18px;
    right: 20px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.icon-cyan { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.icon-purple { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }

.pillar-badge {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pillar-features {
    list-style: none;
    margin-bottom: 28px;
}

.pillar-features li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-features li span {
    color: var(--emerald);
    font-weight: 700;
}

.pillar-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.price-period {
    font-size: 13px;
    color: var(--text-muted);
}

/* Interactive Demos Component */
.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--cyan);
    color: #ffffff;
}

.demo-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 860px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
}

.demo-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 6px;
}

.panel-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.panel-input {
    flex: 1;
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 14px;
    outline: none;
}

.panel-input:focus {
    border-color: var(--cyan);
}

.audit-result-card {
    background: rgba(3, 7, 18, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.audit-status {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.grade-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
}

.grade-b {
    border: 3px solid var(--amber);
    color: var(--amber);
    background: rgba(245, 158, 11, 0.1);
}

.grade-aplus {
    border: 3px solid var(--emerald);
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.1);
}

.audit-summary h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.audit-summary p {
    font-size: 13px;
    color: var(--text-secondary);
}

.audit-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.m-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.m-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
}

/* Entropy Box */
.entropy-display {
    margin-top: 20px;
}

.hex-stream {
    background: #030712;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan);
    word-break: break-all;
    line-height: 1.8;
}

.entropy-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-secondary);
}

.entropy-controls {
    display: flex;
    gap: 12px;
}

/* Fleet Box */
.fleet-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.fleet-timer {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.stat-card {
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Pricing Grid */
.price-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    backdrop-filter: blur(12px);
}

.popular-tier {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.15);
}

.tier-tag {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--cyan);
    color: #060911;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 20px;
}

.price-tier {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-amount span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-perks {
    list-style: none;
    margin-bottom: 32px;
}

.price-perks li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-perks li::before {
    content: "•";
    color: var(--cyan);
    font-size: 18px;
}

.btn-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Forms */
.lead-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
}

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

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

.form-input {
    width: 100%;
    background: #030712;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.form-input:focus {
    border-color: var(--cyan);
}

.w-full {
    width: 100%;
}

.form-success {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--emerald);
    color: var(--emerald);
    font-size: 13px;
    text-align: center;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-sub {
    font-size: 11px;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.brand-sub { font-size: 0.6em; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin-left: 6px; }
