/* ─────────────────────────────────────────────
   merdata.no — Clean Nordic Design
   Minimal · Calm · Readable
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ══════════════════════════════════════════
   DESIGN TOKENS — Calm Nordic Palette
══════════════════════════════════════════ */
:root {
  /* Colors — Calm & Muted */
  --bg-deep:    #0b0f19;
  --bg-dark:    #0f1523;
  --bg-card:    rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --glass:      rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);

  --blue:       #4a90d9;
  --blue-mid:   #6ba3e0;
  --blue-light: #8bb8e8;
  --teal:       #4a90d9;  /* same as blue — single accent */
  --cyan:       #5a9bd6;
  --green:      #5cad7a;
  --orange:     #d4915e;
  --aurora:     #5cad7a;

  --text-primary: #e2e8f0;
  --text-secondary: #8494a7;
  --text-muted:   #525f72;

  --grad-hero:  linear-gradient(180deg, #0b0f19 0%, #0f1523 100%);
  --grad-card:  linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  --grad-accent: linear-gradient(135deg, #4a90d9 0%, #5a9bd6 100%);
  --grad-cta:   linear-gradient(135deg, #4a90d9 0%, #5a9bd6 100%);

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows — subtler */
  --shadow-card: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 20px rgba(74,144,217,0.08);
  --shadow-btn:  0 2px 12px rgba(74,144,217,0.2);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-mid:  0.25s ease;
  --t-slow: 0.4s ease;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.section {
  padding: var(--sp-xl) var(--sp-md);
  max-width: 1200px;
  margin: 0 auto;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.center { text-align: center; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11,15,25,0.9);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: -0.03em;
}
.logo-mer  { color: var(--text-primary); }
.logo-data { color: var(--text-primary); font-weight: 800; }
.logo-no   { color: var(--blue-light); }

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--glass);
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  padding: 0.3rem 0.6rem;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 25% 35%, rgba(74,144,217,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 75% 55%, rgba(92,173,122,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(74,144,217,0.05) 0%, transparent 70%);
  animation: meshDrift 12s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { opacity: 0.85; transform: scale(1) translateX(0); }
  50%  { opacity: 1; transform: scale(1.02) translateX(-1%); }
  100% { opacity: 0.9; transform: scale(1.01) translateX(1%); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.highlight {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  font-weight: 400;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Hero popular flags strip */
.hero-flags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hero-flags-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}

.hero-flag {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--t-fast);
  cursor: pointer;
  filter: grayscale(0.2);
}
.hero-flag:hover {
  transform: scale(1.2) translateY(-2px);
  filter: grayscale(0);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--t-mid);
  white-space: nowrap;
}

.cta-button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.cta-button.primary:hover {
  transform: translateY(-1px);
  background: var(--blue-mid);
  box-shadow: 0 4px 20px rgba(74,144,217,0.3);
}

.cta-button.secondary {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
.cta-button.secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  max-width: 280px;
  width: 100%;
  box-shadow: var(--shadow-card), 0 0 40px rgba(74,144,217,0.08);
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.phone-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.phone-icon { font-size: 2rem; }

.phone-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.phone-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.phone-usage {
  padding-top: 0.75rem;
}
.phone-usage-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.phone-usage-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #7ccf96);
  border-radius: 3px;
}
.phone-usage-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.phone-signal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.signal-bars { display: flex; gap: 4px; align-items: flex-end; }
.signal-dot {
  width: 4px;
  border-radius: 2px;
  background: var(--text-muted);
}
.signal-dot:nth-child(1) { height: 8px; }
.signal-dot:nth-child(2) { height: 12px; }
.signal-dot:nth-child(3) { height: 16px; }
.signal-dot:nth-child(4) { height: 20px; }
.signal-dot.green { background: var(--green); }

.signal-text { font-size: 0.8rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════ */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(74,144,217,0.03) 0%, rgba(255,255,255,0.02) 100%);
  padding: 1.1rem 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(74,144,217,0.12);
  color: var(--blue-light);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(74,144,217,0.08);
}

.trust-icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.trust-text strong { font-weight: 600; font-size: 0.9rem; }
.trust-sub { font-size: 0.75rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   DESTINATION PICKER
══════════════════════════════════════════ */
.destinations {
  padding: var(--sp-xl) var(--sp-md);
  max-width: 1240px;
  margin: 0 auto;
}

.destinations h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

.dest-title-accent {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dest-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

.dest-search-wrap {
  margin: 1.5rem auto;
  max-width: 560px;
  position: relative;
}

.dest-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}
.dest-search-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dest-search {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 2.75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: border var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  backdrop-filter: blur(16px);
}
.dest-search:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  background: rgba(255,255,255,0.07);
}
.dest-search::placeholder { color: var(--text-muted); }

/* Search autocomplete dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  max-height: 360px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  display: none;
}
.search-dropdown.active { display: block; }

.search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--t-fast);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover, .search-item.highlighted {
  background: rgba(59,130,246,0.12);
}
.search-item-flag { font-size: 1.3rem; }
.search-item-name { font-weight: 500; }
.search-item-price {
  margin-left: auto;
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 600;
}
.search-no-results {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

/* Tabs — pill-bar */
.dest-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
  padding: 0.35rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-pill);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,0.05);
}

.tab-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.tab-btn:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
}
.tab-btn.active {
  background: rgba(74,144,217,0.15);
  color: var(--blue-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Country grid */
.dest-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeInUp 0.3s ease;
}
.dest-grid.active { display: grid; }

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

/* Section header — centered with subtitle */
.dest-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ── Country Card — Full-bleed flag ── */
.dest-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  border: 1px solid rgba(255,255,255,0.08);
}
.dest-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(74,144,217,0.25);
}

/* Flag as background */
.dest-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid);
}
.dest-card:hover .dest-card-bg {
  transform: scale(1.08);
}

/* Dark overlay gradient */
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 1;
  transition: background var(--t-mid);
}
.dest-card:hover .dest-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

/* Info layer — bottom positioned */
.dest-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.9rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Region icon (emoji fallback for region cards) */
.dest-region-icon {
  font-size: 2.2rem;
  line-height: 1;
}

/* Name */
.dest-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Price text */
.dest-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Regions grid */
.regions-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.region-card { text-align: center; }

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.how-it-works {
  background: linear-gradient(180deg, transparent, rgba(74,144,217,0.04), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: steps;
}

.step-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-cta);
}

.step-icon { margin-bottom: 0.75rem; display: block; }
.step-icon .icon { display: inline-flex; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--grad-cta);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.step-title { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-desc  { font-size: 0.88rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════
   COMPARISON TABLE (used on other pages)
══════════════════════════════════════════ */
.comparison { background: var(--bg-dark); }

.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead {
  background: rgba(74,144,217,0.12);
}

th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

tr:hover td { background: rgba(255,255,255,0.02); }

.our-col { text-align: center; }
.our-price { color: var(--green) !important; font-weight: 700; }

/* ══════════════════════════════════════════
   SCENARIOS — Pain point cards
══════════════════════════════════════════ */
.scenarios {
  background: linear-gradient(180deg, transparent, rgba(74,144,217,0.03), transparent);
}
.scenarios h2 { text-align: center; }
.scenarios .section-sub { text-align: center; }

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.scenario-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.scenario-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  opacity: 0.6;
}

/* Last card (solution) gets green accent */
.scenario-card.scenario-unlock::after {
  background: var(--green);
  opacity: 0.8;
}

.scenario-icon { margin-bottom: 0.75rem; display: block; }
.scenario-icon .icon { display: inline-flex; }

.scenario-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.scenario-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pain cards: warm accent */
.scenario-fire .scenario-icon .icon,
.scenario-puzzle .scenario-icon .icon,
.scenario-app .scenario-icon .icon {
  color: var(--orange);
}

/* Solution card: green accent */
.scenario-unlock .scenario-icon .icon {
  color: var(--green);
}

/* ══════════════════════════════════════════
   WHY MERDATA — USP cards
══════════════════════════════════════════ */
.why-merdata {
  background: var(--bg-dark);
}
.why-merdata h2 { text-align: center; }
.why-merdata .section-sub { text-align: center; }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.usp-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.usp-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-cta);
}

.usp-icon {
  margin-bottom: 1rem;
  display: block;
}
.usp-icon .icon { display: inline-flex; }

.usp-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.usp-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   COMPACT HERO (landing page redesign)
══════════════════════════════════════════ */
.hero.hero-compact {
  min-height: 50vh;
}
.hero.hero-compact .hero-inner {
  padding: 1.5rem 1.5rem 2rem;
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--blue-light);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  animation: pulseDown 2s ease-in-out infinite;
  transition: opacity var(--t-fast);
}
.hero-scroll-hint:hover { opacity: 1; }

@keyframes pulseDown {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ══════════════════════════════════════════
   DESTINATION CONTROLS (search wrapper)
══════════════════════════════════════════ */
.dest-controls {
  display: flex;
  justify-content: center;
  margin: 1.5rem auto;
  max-width: 560px;
}
.dest-controls .dest-search-wrap {
  flex: 1;
  margin: 0;
}

/* ══════════════════════════════════════════
   VALUE PROPOSITION — Combined section
══════════════════════════════════════════ */
.value-prop {
  background: linear-gradient(180deg, transparent, rgba(74,144,217,0.03), transparent);
}
.value-prop h2 { text-align: center; }

.vp-block {
  margin-bottom: 3rem;
}

.vp-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Steps row — 4 compact horizontal steps */
.vp-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.vp-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.vp-step-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--grad-cta);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

.vp-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 0.75rem;
}
.vp-step-icon svg {
  width: 36px; height: 36px;
  stroke: var(--cyan); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.vp-step-title {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.vp-step-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Two-column layout: Scenarios + USPs */
.vp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
}

.vp-col {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.vp-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.vp-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.vp-item .icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.vp-item strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.15rem;
}

.vp-item-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Icon size helpers */
.icon.icon-sm {
  width: 1.1rem;
  height: 1.1rem;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-section { background: transparent; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.faq-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.faq-a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA below FAQ */
.faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 2rem 0;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.cta-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--grad-cta);
  border-radius: var(--r-pill);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
  transition: all var(--t-mid);
  cursor: pointer;
  border: none;
}
.cta-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,144,217,0.5);
}
.cta-chat-btn .icon {
  width: 1.1rem; height: 1.1rem;
}
.icon-white svg {
  stroke: #fff;
  fill: none;
}

/* Troubleshooting accordion */
.troubleshoot {
  margin-top: 2.5rem;
}
.troubleshoot h2 {
  margin-bottom: 1rem;
}
.troubleshoot details {
  margin-bottom: 0.5rem;
}
.troubleshoot details summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--t-fast);
}
.troubleshoot details summary::marker { display: none; }
.troubleshoot details summary::-webkit-details-marker { display: none; }
.troubleshoot details summary::after { content: '＋'; color: var(--blue-light); font-size: 1.1rem; }
.troubleshoot details[open] summary::after { content: '－'; }
.troubleshoot details summary:hover { background: rgba(148,210,230,0.05); }
.troubleshoot details p {
  padding: 0 1.25rem 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Payment icon badges */
.pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.5rem;
  color: var(--text-secondary);
  opacity: 0.7;
}
.pay-icon svg { display: block; }

/* ══════════════════════════════════════════
   PACKAGES PAGE
══════════════════════════════════════════ */
.packages-page {}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: all var(--t-fast);
}
.back-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }

.country-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.country-flag-large { font-size: 3.5rem; }
.country-title-text h1 { margin: 0; }
.pkg-count { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

.pkg-section-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.pkg-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Card = clickable link */
.pkg-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.pkg-card:hover {
  border-color: rgba(74,144,217,0.25);
  background: var(--bg-card-hover);
}

.pkg-card-inner {
  padding: 0.85rem 1rem;
}

/* Row 1: main info + price */
.pkg-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pkg-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
}

.pkg-data {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.pkg-sep {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pkg-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Speed badges */
.badge-5g {
  background: rgba(92,173,122,0.15);
  color: #7dbd96;
}
.badge-4g {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

/* Top-up / reloadable badge */
.badge-topup {
  background: rgba(99,164,255,0.10);
  color: #63a4ff;
}

.pkg-right {
  flex-shrink: 0;
}

.pkg-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Row 2: badges + value */
.pkg-row-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.pkg-badges {
  display: flex;
  gap: 0.3rem;
}

.pkg-value {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   CHECKOUT
══════════════════════════════════════════ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.checkout-summary, .checkout-payment {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2rem;
}

.checkout-summary h2, .checkout-payment h2 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.checkout-pkg-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.checkout-flag { font-size: 2.5rem; }
.checkout-pkg-info h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.checkout-pkg-info p  { font-size: 0.82rem; color: var(--text-secondary); }

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--glass-border);
}
.checkout-total-label { color: var(--text-secondary); font-size: 0.9rem; }
.checkout-total-price { font-size: 1.6rem; font-weight: 700; color: var(--blue-light); }

/* Payment buttons — equal-weight grid */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 0.75rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--t-mid);
  cursor: pointer;
}

.pay-equal {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
.pay-equal:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.vipps-accent {
  border-color: rgba(255,91,36,0.3);
  background: rgba(255,91,36,0.06);
}
.vipps-accent:hover {
  border-color: rgba(255,91,36,0.5);
  background: rgba(255,91,36,0.12);
  transform: translateY(-2px);
}

.pay-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.pay-label { font-size: 0.82rem; }
.pay-hint  { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; }

.pay-trust {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ══════════════════════════════════════════
   ORDER STATUS / SPINNER
══════════════════════════════════════════ */
.order-status { text-align: center; padding: var(--sp-xl) var(--sp-md); }

.spinner {
  width: 60px; height: 60px;
  border: 4px solid var(--glass-border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.status-desc { color: var(--text-secondary); margin: 0.75rem 0; }
.status-hint { font-size: 0.85rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   RECEIPT
══════════════════════════════════════════ */
/* ── Receipt Page ── */
.receipt { text-align: center; }

/* Unified receipt card */
/* ── Receipt navigation ── */
.receipt .back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.receipt .back-link:hover { color: var(--accent); }

/* ── Activated QR state ── */
.qr-activated {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  min-height: 200px;
}

/* ── Top-up section ── */
.topup-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
}
.topup-section h3 { margin-bottom: 0.5rem; }
.topup-text { margin-bottom: 0.75rem; color: var(--text-muted); font-size: 0.9rem; }

.receipt-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  text-align: left;
}

/* Header strip */
.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(74,144,217,0.04);
  border-bottom: 1px solid var(--glass-border);
  gap: 1rem;
}
.receipt-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.receipt-title-text { min-width: 0; }
.receipt-title { font-size: 1.25rem; margin: 0; font-weight: 700; }
.receipt-desc { color: var(--blue-light); font-size: 0.95rem; font-weight: 600; margin: 0.15rem 0 0; }
.receipt-check { font-size: 4rem; display: block; margin-bottom: 0.75rem; animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.receipt-validity-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  padding: 0.5rem 1.5rem;
  font-style: italic;
  opacity: 0.8;
  background: rgba(251,191,36,0.04);
  border-bottom: 1px solid var(--glass-border);
}
.receipt-validity-note.time-remaining {
  background: rgba(16,185,129,0.06);
  color: #34d399;
  font-style: normal;
  font-weight: 600;
  opacity: 1;
}

/* eSIM Status Badge */
.esim-status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-ready { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-active { background: rgba(16,185,129,0.15); color: #34d399; }
.status-completed { background: rgba(148,163,184,0.15); color: #94a3b8; }
.status-used { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-expired { background: rgba(239,68,68,0.15); color: #f87171; }

/* Dashboard 2-col grid */
.receipt-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 1.5rem;
}
.dash-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.dash-left {
  align-items: center;
  padding-right: 1.5rem;
  border-right: 1px solid var(--glass-border);
}
.dash-right {
  justify-content: flex-start;
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .receipt-dashboard {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .dash-left {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .dash-right {
    padding-left: 0;
  }
  .receipt-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }
}

/* ── QR Hero ── */
.qr-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
}
.qr-glow {
  display: inline-block;
  padding: 0.75rem;
  border-radius: var(--r-md);
  background: rgba(74,144,217,0.06);
  box-shadow: 0 0 40px rgba(74,144,217,0.12), 0 0 80px rgba(74,144,217,0.05);
  animation: qr-pulse 3s ease-in-out infinite;
}
@keyframes qr-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(74,144,217,0.12), 0 0 80px rgba(74,144,217,0.05); }
  50% { box-shadow: 0 0 50px rgba(74,144,217,0.18), 0 0 100px rgba(74,144,217,0.08); }
}
.qr-code {
  width: 200px; height: 200px;
  border-radius: var(--r-lg);
  border: 3px solid var(--blue);
  padding: 8px;
  background: #fff;
  display: block;
}
.qr-hint { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.75rem; }
.qr-sub-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.ios-direct-btn { margin-top: 1rem; display: none; }
.ios-direct-btn.show { display: inline-flex; }
.ios-direct-hint { display: none; }
.ios-direct-hint.show { display: block; }
.qr-fallback { padding: 2rem; }
.qr-fallback-title { font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.qr-fallback-msg { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Android Install Section ── */
.android-install-section { display: none; text-align: left; }
.android-install-title { font-size: 1.1rem; margin-bottom: 0.25rem; }
.android-install-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }
.android-codes { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem;
  padding: 1rem; background: rgba(255,255,255,0.04); border-radius: var(--r-md); border: 1px solid rgba(255,255,255,0.06); }
.android-codes .code-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.25rem; display: block; }
.android-codes .code-value { font-size: 0.82rem; word-break: break-all; }
.android-codes .copy-btn { font-size: 0.75rem; padding: 0.25rem 0.75rem; }
.android-qr-toggle { margin-top: 1rem; }
.android-qr-toggle summary { font-size: 0.85rem; color: var(--blue-light); cursor: pointer; }
.qr-code-sm { width: 140px; height: 140px; border-radius: var(--r-md); border: 2px solid var(--blue); padding: 6px; background: #fff; display: block; margin-top: 0.5rem; }
.qr-fallback-wrap { text-align: center; padding: 0.5rem 0; }

/* ── Time Remaining Hero ── */
.time-remaining-hero {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; background: linear-gradient(135deg, rgba(52,211,153,0.12), rgba(96,165,250,0.12));
  border-radius: var(--r-lg); margin-bottom: 1rem;
  border: 1px solid rgba(52,211,153,0.2);
}
.time-icon { font-size: 1.5rem; }
.time-value { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); }

/* ── Top Up / Buy More ── */
.topup-section { margin-top: 1.25rem; }
.btn-topup { width: 100%; text-align: center; padding: 0.75rem 1.5rem; font-size: 0.95rem; }
.topup-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; text-align: center; }

/* ── Active Dashboard ── */
.active-dash { display: flex; flex-direction: column; gap: 0.5rem; }

/* ── Finished State ── */
.finished-section { text-align: center; padding: 1.5rem 0; }
.finished-msg { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1rem; }

/* ── Collapsed Install Help ── */
.install-help-collapsed { margin-top: 0; }
.install-help-summary { font-size: 0.9rem; font-weight: 600; color: var(--blue-light); cursor: pointer; padding: 0.75rem 0; }
.install-help-collapsed .receipt-instructions { margin-top: 0.5rem; }

/* ── Data Usage Bar ── */
.usage-section { text-align: left; }
.usage-section h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.usage-bar {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.usage-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #60a5fa);
  border-radius: 5px;
  transition: width 0.6s ease;
}
.usage-text { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.usage-remaining { font-size: 0.9rem; font-weight: 600; color: var(--blue-light); margin: 0.2rem 0 0; }

/* ── Order Details ── */
.receipt-details-section { text-align: left; }
.receipt-details-section h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.order-details { display: flex; flex-direction: column; gap: 0.4rem; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.detail-label { font-size: 0.82rem; color: var(--text-muted); }
.detail-value { font-size: 0.85rem; font-weight: 500; }
.order-id { font-family: monospace; font-size: 0.78rem; background: var(--glass); padding: 2px 8px; border-radius: 4px; }

/* ── BSV receipt ── */
.receipt-bsv {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-md);
  text-align: left;
  margin-top: 0.5rem;
}
.receipt-bsv-info { flex: 1; }
.receipt-bsv-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.receipt-bsv-link { color: var(--blue-light); font-size: 0.85rem; font-weight: 500; word-break: break-all; }

/* ── Tekniske detaljer (collapsed) ── */
.tech-details-content {
  padding: 0 1.5rem;
  border-top: 1px solid var(--glass-border);
}
.tech-details-summary {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
  list-style: none;
}
.tech-details-summary::-webkit-details-marker { display: none; }
.tech-details-summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.2s;
}
details[open] > .tech-details-summary::before { transform: rotate(90deg); }
.tech-details-summary:hover { color: var(--blue-light); }

.codes-grid { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.75rem 0; }
.code-item {}
.code-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.code-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.6rem;
}
.code-value {
  flex: 1;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  color: var(--blue-light);
  word-break: break-all;
  background: none;
}
.code-lpa { font-size: 0.72rem; }
.copy-btn {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  background: rgba(74,144,217,0.15);
  color: var(--blue-light);
  border: 1px solid rgba(74,144,217,0.25);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-fast);
}
.copy-btn:hover { background: rgba(74,144,217,0.25); }
.copy-btn.copied { background: rgba(92,173,122,0.2); color: var(--green); border-color: rgba(92,173,122,0.3); }

/* ── Divider ── */
.receipt-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 0 1.5rem;
}

/* ── Install guides (inside card) ── */
.receipt-instructions {
  padding: 1.5rem;
  text-align: left;
}
.receipt-instructions h3 { margin-bottom: 1rem; }

/* Platform Guides */
.platform-guide { display: none; }
.platform-guide:first-child { display: block; }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.75rem; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-alt { background: rgba(139,92,246,0.15); color: #a78bfa; font-size: 0.65rem; }
.step-text { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; padding-top: 2px; }
.step-text strong { color: var(--text-primary); }

/* Platform Tip */
.platform-tip {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(251,191,36,0.06);
  border-radius: var(--r-sm);
  border-left: 3px solid rgba(251,191,36,0.3);
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.platform-tab {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.platform-tab:hover { border-color: var(--blue-light); color: var(--blue-light); }
.platform-tab.active {
  background: rgba(59,130,246,0.15);
  border-color: #60a5fa;
  color: #60a5fa;
}

/* ══════════════════════════════════════════
   DEVICES PAGE
══════════════════════════════════════════ */
.devices-page {}

.device-checker {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.device-search-wrap { position: relative; }

.device-search-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: border var(--t-fast);
}
.device-search-input:focus { border-color: var(--blue-mid); }

.device-search-result {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 1.5rem;
}

.device-brand-section { margin: 2.5rem 0; }

.device-brand {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--blue-light);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}

.device-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--glass);
  border-radius: var(--r-sm);
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.device-item:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.device-check { color: var(--green); font-size: 0.85rem; }

.device-fallback {
  background: rgba(74,144,217,0.1);
  border: 1px solid rgba(74,144,217,0.3);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-top: 2rem;
}
.device-fallback h3 { margin-bottom: 0.6rem; }
.device-fallback p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }

/* ══════════════════════════════════════════
   CONFIG GUIDE
══════════════════════════════════════════ */
.config-page {}

.os-selector {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.os-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--t-fast);
}
.os-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.os-btn.active {
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
}

.os-guide { display: none; }
.os-guide.active { display: block; animation: fadeInUp 0.25s ease; }

.os-guide h2 { margin-bottom: 1.25rem; }

.step-detail-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.step-detail-item[open] { border-color: rgba(74,144,217,0.4); }

.step-summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  list-style: none;
}
.step-summary:hover { background: rgba(255,255,255,0.03); }

.step-num-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--grad-cta);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.step-title-sm { font-size: 0.95rem; }

.step-detail {
  padding: 0 1.25rem 1rem 3.8rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.guide-tips {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.guide-tips h3 { color: var(--green); margin-bottom: 0.5rem; font-size: 0.95rem; }
.guide-tips p  { font-size: 0.87rem; color: var(--text-secondary); }

.troubleshoot { margin-top: 2.5rem; }
.troubleshoot h2 { margin-bottom: 1rem; }

/* ══════════════════════════════════════════
   AI CHAT WIDGET
══════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
}

.chat-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--grad-cta);
  border-radius: var(--r-pill);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-btn);
  transition: all var(--t-mid);
}
.chat-toggle-btn .icon svg {
  stroke: #fff !important;
  fill: none !important;
}
.chat-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,144,217,0.5);
}
.chat-icon  { font-size: 1.2rem; }
.chat-label { font-size: 0.9rem; }

.chat-panel {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  width: 360px;
  max-height: 520px;
  background: rgba(13,13,26,0.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl) var(--r-xl) var(--r-sm) var(--r-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: all var(--t-mid);
  transform-origin: bottom right;
}
.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(74,144,217,0.12);
}

.chat-agent { display: flex; align-items: center; gap: 0.75rem; }
.chat-avatar { font-size: 1.75rem; }
.chat-agent-name { font-weight: 600; font-size: 0.9rem; }
.chat-agent-status { font-size: 0.72rem; color: var(--green); }

.chat-close-btn {
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  transition: all var(--t-fast);
}
.chat-close-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chat-message-wrap { display: flex; flex-direction: column; gap: 0.75rem; }

.chat-bubble {
  max-width: 88%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-bubble.assistant {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text-primary);
}
.chat-bubble.user {
  background: var(--grad-cta);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-quick { padding: 0.5rem 1rem; border-top: 1px solid var(--glass-border); }
.chat-quick-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chat-quick-btn {
  padding: 0.35rem 0.8rem;
  background: rgba(74,144,217,0.15);
  border: 1px solid rgba(74,144,217,0.3);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  color: var(--blue-light);
  transition: all var(--t-fast);
}
.chat-quick-btn:hover { background: rgba(74,144,217,0.3); }

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--glass-border);
}

.chat-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
}
.chat-input:focus { border-color: var(--blue-mid); }

.chat-send-btn {
  width: 36px; height: 36px;
  background: var(--grad-cta);
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.chat-send-btn:hover { transform: scale(1.1); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-dark);
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-brand .footer-logo { font-size: 1.2rem; display: inline-flex; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; max-width: 280px; line-height: 1.5; }

.payment-icons { display: flex; gap: 0.5rem; margin-top: 1rem; font-size: 1.3rem; }

.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer-col a  { display: block; font-size: 0.87rem; color: var(--text-secondary); padding: 0.25rem 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--text-primary); }

.footer-copy { text-align: center; font-size: 0.78rem; color: var(--text-muted); max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }

/* ══════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════ */
.legal-page { max-width: 760px; }

.legal-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; color: var(--blue-light); }
.legal-page p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.legal-list {
  padding-left: 0.5rem;
  margin: 0.5rem 0 1.5rem;
}
.legal-list p {
  margin: 0.3rem 0;
  font-size: 0.85rem;
}
/* ══════════════════════════════════════════
   ERROR PAGE
══════════════════════════════════════════ */
.error-page { text-align: center; padding: var(--sp-xl) var(--sp-md); }
.error-icon { font-size: 4rem; display: block; margin-bottom: 1rem; }
.error-message { color: var(--text-secondary); margin: 1rem 0 2rem; }

/* Coverage info */
.coverage-info {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
}
.coverage-info h3 { margin-bottom: 0.5rem; font-size: 0.95rem; }
.coverage-list { font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; }

/* ══════════════════════════════════════════
   CHECKOUT EMAIL
══════════════════════════════════════════ */
.checkout-email {
  margin-bottom: 1.25rem;
}
.checkout-email-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border var(--t-fast);
}
.checkout-email-input:focus {
  border-color: var(--blue-mid);
}
.checkout-email-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════════
   MINE ESIM PAGES
══════════════════════════════════════════ */
.myesim-page {
  max-width: 640px;
  margin: 0 auto;
}
.myesim-page.center { text-align: center; }

.myesim-header {
  margin-bottom: 2rem;
}
.myesim-header .icon-xl {
  display: block;
  margin: 0 auto 1rem;
}
.myesim-header h1 { margin-bottom: 0.5rem; }

.myesim-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
}
.error-text { color: #f87171; font-size: 0.9rem; }

/* Email form */
.myesim-input-wrap { margin-bottom: 1rem; }
.myesim-email-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: border var(--t-fast);
  text-align: center;
}
.myesim-email-input:focus { border-color: var(--blue-mid); }

.myesim-submit {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.myesim-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Confirmation page */
.myesim-masked-email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-top: 0.5rem;
}
.myesim-info { margin: 1.5rem 0; }

/* Order list */
.myesim-orders {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.myesim-order-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  transition: border-color var(--t-fast);
}
.myesim-order-card:hover { border-color: rgba(74,144,217,0.25); }

.myesim-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.myesim-order-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.myesim-flag { font-size: 1.75rem; }

.myesim-order-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.myesim-order-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Status badges */
.myesim-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.status-active  { background: rgba(16,185,129,0.15); color: var(--green); }
.status-expired { background: rgba(148,163,184,0.12); color: var(--text-muted); }
.status-pending { background: rgba(74,144,217,0.15); color: var(--blue-light); }
.status-failed  { background: rgba(239,68,68,0.12); color: #f87171; }
.status-ready   { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-used    { background: rgba(239,68,68,0.12); color: #f87171; }

/* Data usage bar */
.myesim-usage { margin-top: 0.75rem; }
.usage-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.usage-bar-fill {
  height: 100%;
  background: var(--grad-cta);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.myesim-usage-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
}
.usage-text-sm { font-size: 0.75rem; color: var(--text-muted); }
.usage-remaining-sm { font-size: 0.75rem; color: var(--green); font-weight: 500; }

/* Dates, time remaining, detail link */
.myesim-dates {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.myesim-date { font-size: 0.78rem; color: var(--text-secondary); }
.myesim-time-remaining {
  font-size: 0.82rem;
  color: var(--blue-light);
  margin-top: 0.5rem;
  font-weight: 500;
}
.myesim-validity-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.4rem;
}
.myesim-detail-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--blue-light);
  font-weight: 500;
  transition: color var(--t-fast);
}
.myesim-detail-link:hover { color: #93c5fd; }
.myesim-expiry-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* QR toggle */
.myesim-qr-section {
  margin-top: 1rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.75rem;
}
.myesim-qr-toggle {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-light);
  list-style: none;
  padding: 0.25rem 0;
}
.myesim-qr-toggle::-webkit-details-marker { display: none; }
.myesim-qr-toggle::marker { display: none; }

.myesim-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
.myesim-qr-img {
  width: 200px;
  height: 200px;
  border-radius: var(--r-md);
  border: 2px solid var(--blue);
  padding: 6px;
  background: #fff;
}

/* BSV receipt link */
.myesim-bsv {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: var(--r-md);
  background: rgba(45,212,191,0.05);
}
.myesim-bsv-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.myesim-bsv-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal, #2dd4bf);
}
.myesim-bsv-info { display: flex; flex-direction: column; gap: 0.15rem; }
.myesim-bsv-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.myesim-bsv-link:hover { color: var(--blue-light); }
.myesim-bsv-addr {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
}
.myesim-bsv-note {
  font-size: 0.7rem;
  color: var(--teal, #2dd4bf);
  margin-top: 0.1rem;
}
.icon-teal { color: var(--teal, #2dd4bf); }
.icon-white { color: #fff; }

/* Empty state */
.myesim-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.myesim-empty-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-ctas   { justify-content: center; }
  .subtitle    { margin: 1rem auto 0; }

  .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links    { display: none; }
  .nav-toggle   { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgb(8,8,16); border-bottom: 1px solid var(--glass-border); padding: 1rem; z-index: 50; }

  .dest-grid    { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .pkg-grid     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .trust-bar    { flex-direction: column; gap: 0.5rem; align-items: flex-start; padding: 1rem; }
  .chat-panel   { width: calc(100vw - 3rem); right: -0.5rem; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .steps-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}


/* ─────────────────────────────────────────────
   GUIDE PAGES
   ───────────────────────────────────────────── */

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

.guide-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.guide-intro {
  font-size: 1.15rem;
  color: var(--text-secondary, #aaa);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.guide-section {
  margin-bottom: 2.5rem;
}

.guide-section-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary, #fff);
}

.guide-section p {
  line-height: 1.8;
  color: var(--text-secondary, #ccc);
  margin-bottom: 0.8rem;
}

.guide-section strong {
  color: var(--text-primary, #fff);
  font-weight: 600;
}

.guide-section a {
  color: var(--brand-primary, #3b82f6);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-section a:hover {
  color: var(--brand-light, #60a5fa);
}

.guide-section ul, .guide-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.guide-section li {
  line-height: 1.7;
  color: var(--text-secondary, #ccc);
  margin-bottom: 0.4rem;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.guide-table th, .guide-table td {
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.guide-table th {
  color: var(--text-primary, #fff);
  font-weight: 600;
  background: rgba(255,255,255,0.03);
}

.guide-table td {
  color: var(--text-secondary, #ccc);
}

/* Guide FAQ */
.guide-faq {
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.guide-faq-item {
  margin-bottom: 0.5rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
}

.guide-faq-item summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary, #fff);
  list-style: none;
}

.guide-faq-item summary::-webkit-details-marker { display: none; }

.guide-faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.2rem;
  margin-right: 0.5rem;
  font-weight: 600;
  color: var(--brand-primary, #3b82f6);
}

.guide-faq-item[open] summary::before { content: "−"; }

.guide-faq-item p {
  padding: 0 1.2rem 1rem;
  color: var(--text-secondary, #ccc);
  line-height: 1.7;
}

/* Guide CTA */
.guide-cta {
  margin: 2rem 0;
  text-align: center;
}

/* Related guides */
.guide-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.guide-card {
  display: block;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.guide-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--brand-primary, #3b82f6);
  transform: translateY(-2px);
}

.guide-card-title {
  color: var(--text-primary, #fff);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Guide Index */
.guide-index {
  max-width: 900px;
  margin: 0 auto;
}

.guide-idx-heading {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.guide-idx-sub {
  color: var(--text-secondary, #aaa);
  margin-bottom: 2rem;
}

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

.guide-idx-card {
  display: block;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.guide-idx-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--brand-primary, #3b82f6);
  transform: translateY(-2px);
}

.guide-idx-title {
  color: var(--text-primary, #fff);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.guide-idx-desc {
  color: var(--text-secondary, #999);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .guide-title { font-size: 1.6rem; }
  .guide-table { font-size: 0.85rem; }
  .guide-table th, .guide-table td { padding: 0.4rem 0.6rem; }
  .guide-idx-grid { grid-template-columns: 1fr; }
  .guide-related-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Value proposition + compact hero
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .vp-steps-row { grid-template-columns: repeat(2, 1fr); }
  .vp-columns { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .vp-steps-row { grid-template-columns: 1fr; }
  .dest-controls { flex-direction: column; align-items: stretch; }
  .sort-controls { justify-content: center; }
  .hero.hero-compact { min-height: 40vh; }
  .hero.hero-compact .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero.hero-compact .hero-visual { display: none; }
}
