:root {
  --bg: #050816;
  --bg-2: #070b14;
  --card: rgba(15, 23, 42, 0.82);
  --card-solid: #0f172a;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #22c55e;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(59, 130, 246, .28), transparent 28%),
    radial-gradient(circle at 78% 8%, rgba(139, 92, 246, .25), transparent 30%),
    radial-gradient(circle at 50% 48%, rgba(34, 211, 238, .08), transparent 38%),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.site-shell { overflow: hidden; }

.site-header {
  width: min(var(--max), calc(100% - 32px));
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 22, .78);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--violet));
  color: white;
  font-weight: 900;
  letter-spacing: -.06em;
}
.brand strong { display: block; font-family: "Space Grotesk", sans-serif; line-height: 1; }
.brand small { color: var(--muted); font-size: 12px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: .2s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.main-nav .nav-cta { color: white; background: linear-gradient(135deg, var(--blue), var(--violet)); }

.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: white; margin: 5px auto; }

.section-pad { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 92px 0; }
.hero { min-height: 740px; display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow span { width: 36px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; margin: 0; line-height: 1.05; letter-spacing: -.04em; }
h1 { font-size: clamp(48px, 8vw, 86px); margin-top: 18px; }
h2 { font-size: clamp(34px, 5vw, 58px); margin-top: 10px; }
h3 { font-size: 24px; }
p { color: var(--muted); margin: 0; }
.hero-lede { font-size: 19px; max-width: 680px; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 18px 45px rgba(59, 130, 246, .28); }
.btn-secondary { color: white; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.cred-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cred-row span, .tag-row span {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.console-card {
  width: min(520px, 100%);
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15,23,42,.94), rgba(15,23,42,.72));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.console-top { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 800; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.26); }
.console-body { padding: 22px; }
.project-status { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.project-status small, .ai-note span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.project-status strong { display: block; margin-top: 6px; font-size: 22px; }
.status-pill { color: #07131c; background: linear-gradient(135deg, var(--green), var(--cyan)); padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 1000; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.module-grid div { padding: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 16px; color: #dbeafe; font-weight: 800; font-size: 14px; }
.ai-note { margin-top: 20px; padding: 18px; border: 1px solid rgba(34,211,238,.24); border-radius: 22px; background: rgba(34,211,238,.08); }
.ai-note p { margin-top: 8px; color: #dffafe; }
.floating-chip { position: absolute; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5,8,22,.84); backdrop-filter: blur(12px); font-weight: 900; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.chip-one { top: 78px; left: 10px; }
.chip-two { right: 18px; top: 150px; }
.chip-three { bottom: 95px; left: 38px; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p { margin-top: 18px; font-size: 18px; }
.problem { padding-top: 20px; }

.path-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.path-tab { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); padding: 18px; border-radius: 20px; font-weight: 900; cursor: pointer; transition: .2s ease; }
.path-tab.active, .path-tab:hover { color: white; background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(139,92,246,.22)); border-color: rgba(34,211,238,.32); }
.path-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 28px; box-shadow: var(--shadow); }
.path-panel h3 { margin-bottom: 10px; }
.path-panel ul { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-left: 0; list-style: none; }
.path-panel li { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); color: #dbeafe; font-weight: 800; }

.card-grid.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .project-card, .price-card, .timeline-item {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover, .project-card:hover, .price-card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.36); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.06); font-size: 22px; margin-bottom: 22px; }
.service-card p { margin-top: 12px; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-top { display: flex; justify-content: space-between; color: var(--cyan); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 28px; }
.project-card p { margin: 14px 0 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.stack-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.035); }
.stack-board div { padding: 22px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 22px; }
.stack-board h3 { font-size: 20px; margin-bottom: 8px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline-item span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: #06101a; background: linear-gradient(135deg, var(--cyan), var(--green)); font-weight: 1000; margin-bottom: 22px; }
.timeline-item p { margin-top: 12px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { font-size: 38px; font-family: "Space Grotesk", sans-serif; color: white; font-weight: 900; margin: 14px 0 8px; }
.price-card.featured { background: linear-gradient(180deg, rgba(59,130,246,.22), rgba(15,23,42,.9)); border-color: rgba(34,211,238,.36); }

.contact-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; border: 1px solid rgba(34,211,238,.22); border-radius: 34px; background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(139,92,246,.12), rgba(15,23,42,.86)); padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.contact-card p { margin-top: 18px; }
.project-form { display: grid; gap: 14px; }
.project-form label { color: #cbd5e1; font-weight: 900; font-size: 14px; }
.project-form input, .project-form textarea, .project-form select { width: 100%; margin-top: 8px; border: 1px solid var(--line); background: rgba(5,8,22,.7); color: white; border-radius: 16px; padding: 14px 15px; outline: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.site-footer { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 30px 0 44px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--cyan); font-weight: 900; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: rgba(5,8,22,.96); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .hero, .path-panel, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; min-height: auto; }
  .path-tabs, .card-grid.six, .project-grid, .stack-board, .timeline, .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .site-header { border-radius: 24px; }
  .brand small { display: none; }
  .hero-actions, .site-footer { flex-direction: column; }
  .btn { width: 100%; }
  .path-tabs, .card-grid.six, .project-grid, .stack-board, .timeline, .pricing-grid, .form-row, .path-panel ul { grid-template-columns: 1fr; }
  .console-card { transform: none; }
  .floating-chip { display: none; }
  h1 { font-size: 44px; }
}

.idea-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 28px;
}
.idea-strip span {
  border: 1px solid rgba(34,211,238,.22);
  background: rgba(255,255,255,.045);
  color: #dbeafe;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
}
.project-grid.expanded .project-card {
  min-height: 300px;
}
