:root {
    --bg-core: #0a0e17;
    --bg-card: #111625;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-flow: linear-gradient(90deg, #3b82f6, #8b5cf6);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #1f2937;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dynamic Background */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    z-index: -1;
    animation: pulseFlow 15s infinite alternate;
}
@keyframes pulseFlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 1; } }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 {
    font-size: 4rem; letter-spacing: -0.05rem;
    background: var(--accent-flow); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
h2 { font-size: 2.5rem; }
.section-subtitle { color: var(--accent-primary); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; display: block; margin-bottom: 10px; }

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center; padding: 20px 5%;
    background: rgba(10, 14, 23, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100;
}
.brand { font-size: 1.5rem; font-weight: 800; color: #fff; }
.brand span { color: #3b82f6; }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 2rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* Layout & Components */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; border-bottom: 1px solid rgba(255,255,255,0.02); }

.btn {
    display: inline-block; padding: 14px 35px; background: var(--accent-flow); color: #fff;
    text-decoration: none; font-weight: 600; border-radius: 50px; transition: all 0.3s;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(59, 130, 246, 0.5); }

/* Animation Classes */
.hidden-el { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.show-el { opacity: 1; transform: translateY(0); }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.card {
    background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px; border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-10px); border-color: var(--accent-primary); }
.card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.02) 100%); pointer-events: none;
}
.card-icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-primary); }

/* Timeline (Blueprint) */
.timeline { position: relative; max-width: 800px; margin: 60px auto 0; }
.timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
    background: var(--border-color); transform: translateX(-50%);
}
.timeline-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; position: relative; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content { width: 45%; background: var(--glass-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--glass-border); position: relative; }
.timeline-dot {
    position: absolute; left: 50%; width: 20px; height: 20px; background: var(--bg-core);
    border: 4px solid var(--accent-secondary); border-radius: 50%; transform: translateX(-50%); z-index: 2;
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* Metrics Grid */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.metric-box { text-align: center; padding: 30px; background: rgba(59, 130, 246, 0.05); border-radius: 8px; border: 1px solid rgba(59, 130, 246, 0.1); }
.metric-val { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.metric-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Abstract Flow Chart */
.flow-chart { display: flex; justify-content: space-between; align-items: center; margin: 60px 0; position: relative; max-width: 900px; margin-left: auto; margin-right: auto;}
.flow-node {
    background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; border-radius: 50%;
    width: 180px; height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.5s;
}
.flow-node:hover { transform: scale(1.1); border-color: var(--accent-secondary); }
.flow-line { flex-grow: 1; height: 2px; background: linear-gradient(90deg, var(--border-color), var(--accent-primary), var(--border-color)); position: relative; top: -2px; }
.flow-line::after {
    content: '►'; position: absolute; right: -5px; top: -8px; color: var(--accent-primary); font-size: 12px;
}

/* Footer */
footer { padding: 60px 0; background: #05080f; text-align: center; font-size: 0.9rem; color: var(--text-muted); border-top: 1px solid var(--border-color); }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; margin-left: 50px; }
    .timeline-content { width: 100%; }
    .timeline-dot { left: 20px; transform: translateX(-50%); }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .flow-chart { flex-direction: column; gap: 40px; }
    .flow-line { width: 2px; height: 50px; background: var(--accent-primary); }
}
