/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060912;
  --bg-dark: #030508;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --text: #f0f4ff;
  --text-muted: #7c8db5;
  --primary: #4f6ef7;
  --primary-glow: rgba(79,110,247,0.35);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34,211,238,0.25);
  --purple: #a855f7;
  --radius: 16px;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 32px;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(6, 9, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo-icon { color: var(--cyan); font-size: 1.1rem; }
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  border: none;
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #fff;
  box-shadow: 0 0 30px var(--primary-glow);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--primary-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text); border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  padding: 0 32px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1e3a8a, transparent);
  top: -200px; right: -100px;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #164e63, transparent);
  bottom: -100px; left: -100px;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #4c1d95, transparent);
  top: 30%; left: 30%;
  opacity: 0.2;
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-inner {
  display: flex; align-items: center;
  gap: 80px; max-width: 1100px;
  width: 100%; position: relative; z-index: 1;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.25);
  color: #93c5fd;
  font-size: 0.8rem; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 500px; margin-bottom: 36px; line-height: 1.75;
}
.hero-desc em {
  color: var(--cyan); font-style: normal; font-weight: 500;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px;
}

.hero-stats {
  display: flex; align-items: center; gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text);
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ===== PHONE MOCKUP ===== */
.hero-visual { flex: 0 0 300px; position: relative; }

.phone-mockup {
  width: 260px;
  background: #0d1117;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(34,211,238,0.08);
  position: relative;
}

.phone-screen { padding: 16px 14px 14px; }

.phone-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
}
.phone-signal { color: var(--cyan); letter-spacing: 2px; }

.phone-map {
  height: 120px;
  background: #0a1628;
  border-radius: 12px;
  margin-bottom: 10px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(34,211,238,0.12);
}

.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-node {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(79,110,247,0.5);
}
.map-node.active { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.n1 { top: 25%; left: 20%; }
.n2 { top: 60%; right: 25%; }
.n3 { top: 40%; left: 55%; }

.map-path {
  position: absolute;
  width: 60%; height: 1.5px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  top: 46%; left: 22%;
  border-radius: 2px;
}

.user-dot {
  position: absolute; bottom: 20%; left: 18%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary);
}
.user-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--primary);
  animation: ring 1.8s ease-out infinite;
}
@keyframes ring {
  0% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(3.5); opacity: 0; }
}

.phone-chat {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px;
}

.msg {
  font-size: 0.72rem; padding: 7px 10px; border-radius: 10px;
  max-width: 85%; line-height: 1.4;
}
.msg-out {
  background: rgba(79,110,247,0.2);
  color: #93c5fd;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.msg-in {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  display: flex; gap: 5px; align-items: center;
}
.msg-icon { font-size: 0.8rem; }

.phone-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.72rem; color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.input-mic { font-size: 0.9rem; }

.phone-glow {
  position: absolute; bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 100px;
  background: radial-gradient(ellipse, rgba(34,211,238,0.15), transparent);
  pointer-events: none;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 32px; }
.section-dark { background: var(--bg-dark); }

.container { max-width: 1100px; margin: 0 auto; }

.section-header {
  text-align: center; max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted); font-size: 1rem; line-height: 1.7;
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}

.about-text p {
  color: var(--text-muted); font-size: 0.97rem;
  line-height: 1.8; margin-bottom: 18px;
}
.about-text strong { color: var(--text); font-weight: 600; }

.feature-cards {
  display: flex; flex-direction: column; gap: 14px;
}

.fcard {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.25s;
}
.fcard:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.fcard-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.fcard h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.fcard p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ===== STEPS ===== */
.steps {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: 64px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all 0.25s;
}
.step:hover {
  border-color: rgba(79,110,247,0.3);
  background: rgba(79,110,247,0.04);
}
.step-num {
  font-size: 2rem; font-weight: 900; letter-spacing: -1px;
  color: rgba(79,110,247,0.3); margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.step p em { color: var(--cyan); font-style: normal; }

.step-arrow {
  color: var(--text-muted); font-size: 1.4rem;
  padding-top: 40px; flex-shrink: 0;
}

/* ===== QUERY EXAMPLES ===== */
.query-examples {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.query-label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.queries { display: flex; flex-wrap: wrap; gap: 10px; }
.query {
  background: rgba(34,211,238,0.07);
  border: 1px solid rgba(34,211,238,0.18);
  color: var(--cyan);
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.84rem; font-weight: 500;
  transition: all 0.2s;
}
.query:hover {
  background: rgba(34,211,238,0.14);
  transform: translateY(-2px);
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}
.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(79,110,247,0.1);
}
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.5px;
  margin: 0 auto 16px; color: #fff;
}
.team-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.team-card p { font-size: 0.8rem; color: var(--text-muted); }

.advisors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.advisor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.advisor-card:hover { border-color: var(--cyan); }
.advisor-role {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--cyan); margin-bottom: 6px;
}
.advisor-name { font-size: 0.92rem; font-weight: 600; }

/* ===== REPORTS ===== */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all 0.25s;
  display: flex; flex-direction: column;
}
.report-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.rc-pending { border-color: rgba(234,179,8,0.2); }
.rc-pending:hover { border-color: rgba(234,179,8,0.4); }
.rc-done { border-color: rgba(34,197,94,0.2); }
.rc-done:hover { border-color: rgba(34,197,94,0.4); }

.rc-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.rc-code {
  font-size: 1.1rem; font-weight: 900; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rc-badge {
  font-size: 0.68rem; font-weight: 700; padding: 3px 9px;
  border-radius: 100px;
}
.rc-badge.pending {
  background: rgba(234,179,8,0.12);
  color: #fde047;
  border: 1px solid rgba(234,179,8,0.25);
}
.rc-badge.upcoming {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.rc-badge.done {
  background: rgba(34,197,94,0.12);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.25);
}

.report-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.report-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.rc-date {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.rc-download {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 7px 14px;
  font-size: 0.78rem; font-weight: 600;
  color: #86efac;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.rc-download:hover {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.5);
}

/* ===== BACKLOG TIMELINE ===== */
.backlog-timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
  padding-left: 40px;
}
.backlog-timeline::before {
  content: '';
  position: absolute; top: 12px; bottom: 12px; left: 11px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--purple));
  opacity: 0.3;
}

.bl-item {
  display: flex; gap: 24px; align-items: flex-start;
  position: relative; padding-bottom: 28px;
}
.bl-item:last-child { padding-bottom: 0; }

.bl-dot {
  position: absolute; left: -35px; top: 12px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--bg);
  flex-shrink: 0;
}
.bl-pending .bl-dot {
  border-color: #fde047;
  box-shadow: 0 0 8px rgba(253,224,71,0.4);
}

.bl-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all 0.25s;
}
.bl-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}
.bl-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.bl-version { font-size: 0.95rem; font-weight: 700; }
.bl-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.bl-date {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-size: 1.4rem; font-weight: 800;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--cyan); }
.footer p {
  font-size: 0.84rem; color: var(--text-muted);
  line-height: 1.8;
}

/* ===== AOS ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .advisors { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero-title { letter-spacing: -1.5px; }
  .team-grid { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 20px; }
}
