/* ═══════════════════════════════════════════════════════════════
   eSIMDB — Landing / Marketing Page Styles
   Requires layout.css loaded first for tokens
   ═══════════════════════════════════════════════════════════════ */

/* ── Shell ─────────────────────────────────────────────────── */
.landing-shell {
  overflow-x: hidden;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 24px 64px;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 120px 32px 96px; }
}

/* Subtle abstract background shapes */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: rgba(11, 87, 208, 0.04);
  filter: blur(120px);
}

.hero::after {
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: rgba(11, 87, 208, 0.03);
  filter: blur(100px);
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-primary);
}

.hero__sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--color-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Chat-style input box */
.hero-input {
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-input__bar {
  display: flex;
  flex-direction: column;
  padding: 20px 24px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-input__bar:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft), 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hero-input__field {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  padding: 0;
  min-height: 80px;
  resize: none;
  line-height: 1.5;
}

.hero-input__field::placeholder {
  color: var(--color-muted);
  opacity: 0.5;
}

.hero-input__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 4px;
}

.hero-input__how {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
}

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

.hero-input__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.hero-input__btn:hover { opacity: 0.88; }

.hero-input__btn svg {
  transform: rotate(90deg);
}

@media (max-width: 540px) {
  .hero-input__bar {
    padding: 16px 16px 12px;
    border-radius: 20px;
  }
  .hero-input__field {
    font-size: 15px;
    min-height: 64px;
  }
  .hero-input__btn {
    padding: 10px 18px;
    border-radius: 14px;
  }
}

.hero-link svg {
  transition: transform 0.2s;
}

.hero-link:hover svg {
  transform: translateX(2px);
}

/* Prompt chips */
.chips {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.chip {
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.chip:hover {
  opacity: 1;
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

.chip:active {
  transform: scale(0.97);
}

/* ── Social Proof Strip ────────────────────────────────────── */
.social-proof {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .social-proof { padding: 80px 32px; }
}

.social-proof__card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
}

@media (min-width: 768px) {
  .social-proof__card { padding: 56px; }
}

.social-proof__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .social-proof__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

.social-proof__text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.2;
}

.social-proof__text p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-muted);
  max-width: 420px;
  line-height: 1.6;
}

.social-proof__text .btn-primary {
  margin-top: 24px;
}

.social-proof__stats {
  display: flex;
  gap: 40px;
}

@media (min-width: 768px) {
  .social-proof__stats { gap: 56px; }
}

.stat-block__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.stat-block__label {
  margin-top: 4px;
  font-size: 14px;
  color: var(--color-muted);
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .how-it-works { padding: 96px 32px; }
}

.how-it-works__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hiw-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px;
}

.how-it-works h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.18;
}

.hiw-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.hiw-steps {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.hiw-step {
  padding: 28px 32px;
  border-radius: var(--radius);
}

.hiw-step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hiw-step__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11, 87, 208, 0.07);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.55;
}

.hiw-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}

.hiw-step > p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

.hiw-step__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hiw-chip {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Try prompts */
.hiw-try {
  margin-top: 48px;
}

.hiw-try__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 16px;
}

.hiw-try__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hiw-try__chip {
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.hiw-try__chip:hover {
  border-color: var(--color-accent, #0B57D0);
  color: var(--color-accent, #0B57D0);
  opacity: 0.9;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

/* CTA row */
.hiw-cta {
  margin-top: 40px;
  text-align: center;
}

.hiw-cta__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--color-muted);
}

/* ── Demo Section ──────────────────────────────────────────── */
.demo {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .demo { padding: 96px 32px; }
}

.demo__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.demo h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.demo p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.demo__video {
  margin-top: 48px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
}

.demo__video-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(to right, var(--color-text) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-text) 1px, transparent 1px);
  background-size: 40px 40px;
}

.demo__play {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,0,0,0.85);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.demo__play:hover { transform: scale(1.06); }

.demo__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  z-index: 1;
}

.demo__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}

/* ── Value Block ───────────────────────────────────────────── */
.value-block {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .value-block { padding: 96px 32px; }
}

.value-block__card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
}

@media (min-width: 768px) {
  .value-block__card { padding: 56px; }
}

.value-block__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.value-block h2 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.15;
}

.value-block > .card > p,
.value-block__card > p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-muted);
  max-width: 480px;
  line-height: 1.6;
}

.value-bullets {
  margin-top: 48px;
  display: grid;
  gap: 32px;
}

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

.value-bullet__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-bullet h3 {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.value-bullet p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.value-block .btn-primary {
  margin-top: 48px;
}

/* ── Feature Steps ─────────────────────────────────────────── */
.steps {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .steps { padding: 96px 32px; }
}

.steps__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.steps h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.steps p.steps__sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-muted);
}

.steps-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}

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

.step-item {
  padding: 28px 20px;
  text-align: center;
}

.step-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}

.step-item h3 {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.step-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── Partners ──────────────────────────────────────────────── */
.partners {
  padding: 64px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .partners { padding: 80px 32px; }
}

.partners__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
}

.partners__row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .partners__row { gap: 48px; }
}

.partners__row span {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.18;
  user-select: none;
}

/* ── Press ─────────────────────────────────────────────────── */
.press {
  padding: 48px 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 768px) {
  .press { padding: 64px 32px; }
}

.press__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
}

.press__row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .press__row { gap: 56px; }
}

.press__row span {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.13;
  letter-spacing: 0.02em;
  user-select: none;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .testimonials { padding: 96px 32px; }
}

.testimonials__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.testimonials-grid {
  margin-top: 56px;
  display: grid;
  gap: 24px;
}

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

.testimonial-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

.testimonial-card__author {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.testimonial-card__author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.testimonial-card__author span {
  font-size: 13px;
  color: var(--color-muted);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .faq { padding: 96px 32px; }
}

.faq__inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.faq__sub {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  color: var(--color-muted);
}

.faq-list {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.2s;
  gap: 16px;
}

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

.faq-item__trigger svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[data-open="true"] .faq-item__trigger svg {
  transform: rotate(180deg);
}

.faq-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item[data-open="true"] .faq-item__content {
  grid-template-rows: 1fr;
}

.faq-item__content > div {
  overflow: hidden;
}

.faq-item__content p {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  padding-right: 32px;
}

/* ── Final CTA ─────────────────────────────────────────────── */
.final-cta {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .final-cta { padding: 96px 32px; }
}

.final-cta__card {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

@media (min-width: 768px) {
  .final-cta__card { padding: 56px; }
}

.final-cta h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.final-cta p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-muted);
}

.final-cta .btn-primary {
  margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   BROWSE BY REGION
   ═══════════════════════════════════════════════════════════════ */
.browse-regions {
  padding: 64px 24px;
}
@media (min-width: 768px) {
  .browse-regions { padding: 96px 32px; }
}

.browse-regions__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.browse-regions h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.browse-regions__sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .region-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .region-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

.region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: var(--radius-card, 16px);
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.region-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--color-accent, #6366f1);
}

.region-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.region-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary, #111);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   BROWSE BY COUNTRY (grouped by continent)
   ═══════════════════════════════════════════════════════════════ */
.browse-countries {
  padding: 64px 24px 80px;
}
@media (min-width: 768px) {
  .browse-countries { padding: 96px 32px 120px; }
}

.browse-countries__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.browse-countries h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  text-align: center;
}

.browse-countries__sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-muted);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Continent group ── */
.continent-group {
  margin-top: 48px;
}

.continent-group__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border, #e5e7eb);
}

.continent-group__icon {
  font-size: 1.4rem;
}

.continent-group__count {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ── Country link grid ── */
.continent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}
@media (min-width: 480px) {
  .continent-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .continent-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .continent-grid { grid-template-columns: repeat(5, 1fr); }
}

.country-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #333);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-link:hover {
  background: var(--color-accent-bg, rgba(99,102,241,0.08));
  color: var(--color-accent, #6366f1);
}

/* ═══════════════════════════════════════════════════════════════
   LANDING ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Fade-up entrance ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Hero heading */
.hero h1 { animation-delay: 0s; }
/* Hero subtitle */
.hero .hero__sub { animation-delay: 0.16s; }
/* Hero input */
.hero .hero-input { animation-delay: 0.30s; }

/* ── Chip stagger ──────────────────────────────────────────── */
@keyframes chipPop {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to   { opacity: 0.75; transform: translateY(0) scale(1); }
}

.chip.anim-chip {
  opacity: 0;
  animation: chipPop 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── SVG flight-path draw-in (driven by JS) ───────────────── */
.flight-arc {
  stroke-dasharray: 9 7;
  fill: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.flight-arc--faint {
  stroke-dasharray: 5 10;
}

.flight-dot {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* SVG container in hero background */
.hero__flight-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.hero__inner { position: relative; z-index: 1; }

/* ── Count-up animation ────────────────────────────────────── */
@keyframes countPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.stat-block__value.counting {
  animation: countPulse 0.3s ease-out;
}

/* ── Scroll-reveal for region/country cards ─────────────────── */
@keyframes revealCard {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.region-card.anim-reveal,
.anim-reveal {
  opacity: 0;
}

.region-card.anim-revealed,
.anim-revealed {
  animation: revealCard 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── Testimonial card hover lift ───────────────────────────── */
.testimonial-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* ── Glow pulse on primary CTA buttons ─────────────────────── */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0px 0px rgba(11, 87, 208, 0); }
  50%       { box-shadow: 0 0 22px 4px rgba(11, 87, 208, 0.28); }
}

.btn-primary--glow {
  animation: ctaGlow 2.6s ease-in-out infinite;
}
.btn-primary--glow:hover {
  animation: none;
  box-shadow: 0 0 30px 6px rgba(11, 87, 208, 0.32);
  transform: scale(1.05);
}

/* ── Orbit rings around demo play button ───────────────────── */
@keyframes orbitCW  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes orbitCCW { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }

.demo__orbit-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.demo__ring {
  position: absolute;
  border-radius: 50%;
  border-style: dashed;
  border-color: var(--color-accent);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.demo__ring--outer {
  width: 160px;
  height: 160px;
  margin-top: -80px;
  margin-left: -80px;
  border-width: 1px;
  opacity: 0.15;
  animation: orbitCCW 14s linear infinite;
}

.demo__ring--inner {
  width: 112px;
  height: 112px;
  margin-top: -56px;
  margin-left: -56px;
  border-width: 2px;
  opacity: 0.20;
  animation: orbitCW 8s linear infinite;
}

.demo__play {
  position: relative;
  z-index: 1;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.demo__play:hover { transform: scale(1.12); }

/* ── Cycling placeholder in hero textarea ──────────────────── */
@keyframes phIn  { from { opacity: 0; transform: translateY(8px); }  to { opacity: 0.5; transform: translateY(0); } }
@keyframes phOut { from { opacity: 0.5; transform: translateY(0); }  to { opacity: 0; transform: translateY(-8px); } }

.hero-input__placeholder-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-muted);
  opacity: 0.5;
  padding: 0;
}

.hero-input__placeholder-overlay.ph-in  { animation: phIn  0.32s ease forwards; }
.hero-input__placeholder-overlay.ph-out { animation: phOut 0.28s ease forwards; }

/* ═══ PROVIDER LOGO MARQUEE ═══ */
.provider-marquee {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.provider-marquee__label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
  margin-bottom: 20px;
  user-select: none;
}

.provider-marquee__viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.provider-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-ltr 75s linear infinite;
}

.provider-marquee__track:hover {
  animation-play-state: paused;
}

.provider-marquee__item {
  flex-shrink: 0;
  width: 90px;
  height: 44px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-marquee__item img {
  max-height: 44px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.42;
  transition: opacity 0.2s, filter 0.2s;
}

.provider-marquee__item img:hover {
  opacity: 0.75;
  filter: grayscale(0.3);
}
