/* ── Reset & Variables ───────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #080808;
  --bg-card:      #0e0e0e;
  --bg-dark:      #050505;
  --purple:       #9B59FF;
  --purple-light: #C084FC;
  --purple-dim:   rgba(155, 89, 255, 0.10);
  --purple-glow:  rgba(155, 89, 255, 0.45);
  --text:         #FFFFFF;
  --text-muted:   #888888;
  --border:       rgba(155, 89, 255, 0.15);
  --radius:       14px;
  --font:         'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scroll Animations ───────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid .animate-in:nth-child(2),
.services-grid .animate-in:nth-child(2),
.metrics-grid .animate-in:nth-child(2) {
  transition-delay: 0.1s;
}

.cards-grid .animate-in:nth-child(3),
.services-grid .animate-in:nth-child(3),
.metrics-grid .animate-in:nth-child(3) {
  transition-delay: 0.2s;
}

/* ── Glow Text ───────────────────────────────────────── */
.glow-text {
  color: var(--purple-light);
  text-shadow:
    0 0 18px var(--purple-glow),
    0 0 40px rgba(155, 89, 255, 0.2);
}

/* ── Layout ──────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.section        { padding: 110px 0; }
.section-dark   { background: var(--bg-dark); }
.section-purple { background: #110820; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--purple-light);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--purple-light);
  text-shadow: 0 0 14px var(--purple-glow);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--purple);
  padding: 11px 22px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
  background: var(--purple-dim);
  border-color: var(--purple-light);
  box-shadow: 0 0 22px var(--purple-glow);
}

.btn-large {
  padding: 16px 40px;
  font-size: 14px;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(155, 89, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 89, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 89, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, black 20%, transparent 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--purple-dim);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 32px;
}

.hero-headline {
  font-size: clamp(50px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
}

/* ── Section Labels & Titles ─────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
}

/* ── Cards Grid ──────────────────────────────────────── */
.cards-grid { display: grid; gap: 20px; }
.three-col  { grid-template-columns: repeat(3, 1fr); }
.two-col    { grid-template-columns: repeat(2, 1fr); }

/* ── Pain Point Cards ────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(155, 89, 255, 0.4);
  box-shadow: 0 8px 32px rgba(155, 89, 255, 0.08);
  transform: translateY(-4px);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--purple);
  opacity: 0.7;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ── Fix Strip ───────────────────────────────────────── */
.fix-strip {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  background: var(--purple-dim);
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.fix-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 100px;
}

.fix-strip p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ── Services Grid ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-block:hover {
  border-color: rgba(155, 89, 255, 0.4);
  box-shadow: 0 8px 32px rgba(155, 89, 255, 0.08);
  transform: translateY(-4px);
}

.service-block-featured {
  border-color: rgba(155, 89, 255, 0.3);
  background: linear-gradient(145deg, #0e0e0e, rgba(155, 89, 255, 0.06));
}

.service-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple);
  opacity: 0.8;
  letter-spacing: 1px;
}

.featured-tag {
  background: var(--purple-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
  color: var(--purple-light);
  opacity: 1;
  font-size: 10px;
}

.service-block h3 {
  font-size: 17px;
  font-weight: 600;
}

.service-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
}

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

.service-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-size: 12px;
}

.featured-badge {
  position: absolute;
  top: 0;
  right: 24px;
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
}

/* ── Services CTA ────────────────────────────────────── */
.services-cta {
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.services-cta-link {
  color: var(--purple-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 132, 252, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.services-cta-link:hover {
  color: #fff;
  border-color: var(--purple-light);
}

/* ── Timeline ────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.timeline-item {
  display: flex;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(155, 89, 255, 0.08);
  align-items: flex-start;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-day {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--purple);
  min-width: 80px;
  padding-top: 4px;
  letter-spacing: 1px;
  position: relative;
}

.timeline-day::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple-glow);
}

.timeline-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ── Metrics ─────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(155, 89, 255, 0.4);
  box-shadow: 0 8px 32px rgba(155, 89, 255, 0.08);
  transform: translateY(-4px);
}

.metric-card-featured {
  border-color: rgba(155, 89, 255, 0.3);
  background: linear-gradient(145deg, #0e0e0e, rgba(155, 89, 255, 0.06));
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.metric-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.results-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  font-style: italic;
}

/* ── CTA / Book Section ──────────────────────────────── */
.cta-section { text-align: center; }

.cta-sub {
  margin: 0 auto 52px;
}

.calendly-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.footer-location {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
}

.footer-contact-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--purple-light);
}

.footer-social {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
  text-align: right;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .three-col,
  .services-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .two-col { grid-template-columns: 1fr; }

  .fix-strip {
    flex-direction: column;
    gap: 16px;
  }

  .timeline::before { display: none; }
  .timeline-day::after { display: none; }

  .timeline-item { gap: 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-copy { text-align: left; }

  .nav-cta { display: none; }

  .hero-headline { letter-spacing: -0.5px; }
}
