/* Marketing landing page — separate from documentation-style policies layout */

body.landing {
  background: var(--white);
}

.landing .header-inner {
  max-width: 1140px;
}

.landing .header-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem !important;
}

.landing .header-cta:hover {
  background: #0069d9 !important;
}

/* ── Hero ── */
.landing-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2850 45%, #122f5c 100%);
  color: var(--white);
  padding: 4rem 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 123, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.landing-hero-content {
  padding-bottom: 4rem;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 123, 255, 0.2);
  border: 1px solid rgba(0, 123, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7ec8ff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.landing-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.landing-hero h1 span {
  color: #4dabff;
}

.landing-hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 480px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-hero-actions .btn-primary {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.landing-hero-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s, border-color 0.2s;
}

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

.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.landing-hero-visual::after {
  content: '';
  position: absolute;
  inset: 8% 5% -2%;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 31, 68, 0.5) 100%);
  border-radius: 20px;
  pointer-events: none;
}

.landing-hero-visual img {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}

/* ── Stats band ── */
.stats-band {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 1.5rem;
}

.stats-band-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-band-item .stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stats-band-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.stats-band-divider {
  display: none;
}

/* ── Sections ── */
.landing-section {
  padding: 5rem 1.5rem;
}

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

.landing-container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 3rem;
}

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

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.landing-section.alt .feature-card {
  background: var(--white);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 31, 68, 0.1);
}

.feature-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.feature-card .card-icon .icon {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(0, 123, 255, 0.2) 100%);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-card-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.35);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── App download ── */
.download-section {
  text-align: center;
}

.download-cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  border-radius: 14px;
  color: var(--white);
  min-width: 200px;
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

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

.store-badge-text small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 500;
}

.store-badge-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.store-badge .coming-soon-tag {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* ── Support CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0056b3 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  color: var(--white);
}

.cta-section .section-title {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-actions .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--white);
  color: var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-actions .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background 0.2s;
}

.cta-actions .btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ── Footer ── */
.landing .footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.6);
  border-top: none;
  padding: 3rem 1.5rem;
}

.landing .footer img {
  opacity: 1;
  filter: brightness(0) invert(1);
  height: 36px;
}

.landing .footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .landing-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .landing-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero-actions {
    justify-content: center;
  }

  .landing-hero-content {
    padding-bottom: 0;
  }

  .landing-hero-visual img {
    max-width: 400px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .landing .header-nav a:not(.header-cta) {
    display: none;
  }

  .landing-hero {
    padding: 3rem 1.25rem 0;
  }

  .landing-section {
    padding: 3.5rem 1.25rem;
  }

  .stats-band-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn-white,
  .cta-actions .btn-white-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .landing-hero-actions .btn-primary,
  .landing-hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
