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

:root {
  --blue-1: #3578F5;
  --blue-2: #0E26B8;
  --blue-dark: #0a1a8a;
  --bg: #ffffff;
  --bg-soft: #f5f7ff;
  --text: #0d1226;
  --text-muted: #5a6380;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
}
.btn-nav {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 60%);
  text-align: center;
}
.hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(53,120,245,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(53,120,245,0.1);
  color: var(--blue-1);
  border: 1px solid rgba(53,120,245,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, #2a3fa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(53,120,245,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(53,120,245,0.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--blue-1); }

.btn-disabled {
  opacity: 0.75;
  cursor: default;
  pointer-events: none;
  box-shadow: none !important;
}

/* HERO PHONES */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  height: 440px;
}
.phone {
  width: 220px;
  height: 420px;
  border-radius: 36px;
  background: white;
  box-shadow: 0 32px 80px rgba(14,38,184,0.18), 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.phone-back {
  transform: rotate(-6deg) translateX(40px) translateY(20px);
  z-index: 1;
  opacity: 0.85;
}
.phone-front {
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  padding: 20px 16px;
}
.screen-header {
  margin-bottom: 16px;
}
.screen-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.screen-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: var(--bg-soft);
  transition: background 0.2s;
}
.screen-item.active {
  background: linear-gradient(135deg, rgba(53,120,245,0.12), rgba(14,38,184,0.08));
  border: 1px solid rgba(53,120,245,0.2);
}
.flag { font-size: 22px; }
.item-info { flex: 1; display: flex; flex-direction: column; }
.item-info strong { font-size: 13px; font-weight: 600; color: var(--text); }
.item-info span { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.item-price { font-size: 14px; font-weight: 700; color: var(--blue-1); }

.screen-esim { background: linear-gradient(160deg, #f0f4ff, #e8eeff); }
.esim-active {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  border-radius: 20px;
  padding: 16px;
  color: white;
  margin-bottom: 12px;
  text-align: center;
}
.esim-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.esim-flag { font-size: 28px; margin-bottom: 4px; }
.esim-country { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.esim-plan { font-size: 12px; opacity: 0.8; margin-bottom: 12px; }
.esim-bar-wrap { text-align: left; }
.esim-bar-label { display: flex; justify-content: space-between; font-size: 11px; opacity: 0.8; margin-bottom: 5px; }
.esim-bar { background: rgba(255,255,255,0.3); border-radius: 50px; height: 6px; }
.esim-bar-fill { height: 6px; border-radius: 50px; background: white; }

.esim-qr {
  background: white;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.qr-label { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.qr-mock { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.qr-row { display: flex; gap: 3px; }
.qr-block { width: 14px; height: 14px; border-radius: 3px; background: #e0e4f0; }
.qr-block.filled { background: var(--blue-2); }

/* PROOF */
.proof {
  padding: 48px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px 24px;
}
.proof-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-1);
  margin-bottom: 4px;
}
.proof-item span {
  font-size: 14px;
  color: var(--text-muted);
}
.divider {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.1);
}
@media (max-width: 640px) { .divider { display: none; } }

/* FEATURES */
.features {
  padding: 100px 0;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-1);
  margin-bottom: 16px;
}
.features h2, .how h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 56px;
  max-width: 480px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(53,120,245,0.1);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HOW IT WORKS */
.how {
  padding: 100px 0;
  background: var(--bg-soft);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  padding: 32px 28px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 24px;
  color: var(--text-muted);
  align-self: center;
  padding-top: 0;
}
@media (max-width: 760px) {
  .step-arrow { display: none; }
  .steps { flex-direction: column; gap: 16px; }
  .step { min-width: unset; }
}
.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-1);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA BANNER */
.cta-banner {
  padding: 100px 0;
}
.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-dark));
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  color: white;
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-card p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 40px;
}
.btn-light {
  background: white !important;
  color: var(--blue-2) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}
.btn-light:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.3) !important;
}

/* FOOTER */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo-footer { color: var(--text); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-1); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-phones { height: 320px; }
  .phone { width: 160px; height: 310px; }
  .cta-card { padding: 48px 24px; }
}
