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

:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --bg: #0a0a0f;
  --bg-card: #13131a;
  --bg-card-hover: #1a1a25;
  --surface: #1e1e2a;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --text-heading: #fafafa;
  --border: #27272a;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.25rem;
}

.logo-icon { font-size: 1.5rem; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-heading);
}

.logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-heading); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -10%;
  left: -10%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--primary-dark);
  top: 40%;
  left: 50%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 20px auto 40px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
}

.hero-waveform svg { width: 100%; height: 100%; }

.wave {
  fill: var(--bg);
  opacity: 0.6;
}
.wave-1 { animation: wave 6s ease-in-out infinite; }
.wave-2 { animation: wave 8s ease-in-out infinite reverse; opacity: 0.4; }

@keyframes wave {
  0%, 100% { d: path("M0,60 Q150,20 300,60 T600,60 T900,60 T1200,60 V120 H0 Z"); }
  50% { d: path("M0,60 Q150,80 300,40 T600,70 T900,50 T1200,60 V120 H0 Z"); }
}

/* === Sections Common === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 12px auto 0;
}

/* === Services === */
.services {
  padding: 100px 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* === Process === */
.process {
  padding: 100px 0;
  background: var(--bg-card);
}

.process-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-content h3 { margin-bottom: 10px; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--gradient);
  flex-shrink: 0;
}

/* === Pricing === */
.pricing {
  padding: 100px 0;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}

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

.pricing-featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, var(--bg-card) 100%);
  transform: scale(1.05);
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.feature svg { color: var(--accent); flex-shrink: 0; }

/* === Samples === */
.samples {
  padding: 100px 0;
  background: var(--bg-card);
}

.samples-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sample-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.sample-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sample-label.before { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.sample-label.after { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

.sample-visual {
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 100%;
}

.waveform-bars span {
  flex: 1;
  background: #f87171;
  border-radius: 2px;
  animation: pulse-bar 1.5s ease-in-out infinite alternate;
}

.waveform-bars.clean span {
  background: var(--accent);
  animation: none;
}

@keyframes pulse-bar {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.sample-issues, .sample-results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sample-issues li::before {
  content: "✕ ";
  color: #f87171;
  font-weight: 700;
}

.sample-results li::before {
  content: "✓ ";
  color: #4ade80;
  font-weight: 700;
}

.sample-issues li, .sample-results li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sample-arrow {
  color: var(--primary-light);
  flex-shrink: 0;
}

.sample-after {
  border-color: rgba(34, 197, 94, 0.3);
}

/* === Testimonials === */
.testimonials {
  padding: 100px 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* === FAQ === */
.faq {
  padding: 100px 0;
  background: var(--bg-card);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover { border-color: rgba(124, 58, 237, 0.3); }

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary-light);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === CTA === */
.cta {
  padding: 100px 0;
}

.cta-content {
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
}

.cta-content h2 { margin-bottom: 16px; }

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-content {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* === Animations === */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* === Responsive === */
@media (max-width: 968px) {
  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-featured {
    transform: scale(1);
  }
  .pricing-featured:hover {
    transform: translateY(-4px);
  }

  .process-steps {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta.active {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 180px);
    left: 24px;
    right: 24px;
    justify-content: center;
    background: var(--gradient);
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .samples-grid {
    flex-direction: column;
  }

  .sample-arrow {
    transform: rotate(90deg);
  }

  .sample-card {
    max-width: 100%;
  }

  .hero { padding: 100px 0 60px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .service-card, .pricing-card, .testimonial-card { padding: 24px 20px; }
  .cta-content { padding: 48px 24px; }
}
