/* ===========================================
   CiteReport Design System & Styles
   =========================================== */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--text-base);
  color: var(--text-dark);
  background-color: #ffffff;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(184, 88, 14, 0.2);
  color: var(--text-dark);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@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;
  }
}

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* Skip to content link — hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  z-index: 999;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  clip: auto;
  width: auto;
  height: auto;
}

/* --- Design Tokens --- */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colors */
  --navy:          #1B2A4A;
  --navy-light:    #2C3E6B;
  --accent:        #B8580E;
  --accent-hover:  #B34700;
  --bg-light:      #F8F9FA;
  --bg-light-2:    #F4F6F7;
  --text-dark:     #1a1a2e;
  --text-muted:    #6b7280;
  --success:       #1B7A3D;
  --white:         #ffffff;
  --footer-bg:     #111827;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 42, 74, 0.12);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--default {
  max-width: var(--content-default);
}

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  transition: box-shadow var(--transition-fast);
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--navy);
}

.nav__logo svg {
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: var(--space-2) 0;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--navy);
}

.nav__cta {
  display: flex;
  align-items: center;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  flex-direction: column;
  gap: var(--space-3);
}

.nav__mobile-menu.active {
  display: flex;
}

.nav__mobile-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__mobile-menu a:hover {
  background: var(--bg-light);
  color: var(--navy);
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  line-height: 1.4;
  min-height: 44px;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

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

/* ===========================================
   HERO SECTIONS
   =========================================== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
}

.hero--compact {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__badge svg { display: inline; }

.hero h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: var(--space-6);
}

.hero--compact h1 {
  font-size: var(--text-xl);
  max-width: 30ch;
}

.hero__sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

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

.hero__secondary {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero__secondary:hover {
  color: var(--white);
}

/* ===========================================
   SECTIONS
   =========================================== */
.section {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.section--gray {
  background: var(--bg-light);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section__header h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.section--dark .section__header h2 {
  color: var(--white);
}

.section__header p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   PROBLEM STATEMENT
   =========================================== */
.problem {
  text-align: center;
  max-width: 42ch;
  margin-inline: auto;
}

.problem p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-inline: auto;
}

.problem p + p {
  margin-top: var(--space-6);
}

.problem p strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===========================================
   STEPS / HOW IT WORKS
   =========================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  color: var(--navy);
  margin: 0 auto var(--space-4);
}

.step-card__icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-inline: auto;
}

.section__link {
  display: block;
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ===========================================
   CARDS GRID (Who it's for)
   =========================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.card {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 42, 74, 0.08);
  transition: all var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ===========================================
   CHECKLIST (What you get)
   =========================================== */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
  max-width: var(--content-default);
  margin-inline: auto;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
}

.checklist__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist__icon svg {
  width: 14px;
  height: 14px;
}

.checklist__item h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-1);
}

.checklist__item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.testimonial__quote {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial__quote::before {
  content: '\201C';
  font-size: var(--text-xl);
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-2);
  font-style: normal;
  line-height: 1;
}

.testimonial__author {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-12);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  max-width: max-content;
  margin-inline: auto;
}

.trust-badge svg {
  flex-shrink: 0;
}

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

/* ===========================================
   FAQ ACCORDION
   =========================================== */
.faq-list {
  max-width: var(--content-default);
  margin-inline: auto;
}

.faq-group {
  margin-bottom: var(--space-8);
}

.faq-group__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(27, 42, 74, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-4);
  min-height: 44px;
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: var(--space-5);
  max-width: 65ch;
}

.faq-item.active .faq-item__answer {
  max-height: 400px;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.cta-section h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.cta-section .cta-note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-4);
}

/* ===========================================
   PRICING
   =========================================== */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin-inline: auto;
  overflow: hidden;
}

.pricing-card__accent {
  height: 4px;
  background: var(--accent);
}

.pricing-card__body {
  padding: var(--space-10);
}

.pricing-card__price {
  text-align: center;
  margin-bottom: var(--space-6);
}

.pricing-card__amount {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card__desc {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: var(--space-8);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--text-dark);
  border-bottom: 1px solid rgba(27, 42, 74, 0.05);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features svg {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

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

.pricing-card__note {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* ===========================================
   SIGNUP FORM
   =========================================== */
.signup-layout {
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-4);
  background: var(--bg-light);
}

.signup-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10);
  max-width: 520px;
  width: 100%;
}

.signup-card h1 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: var(--space-2);
}

.signup-card__sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

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

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.form-group label .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(27, 42, 74, 0.15);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

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

.form-group input.input-error,
.form-group select.input-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.form-group__error {
  font-size: var(--text-xs);
  color: #c0392b;
  margin-top: var(--space-1);
  display: none;
}

.form-group__error.visible {
  display: block;
}

.signup-agreement {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-4);
  line-height: 1.6;
}

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

.signup-agreement a:hover {
  text-decoration: underline;
}

/* Trust elements */
.signup-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(27, 42, 74, 0.08);
}

.signup-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.signup-trust__item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Success state */
.signup-success {
  text-align: center;
  padding: var(--space-12) var(--space-4);
}

.signup-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  margin: 0 auto var(--space-6);
}

.signup-success h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.signup-success p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-inline: auto;
}

/* ===========================================
   HOW IT WORKS - DETAILED STEPS
   =========================================== */
.step-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: clamp(var(--space-8), 4vw, var(--space-16)) 0;
}

.step-detail:not(:last-child) {
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
}

.step-detail--reverse {
  direction: rtl;
}

.step-detail--reverse > * {
  direction: ltr;
}

.step-detail__content {
  max-width: 500px;
}

.step-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.step-detail__content h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.step-detail__content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
}

.step-detail__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-detail__icon-large {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.step-detail__icon-large svg {
  width: 56px;
  height: 56px;
}

@media (max-width: 768px) {
  .step-detail {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .step-detail--reverse {
    direction: ltr;
  }
  .step-detail__visual {
    order: -1;
  }
}

/* Feature detail grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 42, 74, 0.06);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon svg {
  width: 20px;
  height: 20px;
}

.feature-item h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-1);
}

.feature-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__brand p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  max-width: 30ch;
  margin-top: var(--space-3);
  line-height: 1.6;
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: var(--space-2);
}

.footer__col ul a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__col ul a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

.footer__attribution {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__attribution:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

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

/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */
.fade-in {
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 60ms; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 120ms; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 180ms; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 240ms; }

/* ===========================================
   SIGNUP NAV (minimal)
   =========================================== */
.nav--minimal .nav__inner {
  justify-content: space-between;
}

.nav--minimal .nav__back {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav--minimal .nav__back:hover {
  color: var(--navy);
}
