/* ============================================================
   Roslinsah Landing — 7 Section Rebuild
   Palette: Coastal Trust + Charcoal WhatsApp
   ============================================================ */

:root {
  /* 5-warna palette */
  --r-white:    #FFFFFF;
  --r-surface:  #F4F1EC;
  --r-navy:     #0A2540;
  --r-navy-soft:#4A5878;
  --r-red:      #E63946;
  --r-sand:     #F4A261;
  --r-charcoal: #1A1814;

  /* Type system — 4 weight sahaja */
  --w-700: 700;  /* Hero H1 */
  --w-600: 600;  /* Section H2, bridging, bullet title, FAQ Q */
  --w-500: 500;  /* Sub, button, label */
  --w-400: 400;  /* Body, FAQ A, microcopy */

  /* Spacing */
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 18px;
  --gap-lg: 28px;
  --gap-xl: 56px;
  --gap-2xl: 80px;

  --radius-btn: 10px;
  --radius-card: 14px;
}

/* ============================================================
   Override base utk landing page ni
   ============================================================ */
body { background: var(--r-white); color: var(--r-navy); }

.r-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Buttons
   ============================================================ */
.r-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: var(--w-600);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.r-btn:hover { transform: translateY(-1px); }

.r-btn--primary {
  background: var(--r-red);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}
.r-btn--primary:hover {
  background: #D62836;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.r-btn--whatsapp {
  background: var(--r-charcoal);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.r-btn--whatsapp:hover {
  background: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.r-btn--whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.r-btn--full {
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
}

/* ============================================================
   Section base
   ============================================================ */
.r-section {
  padding: var(--gap-xl) 0;
}
.r-section--hero,
.r-section--proof,
.r-section--final {
  padding: 80px 0;
}
.r-section--surface { background: var(--r-surface); }

.r-section__inner { text-align: center; }
.r-section__h2 {
  color: var(--r-navy);
  font-size: 32px;
  font-weight: var(--w-600);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 14px;
}
.r-section__sub {
  color: var(--r-navy-soft);
  font-size: 17px;
  font-weight: var(--w-400);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 28px;
}

/* ============================================================
   Bridging (1 ayat antara section)
   ============================================================ */
.r-bridge {
  text-align: center;
  padding: 28px 24px 40px;
  background: var(--r-surface);
}
.r-bridge__eyebrow {
  color: var(--r-red);
  font-size: 12px;
  font-weight: var(--w-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.r-bridge__text {
  color: var(--r-navy);
  font-size: 19px;
  font-weight: var(--w-600);
  line-height: 1.45;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   Section 1 — Hero
   ============================================================ */
.r-hero {
  text-align: center;
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 700px 350px at 80% 20%, rgba(244, 162, 97, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 280px at 15% 80%, rgba(230, 57, 70, 0.06), transparent 60%);
}
.r-hero__eyebrow {
  display: inline-block;
  color: var(--r-navy);
  font-size: 13px;
  font-weight: var(--w-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 6px 14px;
  background: rgba(10, 37, 64, 0.08);
  border-radius: 100px;
}
.r-hero__h1 {
  color: var(--r-navy);
  font-size: 68px;
  font-weight: var(--w-700);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 1040px;
  margin: 0 auto 40px;
}
.r-hero__h1 em {
  color: var(--r-red);
  font-style: normal;
  position: relative;
  display: inline-block;
}
.r-hero__h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: var(--r-sand);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}
.r-hero__sub {
  color: var(--r-navy-soft);
  font-size: 19px;
  font-weight: var(--w-500);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 32px;
}
.r-hero__support {
  color: var(--r-navy-soft);
  font-size: 17px;
  font-weight: var(--w-400);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 56px;
}
.r-hero__identity {
  margin-bottom: 56px;
}
.r-hero__identity-name {
  display: block;
  color: var(--r-navy);
  font-size: 16px;
  font-weight: var(--w-700);
  margin-bottom: 2px;
}
.r-hero__identity-role {
  display: block;
  color: var(--r-navy-soft);
  font-size: 14px;
  font-weight: var(--w-400);
}
.r-hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.r-hero__trust {
  color: var(--r-navy);
  font-size: 14px;
  font-weight: var(--w-500);
  font-style: italic;
}

/* ============================================================
   Section 2 — Masalah + Pendekatan (3 fokus utama)
   ============================================================ */
.r-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}
.r-focus-card {
  background: var(--r-white);
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.r-focus-card:hover {
  border-color: var(--r-red);
  transform: translateY(-2px);
}
.r-focus-card__num {
  display: inline-block;
  color: var(--r-red);
  font-size: 12px;
  font-weight: var(--w-700);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.r-focus-card__title {
  color: var(--r-navy);
  font-size: 18px;
  font-weight: var(--w-600);
  line-height: 1.35;
}

/* ============================================================
   Section 3 — Review Strategi (bullets + CTA)
   ============================================================ */
.r-bullet-list {
  list-style: none;
  padding: 0;
  margin: 28px auto;
  max-width: 580px;
  text-align: left;
}
.r-bullet-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: var(--r-navy);
  font-size: 16px;
  font-weight: var(--w-400);
  line-height: 1.5;
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}
.r-bullet-list li:last-child { border-bottom: none; }
.r-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23E63946' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.r-bullet-list__title {
  font-weight: var(--w-600) !important;
  margin-bottom: 4px;
  color: var(--r-navy);
}

.r-bullet-intro {
  text-align: center;
  color: var(--r-navy);
  font-size: 15px;
  font-weight: var(--w-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ============================================================
   Section 4 — Proof of Work (placeholder blocks)
   ============================================================ */
.r-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.r-proof-block {
  background: var(--r-white);
  border: 2px dashed rgba(10, 37, 64, 0.25);
  border-radius: var(--radius-card);
  padding: 40px 24px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--r-navy-soft);
  font-size: 14px;
  font-family: ui-monospace, monospace;
  line-height: 1.5;
}
.r-proof-block--filled {
  border: 1px solid rgba(10, 37, 64, 0.10);
  padding: 0;
  min-height: 0;
  display: block;
  text-align: left;
  overflow: hidden;
  margin: 0;
  background: var(--r-white);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}
.r-proof-block--wide {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.r-proof-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.r-proof-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.r-proof-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.r-proof-cap {
  display: block;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--r-navy-soft);
  font-family: var(--font-body);
  border-top: 1px solid rgba(10, 37, 64, 0.06);
  background: var(--r-white);
}

/* ============================================================
   Section 5 — Proses (5 langkah)
   ============================================================ */
.r-steps {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 620px;
  text-align: left;
  counter-reset: step;
}
.r-steps li {
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  counter-increment: step;
  color: var(--r-navy);
  font-size: 16px;
  font-weight: var(--w-600);
  line-height: 1.5;
}
.r-steps li:last-child { border-bottom: none; }
.r-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--r-navy);
  color: var(--r-white);
  font-size: 14px;
  font-weight: var(--w-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Section 6 — Borang
   ============================================================ */
.r-form-wrap {
  background: var(--r-white);
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  max-width: 640px;
  margin: 32px auto 0;
  box-shadow: 0 10px 40px rgba(10, 37, 64, 0.06);
  text-align: left;
}
.r-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.r-form__field { margin-bottom: 16px; }
.r-form__label {
  display: block;
  color: var(--r-navy);
  font-size: 14px;
  font-weight: var(--w-500);
  margin-bottom: 6px;
}
.r-form__input,
.r-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10, 37, 64, 0.2);
  border-radius: 8px;
  font-size: 15px;
  font-weight: var(--w-400);
  color: var(--r-navy);
  background: var(--r-white);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.r-form__input:focus,
.r-form__textarea:focus {
  outline: none;
  border-color: var(--r-red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}
.r-form__textarea {
  min-height: 90px;
  resize: vertical;
}
.r-form__micro {
  text-align: center;
  color: var(--r-navy-soft);
  font-size: 13px;
  font-weight: var(--w-400);
  margin-top: 14px;
  line-height: 1.5;
}

/* ============================================================
   Section 7 — FAQ + Final CTA
   ============================================================ */
.r-faq {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: left;
}
.r-faq__item {
  border-bottom: 1px solid rgba(10, 37, 64, 0.12);
}
.r-faq__item:first-child { border-top: 1px solid rgba(10, 37, 64, 0.12); }
.r-faq__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 36px 22px 0;
  font-size: 17px;
  font-weight: var(--w-600);
  color: var(--r-navy);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  font-family: inherit;
}
.r-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: var(--w-400);
  color: var(--r-red);
  transition: transform 0.2s;
}
.r-faq__item[open] .r-faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.r-faq__a {
  padding: 0 0 22px;
  color: var(--r-navy-soft);
  font-size: 16px;
  font-weight: var(--w-400);
  line-height: 1.65;
}

/* Final CTA */
.r-final {
  background: var(--r-surface);
  padding: 80px 0;
  text-align: center;
}
.r-final__h2 {
  color: var(--r-navy);
  font-size: 36px;
  font-weight: var(--w-700);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto 18px;
}
.r-final__h2 em {
  color: var(--r-red);
  font-style: normal;
}
.r-final__body {
  color: var(--r-navy-soft);
  font-size: 17px;
  font-weight: var(--w-400);
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto 32px;
}
.r-final__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Artikel Terkini (BBU card di bawah)
   ============================================================ */
.r-artikel {
  padding: 72px 0 64px;
  background: var(--r-white);
}
.r-artikel__head {
  text-align: center;
  margin-bottom: 36px;
}
.r-artikel__h2 {
  color: var(--r-navy);
  font-size: 28px;
  font-weight: var(--w-600);
  margin-bottom: 10px;
}
.r-artikel__sub {
  color: var(--r-navy-soft);
  font-size: 16px;
  font-weight: var(--w-400);
}
.r-artikel__card {
  display: block;
  max-width: 820px;
  margin: 0 auto;
  background: var(--r-white);
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.r-artikel__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.12);
}
.r-artikel__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.r-artikel__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--r-red);
  color: var(--r-white);
  font-size: 11px;
  font-weight: var(--w-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.r-artikel__body {
  padding: 24px 28px 28px;
}
.r-artikel__eyebrow {
  color: var(--r-red);
  font-size: 12px;
  font-weight: var(--w-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.r-artikel__title {
  color: var(--r-navy);
  font-size: 22px;
  font-weight: var(--w-700);
  line-height: 1.3;
  margin-bottom: 10px;
}
.r-artikel__desc {
  color: var(--r-navy-soft);
  font-size: 15px;
  font-weight: var(--w-400);
  line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */
.r-footer {
  background: var(--r-navy);
  color: var(--r-white);
  padding: 48px 0 32px;
}
.r-footer__inner { text-align: center; }
.r-footer__name {
  font-size: 16px;
  font-weight: var(--w-700);
  margin-bottom: 4px;
}
.r-footer__role {
  font-size: 14px;
  font-weight: var(--w-400);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.r-footer__tagline {
  font-size: 14px;
  font-weight: var(--w-400);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 20px;
}
.r-footer__wa {
  display: inline-block;
  color: var(--r-sand);
  font-size: 14px;
  font-weight: var(--w-500);
  text-decoration: none;
  margin-bottom: 18px;
}
.r-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  margin-top: 18px;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #128C7E;
  color: var(--r-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.35);
  z-index: 999;
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 768px) {
  .r-section { padding: 48px 0; }
  .r-section--hero, .r-section--proof, .r-section--final, .r-final { padding: 56px 0; }

  .r-hero { padding: 56px 0 48px; }
  .r-hero__h1 { font-size: 42px; line-height: 1.15; margin-bottom: 32px; }
  .r-hero__sub { font-size: 17px; margin-bottom: 28px; }
  .r-hero__support { font-size: 15.5px; margin-bottom: 44px; }
  .r-hero__identity { margin-bottom: 44px; }
  .r-hero__cta { flex-direction: column; gap: 10px; }
  .r-hero__cta .r-btn { width: 100%; max-width: 320px; margin: 0 auto; }

  .r-section__h2, .r-artikel__h2 { font-size: 26px; }
  .r-section__sub { font-size: 15.5px; }

  .r-focus-grid { grid-template-columns: 1fr; gap: 12px; }

  .r-bullet-list li { font-size: 15.5px; padding: 8px 0 8px 28px; }

  .r-proof-grid { grid-template-columns: 1fr; gap: 12px; }
  .r-proof-block { padding: 32px 20px; min-height: 110px; }

  .r-steps li {
    font-size: 15.5px;
    padding: 14px 0 14px 48px;
  }
  .r-steps li::before { width: 32px; height: 32px; font-size: 13px; top: 10px; }

  .r-form-wrap { padding: 28px 20px; }
  .r-form__row { grid-template-columns: 1fr; gap: 0; }

  .r-bridge { padding: 24px 20px 32px; }
  .r-bridge__text { font-size: 17px; }

  .r-final__h2 { font-size: 28px; }
  .r-final__body { font-size: 16px; }
  .r-final__cta { flex-direction: column; gap: 10px; }
  .r-final__cta .r-btn { width: 100%; max-width: 320px; margin: 0 auto; }

  .r-artikel__img { height: 220px; }
  .r-artikel__title { font-size: 19px; }

  .r-faq__q { font-size: 16px; padding: 18px 32px 18px 0; }
  .r-faq__a { font-size: 15.5px; }

  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* ============================================
   S2 — Pillar visual (infografik 3 pilar)
   ============================================ */
.r-pillar-visual {
  max-width: 880px;
  margin: 48px auto 0;
  padding: 0;
}
.r-pillar-visual__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.06);
}

/* S4 — proof grid two-column (testimoni only) */
.r-proof-grid--two {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* S4 — extra spacing between video grid and CTA */
.r-proof-cta-spacer {
  margin-top: 64px;
}
@media (max-width: 768px) {
  .r-proof-cta-spacer {
    margin-top: 48px;
  }
}

/* S4 — WhatsApp button merah (Pilihan A: S4 sahaja) */
.r-btn--whatsapp-red {
  background: var(--r-red) !important;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3) !important;
}
.r-btn--whatsapp-red:hover {
  background: #D62836 !important;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4) !important;
}

@media (max-width: 768px) {
  .r-pillar-visual {
    margin: 32px -8px 0;
  }
  .r-pillar-visual__img {
    border-radius: 12px;
  }
  .r-proof-grid--two {
    grid-template-columns: 1fr !important;
  }
}
