@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --accent-bright: #818cf8;
  --success: #10b981;
  --warning: #f59e0b;
  --border: #2a2a3d;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-bright);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #fff;
  max-width: 780px;
  margin-bottom: 28px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 560px;
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value .accent {
  color: var(--accent-bright);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ── Services ── */
.services {
  padding: 120px 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 600px;
}

.section-description {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(99,102,241,0.06) 100%);
  border-color: rgba(99,102,241,0.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--success);
}

/* ── How It Works ── */
.process {
  padding: 120px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-header .section-title {
  margin-left: auto;
  margin-right: auto;
}

.process-header .section-description {
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 50%, #c084fc 100%);
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-bright);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 280px;
  margin: 0 auto;
}

/* ── Verticals ── */
.verticals {
  padding: 120px 0;
}

.verticals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.vertical-card {
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.vertical-card:hover {
  border-color: var(--accent);
}

.vertical-card .v-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--warning);
  margin-bottom: 10px;
}

.vertical-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.vertical-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

.vertical-card ul {
  list-style: none;
  margin-top: 16px;
}

.vertical-card ul li {
  padding: 6px 0;
  color: var(--fg-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vertical-card ul li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}

/* ── Closing ── */
.closing {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing .container {
  position: relative;
  z-index: 1;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.closing p {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Footer ── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 14px;
  color: var(--fg-dim);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .stat-value {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-steps::before {
    display: none;
  }

  .verticals-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .section-title {
    letter-spacing: -1px;
  }
}