/* ==========================================
   ONBOARDING TRUST FORMULA - LANDING PAGE
   ========================================== */

/* CSS Variables / Design Tokens */
:root {
  --background: hsl(20, 14%, 4%);
  --foreground: hsl(40, 20%, 95%);
  --card: hsl(20, 14%, 7%);
  --card-foreground: hsl(40, 20%, 95%);
  --primary: hsl(38, 92%, 50%);
  --primary-foreground: hsl(20, 14%, 4%);
  --secondary: hsl(20, 14%, 12%);
  --muted: hsl(40, 10%, 55%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(20, 14%, 18%);
  --radius: 0.75rem;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-narrow {
  max-width: 768px;
  margin: 0 auto;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.text-destructive {
  color: var(--destructive);
}

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

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.line-through {
  text-decoration: line-through;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(43, 96%, 56%) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-xs {
  width: 0.75rem;
  height: 0.75rem;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 2rem;
  height: 2rem;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 1px 4px hsla(38, 92%, 50%, 0.08);
  }
  50% {
    box-shadow: 0 2px 8px hsla(38, 92%, 50%, 0.12);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-hero:hover {
  transform: scale(1.05);
}

.btn-cta {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 3px hsla(38, 92%, 50%, 0.06), 0 0 1px hsla(38, 92%, 50%, 0.1);
}

.btn-cta:hover {
  transform: scale(1.02);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: hsla(20, 14%, 7%, 0.5);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.badge-primary {
  border-color: hsla(38, 92%, 50%, 0.3);
  background-color: hsla(38, 92%, 50%, 0.1);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.hero-section {
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subheadline {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.section-subheadline.large {
  font-size: 1.25rem;
}

/* Spots Indicator */
.spots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.spots-dots {
  display: flex;
  margin-left: -0.25rem;
}

.spot-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--background);
  margin-left: -0.25rem;
}

.spots-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

/* Problem Cards */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid hsla(20, 14%, 18%, 0.5);
}

.problem-icon-wrap {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon-wrap.destructive {
  background-color: hsla(0, 84%, 60%, 0.1);
}

.problem-icon-wrap.destructive .icon {
  color: var(--destructive);
}

.problem-card span {
  font-size: 1.125rem;
}

/* Callout Card */
.callout-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  text-align: center;
}

.callout-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.callout-title {
  font-size: 1.25rem;
  font-weight: 600;
}

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

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.benefit-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.benefit-card:hover {
  border-color: hsla(38, 92%, 50%, 0.3);
}

.benefit-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: hsla(38, 92%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-text {
  font-weight: 500;
}

.footnote {
  color: var(--muted);
  font-style: italic;
  margin-top: 2.5rem;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 3.5rem auto;
}

.value-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.value-card:hover {
  border-color: hsla(38, 92%, 50%, 0.4);
}

.value-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: hsla(38, 92%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.value-card:hover .value-icon-wrap {
  background-color: hsla(38, 92%, 50%, 0.2);
}

.value-content {
  flex: 1;
}

.value-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.value-price {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: line-through;
}

.value-description {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Total Value Card */
.total-value-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid hsla(38, 92%, 50%, 0.3);
  text-align: center;
  box-shadow: 0 1px 3px hsla(38, 92%, 50%, 0.06), 0 0 1px hsla(38, 92%, 50%, 0.1);
}

.total-value-original {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.total-value-price {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Criteria List */
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.criteria-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
}

.criteria-icon-wrap {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: hsla(38, 92%, 50%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.criteria-card span {
  font-size: 1.125rem;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 3.5rem auto;
}

.step-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  text-align: center;
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: hsla(38, 92%, 50%, 0.1);
}

.step-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background-color: hsla(38, 92%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Scarcity Card */
.scarcity-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid hsla(38, 92%, 50%, 0.3);
  text-align: center;
  box-shadow: 0 1px 3px hsla(38, 92%, 50%, 0.06), 0 0 1px hsla(38, 92%, 50%, 0.1);
}

.scarcity-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.pricing-box {
  padding: 1rem;
  border-radius: var(--radius);
  background-color: hsla(20, 14%, 12%, 0.5);
}

.pricing-box.highlight {
  background-color: hsla(38, 92%, 50%, 0.1);
  border: 1px solid hsla(38, 92%, 50%, 0.3);
}

.pricing-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.pricing-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.scarcity-quote {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Guarantee Section */
.guarantee-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsla(38, 92%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.guarantee-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  text-align: left;
}

.guarantee-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: hsla(38, 92%, 50%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-promise {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero-section {
    padding: 4rem 0 6rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .scarcity-card {
    padding: 1.5rem;
  }

  .value-card-inner {
    flex-direction: column;
    text-align: center;
  }

  .value-icon-wrap {
    margin: 0 auto;
  }

  .value-header {
    flex-direction: column;
    gap: 0.25rem;
  }
}