:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --fg: #e8e6e3;
  --fg-muted: #8a8694;
  --accent: #c53aff;
  --accent-glow: rgba(197, 58, 255, 0.3);
  --accent-secondary: #ff3a6e;
  --card-bg: #16161f;
  --card-border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --radius: 16px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  border: 1px solid rgba(197, 58, 255, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0.3; height: 48px; }
  50% { opacity: 1; height: 64px; }
}

/* ========== PROBLEM ========== */
.problem {
  padding: 120px 24px;
  background: var(--bg);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem-label,
.services-label,
.pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem h2,
.services h2,
.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

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

.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: rgba(197, 58, 255, 0.2);
}

.problem-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
  padding: 120px 24px;
  background: var(--bg-subtle);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

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

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 58, 255, 0.2);
}

.service-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-item p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== PRICING ========== */
.pricing {
  padding: 120px 24px;
  background: var(--bg);
}

.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(197, 58, 255, 0.1);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-range {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== CLOSING ========== */
.closing {
  position: relative;
  padding: 140px 24px;
  background: var(--bg-subtle);
  text-align: center;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.closing-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 58, 110, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 48px 24px;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.footer-sep {
  margin: 0 12px;
  opacity: 0.3;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 20px;
    min-height: 90vh;
  }
  .problem,
  .services,
  .pricing {
    padding: 80px 20px;
  }
  .closing {
    padding: 100px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    letter-spacing: -1px;
  }
  .service-item,
  .problem-card,
  .pricing-card {
    padding: 28px 20px;
  }
}

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.site-nav + .hero {
  padding-top: 140px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 32px rgba(197, 58, 255, 0.3);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197, 58, 255, 0.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--fg-muted);
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--fg); }

/* Hero CTA row */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Add anchor targets to sections */
#services { scroll-margin-top: 80px; }
#pricing  { scroll-margin-top: 80px; }

@media (max-width: 640px) {
  .site-nav {
    padding: 14px 20px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }
}