:root {
    --bg-dark: #09090b;
    --bg-alt: #121214;
    --bg-card: rgba(24, 24, 27, 0.7);
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    --border-color: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }
.text-blue { color: var(--accent-blue); }
.text-purple { color: var(--accent-purple); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }

.flex-center { display: flex; align-items: center; }
.mr-2 { margin-right: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 2rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.25rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem; font-weight: 800; font-family: 'Outfit', sans-serif;
}
.logo span { color: var(--accent-blue); }

.nav-links {
    list-style: none; display: flex; gap: 2rem;
}
.nav-links a {
    color: var(--text-main); text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-blue); }

/* Sections */
.section { padding: 6rem 2rem; position: relative; z-index: 1; }
.bg-alt { background-color: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 1.5rem auto 0; }
.divider {
    height: 4px; width: 60px; margin: 0 auto; border-radius: 2px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
}

.grid-2 {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem;
}

/* Hero Section */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding: 7rem 2rem 3rem;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: 0;
}
.gradient-sphere {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4;
    animation: pulse 10s infinite alternate ease-in-out;
}
.sphere-1 { width: 40vw; height: 40vw; top: -10vw; left: -10vw; background: var(--accent-blue); }
.sphere-2 { width: 30vw; height: 30vw; bottom: 10vw; right: -5vw; background: var(--accent-purple); animation-delay: -5s; }

@keyframes pulse { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.2) translate(30px, 30px); } }

.hero-content { 
    position: relative; z-index: 1; width: 100%; max-width: 1200px; 
    text-align: center; margin: 0 auto; 
    display: flex; flex-direction: column; align-items: center; 
}
.hero-header { margin-bottom: 1rem; animation: fadeDown 0.8s ease forwards; }

.badge {
    display: inline-block; padding: 0.3rem 1rem; border-radius: 50px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
    font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; color: #e2e8f0; letter-spacing: 1px;
}

.main-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 0.5rem; }
.text-gradient { background: linear-gradient(to right, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--text-muted); max-width: 650px; margin: 0 auto; }

.video-showcase {
    width: 100%; max-width: 850px; margin: 0 auto; aspect-ratio: 16/9;
    background: #000; border-radius: 16px; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    animation: fadeUp 1s ease 0.3s forwards; opacity: 0;
}
.video-showcase video { width: 100%; height: 100%; object-fit: cover; }

.demo-notice {
    margin: 1rem auto 0;
    max-width: 800px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    color: #fca5a5;
    font-size: 0.85rem;
    animation: fadeUp 1s ease 0.5s forwards;
    opacity: 0;
}
.notice-icon { flex-shrink: 0; color: var(--accent-red); }
.demo-notice strong { color: #fff; }

.scroll-indicator {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--text-muted); z-index: 10;
    opacity: 0; animation: fadeIn 1s ease 1s forwards;
    margin-top: 2rem;
}
.scroll-indicator:hover { color: var(--text-main); }
.scroll-text { font-size: 0.8rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.arrow-down { animation: bounce 2s infinite; }

/* Cards */
.glass-card {
    background: var(--bg-card); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); border-radius: 16px;
    padding: 2.5rem; transition: transform 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.card-header h3 { font-size: 1.5rem; }
.blue-accent svg { color: var(--accent-blue); }
.red-accent svg { color: var(--accent-red); }

.card-body ul { padding-left: 1.5rem; color: var(--text-muted); }
.card-body li { margin-bottom: 0.5rem; }

.warning-list { list-style-type: '⚠ '; padding-left: 1rem !important; }
.warning-list li { margin-bottom: 1rem; }

/* Flow Diagram */
.flow-diagram { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex: 1; min-width: 120px; }
.icon-box {
    width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); color: white;
}
.blue-bg { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.green-bg { background: linear-gradient(135deg, #10b981, #059669); }
.purple-bg { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.red-bg { background: linear-gradient(135deg, #ef4444, #dc2626); }
.flow-step span { font-weight: 600; font-size: 1.1rem; text-align: center; }
.flow-arrow { font-size: 2rem; color: var(--text-muted); font-weight: bold; }

/* Tech Stack */
.tech-stack { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.tech-tag {
    padding: 0.75rem 1.5rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
    border-radius: 8px; font-weight: 600; color: #cbd5e1;
}

/* Lists */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--text-muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-green); font-weight: bold; }

.cross-list { list-style: none; padding: 0; }
.cross-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--text-muted); }
.cross-list li::before { content: '✗'; position: absolute; left: 0; color: var(--accent-red); font-weight: bold; }

.success-border { border-top: 3px solid var(--accent-green); }
.danger-border { border-top: 3px solid var(--accent-red); }

/* Stats Bar */
.stats-bar {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
    background: var(--bg-card); padding: 2rem; border-radius: 16px; border: 1px solid var(--border-color);
}
.stat-item { display: flex; flex-direction: column; gap: 0.5rem; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-value { font-size: 1.5rem; font-weight: 800; font-family: 'Outfit'; color: var(--accent-blue); }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; height: 100%; width: 2px;
    background: var(--border-color);
}
.timeline-item { position: relative; padding-left: 50px; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute; left: 0; top: 5px; width: 32px; height: 32px; border-radius: 50%;
    border: 4px solid var(--bg-alt);
}
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.timeline-content p { color: var(--text-muted); }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.team-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    padding: 3rem 2rem; text-align: center; transition: all 0.3s ease;
}
.team-card:hover { transform: translateY(-10px); background: #27272a; border-color: rgba(255,255,255,0.2); }
.member-avatar {
    width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
}
.member-avatar .initial { font-size: 2.5rem; font-weight: 700; color: white; font-family: 'Outfit'; }
.blue-gradient { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.purple-gradient { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.green-gradient { background: linear-gradient(135deg, #10b981, #059669); }

.member-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.role { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.bio { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }

/* Keyframes */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .flow-diagram { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
}
