/* BASE CONFIGURATION & CSS VARIABLES */
:root {
  /* Colors */
  --bg-base: #020617;
  /* Deep Slate (Tailwind 950) */
  --bg-surface: #0f172a;
  /* Slate 900 */
  --bg-surface-glass: rgba(15, 23, 42, 0.6);
  --bg-surface-hover: #1e293b;

  --accent-primary: #F97316;
  /* Energetic Orange */
  --accent-hover: #EA580C;
  --accent-glow: rgba(249, 115, 22, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(249, 115, 22, 0.2);

  /* Utilities */
  --nav-height: 80px;
  --container-width: 1100px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h1.hero-title span,
h2.section-title span {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1.hero-title span {
  color: var(--accent-primary);
  background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.section-subtitle,
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.center {
  text-align: center;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* LAYOUT */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 2rem;
}

/* COMPONENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  border: 1px solid var(--accent-hover);
  box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.btn.sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn.lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn.block {
  width: 100%;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.card-icon.accent {
  background: var(--accent-glow);
  color: var(--accent-primary);
}

/* SPECIFIC SECTIONS */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 100;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-height) + 6rem);
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.hero-cta-group {
  margin-top: 1rem;
}

.reassurance {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.reassurance svg {
  color: var(--accent-primary);
}

/* Problem Section */
.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Solution Section */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media(min-width: 768px) {
  .feature-card.span-2 {
    grid-column: span 2;
  }
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How It Works */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.step {
  text-align: center;
  max-width: 400px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.step-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  opacity: 0.5;
}

@media(min-width: 768px) {
  .steps-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-primary), transparent);
    margin-top: 28px;
  }
}

/* Social Proof */
.stat-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.stat h4 {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 0;
  line-height: 1;
}

.stat p {
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 4rem;
  color: var(--accent-primary);
  opacity: 0.2;
  line-height: 0;
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-family: serif;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border-color);
}

.testimonial-author h5 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
}

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

/* Pricing */
.pricing {
  position: relative;
  overflow: hidden;
}

.pricing-bg-glow {
  position: absolute;
  right: -10%;
  bottom: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.3;
}

.pricing-layout {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media(min-width: 992px) {
  .pricing-layout {
    grid-template-columns: 1fr 400px;
  }
}

.pricing-benefits {
  list-style: none;
  margin-top: 2rem;
}

.pricing-benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.pricing-benefits svg {
  color: var(--accent-primary);
}

.pricing-card {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price .amount {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.price .period {
  color: var(--text-muted);
  font-weight: 500;
}

.guarantee-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(249, 115, 22, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.guarantee-box svg {
  flex-shrink: 0;
}

.guarantee-box strong {
  color: var(--text-main);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.125rem;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question .icon-toggle {
  transition: transform 0.3s ease;
}

.faq-question.active .icon-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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