/* ===== Tokens ===== */
:root {
  --orange: #ff6a00;
  --orange-2: #ff8a3d;
  --orange-soft: rgba(255, 106, 0, 0.12);
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: #18181b;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f4;
  --muted: #a1a1aa;
  --grid: rgba(255, 106, 0, 0.07);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --max: 1180px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbfaf8;
  --bg-2: #f3f1ed;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-strong: #ffffff;
  --border: rgba(11, 11, 12, 0.1);
  --text: #0b0b0c;
  --muted: #55555c;
  --grid: rgba(255, 106, 0, 0.1);
  --shadow: 0 20px 50px -24px rgba(11, 11, 12, 0.25);
  --orange-soft: rgba(255, 106, 0, 0.1);
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
.accent { color: var(--orange); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { position: relative; padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { font-size: 1.08rem; }

/* Background grid + glow */
.bg-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.45), transparent 70%);
  opacity: 0.55;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--orange); color: #0b0b0c; box-shadow: 0 10px 30px -10px rgba(255, 106, 0, 0.7); }
.btn-primary:hover { transform: translateY(-2px); background: var(--orange-2); }
.btn-ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), #c24d00); color: #0b0b0c; font-weight: 800;
  box-shadow: 0 6px 18px -6px rgba(255, 106, 0, 0.8);
}
.logo span.dot { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.94rem; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px; transform: translateY(-120%); transition: transform 0.3s;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-cta { display: none; }
}

/* ===== Hero ===== */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 .accent { background: linear-gradient(90deg, var(--orange), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tag {
  font-size: 0.8rem; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
}
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.hero-visual canvas { width: 100% !important; height: 100% !important; }
.hero-visual .glow { inset: 15%; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; font-size: 0.82rem; font-weight: 600;
  background: var(--surface-strong); border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.chip-1 { top: 12%; left: -2%; }
.chip-2 { bottom: 16%; right: -2%; animation-delay: -2s; }
.chip-3 { bottom: 4%; left: 12%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
}

/* ===== Cards ===== */
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}
.card:hover { border-color: rgba(255, 106, 0, 0.5); box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.icon-cube {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--orange-soft); color: var(--orange); border: 1px solid rgba(255, 106, 0, 0.25);
}
.icon-cube svg { width: 26px; height: 26px; }

/* Pillars */
.pillars .card p { margin: 0; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; counter-reset: step; }
.flow-step {
  position: relative; padding: 22px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
}
.flow-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--orange); margin-bottom: 8px;
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -12px; width: 10px; height: 2px; background: var(--orange);
}
.flow-step h4 { margin: 0 0 4px; font-size: 1.02rem; }
.flow-step p { margin: 0; font-size: 0.88rem; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step::after { display: none; }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Capabilities */
.cap-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cap-visual {
  position: relative; height: 190px; border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 60%, rgba(255, 106, 0, 0.16), transparent 65%), var(--bg-2);
}
.cap-visual canvas { width: 100% !important; height: 100% !important; }
.cap-body { padding: 24px 26px 28px; flex: 1; }
.cap-body p { margin: 0; font-size: 0.95rem; }
.badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface-strong); color: var(--orange); border: 1px solid rgba(255, 106, 0, 0.4);
}
.badge.live { color: #0b0b0c; background: var(--orange); border-color: var(--orange); }

/* Why */
.why { background: var(--bg-2); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why .card { background: var(--surface-strong); }
.india-visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; }
.india-visual canvas { width: 100% !important; height: 100% !important; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center;
  background: linear-gradient(135deg, #1a0d03, #0b0b0c 55%);
  border: 1px solid rgba(255, 106, 0, 0.35); color: #f5f5f4;
}
.cta-band p { color: #c9c9cf; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .glow { width: 420px; height: 420px; top: -200px; left: 50%; transform: translateX(-50%); }
.cta-band .btn-ghost { color: #f5f5f4; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); }
.cta-band > *:not(.glow) { position: relative; }
@media (max-width: 620px) { .cta-band { padding: 48px 22px; } }

/* ===== Contact ===== */
.contact-hero { padding: 72px 0 40px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: 34px; background: var(--surface-strong); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; font: inherit; font-size: 0.95rem;
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.check input { margin-top: 4px; accent-color: var(--orange); }
.form-note { font-size: 0.84rem; margin: 14px 0 0; }
.honey { position: absolute; left: -9999px; }

.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-item { display: flex; gap: 16px; padding: 20px; }
.side-item .icon-cube { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
.side-item h4 { margin: 0 0 4px; }
.side-item p { margin: 0; font-size: 0.92rem; }
.mail-card a { color: var(--orange); font-weight: 600; word-break: break-all; }

/* FAQ */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  padding: 4px 22px; margin-bottom: 12px; transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(255, 106, 0, 0.45); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Thanks */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.thanks .icon-cube { margin: 0 auto 24px; width: 72px; height: 72px; border-radius: 22px; }
.thanks .icon-cube svg { width: 36px; height: 36px; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 0.9rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--muted); font-size: 0.92rem; }
.foot-grid a:hover { color: var(--orange); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted);
}

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .card { transition: none; }
}
