/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
  /* Colors */
  --background: hsl(40, 20%, 98%);
  --foreground: hsl(200, 35%, 20%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(200, 35%, 20%);
  --primary: hsl(174, 58%, 42%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(174, 40%, 94%);
  --muted: hsl(200, 15%, 94%);
  --muted-foreground: hsl(200, 15%, 45%);
  --border: hsl(200, 15%, 88%);
  --teal-light: hsl(174, 50%, 92%);
  
  /* Spacing */
  --radius: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsla(200, 35%, 20%, 0.05);
  --shadow-md: 0 4px 6px -1px hsla(200, 35%, 20%, 0.08), 0 2px 4px -2px hsla(200, 35%, 20%, 0.05);
  --shadow-lg: 0 10px 15px -3px hsla(200, 35%, 20%, 0.08), 0 4px 6px -4px hsla(200, 35%, 20%, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-wrap: balance;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
}

strong {
  color: var(--foreground);
  font-weight: 600;
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 42rem;
}

.container-medium {
  max-width: 48rem;
}

.container-wide {
  max-width: 56rem;
}

.container-xl {
  max-width: 64rem;
}

.section {
  padding: 4rem 1rem;
}

.section-card {
  background-color: var(--card);
}

.section-muted {
  background-color: hsla(200, 15%, 94%, 0.3);
}

.section-cta {
  background-color: hsla(174, 50%, 92%, 0.5);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--foreground);
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(174, 60%, 36%);
}

.btn-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px 0 hsla(174, 58%, 42%, 0.4);
}

.btn-hero:hover {
  background-color: hsl(174, 60%, 36%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 hsla(174, 58%, 42%, 0.5);
}

.btn-full {
  width: 100%;
  height: 3rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.hero-content {
  text-align: center;
  max-width: 56rem;
}

.logo {
  width: 12rem;
  height: auto;
  margin: 0 auto 2rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-wrap: balance;
}

.hero-microcopy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--background), transparent);
  pointer-events: none;
}

/* ============================================
   Prose (Text Content)
   ============================================ */

.prose {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.8;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose .highlight {
  color: var(--foreground);
  font-weight: 500;
  padding-top: 1rem;
}

.prose .center {
  text-align: center;
  padding: 0.5rem 0;
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ============================================
   Benefits Section
   ============================================ */

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: hsla(174, 50%, 92%, 0.5);
  border-radius: var(--radius);
}

.benefit-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  margin-top: 0.125rem;
}

.benefit-item p {
  color: var(--foreground);
  font-size: 1.125rem;
  margin: 0;
}

/* ============================================
   Who Is This For Section
   ============================================ */

.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.who-card {
  padding: 1.5rem;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .who-card {
    padding: 2rem;
  }
}

.who-card-for {
  background-color: var(--card);
  border: 1px solid hsla(174, 58%, 42%, 0.2);
  box-shadow: var(--shadow-md);
}

.who-card-not {
  background-color: hsla(200, 15%, 94%, 0.5);
  border: 1px solid var(--border);
}

.who-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.who-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-icon-for {
  background-color: hsla(174, 58%, 42%, 0.1);
  color: var(--primary);
}

.who-icon-not {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.who-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.who-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.who-card li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.who-card-for li span {
  color: var(--foreground);
}

.who-card-not li span {
  color: var(--muted-foreground);
}

.icon-primary {
  color: var(--primary);
}

.icon-muted {
  color: var(--muted-foreground);
}

/* ============================================
   Trust Section
   ============================================ */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.trust-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--teal-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.trust-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

/* ============================================
   Order Form Section
   ============================================ */

.order-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.progress-step.active {
  color: var(--primary);
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.progress-step.active .step-number {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.step-label {
  font-weight: 500;
  display: none;
}

@media (min-width: 640px) {
  .step-label {
    display: inline;
  }
}

.progress-line {
  width: 3rem;
  height: 2px;
  background-color: var(--muted);
}

.progress-line.active {
  background-color: var(--primary);
}

/* Order Grid */
.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .order-grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* Form Card */
.form-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .form-card {
    padding: 2rem;
  }
}

.form-secure-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-group input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(174, 58%, 42%, 0.1);
}

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

.form-disclaimer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
}

/* Step 2 */
.step-2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-2-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.back-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

.back-link:hover {
  text-decoration: underline;
}

/* Order Bump */
.order-bump {
  border: 2px solid var(--muted-foreground);
  border-radius: var(--radius);
  padding: 1.25rem;
  background-color: hsla(200, 15%, 94%, 0.5);
  margin-bottom: 1.5rem;
  transition: all 0.2s;
}

.order-bump.checked {
  border-color: var(--primary);
  background-color: hsla(174, 58%, 42%, 0.1);
}

.bump-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}

.bump-label input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  accent-color: var(--primary);
}

.bump-content {
  flex: 1;
}

.bump-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.bump-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.bump-speed {
  font-weight: 500;
}

.bump-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.75rem;
}

/* Kartra Container */
.kartra-container {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background-color: hsla(200, 15%, 94%, 0.2);
  margin-bottom: 1.5rem;
}

/* Checkout Badges */
.checkout-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.checkout-badges span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Order Summary */
.summary-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 2rem;
}

.summary-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.item-name {
  font-weight: 500;
  color: var(--foreground);
  margin: 0;
}

.item-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.item-price {
  font-weight: 600;
  color: var(--foreground);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.summary-total span:first-child {
  font-size: 1.125rem;
  font-weight: 600;
}

.total-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.summary-badges {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (min-width: 768px) {
  .section {
    padding: 5rem 1rem;
  }
  
  .logo {
    width: 14rem;
  }
}
