/**
 * The Strikers Lab - Landing Page Stylesheet
 *
 * Design System Foundation
 *
 * Breakpoints:
 * - Mobile (base): 320px - 767px
 * - Tablet: 768px - 1023px
 * - Desktop: 1024px+
 *
 * Architecture: Mobile-first with CSS custom properties
 */

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary-dark: #14161d;
  --color-accent-red: #f9364d;
  --color-white: #ffffff;
  --color-dark-grey: #1a1c24;
  --color-text-muted: #a0a0a0;

  /* Typography Scale */
  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                      'Helvetica Neue', Arial, sans-serif;
  --font-size-h1: clamp(2rem, 5vw, 3.5rem);
  --font-size-h2: clamp(1.5rem, 4vw, 2.25rem);
  --font-size-body: clamp(1rem, 2vw, 1.125rem);
  --font-weight-bold: 700;
  --font-weight-regular: 400;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Component Tokens */
  --button-radius: 8px;
  --button-height-mobile: 56px;
  --button-height-desktop: 48px;
}

/* ==========================================================================
   CSS Reset
   ========================================================================== */

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

/* ==========================================================================
   Base Typography
   ========================================================================== */

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

p {
  margin-bottom: var(--space-sm);
}

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

a:hover {
  text-decoration: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

/* Screen reader only - accessible hiding */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport for mobile address bar */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  color: var(--color-white);
  background-color: var(--color-primary-dark); /* Fallback until image added */
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Ready for background image in Phase 5 */
  background-color: var(--color-primary-dark);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 22, 29, 0.7) 0%,
    rgba(20, 22, 29, 0.85) 100%
  );
}

.hero__background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-red);
  margin-bottom: var(--space-sm);
  font-weight: var(--font-weight-bold);
}

.hero__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
  text-align: left;
}

.hero__benefits li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-body);
  line-height: 1.5;
}

.hero__benefits li::before {
  content: '\2713'; /* Unicode checkmark */
  position: absolute;
  left: 0;
  color: var(--color-accent-red);
  font-weight: var(--font-weight-bold);
  font-size: 1.1em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height-mobile); /* 56px - HERO-04 requirement */
  padding: 1rem 2rem;
  background-color: var(--color-accent-red);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 100%; /* Full width on mobile */
  max-width: 400px;
}

.hero__cta:hover {
  background-color: #e02d42; /* Slightly darker red */
  transform: scale(1.02);
}

.hero__cta:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}

.hero__cta:active {
  transform: scale(0.98);
}

.hero__disclaimer {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
  background-color: var(--color-dark-grey);
  padding: var(--space-sm) var(--space-md);
}

.trust-bar__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 on mobile - TRUST-03 */
  gap: var(--space-sm);
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xs);
  color: var(--color-white);
}

.trust-bar__icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--color-accent-red);
  /* Ensure consistent emoji/symbol rendering */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.trust-bar__text {
  font-size: 0.8125rem; /* 13px */
  line-height: 1.3;
}

.trust-bar__text strong {
  color: var(--color-accent-red);
  font-weight: var(--font-weight-bold);
}

/* ==========================================================================
   SECTION BASE STYLES
   ========================================================================== */

.section {
  padding: var(--space-lg) var(--space-sm);
  background-color: var(--color-primary-dark);
}

.section--alt {
  background-color: var(--color-dark-grey);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.section__intro {
  max-width: 65ch;
  margin: 0 auto;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section__cta {
  text-align: center;
  margin-top: var(--space-md);
}

/* ==========================================================================
   BUTTON COMPONENT (Reusable)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height-mobile);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background-color: var(--color-accent-red);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #e02d42;
  transform: scale(1.02);
}

.btn--primary:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}

.btn--primary:active {
  transform: scale(0.98);
}

/* ==========================================================================
   FEATURE GRID
   ========================================================================== */

.feature-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

/* ==========================================================================
   FEATURE BOX COMPONENT
   ========================================================================== */

.feature-box {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: var(--color-dark-grey);
  border-radius: var(--button-radius);
  text-align: center;
}

.feature-box__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.feature-box__title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.feature-box__description {
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */

.problem .feature-box {
  background: var(--color-dark-grey);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-accent-red);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  border-radius: 50%;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.process__content {
  max-width: 280px;
}

.process__title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.process__description {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FEATURES (WHAT YOU GET) SECTION
   ========================================================================== */

.features__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

/* ==========================================================================
   REASONS SECTION
   ========================================================================== */

.reasons__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}

.reasons__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--button-radius);
}

.reasons__number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: var(--color-accent-red);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  border-radius: 50%;
  flex-shrink: 0;
}

.reasons__content {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.reasons__content strong {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about__content {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.about__text {
  order: 2; /* Image first on mobile */
}

.about__media {
  order: 1;
}

.about__description {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.about__description:last-of-type {
  margin-bottom: var(--space-md);
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--button-radius);
}

.about__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}

.about__stars {
  font-size: 1.25rem;
  color: #fbbf24; /* Gold/yellow for stars */
  letter-spacing: 0.1em;
}

.about__rating-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.about__rating-text strong {
  color: var(--color-white);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials__rating {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.testimonials__stars {
  font-size: 1.5rem;
  color: #fbbf24;
  letter-spacing: 0.1em;
}

.testimonials__rating-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.testimonials__rating-text strong {
  color: var(--color-white);
}

.testimonials__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
  margin-top: var(--space-md);
}

.testimonials__track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: var(--color-dark-grey);
  border-radius: var(--button-radius);
  padding: var(--space-md);
}

.testimonial-card__stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.testimonial-card__quote {
  margin: 0 0 var(--space-sm) 0;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.6;
}

.testimonial-card__author {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */

.comparison__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-md);
}

.comparison__table {
  width: 100%;
  min-width: 500px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison__table th,
.comparison__table td {
  padding: var(--space-sm);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison__table th {
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  background: var(--color-dark-grey);
}

.comparison__table th:first-child,
.comparison__table td:first-child {
  position: sticky;
  left: 0;
  background: var(--color-dark-grey);
  z-index: 1;
  text-align: left;
}

.comparison__table tbody th {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
}

.comparison__highlight {
  background: rgba(249, 54, 77, 0.1);
}

.comparison__table td span[aria-label="Yes"] {
  color: #22c55e;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}

.comparison__table td span[aria-label="No"] {
  color: var(--color-accent-red);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}

.comparison__table td span[aria-label="Varies"] {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-md) 0;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question-text {
  flex: 1;
  text-align: left;
  padding-right: var(--space-sm);
}

.faq__indicator::before {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent-red);
  font-weight: var(--font-weight-bold);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__indicator::before {
  content: '-';
}

.faq__answer {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq__answer p {
  margin: 0;
}

/* Progressive enhancement: smooth accordion animation (Chromium) */
@supports (interpolate-size: allow-keywords) {
  .faq__item {
    interpolate-size: allow-keywords;
  }

  .faq__answer {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease, padding 0.3s ease;
  }

  .faq__item[open] .faq__answer {
    height: auto;
  }
}

/* ==========================================================================
   GUARANTEE SECTION
   ========================================================================== */

.guarantee__box {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-lg);
  background: var(--color-primary-dark);
  border: 2px solid var(--color-accent-red);
  border-radius: var(--button-radius);
  text-align: center;
}

.guarantee__icon {
  display: block;
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.guarantee__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.guarantee__text {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   FORM SECTION
   ========================================================================== */

.form-section {
  padding: var(--space-lg) var(--space-sm);
  background-color: var(--color-dark-grey);
}

.trial-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group--honeypot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

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

.form-input,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-family-base);
  color: var(--color-white);
  background-color: var(--color-primary-dark);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--button-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent-red);
  box-shadow: 0 0 0 3px rgba(249, 54, 77, 0.2);
}

.form-input--error {
  border-color: var(--color-accent-red);
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(249, 54, 77, 0.3);
}

.form-error {
  display: block;
  min-height: 1.5em;
  margin-top: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-accent-red);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn--full-width {
  width: 100%;
}

.form-privacy {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta {
  padding: var(--space-xl) var(--space-sm);
  background-color: var(--color-accent-red);
  text-align: center;
}

.final-cta__title {
  font-size: var(--font-size-h2);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.final-cta__benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-lg);
  max-width: 400px;
  text-align: left;
}

.final-cta__benefits li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-size: var(--font-size-body);
  line-height: 1.5;
}

.final-cta__benefits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

.btn--large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.final-cta .btn--primary {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.final-cta .btn--primary:hover {
  background-color: var(--color-dark-grey);
}

.final-cta__disclaimer {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Responsive Breakpoints
   Mobile first: base styles above
   ========================================================================== */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  /* Hero - tablet */
  .hero {
    padding: var(--space-lg);
  }

  .hero__eyebrow {
    font-size: 0.875rem;
  }

  .hero__cta {
    width: auto;
    min-height: var(--button-height-desktop);
  }

  /* Trust Bar - horizontal row */
  .trust-bar__container {
    grid-template-columns: repeat(4, 1fr); /* Horizontal row - TRUST-03 */
  }

  .trust-bar__item {
    flex-direction: row;
    gap: var(--space-xs);
    text-align: left;
  }

  .trust-bar__icon {
    font-size: 1.75rem;
    margin-bottom: 0;
  }

  .trust-bar__text {
    font-size: 0.9375rem; /* 15px */
  }

  /* Section - tablet */
  .section {
    padding: var(--space-xl) var(--space-md);
  }

  /* Feature Grid - 3 columns */
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Button - tablet */
  .btn {
    min-height: var(--button-height-desktop);
  }

  /* Process - 3 columns */
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .process__step {
    position: relative;
  }

  .process__content {
    max-width: none;
  }

  /* Features grid - 2 columns tablet */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Center the 5th item when alone in its row */
  .features__grid .feature-box:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  /* Reasons - 2 columns */
  .reasons__list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm) var(--space-md);
  }

  /* About - 2 columns */
  .about__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-lg);
  }

  .about__text {
    order: 1; /* Text left on desktop */
  }

  .about__media {
    order: 2; /* Image right on desktop */
  }

  .about .section__title {
    text-align: left;
  }

  /* Testimonials - 2 column grid */
  .testimonials__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .testimonial-card {
    flex: none;
  }

  /* Comparison table - larger padding */
  .comparison__table th,
  .comparison__table td {
    padding: var(--space-sm) var(--space-md);
  }

  .comparison__table {
    min-width: auto;
  }

  /* Guarantee - larger padding */
  .guarantee__box {
    padding: var(--space-xl);
  }

  /* Form Section - tablet */
  .form-section {
    padding: var(--space-xl) var(--space-md);
  }

  /* Final CTA - tablet */
  .final-cta {
    padding: var(--space-xl) var(--space-md);
  }

  .final-cta__benefits {
    max-width: 500px;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  /* Hero - desktop */
  .hero__content {
    text-align: left;
    max-width: 900px;
  }

  .hero__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-md);
  }

  /* Trust Bar - larger padding and text */
  .trust-bar {
    padding: var(--space-sm) var(--space-lg);
  }

  .trust-bar__text {
    font-size: 1rem;
  }

  /* Features grid - 3 columns desktop */
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Reset centering for 3-column layout (5 items = 2 full rows minus 1) */
  .features__grid .feature-box:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }

  /* Testimonials - 3 columns, 5th centered */
  .testimonials__track {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Center last item if alone in row (5th card) */
  .testimonial-card:last-child:nth-child(3n + 2) {
    grid-column: 2;
  }

  /* Comparison table - reset sticky for full visibility */
  .comparison__table th:first-child,
  .comparison__table td:first-child {
    position: static;
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background-color: var(--color-primary-dark);
}

.thank-you__content {
  max-width: 600px;
  text-align: center;
}

.thank-you__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background-color: #22c55e;
  color: var(--color-white);
  font-size: 2.5rem;
  border-radius: 50%;
}

.thank-you__title {
  font-size: var(--font-size-h1);
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.thank-you__message {
  font-size: var(--font-size-body);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.thank-you__steps {
  list-style-position: inside;
  text-align: left;
  max-width: 400px;
  margin: 0 auto var(--space-lg);
  padding: 0;
}

.thank-you__steps li {
  padding: var(--space-sm) 0;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you__steps li:last-child {
  border-bottom: none;
}
