:root {
    --bg-main: #0D1F2D;
    --bg-sec: #132A3D;
    --accent: #02C39A;
    --accent-dark: #028090;
    --text-main: #FFFFFF;
    --text-muted: #A0B5C1;
    --font-heading: 'Syne', sans-serif;
    --font-text: 'DM Sans', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-text);
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); }
a { text-decoration: none; color: inherit; }

/* Navbar */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(13, 31, 45, 0.85); backdrop-filter: blur(10px);
    padding: 20px 5%; display: flex; justify-content: space-between; align-items: center;
    z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav .logo { font-size: 24px; font-weight: 700; color: var(--accent); font-family: var(--font-heading); }
nav .links a { margin-left: 20px; font-weight: 500; transition: 0.3s; color: var(--text-muted); }
nav .links a:hover, nav .links a.active { color: var(--accent); }

/* Hero */
.hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 100px 20px 50px;
    background: radial-gradient(circle at center, var(--bg-sec) 0%, var(--bg-main) 70%);
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px;}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }
.btn-primary {
    background: linear-gradient(45deg, var(--accent-dark), var(--accent));
    padding: 15px 40px; border-radius: 30px; font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(2, 195, 154, 0.3); transition: 0.3s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(2, 195, 154, 0.5); }
.btn-secondary {
    background: transparent; border: 2px solid var(--text-muted);
    padding: 13px 40px; border-radius: 30px; font-weight: 700; font-size: 1.1rem;
    margin-left: 15px; transition: 0.3s; display: inline-block; color: var(--text-muted);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.5rem; margin-bottom: 60px; text-align: center; color: var(--accent); }

/* Problem -> Solution */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card {
    background: var(--bg-sec); padding: 40px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.card h3 { font-size: 1.8rem; margin-bottom: 20px; border-bottom: 2px solid var(--accent-dark); padding-bottom: 10px; display: inline-block;}
.card ul { list-style: none; }
.card ul li { margin-bottom: 15px; position: relative; padding-left: 30px; line-height: 1.5; color: var(--text-muted);}
.card ul.bad li::before { content: '❌'; position: absolute; left: 0; }
.card ul.good li::before { content: '✅'; position: absolute; left: 0; }
.card ul.good li { color: #FFF; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.team-card {
    background: var(--bg-sec); border-radius: 20px; overflow: hidden;
    text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.team-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.team-card .img { width: 100%; height: 250px; background: var(--bg-main); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.team-info { padding: 25px; }
.team-info h4 { font-size: 1.4rem; margin-bottom: 5px; }
.team-info .role { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 15px; text-transform: uppercase;}
.team-info .skills { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.team-info a { color: #0a66c2; font-weight: bold; }

/* Why Us / Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-box { background: var(--bg-sec); padding: 30px 20px; border-radius: 15px; }
.stat-box .num { font-size: 2.5rem; font-family: var(--font-heading); color: var(--accent); font-weight: 700; margin-bottom: 10px; }

/* Competitors */
.comp-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.comp-card { background: var(--bg-sec); padding: 25px; border-radius: 15px; border-left: 5px solid var(--accent); }
.comp-card h4 { color: var(--accent); margin-bottom: 10px; }
.comp-card p { color: var(--text-muted); line-height: 1.6;}

/* Roadmap */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    width: 2px; height: 100%; background: var(--accent-dark);
}
.time-step { margin-bottom: 40px; position: relative; width: 50%; padding: 0 40px; }
.time-step:nth-child(odd) { left: 0; text-align: right; }
.time-step:nth-child(even) { left: 50%; text-align: left; }
.time-step::before {
    content: ''; position: absolute; top: 10px; width: 20px; height: 20px;
    background: var(--bg-main); border: 4px solid var(--accent); border-radius: 50%;
}
.time-step:nth-child(odd)::before { right: -10px; }
.time-step:nth-child(even)::before { left: -10px; }
.time-step.active::before { background: var(--accent); box-shadow: 0 0 15px var(--accent); }
.time-step h4 { color: #FFF; margin-bottom: 10px; }
.time-step p { color: var(--text-muted); font-size: 0.9rem; }
.time-step.active h4 { color: var(--accent); }

/* Implementation */
.impl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.impl-card { background: var(--bg-sec); padding: 25px; border-radius: 15px; }
.impl-card h4 { color: var(--accent); margin-bottom: 10px; }
.impl-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Demo Specific */
.demo-container { max-width: 900px; margin: 0 auto; text-align: center; }
.video-placeholder {
    width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    border: 2px dashed var(--accent-dark); margin-bottom: 30px; cursor: pointer;
}
.video-placeholder i { font-size: 60px; color: var(--accent); transition: 0.3s; }
.video-placeholder:hover i { transform: scale(1.1); }
.demo-desc { background: var(--bg-sec); padding: 30px; border-radius: 20px; text-align: left; line-height: 1.6; color: var(--text-muted); }

/* Chatbot */
.chat-widget {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000;
}
.chat-btn {
    width: 60px; height: 60px; border-radius: 50%; background: var(--accent);
    color: var(--bg-main); display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer; box-shadow: 0 10px 25px rgba(2, 195, 154, 0.4);
    border: none; outline: none; transition: 0.3s;
}
.chat-btn:hover { transform: scale(1.1); }
.chat-window {
    position: absolute; bottom: 80px; right: 0; width: 350px; height: 450px;
    background: var(--bg-sec); border-radius: 20px; border: 1px solid var(--accent-dark);
    display: none; flex-direction: column; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.chat-window.active { display: flex; }
.chat-header {
    background: var(--bg-main); padding: 15px 20px; font-weight: bold; border-bottom: 1px solid var(--accent-dark);
    display: flex; justify-content: space-between; align-items: center;
}
.close-chat { cursor: pointer; color: var(--text-muted); }
.chat-body { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 10px 15px; border-radius: 15px; font-size: 0.9rem; max-width: 85%; }
.msg.bot { background: rgba(2, 195, 154, 0.1); color: #FFF; align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.user { background: var(--accent); color: var(--bg-main); align-self: flex-end; border-bottom-right-radius: 5px; font-weight: bold; }
.chat-presets { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px 15px; background: rgba(0,0,0,0.2); }
.preset-btn { 
    background: transparent; border: 1px solid var(--accent); color: var(--text-muted);
    padding: 5px 10px; border-radius: 15px; font-size: 0.8rem; cursor: pointer; transition: 0.2s;
}
.preset-btn:hover { background: var(--accent); color: var(--bg-main); }
.chat-input { display: flex; border-top: 1px solid var(--accent-dark); }
.chat-input input { flex: 1; background: transparent; border: none; padding: 15px; color: #FFF; outline: none;}
.chat-input button { background: var(--accent); border: none; padding: 0 20px; color: var(--bg-main); cursor: pointer; font-weight: bold;}

@media(max-width: 768px) {
    .split-grid, .stats-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 0; }
    .time-step { width: 100%; left: 0 !important; text-align: left !important; padding-left: 30px; }
    .time-step:nth-child(odd)::before, .time-step:nth-child(even)::before { left: -10px; right: auto; }
    .hero h1 { font-size: 2.5rem; }
}
