:root {
  --bg: #0a0710;
  --bg-2: #120c1e;
  --card: #16101f;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f5f3f8;
  --text-dim: #b3aabf;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --orange: #f97316;
  --gradient: linear-gradient(115deg, var(--violet) 0%, var(--pink) 55%, var(--orange) 100%);
  --gradient-soft: linear-gradient(115deg, rgba(139,92,246,0.18) 0%, rgba(236,72,153,0.18) 55%, rgba(249,115,22,0.18) 100%);
  --radius: 20px;
  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px circle at 15% 0%, rgba(139,92,246,0.25), transparent 60%),
    radial-gradient(800px circle at 100% 20%, rgba(236,72,153,0.18), transparent 55%),
    radial-gradient(700px circle at 50% 100%, rgba(249,115,22,0.12), transparent 55%),
    var(--bg);
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 7, 16, 0.65);
  border-bottom: 1px solid var(--card-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo-mark {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gradient);
  color: #0a0710;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px rgba(236, 72, 153, 0.6);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,7,16,0.2) 0%, var(--bg) 92%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 24px 0 20px;
  max-width: 900px;
  letter-spacing: -0.02em;
}

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

.hero p.sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--gradient);
  color: #0a0710;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 20px 50px -18px rgba(236, 72, 153, 0.55);
}

.btn-primary:hover { transform: translateY(-2px) scale(1.02); }

.btn-secondary {
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

/* ---------- section shell ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

.services {
  padding: 90px 0 60px;
}

/* ---------- service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--gradient-soft);
  transition: opacity 0.35s ease;
  z-index: -1;
}

.service-card:hover::before { opacity: 1; }

.service-card.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.service-card.reverse .service-copy { order: 2; }
.service-card.reverse .service-visual { order: 1; }

.service-number {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.service-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-copy > p.desc {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 22px;
}

.service-copy ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-copy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.service-copy li .check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.service-copy li .check svg { width: 11px; height: 11px; }

.service-visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual .icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(236,72,153,0.5);
}

.service-visual .icon-wrap svg {
  width: 42px;
  height: 42px;
  stroke: #0a0710;
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(139,92,246,0.35), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(249,115,22,0.25), transparent 55%);
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 100px auto 0;
  max-width: var(--max-w);
  padding: 0 24px;
}

.cta-inner {
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  background: var(--gradient);
  color: #0a0710;
  position: relative;
  overflow: hidden;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.cta-inner p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-inner .btn-dark {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  background: #0a0710;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.cta-inner .btn-dark:hover { transform: translateY(-2px) scale(1.02); }

/* ---------- footer ---------- */
footer {
  margin-top: 110px;
  border-top: 1px solid var(--card-border);
  padding: 50px 0 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img { height: 26px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-contact a {
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-contact a:hover {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-note {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .service-card, .service-card.reverse {
    grid-template-columns: 1fr;
  }
  .service-card .service-copy, .service-card.reverse .service-copy { order: 1; }
  .service-card .service-visual, .service-card.reverse .service-visual { order: 2; aspect-ratio: 16/9; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero { padding: 80px 0 70px; }
  .service-card { padding: 28px; }
  .cta-inner { padding: 48px 24px; }
}
