/* ===========================
   redONE Premier Center Gold
   Frontend Stylesheet — v2
   Matched to actual PHP class names
   =========================== */

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

:root {
  --red:       #e30613;
  --red-dark:  #b0000f;
  --red-light: #fff0f0;
  --navy:      #1a1a2e;
  --text:      #1a1a1a;
  --muted:     #666;
  --border:    #e8e8e8;
  --bg:        #f8f8f8;
  --white:     #fff;
  --radius:    12px;
  --shadow:    0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 6px 28px rgba(0,0,0,0.13);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =====================
   UTILITIES
   ===================== */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 16px; }
.mt-4  { margin-top: 24px; }
.section    { padding: 60px 20px; }
.section-sm { padding: 40px 20px; }
.bg-light   { background: var(--bg); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--red); color: #fff; }

/* =====================
   TOP BAR
   ===================== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 12.5px;
  padding: 7px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-bar a { color: rgba(255,255,255,0.7); transition: color 0.15s; }
.top-bar a:hover { color: #fff; }

.lang-switcher { display: flex; gap: 2px; }
.lang-btn {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover, .lang-btn.active { background: var(--red); color: #fff; }

/* =====================
   NAVBAR
   ===================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.navbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.navbar-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}
.logo-wordmark { display: flex; align-items: baseline; gap: 0; line-height: 1; }
.logo-red  { color: var(--red);  font-size: 28px; font-weight: 900; letter-spacing: -1.5px; }
.logo-dark { color: var(--text); font-size: 28px; font-weight: 900; letter-spacing: -1.5px; }
.logo-sub  { font-size: 10px; color: var(--muted); line-height: 1.3; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* Desktop nav */
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; }

.nav-link {
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover, .nav-link.active { background: var(--bg); color: var(--red); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  padding: 6px 0;
  z-index: 600;
}
.nav-dropdown:hover .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}
.dropdown-panel a:hover { background: var(--red-light); color: var(--red); }

/* Navbar CTA */
.navbar-actions { display: flex; align-items: center; gap: 8px; }
.btn-nav-apply {
  background: var(--red);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-nav-apply:hover { background: var(--red-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }

/* Mobile nav — toggled by JS on #navMenu */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 85vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 70px 24px 24px;
    z-index: 900;
    gap: 0;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  }
  .nav-menu.open { display: flex; }

  /* Dark overlay behind the drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 899;
  }
  .nav-overlay.open { display: block; }

  /* Hamburger → ✕ animation */
  #hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  #hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu .nav-link { font-size: 17px; padding: 14px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu .dropdown-panel { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; display: block; }
  .nav-menu .dropdown-panel a { font-size: 14px; padding: 10px 8px; }
  .hamburger { display: flex; }
  .btn-nav-apply { display: none; }
}

/* =====================
   HERO SLIDER
   ===================== */
.hero { position: relative; }

.hero-slide {
  display: none;
  min-height: 500px;
  padding: 0;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.hero-slide.active { display: flex; }

/* Split layout: text left, visual right */
.hero-slide .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 500px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-content {
  max-width: 560px;
  flex: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-slide h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-slide p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 22px;
  line-height: 1.55;
}

/* Price label — large and bold like original */
.hero-price {
  display: inline-block;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 8px 18px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: background 0.15s, transform 0.12s;
  box-shadow: 0 4px 16px rgba(227,6,19,0.4);
}
.btn-hero-red:hover { background: var(--red-dark); transform: translateY(-2px); color: #fff; }

.btn-hero-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}
.btn-hero-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* Hero visual — visible decorative element on the right */
.hero-visual {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-arrow:hover { background: rgba(255,255,255,0.3); }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.hero-dot.active { background: #fff; transform: scale(1.4); }

/* =====================
   MARQUEE STRIP
   ===================== */
.marquee-strip {
  background: var(--red);
  color: #fff;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner { display: inline-block; animation: marquee 28s linear infinite; padding-left: 100%; }
.marquee-inner span { margin-right: 56px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================
   QUICK REGISTER BANNER
   ===================== */
.quick-reg {
  background: linear-gradient(90deg, #b0000f 0%, var(--red) 50%, #b0000f 100%);
  color: #fff;
  padding: 28px 20px;
  text-align: center;
}
.quick-reg-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.quick-reg-inner h3 {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.quick-reg-inner p  { font-size: 14px; opacity: 0.88; margin-bottom: 16px; }
.btn-white-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red);
  padding: 13px 36px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white-red:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.25); color: var(--red); }

/* =====================
   SECTION HEADERS
   ===================== */
.section-hdr { margin-bottom: 36px; }
.section-hdr.text-center { text-align: center; }
.section-tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.section-hdr h2 { font-size: clamp(22px, 4vw, 34px); font-weight: 900; letter-spacing: -0.5px; color: var(--text); }
.section-hdr p  { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* =====================
   PLAN TABS
   ===================== */
.plan-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 4px;
  border: 1px solid var(--border);
  width: fit-content;
  margin-bottom: 28px;
}
.plan-tab {
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.plan-tab.active { background: var(--white); color: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.plan-tab:hover:not(.active) { color: var(--text); }

.tab-content { display: none; }
.tab-content.active { display: grid; }

/* Plan grid — the active tab-content IS the grid */
.plans-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* =====================
   PLAN CARD
   ===================== */
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }

/* Featured highlight */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 0 0 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

/* Plan card: featured variant */
.plan-card:has(.plan-badge) {
  border-color: var(--red);
  border-width: 2px;
}

/* Category label — slim top strip */
.plan-type {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 16px 20px 0;
  padding-top: 20px;
}
.plan-card:has(.plan-badge) .plan-type { padding-top: 36px; }

.plan-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  padding: 6px 20px 2px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.plan-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding: 0 20px 14px;
  line-height: 1.4;
  border-bottom: 1px solid var(--border);
}

/* Feature list — matches original icon-row style */
.plan-feats {
  list-style: none;
  padding: 14px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px dashed #f0f0f0;
}
.plan-feats li:last-child { border-bottom: none; padding-bottom: 0; }
.feat-icon { flex-shrink: 0; font-size: 18px; min-width: 22px; text-align: center; }

/* Price block — price is the hero element */
.plan-price-wrap {
  padding: 16px 20px 14px;
  background: #fafafa;
  border-top: 1px solid var(--border);
  text-align: center;
}
.plan-price-orig { font-size: 14px; text-decoration: line-through; color: #bbb; margin-bottom: 2px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  justify-content: center;
}
.price-rm  { font-size: 18px; font-weight: 800; color: var(--red); margin-right: 2px; }
.price-amt { font-size: 46px; font-weight: 900; color: var(--red); letter-spacing: -2px; }
.price-per { font-size: 14px; color: var(--muted); margin-left: 3px; font-weight: 600; align-self: flex-end; margin-bottom: 6px; }
.plan-contract { font-size: 11.5px; color: var(--muted); margin-top: 5px; font-weight: 600; text-align: center; }
.plan-postage  { font-size: 11.5px; color: #888; margin-top: 3px; text-align: center; }

/* Apply button */
.plan-actions { padding: 14px 18px 18px; margin-top: auto; }
.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  transition: background 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-apply:hover { background: var(--red-dark); transform: translateY(-1px); color: #fff; }

/* Category color accents on plan cards */
.plan-card.postpaid      .plan-type { color: #0c5460; }
.plan-card.prepaid       .plan-type { color: #155724; }
.plan-card.device_bundle .plan-type { color: #6a1b9a; }

/* caret already injected by PHP as ▾ in nav-link text — no ::after needed */

/* Plans footnote */
.plans-note { font-size: 12px; color: var(--muted); margin-top: 20px; text-align: center; }

/* Empty state */
.empty-plans { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-plans a { color: var(--red); font-weight: 700; }

/* =====================
   WHY CHOOSE US
   ===================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.reason-card {
  text-align: center;
  padding: 28px 16px 22px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.reason-card:hover {
  border-color: var(--red);
  box-shadow: 0 6px 24px rgba(227,6,19,0.1);
  transform: translateY(-4px);
}
.reason-icon {
  font-size: 42px;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}
.reason-card h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.45;
}

/* =====================
   AGENT BANNER
   ===================== */
.agent-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #16213e 100%);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.agent-banner h2 { font-size: clamp(20px, 4vw, 32px); font-weight: 900; margin-bottom: 10px; }
.agent-banner p  { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.agent-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 8px; }
.agent-tags span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* =====================
   PAGE HERO (plans, apply)
   ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #16213e 100%);
  color: #fff;
  padding: 52px 20px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(22px, 5vw, 38px); font-weight: 900; margin-bottom: 10px; }
.page-hero p  { font-size: 15px; color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto; }

/* =====================
   ASSURANCE BAR (apply)
   ===================== */
.assurance-bar { background: #f0fdf4; border-bottom: 1px solid #bbf7d0; padding: 10px 20px; }
.assurance-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.assurance-items span { font-size: 13px; font-weight: 700; color: #166534; }

/* =====================
   APPLY FORM
   ===================== */
.apply-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }

.apply-form { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
#successBox { background: var(--white); border: 1px solid var(--border); border-radius: 16px; }

.form-section {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; }
.form-section h3 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 18px; }

/* Form rows */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { font-size: 13px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.3px; }
.req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.1);
}
.form-group textarea { resize: vertical; }

.form-err { font-size: 12px; color: var(--red); margin-top: 4px; min-height: 16px; }

/* Plan radio selection */
.plan-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.plan-cat-header {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 6px 0 2px;
}
.plan-radio {
  display: block;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.plan-radio input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.plan-radio-inner { padding: 11px 13px; }
.plan-radio-name { font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.plan-radio-price { font-size: 14px; font-weight: 900; color: var(--red); }
.plan-radio-data  { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.plan-radio-postage { font-size: 11px; color: #888; }
.plan-radio:hover,
.plan-radio.selected { border-color: var(--red); background: var(--red-light); }
.plan-radio.selected .plan-radio-name { color: var(--red); }

/* Consent */
.consent-section { padding: 18px 28px; background: #fffde7; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-label input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; }
.consent-label span { font-size: 13.5px; color: #555; line-height: 1.55; }
.consent-label a { color: var(--red); font-weight: 700; }

/* Submit */
.form-submit-wrap { padding: 20px 28px 24px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--red-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success box */
.success-box {
  text-align: center;
  padding: 48px 32px;
}
.success-box .success-icon { font-size: 60px; margin-bottom: 16px; }
.success-box h2 { font-size: 24px; font-weight: 900; color: var(--red); margin-bottom: 8px; }
.success-box p { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.success-ref { font-size: 14px; color: var(--muted); margin-bottom: 24px !important; }
.success-ref strong { color: var(--text); font-family: monospace; font-size: 15px; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* =====================
   APPLY SIDEBAR
   ===================== */
.apply-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.sidebar-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.sidebar-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.sidebar-card a  { font-size: 13px; color: var(--red); }

.btn-wa-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s;
  margin-top: 8px;
}
.btn-wa-sidebar:hover { background: #1fb855; color: #fff; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 10px; }
.ps { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.ps span {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pdpa-note { background: #f0f7ff !important; border-color: #bfdbfe !important; }
.pdpa-note h4 { color: #1e40af; }
.pdpa-note p  { color: #3b5a9a; }
.pdpa-note a  { color: #1d4ed8; font-weight: 700; }

/* =====================
   SUPPORT BAR (footer)
   ===================== */
.support-bar { background: var(--red); padding: 12px 20px; }
.support-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.support-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 6px;
  transition: background 0.15s;
}
.support-item:hover { background: rgba(255,255,255,0.15); }

/* =====================
   FOOTER
   ===================== */
footer { background: var(--navy); color: rgba(255,255,255,0.68); padding: 52px 20px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand { font-size: 26px; font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; }
.footer-desc  { font-size: 13px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: background 0.15s, color 0.15s;
}
.footer-social a svg { display: block; flex-shrink: 0; }
.footer-social a:hover { background: rgba(255,255,255,0.18); color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* =====================
   LEGAL PAGE
   ===================== */
.legal-wrap { display: grid; grid-template-columns: 210px 1fr; gap: 32px; align-items: start; }
.legal-toc { position: sticky; top: 80px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.legal-toc h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 10px; }
.legal-toc a { display: block; padding: 7px 10px; font-size: 13px; color: var(--muted); border-radius: 6px; margin-bottom: 2px; transition: background 0.15s, color 0.15s; }
.legal-toc a:hover, .legal-toc a.active { background: var(--red-light); color: var(--red); }
.legal-section { margin-bottom: 48px; scroll-margin-top: 80px; }
.legal-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.legal-section h3 { font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
.legal-section p { font-size: 14.5px; line-height: 1.75; color: #444; margin-bottom: 10px; }
.legal-section ul, .legal-section ol { padding-left: 22px; margin-bottom: 10px; }
.legal-section li { font-size: 14.5px; line-height: 1.75; color: #444; margin-bottom: 4px; }
.legal-badge { display: inline-flex; align-items: center; gap: 6px; background: #e8f4fd; color: #0c5460; border-radius: 6px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; margin-bottom: 14px; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .reasons-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 24px; }
  .apply-wrap   { grid-template-columns: 1fr; }
  .apply-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .legal-wrap   { grid-template-columns: 1fr; }
  .legal-toc    { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
  .legal-toc h4 { width: 100%; }
}
@media (max-width: 860px) {
  .plans-grid  { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 768px) {
  .hero-slide .container { padding-top: 52px; padding-bottom: 64px; min-height: 420px; }
  .hero-visual { display: none; }
  .plan-tabs   { flex-wrap: wrap; width: 100%; }
  .plan-tab    { flex: 1; text-align: center; }
  .apply-sidebar { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 20px; }
  .top-bar-left { display: none; }
  .form-row     { grid-template-columns: 1fr; }
  .plan-radio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plans-grid  { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .agent-banner { padding: 40px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .success-actions { flex-direction: column; }
  .hero-slide h1 { font-size: 26px; letter-spacing: -0.5px; }
  .price-amt { font-size: 38px; }
}
