/* =============================================
   PRUSmart Plan Landing Page — style.css
   ============================================= */

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

:root {
  --red:       #E8003D;
  --red-dark:  #B8002F;
  --red-light: #FFF0F4;
  --green:     #25D366;
  --green-dark:#1DA851;
  --gold:      #F5A623;
  --dark:      #1A1A2E;
  --mid:       #4A4A6A;
  --light:     #F8F9FC;
  --white:     #FFFFFF;
  --border:    #E2E8F0;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- URGENCY BAR ---- */
.urgency-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 500;
}
.urgency-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D0B3E 60%, #E8003D22 100%);
  color: #fff;
  padding: 80px 0 72px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #FF6B9D, #E8003D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(232,0,61,.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-primary.btn-large { font-size: 1.05rem; padding: 16px 36px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.22); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
}
.btn-wa:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ---- SECTION COMMONS ---- */
section { padding: 72px 0; }
.section-label {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-sub {
  color: var(--mid);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 560px;
}

/* ---- PROBLEM ---- */
.problem { background: var(--light); }
.problem h2 { text-align: center; }
.problem .section-label { display: block; text-align: center; margin: 0 auto 14px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.problem-card:hover { transform: translateY(-4px); }
.problem-icon { font-size: 2rem; margin-bottom: 12px; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: .88rem; color: var(--mid); }

/* ---- KALKULATOR & SIMULASI ---- */
.kalkulator { background: var(--white); }
.simulasi { background: var(--light); }

.calc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.simulasi .calc-card { background: var(--white); }

.calc-inputs { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }

.input-group label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.input-group input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
  height: 6px;
}
.input-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .92rem;
  font-family: inherit;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--mid);
  margin-top: 4px;
}

/* Kalkulator result */
.calc-result {
  background: linear-gradient(135deg, #1A1A2E, #2D0B3E);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
}
.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.result-item { text-align: center; }
.result-item .result-label { font-size: .78rem; opacity: .75; margin-bottom: 4px; }
.result-item .result-value { font-size: 1.5rem; font-weight: 800; }
.result-item .result-value.danger { color: #FF6B9D; }
.result-item .result-value.good  { color: #6BFFB8; }
.result-divider { border: none; border-top: 1px solid rgba(255,255,255,.15); margin: 20px 0; }
.result-cta-line {
  text-align: center;
  font-size: .88rem;
  opacity: .85;
}
.result-cta-line a { color: #FF6B9D; font-weight: 700; }

/* Simulasi result */
.simulasi-result {
  background: linear-gradient(135deg, #0A3D2E, #0D5C40);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  margin-bottom: 16px;
}
.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.sim-item { text-align: center; }
.sim-item .sim-label { font-size: .78rem; opacity: .75; margin-bottom: 4px; }
.sim-item .sim-value { font-size: 1.4rem; font-weight: 800; }
.sim-item .sim-value.highlight-green { color: #6BFFB8; }
.sim-cashback {
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  font-size: .88rem;
}
.sim-cashback strong { color: #FFD700; }
.simulasi-note {
  font-size: .8rem;
  color: var(--mid);
  background: #FFF8E7;
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
}

/* ---- COMPARISON ---- */
.comparison { background: var(--white); }
.table-wrap { overflow-x: auto; margin-bottom: 24px; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.comp-table th, .comp-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: center;
}
.comp-table th {
  background: var(--light);
  font-weight: 700;
  font-size: .82rem;
}
.comp-table .col-pru {
  background: var(--red-light);
  font-weight: 600;
  color: var(--dark);
}
.comp-table thead .col-pru {
  background: var(--red);
  color: #fff;
}
.comp-table tbody tr:hover td { background: #fafafa; }
.table-note { font-size: .78rem; color: var(--mid); margin-bottom: 20px; }
.comparison-tagline {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--dark);
  font-style: italic;
}
.comparison-tagline strong { font-style: normal; }

/* ---- PSIKOLOG ---- */
.psikolog-section { background: var(--light); }
.psikolog-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.psikolog-avatar {
  font-size: 4rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.psikolog-content h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.psikolog-content p { color: var(--mid); margin-bottom: 12px; font-size: .95rem; }
.psikolog-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.psikolog-list li { font-size: .92rem; }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--white); }
.how-it-works h2 { margin-bottom: 40px; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step h4 { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.step p { font-size: .82rem; color: var(--mid); }
.step-arrow {
  font-size: 1.6rem;
  color: var(--red);
  padding-top: 12px;
  flex-shrink: 0;
}

/* ---- CASHBACK ---- */
.cashback-section { background: linear-gradient(135deg, #1A1A2E, #2D0B3E); }
.cashback-card { text-align: center; color: #fff; }
.cashback-badge {
  display: inline-block;
  background: var(--gold);
  color: #1A1A2E;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.cashback-card h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 12px; }
.cashback-card p { font-size: 1rem; opacity: .85; margin-bottom: 32px; }
.cashback-timer {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.timer-block {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 16px 22px;
  min-width: 72px;
  text-align: center;
}
.timer-block span { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.timer-block small { font-size: .7rem; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }
.timer-sep { font-size: 2rem; font-weight: 800; padding-top: 16px; opacity: .5; }

/* ---- FAQ ---- */
.faq { background: var(--light); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.faq-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 12px;
}
.faq-q:hover { background: var(--red-light); }
.faq-icon { flex-shrink: 0; font-size: 1.2rem; color: var(--red); transition: transform .25s; }
.faq-a { display: none; padding: 0 22px 18px; }
.faq-a.open { display: block; }
.faq-a p { font-size: .9rem; color: var(--mid); }

/* ---- FINAL CTA ---- */
.final-cta { background: var(--white); }
.cta-card {
  background: linear-gradient(135deg, #0A3D2E, #0D5C40);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-emoji { font-size: 2.5rem; margin-bottom: 16px; }
.cta-card h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 14px; }
.cta-card p { font-size: 1rem; opacity: .85; max-width: 520px; margin: 0 auto 28px; }
.cta-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-chips span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .82rem;
}
.cta-note {
  margin-top: 20px;
  font-size: .78rem;
  opacity: .6;
}
.cta-note code {
  background: rgba(255,255,255,.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 32px 0;
  text-align: center;
  font-size: .8rem;
}
.footer p + p { margin-top: 8px; }
.footer-disc { font-size: .72rem; max-width: 680px; margin: 0 auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .hero { padding: 56px 0 52px; }
  .calc-card { padding: 24px 18px; }
  .psikolog-card { flex-direction: column; padding: 28px 20px; }
  .cta-card { padding: 40px 24px; }
  .step-arrow { display: none; }
  .steps { gap: 24px; }
  .step { max-width: 100%; }
  .timer-block { padding: 12px 16px; min-width: 60px; }
  .timer-block span { font-size: 1.6rem; }
}
