﻿:root {
    --bg-color: #050505;
    --surface-color: rgba(20, 20, 20, 0.7);
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --accent-color: #14b8a6;
    --danger-color: #ef4444;
    --success-color: #22c55e;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 15, 15, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: "Inter", system-ui, sans-serif;
    --font-display: "Space Grotesk", sans-serif;
    --nav-height: 80px;
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-accent: linear-gradient(135deg, #14b8a6, #3b82f6);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Background */
.bg-mesh { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; background: #000; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: floatBlob 20s infinite alternate; }
.blob-1 { width: 40vw; height: 40vw; background: rgba(99, 102, 241, 0.15); top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { width: 30vw; height: 30vw; background: rgba(139, 92, 246, 0.1); bottom: 10%; right: -5%; animation-delay: -5s; }
.blob-3 { width: 35vw; height: 35vw; background: rgba(20, 184, 166, 0.08); top: 40%; left: 30%; animation-delay: -10s; }
.noise-overlay { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E"); mix-blend-mode: overlay; pointer-events: none; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(10%, 10%) scale(1.1); } }

/* Shared Utilities */
.glass { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }
.glow-border { position: relative; }
.glow-border::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--gradient-primary); z-index: -1; opacity: 0; transition: var(--transition-smooth); }
.glow-border:hover::before { opacity: 0.5; filter: blur(8px); }
.interactive-card { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease; position: relative; overflow: hidden; }
.interactive-card::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.3s; transform: scale(0.5); pointer-events: none; }
.interactive-card:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(99, 102, 241, 0.4); z-index: 10; }
.interactive-card:hover::after { opacity: 1; transform: scale(1); transition: transform 0.8s ease-out; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; position: relative; }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 4rem; }
.section-subtitle { text-align: center; color: var(--primary-color); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-size: 0.85rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 600; cursor: pointer; transition: var(--transition-smooth); border: none; text-decoration: none; position: relative; overflow: hidden; }
.btn-primary { background: var(--text-color); color: var(--bg-color); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-color); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); z-index: 1000; transition: var(--transition-smooth); display: flex; align-items: center; }
.navbar.scrolled { background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--text-color); text-decoration: none; }
.logo-icon { color: var(--primary-color); }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: var(--transition-smooth); }
.nav-links a:hover { color: var(--text-color); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-color); cursor: pointer; }

/* Hero */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: var(--nav-height); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 2rem; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); color: #818cf8; font-size: 0.85rem; font-weight: 600; margin-bottom: 2rem; }
.pulse-dot { width: 8px; height: 8px; background: #818cf8; border-radius: 50%; box-shadow: 0 0 10px #818cf8; animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.hero p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(129, 140, 248, 0); } 100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); } }

/* Hero Phone Visual */
.hero-visual { position: relative; height: 600px; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; perspective: 1000px; }
.floating-badge { position: absolute; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 0.75rem 1rem; border-radius: 12px; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(10px); color: var(--text-color); box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 10; animation: float 6s infinite ease-in-out alternate; }
.floating-badge i { color: var(--primary-color); }
.badge-tl { top: 10%; left: 0; animation-delay: 0s; }
.badge-tr { top: 20%; right: 0; animation-delay: -2s; }
.badge-bl { bottom: 20%; left: 5%; animation-delay: -4s; }
.badge-br { bottom: 10%; right: 5%; animation-delay: -1s; }
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 100% { transform: translateY(-20px) rotate(2deg); } }
.phone-mockup { width: 300px; height: 620px; background: #000; border-radius: 40px; border: 8px solid #222; box-shadow: inset 0 0 0 2px #444, 0 30px 60px rgba(0,0,0,0.8), 0 0 100px rgba(99, 102, 241, 0.2); position: relative; overflow: hidden; transform: rotateY(-15deg) rotateX(5deg); transition: transform 0.1s ease-out; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #222; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 20; }
.phone-screen { width: 100%; height: 100%; background: #0a0a0a; padding: 40px 15px 20px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.chat-sim { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.chat-bubble { max-width: 85%; padding: 0.8rem 1rem; border-radius: 18px; font-size: 0.85rem; position: relative; opacity: 0; transform: translateY(20px); animation: chatSlideUp 0.5s forwards ease-out; }
.chat-bubble.incoming { background: #1a1a1a; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble.outgoing { background: var(--primary-color); align-self: flex-end; border-bottom-right-radius: 4px; color: white; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.chat-bubble.threat { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--danger-color); align-self: center; max-width: 95%; text-align: center; }
.chat-meta { font-size: 0.7rem; color: var(--primary-color); margin-bottom: 0.25rem; font-weight: 600; }
.threat-header { color: var(--danger-color); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.25rem; margin-bottom: 0.25rem; }
.threat-body { color: var(--text-color); opacity: 0.9; }
.threat-scan { align-self: center; background: rgba(20, 184, 166, 0.1); color: var(--accent-color); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.75rem; display: flex; align-items: center; gap: 0.5rem; position: relative; overflow: hidden; border: 1px solid rgba(20, 184, 166, 0.3); opacity: 0; animation: chatSlideUp 0.5s forwards ease-out; }
.scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent-color); animation: scanDown 2s infinite linear; box-shadow: 0 0 8px var(--accent-color); }
@keyframes scanDown { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes chatSlideUp { to { opacity: 1; transform: translateY(0); } }
.slide-up-1 { animation-delay: 1s; } .slide-up-2 { animation-delay: 3s; } .slide-up-3 { animation-delay: 5s; } .slide-up-4 { animation-delay: 6s; }

/* Comparison Section */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; }
.battle-card { padding: 2.5rem; border-radius: 24px; }
.traditional { opacity: 0.7; transform: scale(0.95); filter: grayscale(50%); transition: var(--transition-smooth); }
.traditional:hover { opacity: 1; transform: scale(0.98); filter: grayscale(0%); }
.aegis { border-color: rgba(99, 102, 241, 0.3); background: rgba(15, 15, 25, 0.8); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.card-header h3 { font-size: 1.5rem; }
.card-header i { width: 32px; height: 32px; color: var(--text-muted); }
.aegis .card-header i { color: var(--primary-color); }
.battle-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.battle-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.95rem; }
.battle-list i { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.icon-bad { color: var(--danger-color); }
.icon-good { color: var(--success-color); }

/* Tech Stack */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.tech-chip { display: flex; align-items: center; gap: 0.75rem; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 0.75rem 1.25rem; border-radius: 100px; font-weight: 500; font-size: 0.9rem; transition: var(--transition-smooth); cursor: default; }
.tech-chip:hover { background: rgba(255,255,255,0.05); transform: translateY(-3px); border-color: rgba(255,255,255,0.2); box-shadow: 0 4px 15px rgba(255,255,255,0.05); }
.tech-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.flutter-color { background: rgba(84, 197, 248, 0.1); color: #54c5f8; }
.signal-color { background: rgba(58, 118, 240, 0.1); color: #3a76f0; }
.tf-color { background: rgba(255, 152, 0, 0.1); color: #ff9800; }
.sql-color { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.fb-color { background: rgba(255, 202, 40, 0.1); color: #ffca28; }
.pg-color { background: rgba(51, 103, 145, 0.1); color: #336791; }
.ws-color { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

/* Interactive Architecture Phase 2 */
.arch-section { position: relative; background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05), transparent); overflow: hidden; }
.arch-bg-grid { position: absolute; inset: 0; background-size: 40px 40px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px); z-index: -1; animation: gridPan 20s linear infinite; }
@keyframes gridPan { 0% { transform: translateY(0); } 100% { transform: translateY(40px); } }

.arch-stats { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.stat-pill { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 20px; font-size: 0.85rem; font-weight: 600; color: #818cf8; }

.interactive-arch { display: flex; justify-content: center; align-items: stretch; max-width: 1100px; margin: 0 auto; position: relative; z-index: 10; }
.arch-node { flex: 0 0 200px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1rem; position: relative; z-index: 20; padding: 1.5rem; background: var(--glass-bg); border: 1px solid var(--border-color); border-radius: 24px; transition: var(--transition-smooth); cursor: pointer; }
.arch-node:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2); }
.node-icon { width: 72px; height: 72px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-color); margin: 0 auto; box-shadow: inset 0 0 10px rgba(255,255,255,0.05); transition: var(--transition-smooth); }
.arch-node:hover .node-icon { background: var(--gradient-primary); border-color: transparent; }
.arch-node h3 { font-size: 1.2rem; }
.node-action { font-size: 0.8rem; font-weight: 600; color: #818cf8; background: rgba(99, 102, 241, 0.1); padding: 0.4rem 1rem; border-radius: 20px; }
.node-badges { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.badge-danger { font-size: 0.75rem; font-weight: 600; color: var(--danger-color); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); padding: 0.3rem 0.8rem; border-radius: 20px; display: flex; align-items: center; gap: 0.25rem; }
.badge-info { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); padding: 0.3rem 0.8rem; border-radius: 20px; }

/* Node Tooltips */
.node-tooltip { position: absolute; top: -140px; left: 50%; transform: translateX(-50%) translateY(10px) scale(0.95); background: rgba(10, 10, 10, 0.95); border: 1px solid rgba(99, 102, 241, 0.5); border-radius: 16px; padding: 1.5rem; width: 280px; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 100; box-shadow: 0 15px 40px rgba(0,0,0,0.5); pointer-events: none; text-align: left; }
.arch-node:hover .node-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); pointer-events: auto; }
.node-tooltip h4 { color: var(--primary-color); margin-bottom: 0.75rem; font-size: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.node-tooltip ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.node-tooltip ul li { font-size: 0.85rem; color: var(--text-color); display: flex; align-items: flex-start; gap: 0.5rem; }
.node-tooltip ul li::before { content: "•"; color: var(--primary-color); }
.node-tooltip::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid rgba(10, 10, 10, 0.95); }
.tooltip-bottom { top: auto; bottom: -160px; }
.tooltip-bottom::after { bottom: auto; top: -8px; border-top: none; border-bottom: 8px solid rgba(10, 10, 10, 0.95); }

/* Architecture Connections */
.arch-track { flex-grow: 1; height: 3px; background: rgba(99, 102, 241, 0.2); position: relative; margin: 60px 1rem 0; border-radius: 2px; }
.arch-track::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent); animation: trackPulse 2s infinite linear; }
.moving-packet { position: absolute; top: -14px; left: -15px; width: 32px; height: 32px; background: #0a0a0a; border: 2px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); box-shadow: 0 0 15px rgba(99, 102, 241, 0.8); z-index: 5; animation: packetMove 4s infinite linear; }
.packet-trail { position: absolute; right: 100%; top: 50%; transform: translateY(-50%); height: 3px; width: 60px; background: linear-gradient(90deg, transparent, var(--primary-color)); opacity: 0.8; border-radius: 2px; }
.delayed-packet { animation-delay: 2s; }
@keyframes packetMove { 0% { left: 0; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes trackPulse { 0% { background-position: -200px 0; } 100% { background-position: 400px 0; } }

/* Features Section */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.feature-card { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); display: flex; align-items: center; justify-content: center; color: #818cf8; transition: var(--transition-smooth); }
.feature-card:hover .feature-icon { background: var(--gradient-primary); color: white; transform: scale(1.1) rotate(-5deg); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); border-color: transparent; }
.feature-card h3 { font-size: 1.25rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Engineering Team Section */
.team-section { background: radial-gradient(ellipse at bottom, rgba(99, 102, 241, 0.05) 0%, transparent 70%); }
.supervisor-container { display: flex; justify-content: center; margin-bottom: 3rem; }
.team-profile-card { padding: 2.5rem; border-radius: 24px; text-align: left; display: flex; flex-direction: column; height: 100%; }
.supervisor-card { text-align: center; max-width: 500px; padding: 2rem 4rem; }
.supervisor-card .profile-header { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.supervisor-card h3 { font-size: 1.5rem; margin-top: 0.5rem; }
.uni-name { color: var(--text-muted); font-size: 0.85rem; }

.engineers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-bottom: 1.5rem; transition: var(--transition-smooth); }
.team-profile-card:hover .profile-avatar { border-color: var(--primary-color); color: var(--text-color); box-shadow: 0 0 20px rgba(99, 102, 241, 0.2); }
.team-profile-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.role-badge { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(255,255,255,0.1); border-radius: 12px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.role-badge.highlight { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.reg-number { font-family: monospace; color: var(--text-muted); font-size: 0.85rem; opacity: 0.7; margin-bottom: 1.5rem; }
.responsibilities { margin-bottom: 2rem; flex-grow: 1; }
.responsibilities h4 { font-size: 0.9rem; color: var(--text-color); margin-bottom: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.responsibilities ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.responsibilities ul li { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.responsibilities ul li i { width: 14px; height: 14px; color: var(--primary-color); }
.profile-links { display: flex; gap: 1rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; margin-top: auto; }
.profile-links a { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: var(--transition-smooth); }
.profile-links a:hover { color: var(--primary-color); }

/* Timeline */
.project-timeline { max-width: 900px; margin: 0 auto 4rem; position: relative; padding: 2rem 0; }
.timeline-track { display: flex; justify-content: space-between; position: relative; }
.timeline-track::before { content: ''; position: absolute; top: 11px; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; }
.timeline-track::after { content: ''; position: absolute; top: 11px; left: 0; width: 100%; height: 2px; background: var(--gradient-primary); z-index: 2; animation: timelineGrow 3s ease-out forwards; }
@keyframes timelineGrow { from { width: 0; } to { width: 100%; } }
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: 1rem; z-index: 3; }
.step-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--glass-bg); border: 2px solid var(--primary-color); box-shadow: 0 0 10px rgba(99,102,241,0.5); transition: var(--transition-smooth); }
.timeline-step span { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.active-step .step-dot { background: var(--primary-color); border-color: white; box-shadow: 0 0 15px var(--primary-color); animation: pulseDot 2s infinite; }
.active-step span { color: white; }
@keyframes pulseDot { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Contribution Badges */
.contribution-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 800px; margin: 0 auto; }
.contribution-badges .badge { padding: 0.5rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; font-size: 0.85rem; color: var(--text-muted); transition: var(--transition-smooth); cursor: default; }
.contribution-badges .badge:hover { background: rgba(255,255,255,0.1); color: var(--text-color); border-color: var(--primary-color); transform: translateY(-2px); }

/* Download CTA */
.cta-section { position: relative; }
.cta-card { display: flex; justify-content: space-between; align-items: center; padding: 4rem; max-width: 1000px; margin: 0 auto; background: rgba(20, 20, 25, 0.8); }
.cta-content { max-width: 500px; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.cta-info-pills { display: flex; gap: 1rem; flex-wrap: wrap; }
.info-pill { display: flex; flex-direction: column; background: rgba(255,255,255,0.05); padding: 0.75rem 1.25rem; border-radius: 12px; border: 1px solid var(--border-color); }
.info-pill .label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.info-pill .value { font-size: 1.1rem; font-weight: 700; color: var(--text-color); font-family: var(--font-display); }

.btn-cta { font-size: 1.1rem; padding: 1rem 2.5rem; border-radius: 100px; background: var(--text-color); color: var(--bg-color); position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 700; transition: all 0.3s; z-index: 1; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }
.btn-cta .btn-ripple { position: absolute; top: 50%; left: 50%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%); transform: translate(-50%, -50%) scale(0); border-radius: 50%; transition: transform 0.5s ease-out; z-index: -1; }
.btn-cta:hover .btn-ripple { transform: translate(-50%, -50%) scale(1); animation: pulseRipple 2s infinite; }
.btn-cta .arrow-icon { transition: transform 0.3s; }
.btn-cta:hover .arrow-icon { transform: translateX(5px); }
@keyframes pulseRipple { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { overflow: hidden; transition: var(--transition-smooth); }
.faq-question { width: 100%; padding: 1.5rem 2rem; background: transparent; border: none; color: var(--text-color); font-weight: 600; font-size: 1.1rem; font-family: var(--font-main); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { transition: transform 0.3s ease; }
.faq-answer { padding: 0 2rem; max-height: 0; opacity: 0; transition: all 0.3s ease; color: var(--text-muted); }
.faq-item.active { border-color: rgba(99, 102, 241, 0.3); background: rgba(25, 25, 30, 0.8); }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary-color); }
.faq-item.active .faq-answer { padding: 0 2rem 1.5rem; max-height: 200px; opacity: 1; }

/* Footer */
.footer { padding: 5rem 0 2rem; border-top: 1px solid var(--border-color); border-radius: 0; border-left: none; border-right: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin-top: 1rem; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--text-color); transition: var(--transition-smooth); border: 1px solid var(--border-color); }
.footer-socials a:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-3px); }
.footer-links h4 { font-size: 1rem; margin-bottom: 1.5rem; color: var(--text-color); }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.75rem; font-size: 0.9rem; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--text-color); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.stack-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 0.5rem 1rem; border-radius: 20px; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; } .stagger-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .interactive-arch { flex-direction: column; gap: 3rem; }
    .arch-track { width: 3px; height: 60px; margin: 0; position: relative; }
    .arch-track::before { background: linear-gradient(180deg, transparent, rgba(99,102,241,0.5), transparent); animation: trackPulseVertical 2s infinite linear; }
    .moving-packet { top: -15px; left: -14px; animation: packetMoveVertical 4s infinite linear; }
    .packet-trail { width: 3px; height: 60px; right: auto; bottom: 100%; top: auto; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--primary-color)); }
    @keyframes packetMoveVertical { 0% { top: 0; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
    @keyframes trackPulseVertical { 0% { background-position: 0 -200px; } 100% { background-position: 0 400px; } }
    .node-tooltip { display: none; } /* Simplified on mobile */
    .timeline-track { flex-direction: column; gap: 2rem; align-items: flex-start; margin-left: 20px; }
    .timeline-track::before { width: 2px; height: 100%; left: 11px; top: 0; }
    .timeline-track::after { width: 2px; height: 100%; left: 11px; top: 0; animation: timelineGrowVertical 3s ease-out forwards; }
    @keyframes timelineGrowVertical { from { height: 0; } to { height: 100%; } }
    .timeline-step { flex-direction: row; }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .nav-links { position: absolute; top: var(--nav-height); left: 0; width: 100%; background: rgba(5,5,5,0.95); backdrop-filter: blur(20px); flex-direction: column; padding: 2rem 0; border-bottom: 1px solid var(--border-color); clip-path: inset(0 0 100% 0); transition: clip-path 0.4s ease; }
    .nav-links.active { clip-path: inset(0 0 0 0); }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .comparison-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 2rem; }
}
