:root {
  --bg: #060a14;
  --surface: rgba(255, 255, 255, 0.04);
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --text: #e6eaf2;
  --muted: #9aa3b8;
  --accent: #f5a524;
  --accent-2: #5ae2c8;
  --pill: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 20%, rgba(90, 226, 200, 0.08), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(245, 165, 36, 0.08), transparent 28%),
              var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Demo bar */
.demo-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #0b1220, #0d1525);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-bar::after { content: ""; display: block; height: 2px; background: #4f46e5; opacity: 0.7; }
.demo-bar.scrolled { background: rgba(11, 15, 25, 0.95); backdrop-filter: blur(10px); }
.demo-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.demo-brand { display: flex; align-items: center; gap: 10px; }
.demo-logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: #f97316; color: #0b1220; font-weight: 800;
  display: grid; place-items: center;
}
.demo-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.demo-brand-line1 { font-size: 0.88rem; font-weight: 600; color: #f9fafb; }
.demo-brand-line2 { font-size: 0.78rem; color: #94a3b8; }
.demo-tag { font-size: 0.72rem; color: #64748b; margin-left: 6px; }
.demo-back { color: #94a3b8; font-size: 0.85rem; }
.demo-cta {
  background: #f97316; color: #0b1220; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

/* Nav */
.nav {
  position: sticky; top: 52px; z-index: 50;
  background: rgba(6, 10, 20, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.nav-actions {
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; color: var(--muted);
}
.nav-actions a:hover { color: var(--text); }
.pill {
  padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #f5a524, #f97316);
  color: #0b1220;
  font-weight: 700; box-shadow: var(--shadow);
}
.pill.ghost {
  background: var(--pill); color: var(--text); box-shadow: none;
  border: 1px solid var(--line);
}

/* Hero */
.hero { padding: 90px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 16px 0 14px;
}
.hero p { color: var(--muted); margin-bottom: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #f5a524, #f97316);
  color: #0b1220; font-weight: 700; border: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 45px rgba(0,0,0,0.4); }
.btn-ghost {
  display: inline-flex; padding: 12px 18px; border-radius: 12px;
  background: var(--pill); color: var(--text); font-weight: 700;
  border: 1px solid var(--line);
}
.hero-proof {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px; margin-top: 24px;
}
.hero-proof strong { display: block; font-size: 1.4rem; color: #fff; }
.hero-proof span { color: var(--muted); }

.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
.card-top { display: grid; gap: 10px; }
.card-title { color: var(--muted); font-weight: 600; }
.stat { display: flex; justify-content: space-between; align-items: baseline; }
.stat span { color: var(--muted); }
.stat strong { font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 10px; border-radius: 10px;
  background: rgba(90, 226, 200, 0.12);
  color: #5ae2c8; font-weight: 700; font-size: 0.85rem;
}
.card-bottom {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  color: var(--muted);
}
.card-author { display: block; margin-top: 6px; color: var(--text); font-weight: 600; }

/* Sections */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.inline-link { color: var(--accent); font-weight: 700; }
.inline-link:hover { color: #ffd48a; }

/* Services */
.services { padding: 60px 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.service-card:hover { transform: translateY(-2px); border-color: rgba(245, 165, 36, 0.6); }
.icon-circle {
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(245, 165, 36, 0.15);
  color: #f5a524; display: grid; place-items: center;
  font-weight: 800;
}
.service-card h3 { margin: 12px 0 8px; font-family: var(--font-display); }
.service-card p { color: var(--muted); margin: 0; }

/* Work */
.work { padding: 60px 0; }
.work-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.work-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.work-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(90, 226, 200, 0.12);
  color: #5ae2c8;
  font-weight: 700;
  margin-bottom: 10px;
}
.work-card p { color: var(--text); margin: 0 0 8px; }
.work-meta { color: var(--muted); font-weight: 600; }

/* Social proof */
.social-proof { padding: 60px 0; }
.proof-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.quote-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.metrics {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.metrics strong { font-size: 1.4rem; color: #fff; }

/* Process */
.process { padding: 60px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.step {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-num { color: var(--accent-2); font-weight: 800; margin-bottom: 6px; }

/* CTA */
.cta { padding: 70px 0 90px; }
.cta-card {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  padding: 24px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(140deg, rgba(245, 165, 36, 0.12), rgba(90, 226, 200, 0.08));
  border: 1px solid rgba(245, 165, 36, 0.4);
  box-shadow: var(--shadow);
}
.cta-form { display: grid; gap: 12px; }
.form-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: var(--font-body);
}
textarea { min-height: 120px; resize: vertical; }
.full { width: 100%; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  color: var(--muted);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 12px; }
.footer a { color: var(--text); font-weight: 600; }

/* Demo exit modal */
.demo-exit {
  position: fixed; inset: 0;
  background: rgba(6, 10, 20, 0.75);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.demo-exit.active { opacity: 1; pointer-events: auto; }
.demo-exit-inner {
  background: #0f1629;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
  border: 1px solid var(--line);
}
.demo-exit h3 { color: #fff; }
.demo-exit-copy { color: #cbd5e1; line-height: 1.5; }
.demo-exit-primary {
  background: #f59e0b; color: #111827;
  padding: 14px 18px; border-radius: 999px; font-weight: 700;
  text-decoration: none; box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  display: inline-block; margin-bottom: 10px;
}
.demo-exit-secondary { color: #94a3b8; font-size: 0.9rem; text-decoration: none; }
.demo-exit-secondary:hover { color: #e5e7eb; }
.demo-exit-close {
  position: absolute; right: 18px; top: 14px;
  background: none; border: none; color: #fff; font-size: 22px; cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { top: 50px; }
  .nav-inner { height: auto; padding: 14px 0; }
  .nav-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hero { padding-top: 70px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .demo-exit {
    align-items: flex-end;
  }

  .demo-exit-inner {
    border-radius: 20px 20px 0 0;
    max-width: none;
    width: 100%;
    padding-bottom: 32px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .demo-exit.active .demo-exit-inner {
    transform: translateY(0);
  }
.demo-exit-close {
  position: absolute;
  top: 14px;
  right: 16px;

  background: none;
  border: none;
  color: #94a3b8;

  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;

  transition: color 0.2s ease, transform 0.2s ease;
}

.demo-exit-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}
}