/* IndiHome Agent — ISP Bold Red Theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c62828;
  --primary-dark: #8e0000;
  --primary-light: #ef9a9a;
  --bg: #fff5f5;
  --bg2: #ffebee;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #f5c6c6;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(198,40,40,0.10);
}

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;
}

/* DEMO BAR */
.demo-bar {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.demo-bar a { color: var(--primary-light); text-decoration: underline; margin: 0 4px; }

/* HEADER & NAV */
header {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px 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: 60px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { display: block; }

nav { display: flex; gap: 4px; align-items: center; }
nav a {
  color: var(--white);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
nav a:hover, nav a.active { background: rgba(255,255,255,0.18); }

/* MOBILE MENU */
.menu-toggle { display: none; }
.menu-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}
.menu-label svg { display: block; }

@media (max-width: 700px) {
  .menu-label { display: flex; align-items: center; }
  nav {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 12px 0;
    gap: 0;
  }
  .menu-toggle:checked ~ nav { display: flex; }
  nav a { width: 100%; padding: 12px 24px; border-radius: 0; font-size: 1rem; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #e53935 100%);
  color: var(--white);
  padding: 60px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-wa { background: #25d366; color: var(--white); }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ISP LOGOS STRIP */
.isp-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.isp-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.isp-logo {
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 6px;
  letter-spacing: -0.5px;
}
.isp-indihome { background: #c62828; color: #fff; }
.isp-firstmedia { background: #003087; color: #fff; }
.isp-myrepublic { background: #00b04f; color: #fff; }
.isp-biznet { background: #f77f00; color: #fff; }

/* SECTION */
.section { padding: 60px 20px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.97rem;
}
.section-title-center { text-align: center; }
.section-sub-center { text-align: center; }

/* GRID */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

/* CARD */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(198,40,40,0.14); }
.card-head {
  background: linear-gradient(135deg, var(--primary) 0%, #e53935 100%);
  color: var(--white);
  padding: 22px 20px 16px;
  text-align: center;
}
.card-head .isp-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.card-head .isp-speed {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
}
.card-head .speed-unit { font-size: 0.95rem; font-weight: 600; opacity: 0.85; }
.card-body { padding: 18px 20px; }
.card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.card-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.card-features { list-style: none; margin-bottom: 16px; }
.card-features li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.card-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* FEATURE BOXES */
.feat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feat-icon {
  width: 56px; height: 56px;
  background: var(--bg2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.feat-icon svg { display: block; }
.feat-box h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feat-box p { font-size: 0.88rem; color: var(--text-muted); }

/* STEPS */
.steps { list-style: none; counter-reset: steps; }
.step {
  counter-increment: steps;
  display: flex; gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step-content p { font-size: 0.88rem; color: var(--text-muted); }

/* TABLE */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th { background: var(--primary); color: var(--white); padding: 13px 16px; text-align: left; font-size: 0.88rem; font-weight: 700; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg); }
.badge-isp {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  color: var(--white);
}
.badge-ih { background: #c62828; }
.badge-fm { background: #003087; }
.badge-mr { background: #00b04f; }
.badge-bz { background: #f77f00; }

/* FORM */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
textarea { resize: vertical; min-height: 100px; }
.btn-full { width: 100%; text-align: center; padding: 13px; font-size: 1rem; }

/* STATUS RESULT */
.status-result {
  background: var(--bg2);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  display: none;
}
.status-result.show { display: block; }
.status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}
.status-sukses { background: #e8f5e9; color: #2e7d32; }
.status-proses { background: #fff8e1; color: #f57f17; }

/* CONTACT */
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; }
.contact-item svg { flex-shrink: 0; color: var(--primary); }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  font-weight: 700;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--primary);
  cursor: default;
}
.faq-a {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
}
.cta-band h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: 0.9; margin-bottom: 28px; font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-bottom: 32px;
}
.footer-brand { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-desc { font-size: 0.85rem; opacity: 0.75; }
footer h4 { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.87rem; }
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: 0.82rem;
  opacity: 0.6;
  text-align: center;
}

@media (max-width: 600px) {
  .hero { padding: 44px 16px 52px; }
  .section { padding: 40px 16px; }
  .form-card { padding: 22px 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
