:root {
  --bg: #f7f7fb;
  --bg-alt: #ffffff;
  --border-subtle: #e0e3ee;
  --text-main: #101828;
  --text-muted: #667085;
  --primary: #667eea;
  --primary-dark: #764ba2;
  --primary-glow: #a855f7;
  --cobalt: #667eea;
  --cobalt-soft: #ede9fe;
  --chip-bg: #f5f3ff;
  --chip-border: #ddd6fe;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);

  --radius-lg: 0;
  --radius-xl: 0;
  --radius-pill: 0;
}

/* Global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top left, #f5f3ff 0, #f7f7fb 45%, #ffffff 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Links & text */

a {
  color: var(--cobalt);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(247, 247, 251, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0.25rem;
}

/* Brand / logo */

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* Nav */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-link {
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-main);
  text-decoration: none;
}

.nav-cta {
  display: flex;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

/* Glowing border chase animation */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-gradient {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #f9fafb;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: conic-gradient(from var(--angle), transparent 60%, #a855f7 80%, #667eea 90%, transparent 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  animation: rotate-gradient 2s linear infinite;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--text-main);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: #4b5563;
  text-decoration: none;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.08);
  text-decoration: none;
  box-shadow: none;
}

/* Hero */

.hero {
  padding: 1.4rem 0 1.2rem;
}

/* Social proof chips */
.social-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

/* Trust badge */
.trust-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Guarantee badge */
.guarantee-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Larger CTA button */
.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 1.5rem;
}

/* Final CTA section */
.section-cta-final {
  text-align: center;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
}

.section-cta-final h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.section-cta-final p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* FAQ contact */
.faq-contact {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer built by */
.footer-built-by {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: 2.35rem;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.hero-features {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--text-main);
  font-size: 0.9rem;
}

.hero-features li {
  margin-bottom: 0.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero card */

.hero-card {
  background: linear-gradient(145deg, #ffffff, #eef2ff);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
}

/* Floating chip on hero card */

.chip-live-floating {
  position: absolute;
  top: -14px;
  left: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: none;
  border: none;
  z-index: 5;
}

/* Generic chip (if used elsewhere) */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Hero card content */

.hero-card-block + .hero-card-block {
  margin-top: 0.9rem;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hero-label-raptor {
  color: #667eea;
}

.hero-bubble {
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-bubble-muted {
  background: rgba(148, 163, 184, 0.07);
  color: var(--text-muted);
}

.hero-bubble-strong {
  background: rgba(102, 126, 234, 0.06);
  border: 1px solid rgba(102, 126, 234, 0.25);
  color: var(--text-main);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 1.3rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 0.75rem;
  max-width: 640px;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

/* How it Works - Unified Card */

.how-it-works-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.how-it-works-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px dashed #cbd5e1;
}

.how-it-works-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
}

.step-item .step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

.step-item-content {
  flex: 1;
}

.step-item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.step-item p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

/* Hide old styles */
.steps-flow {
  display: none;
}

.step-arrow {
  display: none;
}

.steps-grid {
  display: none;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  padding-top: 1.5rem;
}

.pricing-card {
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Highlighted pricing card + chip */

.pricing-card-highlight {
  border-color: rgba(102, 126, 234, 0.35);
  box-shadow: 0 18px 40px rgba(102, 126, 234, 0.18);
  position: relative;
  transform: scale(1.05);
  z-index: 2;
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
}

.pricing-card-highlight::before {
  content: "Most popular";
  position: absolute;
  top: -14px;
  left: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  box-shadow: none;
  border: none;
  z-index: 5;
}

.pricing-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-credits {
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cobalt);
}

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

.pricing-cta {
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.pricing-footnote {
  margin-top: 1.2rem;
  font-size: 0.8rem;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.faq-q {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.faq-a {
  font-size: 0.88rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-link {
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--text-main);
}

/* Responsive */

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .how-it-works-card {
    grid-template-columns: 1fr;
  }

  .how-it-works-image {
    order: -1;
  }

  .image-placeholder {
    min-height: 200px;
  }

  .pricing-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-chip {
    flex: 0 0 auto;
  }
}

/* Mobile only - show centered nav */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem 0.25rem;
  }

  .brand {
    justify-content: center;
  }

  .main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  /* Steps flow - stack vertically on mobile */
  .steps-flow {
    flex-direction: column;
    align-items: center;
  }

  .step-item {
    max-width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  /* Social chips - center on mobile */
  .social-chips {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.75rem 0.25rem;
  }

  .brand-logo {
    height: 60px;
  }

  .main-nav {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-card {
    padding: 1.1rem 1rem;
  }

  .section {
    padding: 1rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
