/* RoamingKu — Paket Roaming & SIM Internasional */
/* Warna primer: #003087 | Aksen: #00a3e0 | BG: #f0f7ff */

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

:root {
  --navy: #003087;
  --cyan: #00a3e0;
  --cyan-light: #33b8e8;
  --bg: #f0f7ff;
  --bg2: #e0f0fb;
  --white: #ffffff;
  --text: #1a2340;
  --text-muted: #5a6a85;
  --border: #c5ddf4;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,48,135,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ===== DEMO BAR ===== */
.demo-bar {
  background: #111827;
  color: #f9fafb;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.demo-bar a { color: #38bdf8; font-weight: 600; }
.demo-bar a:hover { color: #7dd3fc; }

/* ===== NAV ===== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--cyan), #0077c8);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 6px;
}
.nav-links a {
  color: #b8d4f0;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(0,163,224,0.18);
  color: #fff;
}

/* Hamburger checkbox hack */
#nav-toggle { display: none; }
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  background: #00235e;
  padding: 12px 20px 16px;
}
.mobile-menu a {
  display: block;
  color: #b8d4f0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: #fff; }

#nav-toggle:checked ~ .mobile-menu { display: block; }
#nav-toggle:checked ~ .nav-wrap .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle:checked ~ .nav-wrap .nav-burger span:nth-child(2) { opacity: 0; }
#nav-toggle:checked ~ .nav-wrap .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #002070 0%, #003087 45%, #005aad 100%);
  color: #fff;
  padding: 70px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,163,224,0.18) 0%, transparent 70%);
}
.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,163,224,0.22);
  border: 1px solid rgba(0,163,224,0.40);
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero p {
  font-size: 1.05rem;
  color: #b8d4f0;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  background: var(--cyan);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: #0090c8; transform: translateY(-1px); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(0,163,224,0.12); text-decoration: none; }

.hero-visual {
  display: flex;
  justify-content: center;
}
.globe-wrap {
  position: relative;
  width: 260px; height: 260px;
}

/* ===== GLOBE SVG VISUAL ===== */
.globe-ring {
  animation: spin 18s linear infinite;
  transform-origin: center;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pulse-dot {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; r: 5; }
  50% { opacity: 0.5; r: 7; }
}

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

/* ===== SECTIONS ===== */
.section { padding: 56px 20px; }
.section-alt { background: var(--white); }

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

.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.divider {
  width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== PRODUK CARDS ===== */
.grid-3 { display: grid; gap: 22px; }
.grid-4 { display: grid; gap: 20px; }

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

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,48,135,0.15);
  border-color: var(--cyan);
}
.product-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(135deg, #f0faff, #fff);
}
.badge-hot {
  position: absolute;
  top: -1px; right: 16px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-popular {
  position: absolute;
  top: -1px; right: 16px;
  background: var(--cyan);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.card-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}
.card-price span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}
.card-validity {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.btn-card {
  display: block;
  width: 100%;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-card:hover { background: var(--cyan); text-decoration: none; }

/* ===== FEATURES ===== */
.features-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #003087, #00a3e0);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.feature-item h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== COVERAGE STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, #002070, #003087);
  color: #fff;
  padding: 40px 20px;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
}
.stat-label {
  font-size: 0.83rem;
  color: #b8d4f0;
  margin-top: 4px;
}

/* ===== COVERAGE MAP ===== */
.coverage-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .coverage-grid { grid-template-columns: repeat(3, 1fr); } }

.coverage-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.coverage-flag {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.coverage-info h4 { font-size: 0.93rem; font-weight: 700; color: var(--navy); }
.coverage-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== PRODUCT TABLE ===== */
.product-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--border); }
.product-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 620px;
}
.product-table thead tr {
  background: var(--navy);
  color: #fff;
}
.product-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.product-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.product-table tbody tr:hover { background: var(--bg); }
.product-table td {
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text);
}
.product-table td:first-child { font-weight: 600; }
.price-cell { font-weight: 700; color: var(--navy); }
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
}
.tag-esim { background: #e0f7ff; color: #005a9e; }
.tag-sim { background: #fff0e0; color: #a05000; }
.tag-roam { background: #eaf7e0; color: #2d6a00; }

/* ===== CARA ORDER STEPS ===== */
.steps-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  position: relative;
  text-align: center;
}
.step-num {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-item h3 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.95rem;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--cyan); font-weight: 700; }
.faq-a {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CEK TRANSAKSI ===== */
.form-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-box h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cyan);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-full { width: 100%; }

.status-result {
  margin-top: 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
}
.status-result.show { display: block; }
.status-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
}
.status-body { padding: 16px 20px; }
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.status-row:last-child { border-bottom: none; }
.status-key { color: var(--text-muted); }
.status-val { font-weight: 600; color: var(--navy); }
.badge-success {
  background: #d1fae5;
  color: #065f46;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-pending {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ===== KONTAK ===== */
.kontak-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .kontak-grid { grid-template-columns: 1fr 1fr; } }

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg2);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-ico {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
.contact-item p { font-size: 0.93rem; color: var(--text); font-weight: 500; }
.contact-item a { color: var(--navy); font-weight: 600; }

.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  margin-top: 10px;
  text-decoration: none;
  justify-content: center;
  transition: background 0.2s;
}
.wa-btn:hover { background: #1da850; text-decoration: none; }

/* ===== CTA BANNER ===== */
.cta-section {
  background: linear-gradient(135deg, #002070, #003087, #005aad);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-section p {
  color: #b8d4f0;
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
  background: #001650;
  color: #b8d4f0;
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .logo { margin-bottom: 10px; color: #fff; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 { color: #fff; font-size: 0.92rem; font-weight: 700; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: #7fa8c8; text-decoration: none; }
.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #5a7aa0;
}
.footer-bottom a { color: #5a9ac0; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #002070, #003087);
  color: #fff;
  padding: 44px 20px 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: #b8d4f0; font-size: 0.97rem; max-width: 500px; margin: 0 auto; }

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.filter-tab.active, .filter-tab:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  text-decoration: none;
}

/* ===== ALERT BOX ===== */
.alert-info {
  background: #e0f0fb;
  border: 1px solid #b0d8f0;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #003087;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
