/* ============================================================
   AFZ Prestige — eSIM Africa Pass affiliate page
   Shares the AFZ Prestige design language (navy palette,
   Fraunces + DM Sans), plus eSIM-specific sections.
   ============================================================ */

:root {
  --c-navy-deepest: #0a1832;
  --c-navy: #1a3d63;
  --c-blue-mid: #4a7fa7;
  --c-blue-soft: #b3cfe5;
  --c-cream: #f6fafd;
  --c-white: #ffffff;
  --c-text: #1a3d63;
  --c-text-soft: #4a5d75;
  --c-text-muted: #7a8a9e;
  --c-border: rgba(26, 61, 99, 0.08);
  --c-border-strong: rgba(26, 61, 99, 0.15);

  --font-display: Fraunces, "Times New Roman", serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(10, 24, 50, 0.04), 0 1px 3px rgba(10, 24, 50, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 24, 50, 0.06), 0 2px 4px rgba(10, 24, 50, 0.04);
  --shadow-lg: 0 18px 40px rgba(10, 24, 50, 0.12), 0 6px 16px rgba(10, 24, 50, 0.06);
  --shadow-xl: 0 32px 80px rgba(10, 24, 50, 0.18);

  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--c-blue-mid);
  display: inline-block;
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--c-blue-mid);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--c-navy-deepest);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--c-blue-mid); font-weight: 400; }

.section-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
  max-width: 580px;
  margin-bottom: 56px;
}

section { padding: 100px 0; position: relative; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 60px;
}
.section-head .right {
  max-width: 380px;
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.7;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--c-navy-deepest); color: var(--c-cream); border: 1px solid var(--c-navy-deepest); }
.btn-primary:hover { background: var(--c-navy); border-color: var(--c-navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--c-navy-deepest); border: 1px solid var(--c-border-strong); }
.btn-ghost:hover { border-color: var(--c-navy-deepest); background: var(--c-navy-deepest); color: var(--c-cream); }
.btn-small { padding: 10px 18px; font-size: 11px; letter-spacing: 1px; }

/* ============ HEADER ============ */
.site-header {
  position: relative;
  z-index: 1050;
  background:
    radial-gradient(circle, rgba(26, 61, 99, .055) 1px, transparent 1px),
    rgba(246, 250, 253, 0.96);
  background-size: 22px 22px, auto;
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: var(--transition);
}
.site-header.scrolled {
  background:
    radial-gradient(circle, rgba(26, 61, 99, .04) 1px, transparent 1px),
    rgba(246, 250, 253, 0.98);
  background-size: 22px 22px, auto;
  box-shadow: 0 1px 0 var(--c-border), 0 4px 24px rgba(10, 24, 50, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--c-navy-deepest); letter-spacing: 0.3px; }
.brand-tagline { font-size: 8px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--c-text-muted); margin-top: 3px; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-text-soft);
  letter-spacing: 0.2px;
  position: relative;
  padding: 5px 12px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}
.nav a:hover { color: var(--c-navy-deepest); background: rgba(26, 61, 99, .06); }
.nav a.active { color: var(--c-navy-deepest); background: rgba(26, 61, 99, .08); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--c-navy-deepest);
  font-size: 16px;
  background: rgba(26, 61, 99, .06);
}

/* ============ CURRENCY SELECTOR ============ */
.cur-select { position: relative; }
.cur-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--c-border-strong);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--c-navy-deepest);
  transition: var(--transition);
}
.cur-trigger:hover { border-color: var(--c-navy-deepest); background: var(--c-white); }
.cur-trigger img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(10,24,50,.08); }
.cur-trigger .chev { font-size: 9px; color: var(--c-text-muted); transition: transform var(--transition); }
.cur-select.open .cur-trigger .chev { transform: rotate(180deg); }

.cur-menu {
  position: absolute;
  top: calc(100% + 8px);
    left: 0px;
    max-width: 250px;
  min-width: 196px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 1200;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}
.cur-select.open .cur-menu { display: block; animation: curIn 180ms ease; }
@keyframes curIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.cur-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--c-text);
  text-align: left;
  transition: background var(--transition);
}
.cur-option:hover { background: var(--c-cream); }
.cur-option.selected { background: rgba(26, 61, 99, .07); font-weight: 600; color: var(--c-navy-deepest); }
.cur-option img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(10,24,50,.08); flex-shrink: 0; }
.cur-option .cur-code { font-weight: 600; }
.cur-option .cur-name { color: var(--c-text-muted); font-size: 12px; margin-left: auto; }

/* ============ MOBILE NAV ============ */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 84%; max-width: 340px;
  height: 100vh;
  background: var(--c-cream);
  z-index: 1000;
  padding: 90px 32px 32px;
  transition: right 280ms ease;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-navy-deepest);
  border-bottom: 1px solid var(--c-border);
  font-family: var(--font-display);
}
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
.mnav-cur { margin-top: 26px; display:none !important; }
.mnav-cur-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--c-text-muted); margin-bottom: 12px; font-weight: 600; }
.mnav-cur-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mnav-cur-grid .cur-option { border: 1px solid var(--c-border); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 24, 50, 0.5); z-index: 999; display: none; }
.nav-backdrop.active { display: block; }

/* ============ PAGE HERO (photo) ============ */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 58px);
  padding: 36px 0;
  background: linear-gradient(135deg, var(--c-cream) 0%, #eaf2fa 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(74, 127, 167, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(26, 61, 99, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(74, 127, 167, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(179, 207, 229, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 64px;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 18px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--c-border-strong);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  font-weight: 500;
}
.breadcrumb a { color: var(--c-text-soft); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--c-navy-deepest); }
.breadcrumb .sep { color: var(--c-blue-mid); font-size: 9px; }
.breadcrumb .current { color: var(--c-navy-deepest); font-weight: 600; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--c-border-strong);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-navy-deepest);
  margin-bottom: 18px;
}
.page-hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--c-blue-mid), var(--c-navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 4px;
}
.page-hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-soft);
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.page-hero-meta { display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.page-hero-meta .item .num { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--c-navy-deepest); line-height: 1; margin-bottom: 6px; }
.page-hero-meta .item .num small { font-size: 18px; }
.page-hero-meta .item .label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-text-muted); font-weight: 500; }

/* Hero visual (photo + floating cards) */
.hero-visual { position: relative; height: min(72vh, 540px); }
.hero-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 90%; height: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-accent {
  position: absolute;
  bottom: -28px; left: -22px;
  width: 210px; height: 270px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--c-cream);
}
.hero-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute;
  top: 34px; left: -30px;
  background: var(--c-white);
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.hero-float-card .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--c-navy-deepest), var(--c-navy));
  color: var(--c-cream);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.hero-float-card .text .title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--c-navy-deepest); line-height: 1; }
.hero-float-card .text .sub { font-size: 10.5px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* small coupon chip used in hero */
.coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 9px 16px;
  border: 1.5px dashed var(--c-blue-mid);
  border-radius: 100px;
  background: rgba(74, 127, 167, 0.08);
  font-size: 12px;
  color: var(--c-navy);
  font-weight: 500;
}
.coupon-chip strong { font-family: var(--font-display); font-size: 15px; letter-spacing: 1px; color: var(--c-navy-deepest); }

.cur-note { font-size: 12px; color: var(--c-text-muted); margin-top: 12px; max-width: 460px; line-height: 1.6; }
.cur-note strong { color: var(--c-navy); font-weight: 600; }

/* ============ HOW IT WORKS ============ */
.how { background: var(--c-white); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-step {
  position: relative;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  transition: var(--transition);
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; background: #fbfdff; }
.how-step .step-num { font-family: var(--font-display); font-size: 12px; letter-spacing: 2px; color: var(--c-text-muted); margin-bottom: 18px; }
.how-step .step-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-navy-deepest), var(--c-navy));
  color: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(10, 24, 50, 0.18);
}
.how-step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--c-navy-deepest); margin-bottom: 10px; }
.how-step p { font-size: 13.5px; line-height: 1.65; color: var(--c-text-soft); }

/* commission callout band */
.commission-band {
  margin-top: 44px;
  background: linear-gradient(135deg, var(--c-navy-deepest) 0%, var(--c-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.commission-band::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(179, 207, 229, 0.16) 0%, transparent 70%);
  border-radius: 50%;
}
.commission-band .cb-left { position: relative; z-index: 2; }
.commission-band .cb-eyebrow { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-blue-soft); margin-bottom: 12px; font-weight: 600; }
.commission-band h3 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 400; color: var(--c-cream); line-height: 1.12; }
.commission-band h3 em { font-style: italic; color: var(--c-blue-soft); }
.commission-band p { font-size: 13.5px; line-height: 1.7; color: rgba(246, 250, 253, 0.72); margin-top: 14px; max-width: 440px; }

.cb-rate-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(179, 207, 229, 0.25);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  backdrop-filter: blur(8px);
  text-align: center;
}
.cb-rate-card .big { font-family: var(--font-display); font-size: 64px; font-weight: 500; color: var(--c-cream); line-height: 1; }
.cb-rate-card .big span { font-size: 30px; color: var(--c-blue-soft); }
.cb-rate-card .cap { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-blue-soft); margin-top: 8px; }
.cb-example {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(179, 207, 229, 0.2);
  font-size: 13px;
  color: rgba(246, 250, 253, 0.85);
  line-height: 1.6;
}
.cb-example b { color: var(--c-cream); font-weight: 600; }
.cb-example .note { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: rgba(179, 207, 229, 0.6); margin-top: 8px; }

/* ============ WHY (dark) ============ */
.why-us {
  background: var(--c-navy-deepest);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 10% 50%, rgba(74, 127, 167, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(179, 207, 229, 0.1) 0%, transparent 40%);
}
.why-us::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74, 127, 167, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.why-us .eyebrow { color: var(--c-blue-soft); }
.why-us .eyebrow::before { background: var(--c-blue-soft); }
.why-us .section-title { color: var(--c-cream); }
.why-us .section-title em { color: var(--c-blue-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.why-card {
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.why-card:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(179, 207, 229, 0.3); transform: translateY(-4px); }
.why-card .w-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(179, 207, 229, 0.12);
  color: var(--c-blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
}
.why-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 10px; color: var(--c-cream); }
.why-card p { font-size: 13px; line-height: 1.7; color: rgba(246, 250, 253, 0.7); }

/* ============ COVERAGE STRIP ============ */
.coverage { background: var(--c-cream); }
.coverage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(74, 127, 167, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.coverage-inner { position: relative; z-index: 2; }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.region-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.region-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(26, 61, 99, .12); }
.region-card .r-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.region-card .r-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--c-blue-soft); color: var(--c-navy-deepest); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.region-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--c-navy-deepest); }
.region-card p { font-size: 12.5px; color: var(--c-text-soft); line-height: 1.55; }
.region-card .r-count { font-size: 11px; color: var(--c-blue-mid); font-weight: 600; margin-top: 10px; letter-spacing: 0.3px; }

/* ============ SETUP GUIDE ============ */
.setup { background: var(--c-white); }
.setup-tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--c-cream); border: 1px solid var(--c-border); border-radius: 100px; margin-bottom: 44px; }
.setup-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--c-text-soft);
  border-radius: 100px;
  transition: var(--transition);
}
.setup-tab i { font-size: 15px; }
.setup-tab.active { background: var(--c-navy-deepest); color: var(--c-cream); box-shadow: var(--shadow-sm); }

.setup-panel { display: none; }
.setup-panel.active { display: block; animation: fadeUp 360ms ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.setup-step { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 0 0 44px; position: relative; }
.setup-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 31px; top: 64px; bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--c-blue-soft), transparent);
}
.setup-step .s-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-navy-deepest), var(--c-navy));
  color: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(10, 24, 50, 0.2);
  z-index: 1;
}
.setup-step .s-body h3 { font-family: var(--font-display); font-size: 23px; font-weight: 500; color: var(--c-navy-deepest); margin-bottom: 8px; margin-top: 10px; }
.setup-step .s-body > p { font-size: 14px; color: var(--c-text-soft); line-height: 1.65; margin-bottom: 22px; max-width: 640px; }
.setup-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.shot {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shot .shot-img { background: #e7eef6; display: flex; align-items: center; justify-content: center; padding: 14px; }
.shot .shot-img.shot-img-empty { min-height: 150px; color: var(--c-blue-mid); font-size: 30px; }
.shot .shot-img img { width: 100%; max-width: 150px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.shot .shot-cap { display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px 15px; font-size: 12.5px; line-height: 1.45; color: var(--c-text); }
.shot .shot-cap .n { width: 20px; height: 20px; border-radius: 50%; background: var(--c-navy-deepest); color: var(--c-cream); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.setup-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(74, 127, 167, 0.08);
  border-left: 3px solid var(--c-blue-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--c-text);
  line-height: 1.55;
}
.setup-tip i { color: var(--c-blue-mid); margin-top: 3px; }

/* ============ FAQ ============ */
.faq { background: var(--c-cream); }
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(74, 127, 167, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.faq-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head .eyebrow { padding-left: 0; }
.faq-head .eyebrow::before { display: none; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: rgba(26, 61, 99, .15); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-navy-deepest);
  transition: background var(--transition);
}
.faq-q:hover { background: var(--c-cream); }
.faq-q .q-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-cream);
  color: var(--c-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.open .q-icon { transform: rotate(45deg); background: var(--c-navy-deepest); color: var(--c-cream); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 360ms ease; }
.faq-a-inner { padding: 0 26px 24px; font-size: 14px; line-height: 1.7; color: var(--c-text-soft); }
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner h5 { font-family: var(--font-display); font-size: 14px; color: var(--c-navy-deepest); margin: 14px 0 8px; font-weight: 600; }
.faq-a-inner ul { list-style: none; display: grid; gap: 7px; margin-bottom: 6px; }
.faq-a-inner ul li { display: flex; align-items: flex-start; gap: 9px; }
.faq-a-inner ul li i { color: var(--c-blue-mid); margin-top: 5px; font-size: 10px; flex-shrink: 0; }
.faq-a-inner a { color: var(--c-blue-mid); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq-a-inner strong { color: var(--c-navy-deepest); font-weight: 600; }
.faq-figs { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0 4px; }
.faq-fig { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 12px; width: 132px; }
.faq-fig img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-sm); }
.faq-fig span { display: block; font-size: 11px; color: var(--c-text-muted); margin-top: 8px; text-align: center; }

/* ============ CTA ============ */
.cta { background: linear-gradient(135deg, var(--c-navy-deepest) 0%, var(--c-navy) 100%); color: var(--c-cream); text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(179, 207, 229, 0.12) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta .eyebrow { color: var(--c-blue-soft); }
.cta h2 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 50px); font-weight: 400; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.cta h2 em { font-style: italic; color: var(--c-blue-soft); }
.cta p { font-size: 15px; line-height: 1.7; color: rgba(246, 250, 253, 0.75); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: var(--c-cream); color: var(--c-navy-deepest); border-color: var(--c-cream); }
.cta .btn-primary:hover { background: var(--c-blue-soft); border-color: var(--c-blue-soft); }
.cta .btn-ghost { border-color: rgba(246, 250, 253, 0.3); color: var(--c-cream); }
.cta .btn-ghost:hover { background: var(--c-cream); color: var(--c-navy-deepest); border-color: var(--c-cream); }
.cta-coupon { margin-top: 26px; font-size: 13px; color: rgba(246,250,253,0.8); }
.cta-coupon code { font-family: var(--font-display); font-size: 16px; letter-spacing: 2px; color: var(--c-cream); background: rgba(255,255,255,0.1); padding: 4px 14px; border-radius: 6px; border: 1px dashed rgba(179,207,229,0.5); }

/* ============ FOOTER ============ */
.footer { background: #051022; color: var(--c-cream); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 56px; margin-bottom: 64px; }
.footer-brand img { height: 42px; margin-bottom: 20px; }
.footer-brand h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.footer-brand .tagline { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--c-blue-soft); margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(246, 250, 253, 0.55); max-width: 320px; }
.footer-col h4 { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: var(--c-blue-soft); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(246, 250, 253, 0.6); transition: var(--transition); }
.footer-col a:hover { color: var(--c-cream); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: rgba(246, 250, 253, 0.6); line-height: 1.6; }
.footer-contact i { color: var(--c-blue-soft); margin-top: 4px; width: 14px; flex-shrink: 0; }
.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(246, 250, 253, 0.4); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(246, 250, 253, 0.7); transition: var(--transition); }
.footer-socials a:hover { background: var(--c-blue-soft); border-color: var(--c-blue-soft); color: var(--c-navy-deepest); transform: translateY(-2px); }
.footer-disclaimer { font-size: 11px; color: rgba(246,250,253,0.35); line-height: 1.6; margin-top: 8px; max-width: 540px; }

/* ============ FLOATING OFFER (left) ============ */
.floating-offer { position: fixed; left: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fo-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; box-shadow: 0 8px 20px rgba(10, 24, 50, 0.22); transition: var(--transition); white-space: nowrap; }
.fo-link { background: var(--c-navy-deepest); color: var(--c-cream); }
.fo-link:hover { background: var(--c-navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 24, 50, 0.32); }
.fo-coupon { background: var(--c-white); color: var(--c-navy-deepest); border: 1.5px dashed var(--c-blue-mid); }
.fo-coupon:hover { background: var(--c-cream); transform: translateY(-2px); }
.fo-coupon.copied { background: #2ecc71; color: #fff; border-color: #2ecc71; }
.fo-btn i { font-size: 14px; }

/* ============ FLOATING SOCIAL ============ */
.floating-social { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; box-shadow: 0 8px 20px rgba(10, 24, 50, 0.25); transition: var(--transition); position: relative; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(10, 24, 50, 0.35); }
.float-wa { background: #25d366; order: 1; }
.float-fb { background: #1877f2; order: 2; }
.float-ig { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); order: 3; }
.float-tt { background: #000000; order: 4; }
.float-chat { background: var(--c-navy-deepest); width: 56px; height: 56px; font-size: 20px; order: 5; }
.float-chat::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c-navy-deepest); opacity: 0.4; animation: ring 2.5s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.5); opacity: 0; } }

/* ============ CHAT WIDGET ============ */
.chat-widget { position: fixed; right: 18px; bottom: 18px; width: 380px; max-width: calc(100vw - 36px); height: 560px; max-height: calc(100vh - 90px); background: var(--c-cream); border-radius: 14px; box-shadow: var(--shadow-xl); z-index: 99; display: none; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(0.95); opacity: 0; transition: transform 280ms ease, opacity 240ms ease; }
.chat-widget.active { display: flex; transform: translateY(0) scale(1); opacity: 1; }
.chat-header { background: linear-gradient(135deg, var(--c-navy-deepest), var(--c-navy)); color: var(--c-cream); padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c-blue-soft); color: var(--c-navy-deepest); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 600; position: relative; }
.chat-avatar::after { content: ''; position: absolute; bottom: 0; right: 0; width: 11px; height: 11px; background: #2ecc71; border-radius: 50%; border: 2px solid var(--c-navy-deepest); }
.chat-header-info { flex: 1; }
.chat-header-info .name { font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.chat-header-info .status { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--c-blue-soft); margin-top: 2px; }
.chat-close { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--c-cream); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: var(--transition); }
.chat-close:hover { background: rgba(255, 255, 255, 0.22); }
.chat-body { flex: 1; overflow-y: auto; padding: 22px 18px; background: var(--c-cream); display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--c-blue-soft); border-radius: 4px; }
.chat-msg { max-width: 84%; padding: 11px 15px; border-radius: 14px; font-size: 13px; line-height: 1.55; animation: fadeUp 280ms ease; }
.chat-msg.bot { background: var(--c-white); color: var(--c-text); border: 1px solid var(--c-border); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--c-navy-deepest); color: var(--c-cream); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.chat-msg.bot a { color: var(--c-blue-mid); }
.chat-msg strong { font-weight: 600; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 8px; }
.chat-chip { background: var(--c-white); border: 1px solid var(--c-border-strong); color: var(--c-navy); padding: 7px 13px; font-size: 11px; border-radius: 100px; cursor: pointer; transition: var(--transition); font-weight: 500; }
.chat-chip:hover { background: var(--c-navy-deepest); color: var(--c-cream); border-color: var(--c-navy-deepest); }
.chat-typing { display: flex; gap: 4px; padding: 12px 15px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; width: fit-content; }
.chat-typing span { width: 6px; height: 6px; background: var(--c-blue-mid); border-radius: 50%; animation: typing 1.4s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-footer { padding: 14px 16px 16px; background: var(--c-white); border-top: 1px solid var(--c-border); }
.chat-input-wrap { display: flex; gap: 8px; background: var(--c-cream); border-radius: 24px; padding: 6px 6px 6px 16px; align-items: center; }
.chat-input { flex: 1; border: none; background: transparent; font-size: 13px; font-family: var(--font-body); color: var(--c-text); outline: none; padding: 8px 0; }
.chat-send { width: 34px; height: 34px; border-radius: 50%; background: var(--c-navy-deepest); color: var(--c-cream); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: var(--transition); }
.chat-send:hover { background: var(--c-navy); transform: rotate(-10deg); }
.chat-footer-note { font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--c-text-muted); margin-top: 10px; text-align: center; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .page-hero { min-height: auto; padding: 56px 0 64px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: 460px; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .commission-band { grid-template-columns: 1fr; gap: 28px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .nav, .header-cta .btn-small { display: none; }
  .header-cta .cur-select { display: none; }
  .menu-toggle { display: flex; }
  section { padding: 70px 0; }
  .page-hero { padding: 48px 0 64px; }
  .hero-visual { height: 360px; }
  .hero-img-accent { width: 140px; height: 190px; bottom: -18px; left: -8px; }
  .hero-float-card { padding: 12px 15px; top: 18px; left: -8px; }
  .hero-float-card .text .title { font-size: 18px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  .commission-band { padding: 30px 24px; }
  .setup-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .setup-step .s-badge { width: 48px; height: 48px; font-size: 20px; }
  .setup-step:not(:last-child)::before { left: 23px; top: 48px; }
  .setup-shots { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .faq-q { font-size: 16px; padding: 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .chat-widget { right: 12px; bottom: 12px; height: calc(100vh - 80px); border-radius: 12px; }
  .floating-social { right: 12px; bottom: 12px; }
  .floating-offer { left: 12px; bottom: 12px; gap: 8px; }
  .floating-offer .fo-btn { padding: 0; width: 42px; height: 42px; justify-content: center; border-radius: 50%; }
  .floating-offer .fo-label { display: none; }
  .floating-offer .fo-btn i { font-size: 15px; }
}

/* ============================================================
   PLANS GRID (live API data)
   ============================================================ */
.plans { background: var(--c-white); }

.plan-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  background: var(--c-cream);
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1px solid var(--c-border);
}
.plan-tab {
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--c-text-soft);
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.plan-tab:hover { color: var(--c-navy-deepest); background: rgba(26, 61, 99, .05); }
.plan-tab.active { background: var(--c-navy-deepest); color: var(--c-cream); font-weight: 600; }

.plan-search {
  position: relative;
  margin-bottom: 28px;
}
.plan-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-muted);
  font-size: 13px;
}
.plan-search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 1px solid var(--c-border-strong);
  border-radius: 12px;
  background: var(--c-white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  transition: var(--transition);
  outline: none;
}
.plan-search input:focus {
  border-color: var(--c-navy-deepest);
  box-shadow: 0 0 0 4px rgba(26, 61, 99, .08);
}
.plan-search input::placeholder { color: var(--c-text-muted); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.plan-card {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  border-color: var(--c-navy-deepest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.plan-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.plan-region-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-mid);
  font-size: 17px;
  flex-shrink: 0;
}
.plan-region-tag {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-blue-mid);
  font-weight: 600;
}
.plan-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-navy-deepest);
  line-height: 1.3;
  margin-bottom: 14px;
  min-height: 46px;
}
.plan-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-text-soft);
}
.plan-badge i { color: var(--c-blue-mid); font-size: 10px; }
.plan-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-navy-deepest);
  line-height: 1;
}
.plan-price small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  margin-left: 4px;
}
.plan-buy {
  padding: 10px 18px;
  background: var(--c-navy-deepest);
  color: var(--c-cream);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plan-buy:hover { background: var(--c-navy); transform: translateX(2px); }
.plan-buy i { font-size: 9px; }

.plans-loading, .plans-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--c-text-muted);
}
.plans-loading p, .plans-empty p { margin-top: 16px; font-size: 14px; }
.plans-empty i { font-size: 32px; color: var(--c-border-strong); }

.spinner-ring {
  width: 36px;
  height: 36px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-navy-deepest);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.plans-more { text-align: center; margin-top: 30px; }

/* Stale data warning when CBT API is unreachable */
.plans-stale-note {
  grid-column: 1 / -1;
  background: #fff9e6;
  border: 1px solid #f0d77a;
  border-radius: 8px;
  padding: 12px 16px;
  color: #6b5a1c;
  font-size: 13px;
  margin-bottom: 8px;
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-modal[hidden] { display: none; }

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 50, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: ckFade 240ms ease;
}
@keyframes ckFade { from { opacity: 0; } to { opacity: 1; } }

.checkout-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  background: var(--c-white);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  animation: ckSlide 280ms cubic-bezier(0.34, 1.5, 0.64, 1);
}
@keyframes ckSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-cream);
  color: var(--c-navy-deepest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  z-index: 2;
}
.checkout-close:hover { background: var(--c-navy-deepest); color: var(--c-cream); }

.checkout-body { padding: 36px 36px 30px; }
.checkout-body .eyebrow { margin-bottom: 10px; }
.checkout-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-navy-deepest);
  line-height: 1.3;
  margin-bottom: 20px;
}

.checkout-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-border);
}
.ck-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--c-text-soft);
  font-weight: 500;
}
.ck-pill i { color: var(--c-blue-mid); font-size: 11px; }

.ck-field { margin-bottom: 16px; }
.ck-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-blue-mid);
  margin-bottom: 8px;
}
.ck-field label small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--c-text-muted); }
.ck-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: 8px;
  background: var(--c-white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  transition: var(--transition);
  outline: none;
}
.ck-field input:focus {
  border-color: var(--c-navy-deepest);
  box-shadow: 0 0 0 3px rgba(26, 61, 99, .1);
}
.ck-hint {
  display: block;
  font-size: 11px;
  color: var(--c-text-muted);
  margin-top: 6px;
}

.ck-error {
  background: #fdecea;
  border: 1px solid #f5b7b1;
  border-radius: 8px;
  padding: 10px 14px;
  color: #962d22;
  font-size: 13px;
  margin-bottom: 16px;
}
.ck-error[hidden] { display: none; }

.ck-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.ck-total span {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: 500;
}
.ck-total strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--c-navy-deepest);
}

.btn-full { width: 100%; justify-content: center; padding: 15px 26px; }
.ck-secure {
  font-size: 11px;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ck-secure i { color: var(--c-blue-mid); }

.checkout-submitting .btn-label::after {
  content: '...';
  margin-left: 2px;
}
.checkout-submitting #ckSubmit {
  opacity: 0.7;
  pointer-events: none;
}

/* Lock page scroll when modal is open */
body.modal-open { overflow: hidden; }

/* ============================================================
   SUCCESS PAGE (/esim/success.php and /esim/cancel.php)
   ============================================================ */
.esim-thankyou-page { background: linear-gradient(180deg, var(--c-cream) 0%, #eaf2fa 100%); }

.esim-success {
  min-height: calc(100vh - 200px);
  padding: 60px 0 80px;
  display: flex;
  align-items: center;
}
.success-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--c-white);
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  text-align: center;
}
.success-card .eyebrow { margin-bottom: 14px; }
.success-card h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  color: var(--c-navy-deepest);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.success-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-soft);
  margin-bottom: 16px;
}

.success-spinner {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
}
.success-spinner .spinner-ring {
  width: 92px;
  height: 92px;
  border-width: 4px;
  position: absolute;
  inset: 0;
}
.success-spinner i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--c-navy-deepest);
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-cream);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--c-blue-mid);
}
.success-card-error .success-icon { background: #fdecea; color: #c0392b; }
.success-card-cancel .success-icon { background: #fff5e6; color: #b7741b; }

.success-eyebrow-green { color: #1d8c52 !important; }
.success-eyebrow-green::before { background: #1d8c52 !important; }

.loading-tip {
  font-size: 13px;
  color: var(--c-text-muted);
  background: var(--c-cream);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.loading-tip i { color: var(--c-blue-mid); }

.success-qr {
  display: inline-block;
  padding: 14px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  margin: 18px 0 14px;
  box-shadow: var(--shadow-md);
}
.success-qr img {
  width: 240px;
  height: 240px;
  display: block;
}

.install-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
.install-btn { padding: 14px 24px; }

.install-manual {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
  text-align: left;
}
.install-manual-title {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-blue-mid);
  margin: 0 0 12px 0 !important;
}
.install-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
}
.install-row:last-child { border-bottom: 0; }
.install-row span { color: var(--c-text-muted); font-size: 12px; }
.install-row code {
  background: var(--c-white);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 12px;
  color: var(--c-navy-deepest);
  border: 1px solid var(--c-border);
  word-break: break-all;
}

.install-tips {
  background: var(--c-cream);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 24px 0;
  text-align: left;
}
.install-tips h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-navy-deepest);
  margin-bottom: 12px;
}
.install-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.install-tips li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-text-soft);
}
.install-tips li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--c-blue-mid);
  font-size: 10px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.success-order-meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}
.success-order-meta > div {
  background: var(--c-cream);
  border-radius: 10px;
  padding: 14px 16px;
}
.success-order-meta span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.success-order-meta strong {
  font-size: 14px;
  color: var(--c-navy-deepest);
  font-weight: 500;
  display: block;
  line-height: 1.3;
}

/* Region cards become clickable when they jump to plans */
.region-card[data-jump] { cursor: pointer; }
.region-card[data-jump]:hover { transform: translateY(-2px); }

/* ============================================================
   PLANS / CHECKOUT MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px;
    border-radius: 12px;
  }
  .plan-tabs::-webkit-scrollbar { display: none; }
  .plan-tab { flex-shrink: 0; padding: 8px 14px; font-size: 11px; }
  .checkout-body { padding: 30px 24px 24px; }
  .checkout-body h3 { font-size: 19px; }
  .success-card { padding: 36px 24px; }
  .success-qr img { width: 200px; height: 200px; }
  .success-order-meta { grid-template-columns: 1fr; }
}

/* ============ PLANS TOOLBAR: SEARCH + CURRENCY ============ */
.plans-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.plans-toolbar .plan-search { flex: 1; margin-bottom: 0; }
.cur-select-plans { flex-shrink: 0; }
.cur-select-plans .cur-trigger {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 13px;
  background: var(--c-white);
  border: 1.5px solid var(--c-border-strong);
}
.cur-select-plans .cur-menu { left: auto; right: 0; }
.cur-mark { display: inline-flex; align-items: center; }
.cur-coin { color: var(--c-navy-deepest); font-size: 13px; width: 18px; text-align: center; }
.cur-option .cur-coin { font-size: 15px; width: 22px; }
.cur-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--c-text-muted);
  margin: 0 0 28px;
}
.cur-disclaimer i { color: var(--c-navy-deepest); }
.cur-disclaimer strong { color: var(--c-navy-deepest); font-weight: 600; }
.ck-total-note { margin: 8px 0 0; font-size: 12.5px; color: var(--c-text-muted); text-align: right; }
.ck-total-note strong { color: var(--c-navy-deepest); font-weight: 600; }

@media (max-width: 620px) {
  .plans-toolbar { flex-direction: column; align-items: stretch; }
  .cur-select-plans .cur-trigger { width: 100%; justify-content: center; }
  .cur-select-plans .cur-menu { left: 0; right: 0; }
}
