/* ============================================================
   FAWZAN AZIZ — SAHABAT TAKAFUL ANDA DESIGN SYSTEM
   Theme: Brand Red (#ED1B2D) + Signature Teal (#00A896)
   Typography: Plus Jakarta Sans / Outfit
   Style: Bento Grid, Dot Matrix Pattern, Ambient Blurs
   ============================================================ */

:root {
  /* SAHABAT TAKAFUL ANDA BRAND PALETTE */
  --brand-red: #ED1B2D;        /* Brand Red */
  --brand-dark: #900A2C;       /* Deep Crimson Maroon */
  --brand-light: #FFF1F3;      /* Soft Rose Tint */
  --brand-accent: #FFE4E8;     /* Rose Accent */
  --brand-teal: #00A896;       /* Signature Teal */
  --brand-teal-dark: #028090;  /* Deep Teal */
  --brand-teal-light: #E6F8F6; /* Soft Teal Tint */

  /* DESIGN TOKENS */
  --ink: #0f172a;              /* Slate 900 */
  --muted: #64748b;            /* Slate 500 */
  --brand: var(--brand-red);
  --brand2: var(--brand-teal);
  --deep: #1e293b;             /* Slate 800 */
  --white: #ffffff;
  --line: rgba(226, 232, 240, 0.9);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  --shadow-bento: 0 4px 14px rgba(0, 0, 0, 0.03), 0 10px 24px rgba(237, 27, 45, 0.04);
  --shadow-hover: 0 14px 34px rgba(237, 27, 45, 0.14);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(237, 27, 45, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(0, 168, 150, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(144, 10, 44, 0.04) 0%, transparent 60%),
    radial-gradient(rgba(148, 163, 184, 0.35) 1.1px, transparent 1.1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 20px 20px;
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

::selection { background: #ffe4e8; color: var(--brand-dark); }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #fecdd3; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-red); }

/* ---- LAYOUT ---- */
.container { width: min(var(--max), calc(100% - 32px)); margin: auto; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.035em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); margin-top: 0; font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0.75rem 0 0; font-size: 1.05rem; line-height: 1.625; }

/* ---- SECTIONS ---- */
.section { padding: 76px 0; scroll-margin-top: 88px; }
#kalkulator,
#perbandingan-manfaat,
#kira-caruman-medikal,
#perancangan-hibah {
  scroll-margin-top: 88px;
}
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(237, 27, 45, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(237, 27, 45, 0.4);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.btn-secondary:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-2px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.25);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 168, 150, 0.35);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.nav-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}
.logo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(237, 27, 45, 0.25);
}
.sub-brand {
  display: block;
  font-size: 0.68rem;
  color: var(--brand-teal);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
}
.nav-links a { transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--brand-red); }
.nav-links a.active {
  color: var(--brand-red);
  font-weight: 800;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2.5px;
  background: var(--brand-red);
  border-radius: 999px;
}
.menu-btn {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--ink);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 50px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.hero-copy p { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.hero strong.accent {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
}
.trust-row span { display: inline-flex; align-items: center; gap: 4px; }
.trust-row span::before { color: var(--brand-teal); }

/* Hero Visual Card */
.visual {
  min-height: 500px;
  position: relative;
  border-radius: 32px;
  background:
    radial-gradient(circle at 75% 30%, rgba(237, 27, 45, 0.25), transparent 50%),
    linear-gradient(145deg, #900A2C 0%, #ED1B2D 50%, #7A0623 100%);
  box-shadow: 0 20px 50px rgba(144, 10, 44, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.visual .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.orb.o1 { width: 300px; height: 300px; background: rgba(255, 255, 255, 0.2); right: -60px; top: -60px; }
.orb.o2 { width: 220px; height: 220px; background: rgba(0, 168, 150, 0.35); left: -40px; bottom: -30px; }

.hero-brand-card {
  position: absolute;
  left: 24px;
  top: 24px;
  width: min(290px, 58%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 20px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}
.hero-brand-card:hover { transform: translateY(-3px); }
.hero-brand-card b { display: block; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.hero-brand-card span { font-size: 0.82rem; color: var(--brand-red); font-weight: 800; display: block; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 168, 150, 0.2);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 8px var(--brand-teal);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-person {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 2;
  transition: transform 0.4s ease;
}
.visual:hover .hero-person { transform: scale(1.02); }

.visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(144, 10, 44, 0.7), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Stats Bar */
.stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-bento);
}
.stat { padding: 18px 22px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-size: 1.6rem; color: var(--brand-red); display: block; font-weight: 900; }
.stat span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* ============================================================
   SOCIAL MEDIA BOX GRID SECTION
   ============================================================ */
.social-strip {
  padding: 24px 0 32px;
}
.social-card-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-bento);
}
.social-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.social-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.social-title svg {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
}
.social-pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-red);
  background: var(--brand-light);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-accent);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.social-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.social-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.social-box:active { transform: scale(0.97); }

.social-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.social-box:hover .social-icon-wrap { transform: scale(1.1); }
.social-icon-wrap svg { width: 22px; height: 22px; fill: #fff; }

.social-name { font-size: 0.88rem; font-weight: 800; color: var(--ink); display: block; }
.social-handle { font-size: 0.74rem; color: var(--muted); margin-top: 2px; display: block; }

/* Platform-Specific Theming */
.social-box.tiktok .social-icon-wrap { background: #000000; }
.social-box.tiktok:hover { border-color: #000; background: #fafafa; }

.social-box.instagram .social-icon-wrap {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-box.instagram:hover { border-color: #dc2743; background: #fff5f7; }

.social-box.threads .social-icon-wrap { background: #111827; }
.social-box.threads:hover { border-color: #111827; background: #f8fafc; }

.social-box.facebook .social-icon-wrap { background: #1877F2; }
.social-box.facebook:hover { border-color: #1877F2; background: #f0f7ff; }

/* ============================================================
   QUIZ / RISK ASSESSMENT
   ============================================================ */
.risk {
  background: linear-gradient(145deg, #900A2C 0%, #1e293b 80%);
  color: #fff;
}
.risk .section-head h2 { color: #fff; }
.risk .section-head p { color: #fecdd3; }

.quiz {
  background: #fff;
  color: var(--ink);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.progress {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.progress > div {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-teal));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-meta {
  font-size: 0.82rem;
  color: var(--brand-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quiz h3 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 8px 0 20px; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.quiz-option {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  cursor: pointer;
}
.quiz-option:hover {
  border-color: var(--brand-red);
  background: var(--brand-light);
  color: var(--brand-dark);
  transform: translateY(-2px);
}
.quiz-option:active { transform: scale(0.97); }

.quiz-result {
  padding: 24px;
  border-radius: 20px;
  background: var(--brand-light);
  border: 1px solid var(--brand-accent);
}

/* ============================================================
   HOSPITAL PANEL STRIP
   ============================================================ */
.hospital-strip {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hospital-strip p {
  text-align: center;
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hospitals { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hospital {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.2s;
}
.hospital:hover {
  border-color: var(--brand-teal);
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
}

/* ============================================================
   INFO CARDS (3-COL)
   ============================================================ */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-bento);
  transition: all 0.22s ease;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-hover);
}
.info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-light);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.info-card h3 { font-size: 1.15rem; color: var(--ink); }
.info-card p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   PLANS (2x2 GRID)
   ============================================================ */
.plans { background: #fdf2f4; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-bento);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--brand-red); }
.plan.popular {
  border: 2px solid var(--brand-red);
  box-shadow: 0 12px 34px rgba(237, 27, 45, 0.16);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--brand-light);
  color: var(--brand-red);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-accent);
}
.badge-teal {
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  border-color: rgba(0, 168, 150, 0.25);
}

.plan-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-light);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.plan p { color: var(--muted); font-size: 0.9rem; }

.benefits {
  padding: 0;
  margin: 16px 0 20px;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: 0.88rem;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.benefits li::before {
  content: "✓";
  color: var(--brand-red);
  font-weight: 900;
  flex-shrink: 0;
}
.plan-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.plan-foot b { color: var(--brand-red); font-size: 0.95rem; font-weight: 800; }
.link { color: var(--brand-red); font-weight: 800; font-size: 0.9rem; transition: color 0.2s; }
.link:hover { color: var(--brand-dark); text-decoration: underline; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.calc-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-bento);
}
.calc-panel.dark {
  background: linear-gradient(145deg, var(--brand-dark), #1e293b);
  color: #fff;
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  color: #475569;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tab.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(237, 27, 45, 0.25);
}
.tab:hover:not(.active) { border-color: var(--brand-red); color: var(--brand-red); }

.field { margin-bottom: 18px; }
.field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
input[type="range"] { width: 100%; accent-color: var(--brand-red); }
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s;
}
select:focus {
  border-color: var(--brand-red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(237, 27, 45, 0.15);
}

.result-label { font-size: 0.85rem; color: #fecdd3; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.result-big {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.1;
  margin: 12px 0 8px;
}
.calc-notes {
  margin: 16px 0 20px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.btn-calc {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
  width: 100%;
}
.btn-calc:hover { background: var(--brand-light); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-bento);
  transition: all 0.22s ease;
}
.quote:hover { transform: translateY(-3px); border-color: var(--brand-red); box-shadow: var(--shadow-hover); }
.stars { color: #f59e0b; margin-bottom: 12px; font-size: 0.95rem; }
.quote h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.quote p { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; flex-grow: 1; }
.person b { display: block; font-size: 0.92rem; color: var(--ink); }
.person span { font-size: 0.78rem; color: var(--brand-red); font-weight: 700; }

/* ============================================================
   ADVISOR PROFILE SECTION
   ============================================================ */
.advisor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: flex-start;
}
.advisor-visual {
  position: sticky;
  top: 100px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--line);
  background: #fff;
}
.advisor-img { width: 100%; height: auto; object-fit: cover; display: block; }
.advisor-tag {
  background: #fff;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.advisor-tag-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--ink);
}
.advisor-tag-title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
}
.advisor-tag-sub {
  font-size: 0.75rem;
  color: var(--brand-red);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.advisor-copy p { font-size: 1.02rem; color: #334155; margin-bottom: 16px; }

/* Contact grid cards */
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-item {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-bento);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-item:hover { transform: translateY(-2px); border-color: var(--brand-red); }
.contact-item.full-width { grid-column: span 2; }
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-light);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-item b { font-size: 0.92rem; color: var(--ink); line-height: 1.4; }
.contact-item a { color: var(--brand-red); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; margin: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 20px;
  margin-bottom: 12px;
  transition: all 0.2s;
  box-shadow: var(--shadow-bento);
}
.faq details:hover { border-color: var(--brand-red); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.98rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brand-red);
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0; padding: 0 0 18px; font-size: 0.94rem; line-height: 1.6; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #fecdd3; max-width: 620px; }
.cta-band .btn { background: #fff; color: var(--brand-dark); font-weight: 800; }
.cta-band .btn:hover { background: var(--brand-light); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #111827;
  color: #cbd5e1;
  padding: 50px 0 26px;
  border-top: 1px solid #1f2937;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 32px; }
footer h3 { font-size: 0.95rem; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
footer p, footer li { color: #94a3b8; font-size: 0.88rem; }
footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
footer a { transition: color 0.2s; }
footer a:hover { color: var(--brand-red); }
.bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.78rem;
  color: #64748b;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(237, 27, 45, 0.4);
  text-decoration: none;
  transition: all 0.22s ease;
  border: 2px solid #fff;
}
.wa:hover { transform: scale(1.1); box-shadow: 0 14px 36px rgba(237, 27, 45, 0.5); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    top: 74px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  .hero-grid, .calc-wrap, .advisor-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards3, .plan-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-visual { position: relative; top: 0; }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-item.full-width { grid-column: span 1; }
}

@media (max-width: 650px) {
  .section { padding: 52px 0; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .quiz { padding: 20px; }
  .quiz-options, .cards3, .plan-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .bottom { flex-direction: column; }
  .visual { min-height: 440px; }
  .hero-person { object-position: center top; }
}

/* ============================================================
   PERBANDINGAN MANFAAT & MEDICAL CALCULATOR STYLES
   ============================================================ */
.section-medical-benefits {
  padding: 80px 0;
  position: relative;
}

.med-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  border: 1px solid rgba(0, 168, 150, 0.3);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.med-pill-tag {
  display: inline-flex;
  align-items: center;
  background: var(--brand-light);
  color: var(--brand-red);
  border: 1px solid var(--brand-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.med-layout-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.med-bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-bento);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.med-bento-card:hover {
  box-shadow: 0 12px 32px rgba(237, 27, 45, 0.08);
}

.med-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.med-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 0;
}

.med-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  margin-top: 6px;
  max-width: 650px;
}

.med-btn-scroll {
  font-size: 0.88rem;
  padding: 10px 20px;
  white-space: nowrap;
}

/* Benefit Comparison Table */
.med-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 20px;
}

.med-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  text-align: left;
}

.med-table thead th {
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
  border-bottom: 0;
}

.med-table thead th.th-main {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  width: 38%;
  font-size: 1rem;
}

.med-table thead th.th-plan {
  background: #334155;
  text-align: center;
  width: 31%;
  font-size: 1.05rem;
}

.med-table thead th.th-plan.is-popular {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  position: relative;
}

.popular-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-red);
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 auto 6px;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.plan-heading-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.med-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.med-table tbody th small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 3px;
}

.med-table tbody td {
  text-align: center;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: #fff;
  vertical-align: middle;
}

.med-table tbody td small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: 2px;
}

.med-table tbody tr:last-child th,
.med-table tbody tr:last-child td {
  border-bottom: 0;
}

.med-table tbody td.is-popular-cell {
  background: rgba(237, 27, 45, 0.035);
  font-weight: 700;
  border-left: 1.5px solid rgba(237, 27, 45, 0.15);
  border-right: 1.5px solid rgba(237, 27, 45, 0.15);
  color: var(--brand-dark);
}

.highlight-text {
  font-weight: 800;
  color: var(--brand-teal);
  letter-spacing: 0.04em;
}

/* Mobile responsive collapse for comparison table */
@media (max-width: 640px) {
  .med-table,
  .med-table tbody,
  .med-table tr,
  .med-table th,
  .med-table td {
    display: block;
  }

  .med-table thead {
    display: none;
  }

  .med-table tbody tr.med-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
    border-bottom: 1px solid var(--line);
    padding: 14px 12px;
    background: #fff;
  }

  .med-table tbody tr.med-table-row th[scope="row"] {
    grid-column: 1 / -1;
    border-bottom: 0;
    padding: 0 0 8px 0;
    font-size: 0.98rem;
    font-weight: 700;
  }

  .med-table tbody tr.med-table-row td {
    text-align: left;
    width: auto;
    border-bottom: 0;
    padding: 6px 10px;
    font-size: 0.9rem;
    background: #f8fafc;
    border-radius: 8px;
  }

  .med-table tbody tr.med-table-row td::before {
    content: attr(data-plan);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
  }

  .med-table tbody tr.med-table-row td.is-popular-cell {
    background: rgba(237, 27, 45, 0.05);
    border: 1px solid rgba(237, 27, 45, 0.25);
  }

  .med-table tbody tr.med-table-row td.is-popular-cell::before {
    color: var(--brand-red);
  }

  .med-table tbody tr:last-child {
    border-bottom: 0;
  }
}

/* Notes & Disclaimers */
.med-notes-box {
  background: var(--brand-teal-light);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin-top: 18px;
}

.med-note-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #064e46;
}

.med-disclaimer-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.med-cta-center {
  margin-top: 24px;
  text-align: center;
}

/* Medical Calculator Form */
.med-calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.med-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 680px) {
  .med-form-grid {
    grid-template-columns: 1fr;
  }
}

.med-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.med-field label,
.med-field legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0;
}

.med-field input[type="text"],
.med-field input[type="date"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0;
  min-height: 48px;
  transition: all 0.2s ease;
}

.med-field input[type="text"]:focus,
.med-field input[type="date"]:focus {
  outline: none;
  border-color: var(--brand-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237, 27, 45, 0.12);
}

.med-field-full {
  grid-column: 1 / -1;
}

.med-select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  padding-right: 42px;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.med-select:focus {
  outline: none;
  border-color: var(--brand-red);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(237, 27, 45, 0.12);
}

/* Custom segmented buttons for Gender & Smoker */
.med-seg {
  display: flex;
  gap: 10px;
  width: 100%;
}

.med-seg label {
  flex: 1;
  min-width: 0;
  cursor: pointer;
  margin: 0;
}

.med-seg input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.med-seg span {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #f8fafc;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: all 0.2s ease;
  user-select: none;
}

.med-seg input:checked + span {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #fff;
  border-color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(237, 27, 45, 0.25);
  font-weight: 700;
}

.med-seg input:focus-visible + span {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.med-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.med-err-msg {
  background: #fef2f2;
  color: #b91c1c;
  border-left: 4px solid #ef4444;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0;
}
.med-err-msg[hidden] {
  display: none !important;
}

.med-form-actions {
  display: flex;
  justify-content: flex-start;
}

.btn-med-calc {
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  font-size: 1.05rem;
}

.med-consent-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: -6px;
}

/* Results Box */
.med-result-wrapper {
  margin-top: 24px;
  padding: 28px;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: medFadeIn 0.3s ease-out;
}
.med-result-wrapper[hidden] {
  display: none !important;
}

@keyframes medFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.med-result-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed var(--line);
}

.med-result-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0;
}

.med-anb-badge {
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.med-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.med-tier-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: transform 0.2s ease;
}

.med-tier-card:hover {
  transform: translateY(-2px);
}

.med-tier-card.is-pop {
  border-color: var(--brand-red);
  box-shadow: 0 8px 24px rgba(237, 27, 45, 0.12);
  background: linear-gradient(to bottom, #ffffff, #fffbfb);
}

.med-tier-badge {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(237, 27, 45, 0.25);
}

.med-tier-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.med-tier-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
  margin: 4px 0;
}

.med-tier-price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-left: 4px;
}

.med-tier-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.med-tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.med-tier-list li::before {
  content: "✓";
  color: var(--brand-teal);
  font-weight: 800;
}

.btn-med-pdf {
  background: linear-gradient(135deg, #ED1B2D 0%, #C41222 100%);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 8px 22px rgba(237, 27, 45, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 18px;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-med-pdf:hover {
  background: linear-gradient(135deg, #d91425 0%, #a80e1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(237, 27, 45, 0.4);
}

.btn-med-pdf:active {
  transform: translateY(0);
}

.btn-med-pdf:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-med-wa {
  background: #25D366;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
}

.btn-med-wa:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.med-result-fine {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin: 6px 0 0;
}

/* ============================================================
   PERANCANGAN HIBAH TAKAFUL (PREMIUM THEMED DESIGN)
   Scoped to .section-hibah-planner
   ============================================================ */
.section-hibah-planner {
  padding: 80px 0;
  position: relative;
}

.hibah-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand-red);
  border: 1px solid var(--brand-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hibah-module-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(237, 27, 45, 0.08);
  color: var(--brand-red);
  border: 1px solid rgba(237, 27, 45, 0.25);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hibah-head-lead {
  max-width: 680px;
  margin: 0 auto 16px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.hibah-concept-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hibah-concept-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.9);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  user-select: none;
}

.hibah-concept-pill:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal-dark);
  background: var(--brand-teal-light);
  transform: translateY(-1px);
}

.hibah-bento-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(237, 27, 45, 0.04);
  padding: clamp(20px, 3.5vw, 36px);
  position: relative;
}

/* Nav Subtabs (Segmented Switcher) */
.hibah-nav-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.hibah-subtabs {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 5px;
  gap: 6px;
  flex-wrap: wrap;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.hibah-subtab {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.subtab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.2s;
}

.hibah-subtab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.hibah-subtab[aria-selected="true"] {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
  font-weight: 800;
  transform: translateY(-1px);
}

.hibah-subtab[aria-selected="true"] .subtab-dot {
  background: #ffffff;
}

/* Profil Asas Prospek (Full Width Top Card) */
.hibah-prospect-card {
  background: #ffffff;
  border: 1.5px dashed rgba(203, 213, 225, 0.95);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 24px;
  transition: border-color 0.2s;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
}

.hibah-prospect-card:hover {
  border-color: rgba(0, 168, 150, 0.45);
}

.hibah-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.hibah-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hibah-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hibah-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.hibah-card-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 2px 0 0;
}

.hibah-card-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hibah-pdpa-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 150, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hibah-pf-collapse-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.hibah-pf-collapse-btn:hover {
  background: #e2e8f0;
  color: var(--ink);
}

/* 3x3 Balanced Grid */
.hibah-pfgrid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
  margin: 16px 0 12px;
}

@media (max-width: 768px) {
  .hibah-pfgrid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hibah-pfgrid-3x3 {
    grid-template-columns: 1fr;
  }
}

.hibah-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.hibah-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hibah-field input,
.hibah-field select,
.hibah-field textarea {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 13px;
  border: 1.5px solid rgba(203, 213, 225, 0.95);
  border-radius: 12px;
  width: 100%;
  background: #ffffff;
  color: var(--ink);
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.hibah-field input:focus,
.hibah-field select:focus,
.hibah-field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(237, 27, 45, 0.12);
}

.hibah-field .hint {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

.hint-pdpa {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  padding-top: 4px;
}

/* 03 / DYNAMIC HEADLINE BLOCK */
.hibah-lead-headline-block {
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid rgba(226, 232, 240, 0.85);
}

.hibah-lead-step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-teal-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hibah-lead-title {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.hibah-highlight-nama {
  color: #1e293b;
  border-bottom: 2.5px solid var(--brand-red);
  padding-bottom: 1px;
}

.hibah-text-gradient {
  background: linear-gradient(135deg, var(--brand-red) 0%, #028090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hibah-lead-desc-sub {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 6px;
  max-width: 820px;
}

.hibah-helper-zero {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

/* 2-Column Main Layout Grid */
.hibah-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

@media (max-width: 960px) {
  .hibah-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hibah-stack {
  display: grid;
  gap: 14px;
}

.hibah-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 580px) {
  .hibah-row2 {
    grid-template-columns: 1fr;
  }
}

/* Step Accordions (Matching Reference Look) */
details.hibah-step-card {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

details.hibah-step-card[open] {
  border-color: rgba(237, 27, 45, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

details.hibah-step-card > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.18s;
  user-select: none;
}

details.hibah-step-card > summary:hover {
  background: #f8fafc;
}

details.hibah-step-card > summary::-webkit-details-marker {
  display: none;
}

.hibah-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hibah-step-title-text {
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--ink);
}

.hibah-step-pill {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  white-space: nowrap;
  transition: all 0.18s ease;
}

details.hibah-step-card[open] .hibah-step-pill {
  background: var(--brand-light);
  border-color: rgba(237, 27, 45, 0.3);
  color: var(--brand-red);
}

details.hibah-step-card[open] .hibah-step-pill::after {
  content: "Tutup ▲";
}

details.hibah-step-card:not([open]) .hibah-step-pill::after {
  content: "Buka ▼";
}

.hibah-step-body {
  padding: 8px 18px 20px;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.hibah-step-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.hibah-callout-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #1e293b;
}

.hibah-callout-info b {
  color: var(--brand-teal-dark);
}

.hibah-subhead {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin: 4px 0 2px;
}

.hibah-divider {
  border: 0;
  border-top: 1.5px dashed rgba(226, 232, 240, 0.9);
  margin: 4px 0;
}

.hibah-expense-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .hibah-expense-grid {
    grid-template-columns: 1fr;
  }
}

/* Nota Borak Card */
.hibah-nota-block {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 14px 18px;
  display: grid;
  gap: 6px;
}

.hibah-nota-block label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.hibah-nota-block textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 10px 12px;
  border: 1.5px solid rgba(203, 213, 225, 0.95);
  border-radius: 10px;
  resize: vertical;
  min-height: 56px;
  width: 100%;
  box-sizing: border-box;
  color: var(--ink);
}

.hibah-nota-block textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(237, 27, 45, 0.12);
}

/* Results Sticky Column (Desktop) */
.hibah-sticky-col {
  position: sticky;
  top: 96px;
}

@media (max-width: 960px) {
  .hibah-sticky-col {
    position: static;
  }
}

/* RIGHT: BESPOKE LIVE EXECUTIVE REPORT DOCUMENT / DOSSIER */
.hibah-report-sheet {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 20px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  padding: 20px 22px;
  display: grid;
  gap: 14px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfe 100%);
}

.hibah-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0f172a;
}

.sheet-head-left {
  display: grid;
  gap: 2px;
}

.sheet-head-brand {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  text-transform: uppercase;
}

.sheet-head-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.sheet-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.sheet-head-badge {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.sheet-head-ref {
  font-size: 0.65rem;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
}

.hibah-sheet-hero {
  display: grid;
  gap: 4px;
}

.hibah-res-badge {
  justify-self: start;
  background: #fff8e6;
  color: #92400e;
  border: 1.5px solid #fcd34d;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hibah-res-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin: 4px 0 0;
}

.hibah-res-big {
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 800;
  color: var(--brand-teal-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 2px 0;
}

.hibah-res-sub {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.hibah-res-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
}

.hibah-ring-wrap {
  width: 95px;
  height: 95px;
  margin: 0 auto;
}

.hibah-res-mini {
  display: grid;
  gap: 6px;
}

.mini-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.mini-stat-item b {
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.mini-stat-item.is-gap {
  background: #fff1f2;
  border-color: #fecdd3;
}

.mini-stat-item.is-gap b {
  color: var(--brand-red);
  font-weight: 800;
}

.hibah-block {
  display: grid;
  gap: 8px;
  background: #fdfdfe;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 12px 14px;
}

.hibah-block-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hibah-stack-bar {
  display: flex;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  background: #eef2f7;
}

.hibah-stack-bar span {
  height: 100%;
}

.hibah-stack-bar .c1 { background: var(--brand-red); }
.hibah-stack-bar .c2 { background: #f59e0b; }
.hibah-stack-bar .c3 { background: var(--brand-teal); }

.hibah-legend {
  display: grid;
  gap: 4px;
  font-size: 0.8rem;
  margin-top: 4px;
}

.hibah-legend div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 8px;
  align-items: center;
}

.hibah-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: block;
}

.hibah-legend i.c1 { background: var(--brand-red); }
.hibah-legend i.c2 { background: #f59e0b; }
.hibah-legend i.c3 { background: var(--brand-teal); }
.hibah-legend b { font-variant-numeric: tabular-nums; }

.hibah-year-chart {
  width: 100%;
  height: auto;
}

.hibah-year-chart .yb { fill: #1d4ed8; }
.hibah-year-chart .yl { font-size: 10px; fill: #64748b; font-family: inherit; }
.hibah-year-chart .ya { stroke: #cbd5e1; stroke-width: 1; }

/* Cara kira & andaian */
details.hibah-how {
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
  padding: 10px 0 0;
  margin-top: 4px;
}

details.hibah-how > summary {
  list-style: none;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

details.hibah-how > summary::-webkit-details-marker {
  display: none;
}

details.hibah-how > summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand-red);
}

details.hibah-how[open] > summary::after {
  content: "−";
}

details.hibah-how > div {
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}

.hibah-sheet-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.sheet-advisor-info {
  display: grid;
  gap: 1px;
}

.sheet-advisor-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
}

.sheet-advisor-role {
  font-size: 0.68rem;
  color: #64748b;
}

.sheet-cert-tag {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-light);
  border: 1px solid rgba(0, 168, 150, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* FULL-WIDTH BOTTOM ACTION PANEL (MATCHING REFERENCE LAYOUT) */
.hibah-bottom-action-panel {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1.5px solid rgba(226, 232, 240, 0.95);
  display: grid;
  gap: 12px;
}

.hibah-action-buttons-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hibah-act-primary {
  background: #1d4ed8;
  color: #ffffff;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

.btn-hibah-act-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.btn-hibah-act-secondary {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-hibah-act-secondary:hover {
  border-color: #0f172a;
  background: #f8fafc;
  transform: translateY(-1px);
}

.hibah-action-extra-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.btn-hibah-advisor-wa {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: none;
  transition: color 0.18s;
}

.btn-hibah-advisor-wa:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.btn-hibah-reset-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.18s;
}

.btn-hibah-reset-btn:hover {
  color: var(--brand-red);
  background: rgba(237, 27, 45, 0.05);
}

/* WhatsApp Text Preview Drawer */
.hibah-preview-drawer {
  background: #1e293b;
  border-radius: 14px;
  padding: 14px 16px;
  color: #f8fafc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.preview-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.preview-drawer-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

.preview-drawer-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.preview-drawer-close:hover {
  color: #ffffff;
}

.hibah-preview-box {
  background: #0f172a;
  color: #fecdd3;
  border-radius: 10px;
  padding: 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtab Pane Headers (Tabs 2, 3, 4) */
.hibah-pane-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #fdf8f8 0%, #f8fbfb 100%);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 24px;
}

.pane-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pane-header-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 3px;
}

.pane-header-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Tab 2: Penerangan & Skrip */
.hibah-script-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.hibah-script-step .step-n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-dark));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hibah-script-step h4 {
  font-size: 0.98rem;
  margin: 2px 0 6px;
  font-weight: 800;
  color: var(--ink);
}

.hibah-say-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 4px solid var(--brand-red);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hibah-say-box::before {
  content: "Cakap: ";
  font-weight: 800;
  color: var(--brand-red);
}

.hibah-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.hibah-icon-card {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.hibah-icon-card svg {
  width: 36px;
  height: 36px;
}

.hibah-icon-card b {
  font-size: 0.92rem;
  color: var(--ink);
}

.hibah-icon-card span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.hibah-multiplier-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
}

.hibah-multiplier-row:last-child {
  border-bottom: 0;
}

.hibah-mult-track {
  height: 10px;
  background: #eef2f7;
  border-radius: 5px;
  overflow: hidden;
}

.hibah-mult-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-teal));
  border-radius: 5px;
}

.hibah-mult-val {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* Tab 3: Bantahan */
.hibah-qa-box details {
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s;
}

.hibah-qa-box details[open] {
  border-color: rgba(237, 27, 45, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.hibah-qa-box summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hibah-qa-box summary::-webkit-details-marker {
  display: none;
}

.hibah-qa-box summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand-red);
}

.hibah-qa-box details[open] summary::after {
  content: "−";
}

.hibah-qa-box details > div {
  padding: 0 18px 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 10px;
}

/* Tab 4: Underwriting checklist */
.hibah-uw-item {
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  margin-bottom: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s;
}

.hibah-uw-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hibah-uw-item summary::-webkit-details-marker {
  display: none;
}

.hibah-uw-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.hibah-uw-item summary::after {
  content: "▾";
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.hibah-uw-item[open] summary::after {
  transform: rotate(180deg);
}

.hibah-uw-item > div {
  padding: 0 16px 14px 38px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #475569;
}

.hibah-uw-gauge-box {
  background: #f8fafc;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.hibah-uw-gauge-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hibah-uw-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.hibah-uw-badge.ok {
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
}

.hibah-uw-badge.warn {
  background: #fef3c7;
  color: #b45309;
}

.hibah-uw-badge.danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* Toast */
.hibah-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

/* Hidden Rendering Target for JPEG & PDF */
.hibah-report-render,
.med-report-render {
  position: fixed;
  left: 0;
  top: 0;
  width: 780px;
  background: #ffffff;
  color: #0f172a;
  z-index: -9999;
  opacity: 0;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  box-sizing: border-box;
}

.hibah-report-render {
  width: 1123px;
  padding: 0;
}

.hrp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2.5px solid #ED1B2D;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.hrp-logo-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ED1B2D;
  margin-bottom: 4px;
}

.hrp-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.15;
}

.hrp-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0;
}

.hrp-meta-right {
  text-align: right;
  font-size: 12px;
  color: #64748b;
}

.hrp-meta-right b {
  color: #0f172a;
  font-size: 13px;
}

.hrp-summary-box {
  background: #FFF1F3;
  border: 1.5px solid #FFE4E8;
  border-left: 4px solid #ED1B2D;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 16px;
}

.hrp-summary-box b {
  color: #900A2C;
}

.hrp-profile-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  margin-bottom: 16px;
}

.hrp-profile-table div span {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.hrp-profile-table div b {
  font-size: 12.5px;
  color: #0f172a;
}

.hrp-results-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  align-items: center;
  margin-bottom: 16px;
}

.hrp-metric-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hrp-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.hrp-metric-card span {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-bottom: 2px;
}

.hrp-metric-card b {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.hrp-metric-card.gap-card {
  background: #FFF1F3;
  border-color: #fecdd3;
}

.hrp-metric-card.gap-card b {
  color: #ED1B2D;
}

.hrp-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.hrp-input-sec {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11.5px;
}

.hrp-input-sec h5 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: #ED1B2D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hrp-input-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-top: 1px dashed #f1f5f9;
}

.hrp-input-row:first-of-type {
  border-top: 0;
}

.hrp-input-row span {
  color: #64748b;
}

.hrp-input-row b {
  color: #0f172a;
}

.hrp-foot {
  border-top: 1.5px solid #e2e8f0;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  color: #64748b;
  margin-top: 14px;
}

.hrp-foot b {
  color: #0f172a;
  font-size: 13px;
}

.hrp-disclaimer {
  font-size: 9.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin-top: 10px;
  text-align: center;
}

.med-report-render {
  padding: 18px 24px 14px;
}

.mrp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2.5px solid #ED1B2D;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.mrp-logo-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ED1B2D;
  margin-bottom: 3px;
}

.mrp-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.15;
}

.mrp-subtitle {
  font-size: 11px;
  color: #64748b;
  margin: 2px 0 0;
}

.mrp-meta-right {
  text-align: right;
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.35;
}

.mrp-meta-right b {
  color: #0f172a;
  font-size: 11px;
}

.mrp-profile-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 10px;
  margin-bottom: 8px;
  align-items: stretch;
}

.mrp-profile-bar > div {
  padding: 2px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mrp-profile-bar > div:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.mrp-profile-bar div span {
  display: block;
  font-size: 8px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
}

.mrp-profile-bar div b {
  font-size: 9.5px;
  color: #0f172a;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
}

.mrp-job-sub {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
}

/* Comparison Table - Modern Clean Style */
.mrp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 9px;
  line-height: 1.25;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
}

.mrp-table th,
.mrp-table td {
  border: none;
  border-bottom: 1px solid #e2e8f0;
  padding: 3.5px 8px;
  vertical-align: middle !important;
  text-align: center !important;
}

.mrp-table th:first-child,
.mrp-table td:first-child {
  text-align: left !important;
  border-right: 1.5px solid #cbd5e1 !important;
}

.mrp-table th:nth-child(2),
.mrp-table td:nth-child(2) {
  border-left: 1.5px solid #cbd5e1 !important;
}

/* ---- Header Column Styles ---- */
.mrp-table thead th {
  font-size: 11px;
  font-weight: 800;
  padding: 0;
  vertical-align: middle !important;
  text-align: center !important;
  border-bottom: none;
}

.mrp-th-manfaat {
  background: #0f172a !important;
  color: #ffffff !important;
  border-top-left-radius: 10px;
}

.mrp-th-lite {
  background: #253346 !important;
  color: #ffffff !important;
}

.mrp-th-plus {
  background: linear-gradient(135deg, #d91425 0%, #a80c1d 60%, #880917 100%) !important;
  color: #ffffff !important;
  border-top-right-radius: 10px;
}

.mrp-head-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-sizing: border-box !important;
}

.mrp-head-left {
  justify-content: flex-start !important;
  padding-left: 12px !important;
}

.mrp-head-center {
  justify-content: center !important;
}

.mrp-plus-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  gap: 3px !important;
  padding: 6px 4px !important;
  box-sizing: border-box !important;
}

.mrp-badge-popular {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #ffffff !important;
  color: #c0102a !important;
  font-size: 7.5px !important;
  font-weight: 800 !important;
  height: 17px !important;
  line-height: 17px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
  white-space: nowrap !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.mrp-plus-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
  text-align: center !important;
}

/* ---- Vertical centering wrapper for all cells ---- */
.mrp-cbox {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 20px;
}

.mrp-cbox-left {
  align-items: flex-start;
  text-align: left;
}

.mrp-cbox-center {
  align-items: center;
  text-align: center;
}

.mrp-sub {
  display: block;
  font-size: 7.5px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 1px;
  line-height: 1.2;
}

.mrp-sec-row td {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle !important;
  text-align: center !important;
  padding: 4px 8px;
  border-top: 1.5px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.mrp-sec-row.mrp-sec-premium td {
  background: #FFF1F3;
  color: #900A2C;
  border-color: #fecdd3;
}

.mrp-cell-lbl {
  font-weight: 700;
  color: #1e293b;
  font-size: 9px;
  vertical-align: middle !important;
  text-align: left !important;
}

.mrp-cell-val {
  vertical-align: middle !important;
  text-align: center !important;
  color: #334155;
  font-size: 9px;
  font-weight: 600;
}

.mrp-plus-cell {
  background: #FFF8F9;
  font-weight: 700;
  color: #ED1B2D !important;
  border-left: 1.5px solid #fecdd3 !important;
}

.mrp-plus-cell strong {
  color: #ED1B2D;
  font-weight: 800;
}

.mrp-cell-center {
  vertical-align: middle !important;
  text-align: center !important;
}

.mrp-unlimited-cell {
  color: #0d9488 !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 9.5px;
  vertical-align: middle !important;
  text-align: center !important;
}

.mrp-saver-cell {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 9px;
  vertical-align: middle !important;
  text-align: center !important;
}

/* Premium Row */
.mrp-premium-row td {
  padding: 6px 8px;
  background: #ffffff;
  vertical-align: middle !important;
  text-align: center !important;
}

.mrp-lbl-prem {
  font-size: 9.5px;
  font-weight: 800;
  color: #0f172a;
  vertical-align: middle !important;
  text-align: left !important;
}

.mrp-cell-prem {
  vertical-align: middle !important;
  text-align: center !important;
  background: #f8fafc;
}

.mrp-prem-plus {
  background: #FFF5F6;
  border-left: 2px solid #ED1B2D;
  border-right: 2px solid #ED1B2D;
}

.mrp-prem-val {
  font-size: 16px;
  font-weight: 900;
  color: #ED1B2D;
  display: block;
  line-height: 1;
}

.mrp-prem-unit {
  font-size: 8.5px;
  font-weight: 700;
  color: #64748b;
}

.mrp-prem-badge {
  display: block;
  font-size: 7.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ED1B2D;
  margin-bottom: 2px;
}


/* Footer & Disclaimer */
.mrp-foot {
  border-top: 1.5px solid #e2e8f0;
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 9px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.3;
}

.mrp-foot b {
  color: #0f172a;
  font-size: 10.5px;
}

.mrp-disclaimer {
  font-size: 7.5px;
  color: #94a3b8;
  line-height: 1.25;
  margin-top: 4px;
  text-align: center;
}

/* Document Download & View Modal (iPadOS, iOS & Mobile Compatibility) */
.hibah-doc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.hibah-doc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: hibahFadeIn 0.22s ease-out;
}

.hibah-doc-modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 30px 24px 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid #e2e8f0;
  animation: hibahCardPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

@keyframes hibahFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hibahCardPop {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hibah-doc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

.hibah-doc-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.hibah-doc-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.hibah-doc-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.25;
}

.hibah-doc-modal-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px;
}

.hibah-doc-modal-desc b {
  color: #0f172a;
  word-break: break-all;
}

/* Document Live Preview Container */
.hibah-doc-preview-wrapper {
  margin: 0 0 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  height: 200px;
  max-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hibah-doc-preview-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.hibah-doc-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hibah-doc-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.hibah-doc-modal-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ED1B2D, #C41223);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(237, 27, 45, 0.35);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.hibah-doc-modal-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(237, 27, 45, 0.45);
}

.hibah-doc-modal-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.hibah-doc-modal-btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.hibah-doc-modal-tip {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #92400e;
  text-align: left;
}

.hibah-doc-modal-link-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 10px;
  margin-top: 4px;
  transition: color 0.15s ease;
}

.hibah-doc-modal-link-dl:hover {
  color: #ED1B2D;
}

/* ============================================================
   SUBPAGE SHARED HERO & CONTENT STYLES
   ============================================================ */
.page-hero-banner {
  background: radial-gradient(circle at 80% 20%, rgba(237, 27, 45, 0.08), transparent 50%),
              linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
  margin-bottom: 24px;
}
.page-hero-banner .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-hero-banner h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 14px 0 10px;
  line-height: 1.2;
}
.page-hero-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

/* Hero Quicklinks */
.hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-quicklink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-quicklink-btn:hover {
  background: #ffffff;
  color: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(237, 27, 45, 0.12);
}

.hero-quicklink-btn:active {
  transform: translateY(0);
}

.hero-quicklink-btn .quicklink-icon {
  font-size: 1rem;
  line-height: 1;
}

.hero-quicklink-btn .quicklink-arrow {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-quicklink-btn:hover .quicklink-arrow {
  color: var(--brand-red);
  transform: translateY(2px);
}

@media (max-width: 640px) {
  .hero-quicklinks {
    gap: 8px;
    margin-top: 18px;
  }
  .hero-quicklink-btn {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}

/* Hospital Page Steps & Directory Styles */
.hospital-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 52px;
}
.hospital-step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hospital-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.hospital-step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-red), #900A2C);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hospital-step-card h3 {
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.hospital-step-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.hospital-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.hospital-group-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hospital-group-card:hover {
  border-color: rgba(237, 27, 45, 0.35);
  transform: translateY(-3px);
}
.hospital-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hospital-group-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(237, 27, 45, 0.08);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.hospital-group-header h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--ink);
}
.hospital-group-header span {
  font-size: 0.8rem;
  color: var(--brand-teal);
  font-weight: 700;
}
.hospital-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hospital-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.hospital-group-logo-wrap {
  width: 76px;
  height: 52px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
  box-sizing: border-box;
}

.hospital-group-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hospital-group-logo-wrap.has-dual-logo {
  width: auto;
  gap: 8px;
  padding: 5px 12px;
}

.hospital-group-logo-wrap.has-dual-logo .hospital-group-logo {
  max-width: 48px;
  max-height: 40px;
}

.logo-divider {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
}

/* Prestige Medical Centres Showcase Grid */
.hospital-prestige-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.hospital-prestige-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 16px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hospital-prestige-card:hover {
  border-color: rgba(237, 27, 45, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(237, 27, 45, 0.08);
}

.hospital-prestige-logo-wrap {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hospital-prestige-logo {
  max-height: 52px;
  max-width: 110px;
  object-fit: contain;
}

.hospital-prestige-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 5px;
  line-height: 1.3;
}

.hospital-prestige-loc {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 6px;
  font-weight: 600;
}

.hospital-prestige-tag {
  font-size: 0.75rem;
  color: var(--brand-teal);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  background: rgba(0, 168, 150, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

.hospital-state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.hospital-state-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.hospital-state-card h4 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hospital-state-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hospital-state-card li {
  font-size: 0.88rem;
  color: #475569;
  padding: 5px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.hospital-state-card li:last-child {
  border-bottom: none;
}

.faq-help-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 36px 32px;
  color: #ffffff;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}
.faq-help-box h3 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: #ffffff;
}
.faq-help-box p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hospital-steps-grid { grid-template-columns: 1fr; }
  .hospital-group-grid { grid-template-columns: 1fr; }
  .hospital-prestige-grid { grid-template-columns: repeat(2, 1fr); }
  .hospital-state-grid { grid-template-columns: 1fr; }
  .faq-help-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hospital-prestige-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PHONE NUMBER VERIFICATION (KAEDAH 1: DIRECT WHATSAPP DELIVERY)
   ============================================================ */
.lead-verify-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.lead-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lead-verify-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.35;
}

.lead-verify-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 18px;
}

.lead-verify-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-verify-wa {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-verify-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.btn-verify-wa-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-verify-wa-step {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.9;
  text-transform: uppercase;
}

.btn-verify-wa-main {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
}

.btn-verify-pdf {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.btn-verify-pdf:hover {
  border-color: #ED1B2D;
  background: #fff5f5;
  color: #ED1B2D;
}

.btn-verify-pdf-content {
  display: flex;
  flex-direction: column;
}

.btn-verify-pdf-step {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-verify-pdf-main {
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-verify-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.8rem;
  color: #64748b;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.lead-verify-status.is-verified .status-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.lead-verify-status.is-verified .status-text {
  color: #047857;
  font-weight: 600;
}

/* ============================================================
   PHONE VERIFICATION GATE MODAL (POPUP)
   ============================================================ */
.phone-verify-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.phone-verify-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: hibahFadeIn 0.2s ease-out;
}

.phone-verify-modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
  border: 1px solid #e2e8f0;
  animation: hibahCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.phone-verify-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

.phone-verify-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pv-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.pv-shield-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff1f2;
  border: 2px solid #ffe4e6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
}

.pv-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 16px;
}

.pv-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  text-align: left;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.55;
}

.pv-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-pv-wa-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-pv-wa-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.btn-pv-bypass {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
  transition: color 0.2s;
  font-family: inherit;
}

.btn-pv-bypass:hover {
  color: #0f172a;
}

.pv-trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
}




