/* ========================================
   SwiftFIX Landing Page Styles
   ======================================== */

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

:root {
  /* Colors */
  --background: hsl(40, 20%, 98%);
  --foreground: hsl(0, 0%, 8%);
  --card: hsl(0, 0%, 100%);
  --muted: hsl(40, 10%, 92%);
  --muted-foreground: hsl(0, 0%, 45%);
  --border: hsl(0, 0%, 90%);
  --section-alt: hsl(40, 20%, 96%);
  --text-body: hsl(0, 0%, 40%);
  
  /* Spacing */
  --section-padding: 4rem;
  --section-padding-lg: 6rem;

/* Shadow scale (cleaner, calmer) */
--shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
--shadow-md: 0 8px 24px rgba(0,0,0,0.08);
--shadow-lg: 0 18px 50px rgba(0,0,0,0.10);
  
  /* Border radius */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  
  /* Transitions */
  --transition: all 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Better reading measure */
.section-text,
.list-intro,
.problem-conclusion,
.hero-description {
  max-width: 60ch;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.2;
}

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

em {
  font-style: italic;
}

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

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

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

/* Header CTA visibility control */
.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .header .btn {
    display: none;
  }
}

  .mobile-only {
    display: inline-flex;
  }



/* Section Styles */
.section {
  padding: var(--section-padding) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-padding-lg) 0;
  }
}

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

.section-title {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
}

.section-text {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.7;
}


/* Slightly tighter on very small screens */
@media (max-width: 420px) {
  :root {
    --section-padding: 3.25rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid rgba(0,0,0,0.55);
  outline-offset: 2px;
}

.btn-hero {
  background-color: var(--foreground);
  color: var(--card);
  font-weight: 600;
  box-shadow: var(--shadow-md);
 }

.btn-hero:hover {
  background-color: hsl(0, 0%, 20%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
 }

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-xl {
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-xl);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(252, 251, 249, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-content {
    height: 5rem;
  }
}

.logo-img {
  height: 2rem;
  width: auto;
}

@media (min-width: 768px) {
  .logo-img {
    height: 2.5rem;
  }
}

/* Hero Section */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-tagline {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1rem;
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-features {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}


.hero-features p {
  margin: 0.25rem 0;
}


.hero-features p {
  margin-bottom: 0.25rem;
}

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

.hero-image {
  position: relative;
}


/* Slightly calmer tracking on large hero */
@media (min-width: 1024px) {
  .hero-title { letter-spacing: -0.03em; }
}

.image-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
   padding: 1rem;
  border: 1px solid var(--border);
}

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

.image-placeholder {
  aspect-ratio: 4 / 3;
  background-color: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.image-placeholder span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.image-decoration {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: var(--muted);
  border-radius: var(--radius-xl);
  z-index: -1;
  box-shadow: var(--shadow-sm);
}

/* Value Prop Section */
.value-prop {
  padding: var(--section-padding) 0;
}

@media (min-width: 768px) {
  .value-prop {
    padding: var(--section-padding-lg) 0;
  }
}

.value-prop-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.value-prop-intro {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .value-prop-intro {
    font-size: 1.25rem;
  }
}

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

@media (min-width: 768px) {
  .value-prop-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .value-prop-title {
    font-size: 3rem;
  }
}

.underline-accent {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
  text-decoration-color: rgb(67 138 200);
}

/* Problem & Comparison Sections */
.problem-content,
.comparison-content {
  max-width: 48rem;
  margin: 0 auto;
}

.problem-grid,
.comparison-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .problem-grid,
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.list-intro {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.bullet-list li::before {
  content: "•";
  color: var(--foreground);
  margin-top: 0.125rem;
}

.problem-conclusion {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Solution Section */
.solution-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.solution-notes {
  color: var(--text-body);
  margin-top: 2rem;
}

.solution-notes p {
  margin-bottom: 0.25rem;
}

/* How It Works Section */
.how-it-works-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.step-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: #438ac8;
  color: var(--card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--text-body);
}

.how-it-works-note {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-body);
  margin-top: 2.5rem;
}

/* Voice Section */
.voice-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .voice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Use Cases Section */
.use-cases-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

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

.step-card:hover {
  border-color: rgba(0,0,0,0.10);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.use-case-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
   border: 1px solid var(--border);
  transition: var(--transition);
}

.use-case-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.use-case-description {
  font-size: 0.875rem;
  color: var(--text-body);
}

.use-cases-note {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-body);
  margin-top: 2.5rem;
}

.use-case-card:hover {
  border-color: rgba(0,0,0,0.10);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}


/* Pricing Section */
.pricing-content {
  max-width: 48rem;
  margin: 0 auto;
}


.pricing-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

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

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

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.pricing-list li::before {
  content: "•";
  color: var(--foreground);
  margin-top: 0.125rem;
}

.pricing-notes {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-body);
}

.pricing-notes p {
  margin-bottom: 0.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-box {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.pricing-box-primary {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}

.pricing-box-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-box-subtitle {
  margin: 0.5rem 0 1.25rem 0;
  color: var(--text-muted);
}

/* Dark Pricing Section */
.pricing--dark {
  background: #0f0f10;
  position: relative;
}

.pricing--dark .pricing-content {
  max-width: 62rem; /* widen so the two boxes feel less cramped */
}

.pricing--dark .section-title,
.pricing--dark .pricing-box-title {
  color: rgba(255, 255, 255, 0.96);
}

.pricing--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.70);
}

/* Override strong inside dark section (global strong is dark) */
.pricing--dark strong {
  color: rgba(255, 255, 255, 0.96);
}

/* Boxes: dark-on-dark, subtle borders, no heavy shadow */
.pricing--dark .pricing-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.pricing--dark .pricing-box-primary {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Subtitle inside boxes */
.pricing--dark .pricing-box-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* List text + bullets */
.pricing--dark .pricing-list li {
  color: rgba(255, 255, 255, 0.70);
}

.pricing--dark .pricing-list li::before {
  color: rgba(255, 255, 255, 0.85);
}

/* Notes */
.pricing--dark .pricing-notes {
  color: rgba(255, 255, 255, 0.65);
}


@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* CTA Section */
.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-steps {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.cta-steps p {
  margin-bottom: 0.25rem;
}

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

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

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

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-body);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--foreground);
}

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

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

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

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

.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



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

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

.delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

.delay-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

.delay-5 {
  animation-delay: 0.5s;
  opacity: 0;
}

.delay-6 {
  animation-delay: 0.6s;
  opacity: 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.comparison-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--surface-muted);
}

.comparison-card.highlight {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.comparison-card.muted {
  opacity: 0.85;
}

.bullet-list.compact li {
  margin-bottom: 0.4rem;
}

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

.trust-text {
  max-width: 760px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  text-align: center;
}


.trust-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-footer {
  margin-top: 1.5rem;
  opacity: 0.85;
}

/* ===== Waitlist Modal ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hp { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: 10vh auto 0;
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: var(--foreground);
  font-size: 22px;
  cursor: pointer;
}

.modal__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.modal__title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal__subtitle {
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.modal__form { display: grid; gap: 0.85rem; }

.modal__input {
  width: 100%;
  height: 3.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.14);
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
}

.modal__input:focus {
  border-color: rgba(67,138,200,0.75);
  box-shadow: 0 0 0 4px rgba(67,138,200,0.18);
}

.modal__submit { width: 100%; }

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

.modal__status {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-top: 0.25rem;
}

.modal__status.ok { color: #1b7f3a; }
.modal__status.err { color: #b42318; }

