/* ============================================================
   IP eSIM — Theme v2 "Connectivity Aurora"
   Layers a vivid gradient system onto the existing brand
   (Sora / DM Sans, brand blue #1E90C3, deep navy #06131d).
   Loaded after app.css — overrides + additive utilities only.
   ============================================================ */

:root {
  --brand:        #1E90C3;
  --brand-mid:    #2aaae0;
  --brand-deep:   #0d3f5a;
  --ink:          #06131d;
  --aurora-cyan:  #22d3ee;
  --aurora-blue:  #1E90C3;
  --aurora-violet:#7c3aed;
  --aurora-pink:  #ec4899;
  --sun:          #f59e0b;
  --mint:         #10b981;
  --aurora: linear-gradient(120deg, var(--aurora-cyan) 0%, var(--aurora-blue) 42%, var(--aurora-violet) 100%);
  --aurora-soft: linear-gradient(120deg, rgba(34,211,238,.14), rgba(30,144,195,.14), rgba(124,58,237,.14));
}

/* ── Primary CTA: gradient sweep with glow ─────────────────── */
.btn-primary, .btn-aurora {
  background: var(--aurora) !important;
  background-size: 180% 180% !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(30,144,195,.35), 0 2px 6px rgba(124,58,237,.2) !important;
  transition: background-position .45s ease, transform .2s ease, box-shadow .2s ease !important;
}
.btn-primary:hover, .btn-aurora:hover {
  background-position: 100% 50% !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,144,195,.45), 0 4px 12px rgba(124,58,237,.3) !important;
}

/* ── Gradient headline text (use on hero H1 keywords) ──────── */
.text-aurora {
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Hero: aurora glow orbs behind dark navy ───────────────── */
.hero-bg { position: relative; overflow: hidden; }
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5; pointer-events: none; z-index: 1;
}
.hero-bg::before {
  width: 460px; height: 460px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(34,211,238,.55), transparent 65%);
  animation: auroraDrift 14s ease-in-out infinite alternate;
}
.hero-bg::after {
  width: 380px; height: 380px; bottom: -160px; left: -60px;
  background: radial-gradient(circle, rgba(124,58,237,.5), transparent 65%);
  animation: auroraDrift 18s ease-in-out infinite alternate-reverse;
}
@keyframes auroraDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-40px,30px,0) scale(1.12); }
}

/* ── Cards: livelier hover, gradient hairline on top ───────── */
.card-vivid {
  position: relative; background: #fff; border: 1.5px solid #eef2f7;
  border-radius: 20px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-vivid::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  border-radius: 20px 20px 0 0; background: var(--aurora);
  opacity: 0; transition: opacity .22s ease;
}
.card-vivid:hover {
  transform: translateY(-5px);
  border-color: rgba(30,144,195,.35);
  box-shadow: 0 16px 40px rgba(13,63,90,.14);
}
.card-vivid:hover::before { opacity: 1; }

/* ── Colorful category chips ───────────────────────────────── */
.chip { display:inline-flex; align-items:center; gap:6px; font-family:'DM Sans',sans-serif;
        font-size:11px; font-weight:700; padding:5px 12px; border-radius:20px; }
.chip-cyan   { background:#ecfeff; color:#0e7490; }
.chip-blue   { background:#e8f5fc; color:#155e86; }
.chip-violet { background:#f5f3ff; color:#6d28d9; }
.chip-pink   { background:#fdf2f8; color:#be185d; }
.chip-mint   { background:#ecfdf5; color:#047857; }
.chip-sun    { background:#fffbeb; color:#b45309; }

/* ── Section accents: soft aurora wash for alternating bands ─ */
.band-aurora { background: var(--aurora-soft); }

/* ── Price emphasis ────────────────────────────────────────── */
.price-vivid { font-family:'Sora',sans-serif; font-weight:900;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Nav: gradient underline on active/hover links ─────────── */
nav a { position: relative; }
nav ul a:hover { color: var(--brand) !important; background: #f0f9ff !important; }

/* ── Trust badge row (replaces emoji badges) ───────────────── */
.trust-row { display:flex; flex-wrap:wrap; gap:10px; }
.trust-badge { display:inline-flex; align-items:center; gap:8px; background:#fff;
  border:1.5px solid #eef2f7; border-radius:12px; padding:8px 14px;
  font-family:'DM Sans',sans-serif; font-size:12px; font-weight:600; color:#334155; }
.trust-badge svg { flex-shrink:0; }

/* ── Accessibility: visible focus, reduced motion ──────────── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(34,211,238,.65); outline-offset: 2px; border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Inputs: cleaner, brandable ────────────────────────────── */
.input-v2 { width:100%; font-family:'DM Sans',sans-serif; font-size:14px; color:#0f172a;
  background:#fff; border:1.5px solid #e2e8f0; border-radius:12px; padding:12px 16px;
  transition: border-color .2s, box-shadow .2s; }
.input-v2:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30,144,195,.12); outline: none; }

/* ── Mobile polish ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-bg::before { width: 280px; height: 280px; }
  .hero-bg::after  { width: 240px; height: 240px; }
}
