/* ============================================================
   DSL TELECOM - Telkom Prepaid Fibre Landing Page
   Brand system: Barlow headings · Inter body · Telkom palette
   (blue #0099ff, navy #005288/#003f6a, lime #91e200 as on
   telkom.co.za; magenta #ec008b accent as on uncappedlte.co.za)
   ============================================================ */
:root {
  --tk-blue:           #0099ff;
  --tk-blue-light:     #4db8ff;
  --tk-blue-dark:      #007fd4;
  --tk-navy:           #005288;
  --tk-navy-dark:      #003f6a;
  --tk-navy-deeper:    #002b49;
  --tk-green:          #91e200;
  --tk-magenta:        #ec008b;
  --dsl-orange:        #ee862c;   /* DSL brand accent (logo) */
  --dsl-charcoal-900:  #16222c;
  --dsl-charcoal-800:  #22303c;
  --dsl-charcoal-700:  #3c5564;
  --dsl-charcoal-600:  #4d6a7c;
  --dsl-charcoal-500:  #5c7381;
  --dsl-charcoal-400:  #7e929e;
  --dsl-charcoal-300:  #a3bac6;
  --dsl-charcoal-200:  #cfdbe2;
  --dsl-charcoal-100:  #eef2f4;
  --dsl-white:         #ffffff;
  --dsl-success:       #2ecc71;
  --dsl-danger:        #e74c3c;
  --dsl-bg-page:       #f3f7fa;
  --dsl-bg-card:       #ffffff;
  --dsl-border:        #dadee0;
  --focus:  0 0 0 3px rgba(0,153,255,0.18);
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.14);
  --shadow-blue: 0 4px 16px rgba(0,153,255,0.30);
  --font-head: 'Barlow', 'Inter', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dsl-charcoal-900);
  background: var(--dsl-bg-page);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--tk-blue-dark); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head p { color: var(--dsl-charcoal-500); margin: 0; font-size: 17px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--radius-md); padding: 12px 22px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .06s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,153,255,0.30); }
.btn-primary { background: var(--tk-blue); color: var(--dsl-white); }
.btn-primary:hover { background: var(--tk-blue-dark); box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--dsl-white); border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--tk-blue); color: var(--tk-blue-light); }
.form-card .btn-ghost, .cov-card .btn-ghost, .modal .btn-ghost { color: var(--dsl-charcoal-700); border-color: var(--dsl-border); }
.form-card .btn-ghost:hover, .cov-card .btn-ghost:hover, .modal .btn-ghost:hover { border-color: var(--tk-blue); color: var(--tk-blue-dark); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.linklike {
  background: none; border: none; color: var(--dsl-charcoal-400); font-family: var(--font-body);
  font-size: 13px; cursor: pointer; text-decoration: underline; margin-top: 14px; padding: 4px;
}
.linklike:hover { color: var(--tk-blue-dark); }
.btnrow-center { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--dsl-white); color: var(--dsl-charcoal-900);
  position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--dsl-border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { display: block; }
.brand-logo.dsl { height: 42px; width: auto; }
.brand-logo.telkom { height: 26px; width: auto; }
.brand-divider { width: 1px; height: 30px; background: var(--dsl-border); }
/* Plain text, not a pill: no border, no background, no padding. */
.brand-badge {
  font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--dsl-charcoal-500);
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.hotline { display: inline-flex; align-items: center; gap: 7px; color: var(--dsl-charcoal-800); text-decoration: none; font-weight: 700; font-size: 15px; }
.hotline svg { color: var(--tk-blue); }
.hotline:hover { color: var(--tk-blue-dark); }
@media (max-width: 880px) { .brand-badge { display: none; } }
@media (max-width: 640px) {
  .hotline span { display: none; }
  .brand-logo.dsl { height: 34px; }
  .brand-logo.telkom { height: 20px; }
  .brand { gap: 10px; }
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--tk-navy-deeper) 0%, var(--tk-navy-dark) 55%, var(--tk-navy) 100%);
  color: var(--dsl-white); padding: 64px 0 72px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,153,255,0.22), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center; position: relative; }
.hero .hl { color: var(--tk-green); }
.hero-sub { font-size: 18px; color: var(--dsl-charcoal-200); max-width: 560px; }
.hero-ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.hero-ticks li { padding-left: 30px; position: relative; font-size: 16px; color: #eaeaea; }
.hero-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 99px; background: var(--tk-green);
  color: var(--tk-navy-dark); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.hero-ticks s { color: var(--dsl-charcoal-400); margin: 0 4px; }
.hero-ticks b { color: var(--tk-green); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-privacy { font-size: 12px; color: var(--dsl-charcoal-400); margin-top: 16px; }

.hero-card {
  background: var(--dsl-white); color: var(--dsl-charcoal-900);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 28px; position: relative;
}
.hero-card-badge {
  position: absolute; top: -14px; right: 20px;
  background: var(--tk-magenta); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(236,0,139,0.3);
}
.hero-card-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.hero-price-row { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 14px; }
.hero-price { font-family: var(--font-head); font-size: 62px; font-weight: 900; color: var(--tk-blue); line-height: 1; }
.hero-price-note { font-size: 13px; color: var(--dsl-charcoal-500); line-height: 1.3; }
.hero-card-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.hero-card-list li { padding-left: 24px; position: relative; font-size: 14px; }
.hero-card-list li::before { content: "•"; position: absolute; left: 8px; color: var(--tk-blue); font-weight: 900; }
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 52px; }
}

/* ============ TRUST STRIP ============ */
.trust { background: var(--tk-navy-deeper); border-top: 1px solid var(--dsl-charcoal-700); padding: 18px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { text-align: center; }
.trust-item b { display: block; color: var(--tk-green); font-family: var(--font-head); font-size: 15px; }
.trust-item span { color: var(--dsl-charcoal-300); font-size: 12.5px; }
@media (max-width: 760px) { .trust-inner { grid-template-columns: repeat(2, 1fr); } }

/* ============ COVERAGE ============ */
.coverage { padding: 70px 0; }
.cov-card {
  max-width: 980px; margin: 0 auto; background: var(--dsl-bg-card);
  border: 1px solid var(--dsl-border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); padding: 30px;
  overflow: hidden; /* keeps the edge-to-edge map inside the rounded corners */
}
.label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 7px; }
.req { color: var(--tk-blue); font-weight: 700; }
.hint { font-size: 12px; color: var(--dsl-charcoal-300); margin: 8px 0 0; display: block; }

.cov-inputwrap { position: relative; }
.cov-inputicon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dsl-charcoal-300); pointer-events: none; }
input, select, textarea {
  width: 100%; border: 1px solid var(--dsl-border); background: var(--dsl-bg-card);
  padding: 12px 14px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 16px; color: var(--dsl-charcoal-900);
  outline: none; transition: box-shadow .15s, border-color .15s;
}
#covInput { padding-left: 42px; padding-right: 42px; font-size: 17px; }
input:focus, select:focus, textarea:focus { border-color: var(--tk-blue); box-shadow: var(--focus); }
textarea { resize: vertical; }

.cov-spinner {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border: 3px solid var(--dsl-charcoal-100);
  border-top-color: var(--tk-blue); border-radius: 50%;
  animation: spin .7s linear infinite;
}
.cov-spinner.big { position: static; transform: none; width: 44px; height: 44px; border-width: 5px; margin: 0 auto 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.cov-spinner.big { animation: spinbig .7s linear infinite; }
@keyframes spinbig { to { transform: rotate(360deg); } }
.cov-spinner.inline { position: static; transform: none; flex-shrink: 0; animation: spinbig .7s linear infinite; }

.cov-toolsrow { display: flex; align-items: flex-start; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.cov-toolsrow .hint { margin: 6px 0 0; flex: 1; min-width: 240px; }
.btn-location {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: rgba(0,153,255,0.08); border: 1px solid rgba(0,153,255,0.35);
  color: var(--tk-blue-dark); font-family: var(--font-body); font-size: 13.5px; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-location:hover { background: rgba(0,153,255,0.15); border-color: var(--tk-blue); }

.cov-status {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,153,255,0.08); border: 1px solid rgba(0,153,255,0.3);
  border-radius: var(--radius-md); padding: 10px 14px;
  font-size: 14px; font-weight: 500; color: var(--dsl-charcoal-700);
  margin: 14px 0;
}

.cov-suggest {
  margin-top: 6px; border: 1px solid var(--dsl-border); border-radius: var(--radius-md);
  background: var(--dsl-bg-card); box-shadow: var(--shadow-md); overflow: hidden;
}
.cov-suggest button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: none; border-bottom: 1px solid var(--dsl-charcoal-100);
  padding: 13px 16px; font-family: var(--font-body); font-size: 15px; color: var(--dsl-charcoal-700);
  cursor: pointer; transition: background .12s;
}
.cov-suggest button:last-child { border-bottom: none; }
.cov-suggest button:hover { background: rgba(0,153,255,0.07); }
.cov-suggest button::before { content: "📍"; font-size: 14px; }
/* map bleeds edge-to-edge inside the card: no border, rounded bottom
   corners matching the card for a cleaner, more modern look */
/* The map bleeds to the card edges. The wrapper carries that bleed and the
   rounded bottom, so whichever child ends up last - map or confirm bar -
   clips correctly. */
.cov-map-wrap {
  margin: 16px -30px -30px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}
/* The legend anchors to the map itself, not to the wrapper - otherwise it
   floats over the confirm bar that follows the map. */
.cov-map-stage { position: relative; }
.cov-map { height: 520px; border: none; z-index: 0; }
.leaflet-container { font-family: var(--font-body); }
@media (max-width: 560px) { .cov-map { height: 380px; } }

/* Fibre footprint legend, floating over the map */
.cov-legend {
  position: absolute; right: 12px; bottom: 12px; z-index: 500;
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.94); border: 1px solid var(--dsl-border);
  border-radius: var(--radius-sm); padding: 8px 11px;
  font-size: 12px; font-weight: 600; color: var(--dsl-charcoal-700);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12); pointer-events: none;
}
.cov-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-swatch { width: 13px; height: 13px; border-radius: 3px; flex: none; }
.lg-swatch.live { background: rgba(145,226,0,0.55); border: 1px solid #6fae00; }
.lg-swatch.soon { background: rgba(238,134,44,0.45); border: 1px solid #c96a15; }
@media (max-width: 560px) { .cov-legend { right: 8px; bottom: 8px; font-size: 11px; } }

/* Pin confirmation gate, directly under the map */
.cov-confirm {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
  padding: 20px 30px 24px;
  background: linear-gradient(135deg, var(--tk-navy-dark) 0%, var(--tk-navy) 100%);
  color: var(--dsl-white);
}
.cov-confirm-copy { flex: 1 1 320px; min-width: 0; }
.cov-confirm-head {
  margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--tk-green);
  display: flex; align-items: center; gap: 8px;
}
.cov-confirm-tick {
  width: 20px; height: 20px; border-radius: 99px; flex: none;
  background: var(--tk-green); color: var(--tk-navy-dark);
  font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.cov-confirm-addr {
  margin: 6px 0 2px; font-family: var(--font-head);
  font-size: 21px; font-weight: 800; line-height: 1.25;
}
.cov-confirm-sub { margin: 0; font-size: 14px; color: var(--dsl-charcoal-200); }
.cov-confirm-ask { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #eaeaea; }
.cov-confirm-actions { display: flex; flex-direction: column; gap: 9px; flex: 0 0 auto; }
.cov-confirm-actions .btn-ghost { color: var(--dsl-charcoal-200); border-color: var(--dsl-charcoal-600); }
.cov-confirm-actions .btn-ghost:hover { color: var(--dsl-white); border-color: var(--dsl-charcoal-400); }
@media (max-width: 700px) {
  .cov-confirm { padding: 18px 20px 22px; }
  .cov-confirm-actions { width: 100%; }
  .cov-confirm-actions .btn { width: 100%; }
}
.cov-steptitle { font-weight: 600; margin: 0 0 12px; }
.cov-checking { text-align: center; padding: 26px 0; color: var(--dsl-charcoal-500); }

.cov-result { text-align: center; padding: 12px 0 4px; }
.cov-result-icon {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff;
}
.cov-result-icon.ok { background: var(--tk-green); color: var(--tk-navy-dark); box-shadow: 0 0 0 8px rgba(145,226,0,0.2); }
.cov-result-icon.no { background: var(--tk-blue); box-shadow: 0 0 0 8px rgba(0,153,255,0.15); }
.cov-result-addr { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 4px 0 10px; }
.cov-result-sub { color: var(--dsl-charcoal-500); font-size: 15px; max-width: 520px; margin: 0 auto 20px; }
.cov-result .btn { margin-top: 4px; }
.cov-result h3 { margin-bottom: 4px; }

/* ============ PLANS ============ */
.plans { padding: 70px 0; background: var(--dsl-white); border-top: 1px solid var(--dsl-border); border-bottom: 1px solid var(--dsl-border); }
/* Prepaid fibre LINE options - what gets installed, shown above the
   recharge vouchers so the two are not confused. */
.line-block { margin-bottom: 40px; }
.line-head {
  margin: 0 0 6px; text-align: center; font-family: var(--font-head);
  font-size: 24px; font-weight: 800; color: var(--dsl-charcoal-800);
}
.line-head.vouchers { margin: 0 0 20px; }
.line-sub {
  margin: 0 auto 22px; max-width: 620px; text-align: center;
  font-size: 15px; color: var(--dsl-charcoal-500);
}
.line-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; max-width: 780px; margin: 0 auto;
}
.line-card {
  border: 1px solid var(--dsl-border); border-radius: var(--radius-lg);
  background: var(--dsl-white); padding: 22px 24px; text-align: center;
}
.line-card.wide { border-color: var(--tk-blue); box-shadow: 0 0 0 3px rgba(0,153,255,0.10); }
.line-speed {
  font-family: var(--font-head); font-size: 40px; font-weight: 900;
  line-height: 1; color: var(--tk-blue);
}
.line-speed small { font-size: 17px; font-weight: 700; color: var(--dsl-charcoal-500); }
.line-feats { list-style: none; padding: 0; margin: 18px 0 14px; display: grid; gap: 8px; text-align: left; }
.line-feats li { position: relative; padding-left: 24px; font-size: 14px; color: var(--dsl-charcoal-700); }
.line-feats li::before {
  content: "¹3"; position: absolute; left: 0; top: 0;
  width: 17px; height: 17px; border-radius: 99px; background: var(--tk-green);
  color: var(--tk-navy-dark); font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.line-avail {
  font-size: 12.5px; font-weight: 700; padding: 7px 10px; border-radius: var(--radius-sm);
  background: var(--dsl-charcoal-100); color: var(--dsl-charcoal-600);
}
.line-avail.wide { background: rgba(145,226,0,0.18); color: #4d7a00; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.plan-card {
  border: 2px solid var(--dsl-border); border-radius: var(--radius-xl);
  padding: 26px 24px; background: var(--dsl-bg-card); position: relative;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.plan-card:hover { border-color: var(--tk-blue-light); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.popular { border-color: var(--tk-blue); box-shadow: var(--shadow-blue); }
.plan-pop-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--tk-magenta); color: #fff; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-speed { font-family: var(--font-head); font-size: 40px; font-weight: 900; line-height: 1; }
.plan-speed small { font-size: 16px; font-weight: 700; color: var(--dsl-charcoal-400); }
.plan-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--dsl-charcoal-400); margin: 6px 0 14px; }
.plan-price { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--tk-blue-dark); }
.plan-price small { font-size: 14px; color: var(--dsl-charcoal-400); font-weight: 600; }
.plan-blurb { font-size: 14px; color: var(--dsl-charcoal-500); flex: 1; margin: 10px 0 18px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; }
.plan-feats li { font-size: 13.5px; padding-left: 22px; position: relative; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--dsl-success); font-weight: 800; }
.plans-note { text-align: center; font-size: 13px; color: var(--dsl-charcoal-400); max-width: 720px; margin: 26px auto 0; }
@media (max-width: 880px) { .plan-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ============ HOW ============ */
.how { padding: 70px 0; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.how-item { text-align: center; padding: 0 8px; }
.how-num {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--tk-navy-dark); color: #fff;
  font-family: var(--font-head); font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--tk-blue);
}
.how-item p { font-size: 14px; color: var(--dsl-charcoal-500); margin: 0; }
@media (max-width: 880px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .how-grid { grid-template-columns: 1fr; } }

/* ============ BACKUP CALLOUT ============ */
.backup {
  background: linear-gradient(135deg, var(--tk-navy-deeper) 0%, var(--tk-navy-dark) 55%, var(--tk-navy) 100%);
  color: var(--dsl-white); padding: 64px 0;
}
.backup-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 44px; align-items: center; }
.backup-copy h2 { color: var(--dsl-white); }
.backup-copy p { color: var(--dsl-charcoal-200); font-size: 16px; }
.backup-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.backup-ticks li { padding-left: 30px; position: relative; font-size: 15px; color: #eaeaea; }
.backup-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 99px; background: var(--tk-green);
  color: var(--tk-navy-dark); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.backup-cta {
  background: rgba(255,255,255,0.05); border: 1px solid var(--dsl-charcoal-600);
  border-radius: var(--radius-xl); padding: 28px; text-align: center;
}
.backup-price { font-family: var(--font-head); font-size: 58px; font-weight: 900; color: var(--tk-green); line-height: 1; }
.backup-price span { display: block; font-size: 14px; font-weight: 600; color: var(--dsl-charcoal-300); margin-top: 6px; }
.backup-cta p { color: var(--dsl-charcoal-200); font-size: 14px; margin: 14px 0 18px; }
@media (max-width: 880px) { .backup-inner { grid-template-columns: 1fr; gap: 30px; } }

/* ============ FORMS ============ */
.callback { padding: 70px 0; background: var(--dsl-white); border-top: 1px solid var(--dsl-border); }
.form-card {
  background: var(--dsl-bg-card); border: 1px solid var(--dsl-border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 30px;
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g-span2 { grid-column: span 2; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } .g-span2 { grid-column: span 1; } }
.field { display: flex; flex-direction: column; }
.form-note {
  background: rgba(0,153,255,0.08); border: 1px solid rgba(0,153,255,0.3);
  border-radius: var(--radius-md); padding: 10px 14px; font-size: 13.5px; margin: 0 0 18px;
}
.form-progress { display: flex; gap: 6px; margin-bottom: 26px; }
.fp-step {
  flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--dsl-charcoal-300); padding: 8px 4px 10px;
  border-bottom: 3px solid var(--dsl-charcoal-100);
}
.fp-step.active { color: var(--tk-blue-dark); border-bottom-color: var(--tk-blue); }
.fp-step.done { color: var(--dsl-charcoal-500); border-bottom-color: var(--tk-blue-light); }
fieldset.form-step { border: none; padding: 0; margin: 0; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-nav .btn:only-child, .form-nav #orderNext:first-child { margin-left: auto; }
.form-error {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-md);
  border: 1px solid rgba(231,76,60,0.4); background: rgba(231,76,60,0.08);
  color: #8b1a1a; font-size: 13.5px; font-weight: 500;
}
.form-success { text-align: center; padding: 20px 0 8px; }
.form-success-ref { font-size: 12.5px; color: var(--dsl-charcoal-400); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-top: 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--tk-blue); }
/* Telkom application declaration. Scrollable so a long legal block does not
   push the submit button off-screen, but fully readable and selectable. */
.agreement { margin: 18px 0 4px; }
.agreement-title {
  margin: 0 0 8px; font-family: var(--font-head); font-size: 15px; font-weight: 800;
  color: var(--dsl-charcoal-800);
}
.agreement-scroll {
  max-height: 260px; overflow-y: auto;
  border: 1px solid var(--dsl-border); border-radius: var(--radius-sm);
  background: var(--dsl-charcoal-100);
  padding: 14px 16px; font-size: 13px; line-height: 1.55; color: var(--dsl-charcoal-700);
}
.agreement-scroll:focus-visible { outline: 2px solid var(--tk-blue); outline-offset: 2px; }
.agreement-scroll p { margin: 0 0 10px; }
.agreement-scroll ol { margin: 0 0 10px; padding-left: 20px; }
.agreement-scroll li { margin-bottom: 9px; }
.agreement-scroll a { color: var(--tk-blue-dark); text-decoration: underline; }
.agreement-scroll a:hover { color: var(--tk-blue); }

/* ID document upload. The two file inputs stay in the DOM (a detached input
   loses its selection on some mobile browsers) but are visually removed; the
   drop zone below is the whole control. */
.upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload {
  border: 2px dashed var(--dsl-charcoal-200); border-radius: var(--radius-md);
  background: var(--dsl-charcoal-100); padding: 22px 18px; text-align: center;
  transition: border-color .15s, background .15s;
}
.upload.dragover { border-color: var(--tk-blue); background: rgba(0,153,255,0.08); }
.upload.has-file { border-style: solid; border-color: var(--dsl-border); background: var(--dsl-bg-card); text-align: left; padding: 14px; }
.upload.invalid { border-color: rgba(231,76,60,0.6); background: rgba(231,76,60,0.06); }
.upload-icon { color: var(--dsl-charcoal-300); }
.upload-lead { margin: 6px 0 14px; font-size: 14px; font-weight: 600; color: var(--dsl-charcoal-700); }
.upload-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.upload .hint { margin-top: 12px; }
.upload-file { display: flex; align-items: center; gap: 14px; }
.upload-thumb {
  width: 72px; height: 54px; flex-shrink: 0; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--dsl-border); background: var(--dsl-charcoal-100);
}
.upload-thumb-doc {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .06em;
  color: var(--dsl-charcoal-500);
}
.upload-meta { flex: 1; min-width: 0; }
.upload-name { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-size { font-size: 12px; color: var(--dsl-charcoal-400); }
.upload-fileacts { display: flex; gap: 14px; flex-shrink: 0; }
.upload-fileacts .linklike { font-size: 13px; }
@media (max-width: 520px) {
  .upload-file { flex-wrap: wrap; }
  .upload-fileacts { width: 100%; justify-content: flex-end; }
}

.review-box {
  border: 1px solid var(--dsl-border); border-radius: var(--radius-md);
  background: var(--dsl-charcoal-100); padding: 16px 18px; font-size: 14px;
}
.review-box dl { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; margin: 0; }
.review-box dt { color: var(--dsl-charcoal-400); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; padding-top: 2px; }
.review-box dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .review-box dl { grid-template-columns: 1fr; gap: 2px; } .review-box dd { margin-bottom: 8px; } }

/* voucher cards are informational: "choose later" tag instead of a buy button */
.plan-later {
  text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--tk-blue-dark);
  background: rgba(0,153,255,0.08); border: 1px dashed rgba(0,153,255,0.45);
  border-radius: var(--radius-md); padding: 10px 12px;
}

/* ============ SIGNUP MODAL ============ */
body.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(17,17,17,0.62);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 16px 6vh; overflow-y: auto;
}
.modal {
  background: var(--dsl-bg-card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); max-width: 680px; width: 100%;
  padding: 34px 30px 26px; position: relative; margin: auto 0;
}
.modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 30px; line-height: 1;
  color: var(--dsl-charcoal-300); cursor: pointer; padding: 4px 8px;
}
.modal-close:hover { color: var(--dsl-charcoal-700); }
.modal-result { text-align: center; padding: 4px 0 8px; }
.modal-result h3 { margin-bottom: 4px; }
.modal-result .btn { margin-top: 8px; }
.modal-restart { display: block; margin: 14px auto 0; }
.modal-confirm { text-align: center; padding: 4px 0 12px; }
.modal-confirm p { color: var(--dsl-charcoal-500); font-size: 15px; margin: 0 0 6px; }
.modal-confirm b { color: var(--dsl-charcoal-900); }

.modal-offer {
  background: rgba(0,153,255,0.08); border: 1px solid rgba(0,153,255,0.3);
  border-radius: var(--radius-md); padding: 12px 16px;
  font-size: 14px; margin: 8px 0 22px;
}
.modal-offer b { color: var(--tk-blue-dark); }
@media (max-width: 560px) {
  .modal-backdrop { padding: 0; }
  .modal { border-radius: 0; min-height: 100vh; padding: 30px 18px 24px; }
}

/* ============ WHY ============ */
.why { padding: 70px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item {
  background: var(--dsl-bg-card); border: 1px solid var(--dsl-border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.why-item h4 { color: var(--tk-blue-dark); }
.why-item p { font-size: 14px; color: var(--dsl-charcoal-500); margin: 0; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { padding: 70px 0; background: var(--dsl-white); border-top: 1px solid var(--dsl-border); }
.faq details {
  border: 1px solid var(--dsl-border); border-radius: var(--radius-md);
  background: var(--dsl-bg-card); margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 16px 18px; font-weight: 700; font-family: var(--font-head);
  font-size: 16px; list-style: none; position: relative; padding-right: 42px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--tk-blue); font-size: 22px; font-weight: 700;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--dsl-charcoal-500); font-size: 14.5px; }

/* ============ FINAL CTA ============ */
.finalcta {
  background: linear-gradient(135deg, var(--tk-navy-deeper), var(--tk-navy-dark));
  color: var(--dsl-white); padding: 64px 0; text-align: center;
}
.finalcta p { color: var(--dsl-charcoal-300); margin: 0 0 24px; font-size: 17px; }

/* ============ FOOTER ============ */
.footer { background: var(--tk-navy-deeper); color: var(--dsl-charcoal-300); padding: 40px 0 24px; font-size: 14px; }
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 10px; filter: brightness(0) invert(1); opacity: .92; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--dsl-charcoal-700); }
.footer a { color: var(--tk-blue-light); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-contact { text-align: right; }
.footer-legal { padding-top: 18px; }
.footer-legal p { font-size: 12px; color: var(--dsl-charcoal-500); margin: 0; }
@media (max-width: 640px) { .footer-contact { text-align: left; } }

/* Honeypot field - off-screen for people, visible to bots. Never display:none:
   some bots skip hidden inputs, which defeats the point. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
