/* ===== Custom Properties ===== */
:root {
  --bg-primary: #1A1A1A;
  --bg-secondary: #242424;
  --bg-card: #2A2A2A;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --text-heading: #FFFFFF;
  --text-body: #D1D5DB;
  --text-muted: #9CA3AF;
  --border: #3A3A3A;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

h1 {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3.5rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

/* ===== Hero Section ===== */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 0.75rem;
}

.hero .subheadline {
  font-size: 0.9375rem;
  max-width: 640px;
  margin: 0 auto 0.25rem;
  color: var(--text-body);
}

.hero .time-to-value {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero .cta-note {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.hero .screenshot {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.trust-bar {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== Problem Section ===== */
.problem-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-cards .card .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.problem-cards .card h3 {
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1.125rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-footer {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* ===== Solution Section ===== */
.feature-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-list .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.feature-list h3 {
  margin-bottom: 0.25rem;
}

/* ===== Steps Section ===== */
.steps-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.steps-footer {
  text-align: center;
  margin-top: 2.5rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ===== Safety Section ===== */
.safety-points {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.safety-points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.safety-points .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.safety-points h3 {
  margin-bottom: 0.25rem;
}

/* ===== Testimonials Section ===== */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-card .attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
}

.testimonial-card .name {
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-card .role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== Pricing Section ===== */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.pricing-card--featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card--featured::before {
  content: 'Best Value';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 1rem;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pricing-card .pricing-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.pricing-card .price-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card .feature-checks {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card .feature-checks li {
  padding: 0.375rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card .feature-checks li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  display: block;
}

.pricing-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== FAQ Section ===== */
.faq-list {
  max-width: 750px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item .faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== Final CTA Section ===== */
.final-cta {
  text-align: center;
  padding: 5rem 0;
}

.guarantee-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
  text-align: left;
}

.guarantee-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.guarantee-card .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.guarantee-card h3 {
  margin-bottom: 0.25rem;
}

.final-cta .closing {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
}

.final-cta .cta-note {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ===== Video Embed ===== */
.video-section {
  padding: 0 0 3.5rem;
  border-top: none;
}

.video-section + section {
  border-top: 1px solid var(--border);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== Thank You Page ===== */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-content h1 {
  margin-bottom: 1rem;
}

.thankyou-content .subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.next-steps {
  list-style: none;
  text-align: left;
  margin-bottom: 2.5rem;
}

.next-steps li {
  padding: 0.75rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}

.next-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 5rem 0 3.5rem;
  }

  .hero .eyebrow {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .hero h1 {
    margin: 0 auto 1.25rem;
  }

  .hero .subheadline {
    font-size: 1.125rem;
    margin: 0 auto 0.5rem;
  }

  .hero .time-to-value {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero .screenshot {
    margin-top: 3rem;
  }

  .trust-bar {
    margin-top: 2.5rem;
    font-size: 0.875rem;
  }

  section {
    padding: 5rem 0;
  }

  .btn-primary {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
  }

  .problem-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  section {
    padding: 6rem 0;
  }

  .hero {
    padding: 8rem 0 5rem;
  }

  .hero .eyebrow {
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    margin: 0 auto 1.5rem;
  }

  .hero .time-to-value {
    margin-bottom: 2rem;
  }
}

/* ===== Site Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-heading);
}

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

.btn-nav,
.btn-nav:hover {
  color: #FFFFFF;
}

/* ===== Site Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

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

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-heading);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ===== Cookie Consent Banner ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-body);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

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

/* ===== Legal Pages ===== */
.legal-page {
  padding: 4rem 0;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .legal-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-size: 1.0625rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-body);
  line-height: 1.8;
}

.legal-page ul,
.legal-page ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.25rem;
}

.legal-page address {
  font-style: normal;
  line-height: 1.8;
}

/* ===== Home Page Pillars ===== */
.pillars-grid {
  text-align: center;
}

.pillars-grid .card h3 {
  margin-bottom: 0.5rem;
}

.pillars-grid .card .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin: 0 auto 1rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Desktop-Only Utility ===== */
.desktop-only {
  display: none !important;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: initial !important;
  }
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
