:root {
  --grad: linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
}

html { scroll-behavior: smooth; }
body { background-color: #0A0A12; overflow-x: hidden; }

.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: #8B5CF6; color: #fff; padding: .5rem 1rem; border-radius: .5rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; }

.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  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 at center top, rgba(0,0,0,0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.6) 0%, transparent 70%);
}
.bg-orb {
  position: fixed; z-index: -1; pointer-events: none;
  width: 600px; height: 600px; border-radius: 9999px;
  filter: blur(120px); opacity: .25;
}
.bg-orb-1 { background: #8B5CF6; top: -200px; left: -150px; }
.bg-orb-2 { background: #06B6D4; top: 20%; right: -200px; opacity: .18; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 9999px;
  background: var(--grad); color: #06060C; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 10px 40px -10px rgba(139,92,246,.5);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 14px 50px -10px rgba(139,92,246,.7); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 9999px;
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background .2s ease, border-color .2s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

.brand-mark {
  display: block; text-align: center;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: color .25s ease;
  user-select: none;
}
.brand-mark:hover { color: rgba(255,255,255,0.9); }

.eyebrow {
  display: inline-block;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: .35rem .7rem; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.1;
}
.section-lead { margin-top: 1.25rem; font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 56ch; line-height: 1.6; }

.card, .service-card, .step, .case, .quote {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.75rem;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover, .service-card:hover, .step:hover, .case:hover {
  border-color: rgba(139,92,246,0.35);
  background: rgba(255,255,255,0.04);
}

.icon-tile {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.12));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.card-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.card-text { margin-top: .65rem; color: rgba(255,255,255,0.65); line-height: 1.6; font-size: .98rem; }

.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.service-list { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.06); display: grid; gap: .5rem; font-size: .92rem; color: rgba(255,255,255,0.7); }
.service-list li { padding-left: 1.3rem; position: relative; }
.service-list li::before {
  content: ''; position: absolute; left: 0; top: .55rem;
  width: 6px; height: 6px; border-radius: 9999px;
  background: var(--grad);
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  display: inline-flex; width: 38px; height: 38px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--grad); color: #06060C; font-weight: 700;
  margin-bottom: 1.1rem;
}

.case-tag { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; }
.case-metric { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.case-metric-label { font-size: .9rem; color: rgba(255,255,255,0.55); margin-top: .5rem; }

.quote blockquote {
  font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,0.85);
  position: relative; padding-left: 1.1rem;
}
.quote blockquote::before {
  content: ''; position: absolute; left: 0; top: .1rem; bottom: .1rem;
  width: 2px; border-radius: 2px; background: var(--grad);
}
.quote figcaption { margin-top: 1.25rem; font-size: .9rem; }
.quote figcaption strong { color: #fff; display: block; font-weight: 600; }
.quote figcaption span { color: rgba(255,255,255,0.5); }

.faq {
  padding: 1.4rem 0; cursor: pointer;
}
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 1.05rem;
  color: #fff; padding-right: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: rgba(255,255,255,0.5);
  transition: transform .2s ease, color .2s ease;
  font-weight: 300;
}
.faq[open] summary::after { transform: rotate(45deg); color: #A78BFA; }
.faq p { margin-top: 1rem; color: rgba(255,255,255,0.65); line-height: 1.65; max-width: 64ch; }

.field { display: block; }
.field span { display: block; font-size: .82rem; color: rgba(255,255,255,0.7); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 12px;
  padding: .75rem 1rem;
  font: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(139,92,246,0.6);
  background: rgba(255,255,255,0.06);
}
.field textarea { resize: vertical; min-height: 92px; }

.footer-h { color: #fff; font-weight: 600; margin-bottom: 1rem; font-size: .9rem; }

.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  width: 52px; height: 52px; border-radius: 9999px;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px -8px rgba(37,211,102,.55);
  z-index: 40;
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); }
.wa-float svg { width: 26px; height: 26px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

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