/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0033a0;
  --primary-light: #002266;
  --secondary: #ff9900;
  --accent: #ffcc00;
  --accent-light: #fff9e6;
  --text-main: #1e293b;
  --text-muted: #475569;
  --bg-color: #f8fafc;
  --white: #ffffff;
  /* Section backgrounds — alternating cool / warm tints */
  --section-self-check-bg: linear-gradient(165deg, #fef08a 0%, #facc15 42%, #eab308 100%);
  --section-highlight-bg: linear-gradient(165deg, #e0eaff 0%, #f1f5f9 38%, #fff8e6 100%);
  --section-journey-bg: linear-gradient(185deg, #e0f2fe 0%, #f8fafc 55%, #ffffff 100%);
  --section-split-bg: linear-gradient(135deg, #fffbeb 0%, #f8fafc 48%, #eff6ff 100%);
  --section-reviews-bg: linear-gradient(160deg, #f1f5f9 0%, #ffffff 45%, #fefce8 100%);
  --section-faq-bg: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 22%, #f8fafc 65%, #e0f2fe 100%);
  --border-radius: 16px;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

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

/* Button */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-color: #fbbf24;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #0284c7;
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

header .logo {
  flex-shrink: 0;
  min-width: 0;
}

header nav {
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  color: var(--accent);
  font-size: 1.8rem;
}

/* Hero — full-bleed image; text + poster overlaid */
.banner-hero {
  position: relative;
  background: #0033a0 url('assets/hero_image.png') no-repeat center center/cover;
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-bottom: 0;
  overflow: hidden;
}

.banner-hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.banner-hero-inner .banner-logo-box {
  margin-bottom: 12px;
}

.banner-hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  min-height: 0;
}

.banner-logo-box {
  background: white;
  display: inline-flex;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-left: 5%;
  align-self: flex-start;
  z-index: 10;
}
.banner-logo-box img {
  height: 85px; 
}

.banner-text-content {
  padding: 32px 5% 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.banner-line-1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 51, 160, 0.8), 0 0 15px rgba(0, 51, 160, 0.5);
  margin-bottom: 12px;
  line-height: 1.15;
}

.banner-line-lead {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #ffcc00;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35);
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 520px;
}

.banner-line-2 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: #ffcc00;
  text-shadow: 3px 3px 10px rgba(0, 51, 160, 0.8), 0 0 20px rgba(0, 51, 160, 0.5);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.banner-subtext {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.08rem, 2.15vw, 1.35rem);
  font-weight: 600;
  margin-top: 0;
  max-width: 520px;
  line-height: 1.45;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.45);
}

.banner-subtext-highlight {
  color: #ffcc00;
  font-weight: 800;
}

.banner-hero-visual {
  position: relative;
  min-height: 280px;
  z-index: 2;
}

/* Desktop: anchor RM1 card to bottom-right of hero image (right column) */
.banner-hero-poster.banner-price-card {
  position: absolute;
  left: auto;
  right: clamp(12px, 2.5vw, 36px);
  top: auto;
  bottom: clamp(18px, 3.5vh, 44px);
  transform: none;
  margin: 0;
  max-width: min(264px, calc(100% - 24px));
  padding: 14px 16px;
  border-width: 3px;
  border-radius: 10px;
}

.banner-hero-poster.banner-price-card:hover {
  transform: translateY(-4px);
}

.banner-hero-poster.banner-price-card .b-price-top {
  font-size: 0.95rem;
  line-height: 1.25;
}

.banner-hero-poster.banner-price-card .b-price-main {
  margin: 6px 0;
}

.banner-hero-poster.banner-price-card .b-price-curr {
  font-size: 1.65rem;
  margin-top: 6px;
  margin-right: 4px;
}

.banner-hero-poster.banner-price-card .b-price-num {
  font-size: 5rem;
}

.banner-hero-poster.banner-price-card .b-price-star {
  font-size: 2rem;
  margin-top: 6px;
}

.banner-hero-poster.banner-price-card .b-price-screening {
  font-size: 0.9rem;
  margin: 2px 0 0;
}

.banner-hero-poster.banner-price-card .b-price-normal {
  font-size: 1.02rem;
}

.banner-hero-poster.banner-price-card .b-price-tnc {
  font-size: 0.76rem;
  margin-top: 4px;
}

.banner-bottom-bar {
  display: none;
}

.banner-sponsors {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.sponsor-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sponsor-label {
  color: #0033a0;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}

.sponsor-brand {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.banner-price-card {
  background: #ffcc00;
  padding: 20px 22px;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  width: auto;
  max-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 30;
}

.banner-price-card:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
}

.b-price-top {
  color: #0033a0;
  font-weight: 700;
  font-size: 1.1rem;
}

.b-price-main {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e60000;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  line-height: 1;
  margin: 10px 0;
}

.b-price-curr { 
  font-size: 2rem; 
  margin-top: 10px; 
  margin-right: 5px; 
  line-height: 0.9; 
  text-align: right; 
}

.b-price-num { font-size: 6.5rem; }
.b-price-star { font-size: 2.5rem; margin-top: 10px; }

.b-price-screening {
  color: #0033a0;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  margin: 4px 0 2px;
  line-height: 1.2;
}

.b-price-normal {
  color: #0033a0;
  font-weight: 800;
  font-style: italic;
  font-size: 1.2rem;
}

.b-price-tnc {
  color: #0033a0;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 5px;
}

/* Section 1 & 2 - Two Column Layout */
.section {
  padding: 100px 0;
}

.section-bg-white {
  background: var(--section-split-bg);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout.reverse .split-content {
  order: 2;
}

.split-layout.reverse .split-image {
  order: 1;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.split-content p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.split-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* Highlight Section */
.highlight-section {
    padding: 80px 0;
    background: var(--section-highlight-bg);
    position: relative;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.highlight-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: 0 20px 40px rgba(0, 51, 160, 0.05);
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 5px solid var(--accent);
    max-width: 900px;
    margin: 0 auto;
}

.highlight-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.cause-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cause-card {
    background: var(--bg-color);
    padding: 30px 20px;
    border-radius: 16px;
    min-width: 160px;
    border: 1px solid rgba(0, 51, 160, 0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.cause-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 51, 160, 0.1);
    border-color: var(--secondary);
}

.cause-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 153, 0, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: background 0.3s, color 0.3s;
}

.cause-card:hover .cause-icon {
    background: var(--secondary);
    color: white;
}

.cause-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
}

.highlight-reveal {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.text-accent {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 204, 0, 0.4);
    z-index: -1;
    border-radius: 3px;
}

.highlight-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    flex: 1;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 51, 160, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 51, 160, 0.05);
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
}

.premium-tracker {
    background: linear-gradient(145deg, #fffde7 0%, #fff59d 45%, #ffeb3b 100%);
    border-radius: 100px;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 auto;
    box-shadow: 0 8px 22px rgba(251, 192, 45, 0.45), 0 2px 0 rgba(255, 255, 255, 0.65) inset;
    border: 2px solid #fbc02d;
}

.tracker-icon-pulse {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: trackingPulse 2s infinite;
}

@keyframes trackingPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 51, 160, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 51, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 51, 160, 0); }
}

.premium-tracker .tracker-text {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
}

.premium-tracker .tracker-number {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
}

/* Section 3 - CTA & Campaign */
.campaign-section {
  background: linear-gradient(140deg, #0a4cb8 0%, var(--primary) 38%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.campaign-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 68%);
}

.campaign-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
  align-items: center;
  text-align: center;
}

.campaign-card-wrapper {
  width: 100%;
  max-width: 1100px;
}

.campaign-list {
  list-style: none;
  margin-bottom: 40px;
}

.campaign-list li {
  font-size: 1.125rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-list li i {
  color: var(--accent);
  font-size: 1.25rem;
}

.campaign-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-xl);
  text-align: center;
  color: var(--text-main);
}

.campaign-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.campaign-card .price {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 20px 0;
  font-family: 'Outfit', sans-serif;
}

.campaign-card .normal-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 1.125rem;
  margin-bottom: 24px;
}

/* Campaign Form Styles */
.campaign-form {
    text-align: left;
    margin-top: 12px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.1);
    background: white;
}

.form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: border-color 0.2s;
}

.form-select:disabled {
    background-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
}

.pdpa-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 16px;
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pdpa-check input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

@media (max-width: 576px) {
  .pdpa-check input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    margin-top: 2px;
  }
}

.outlet-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 420px) {
    .outlet-select-grid {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    width: 100%;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: none;
}

.form-message.error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.form-success-state {
    display: none;
    padding: 30px 20px;
    text-align: center;
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: 12px;
}

.form-success-state.active {
    display: block;
}

.success-icon {
    font-size: 3rem;
    color: #16a34a;
    margin-bottom: 16px;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    display: none;
}

.loading .loader {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Self-Check Section */
.self-check-section {
    padding: 100px 0;
    background: var(--section-self-check-bg);
}

.self-check-card {
    background: white;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0, 51, 160, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.self-check-left {
    flex: 1.2;
}

.self-check-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
    background-image: radial-gradient(rgba(0, 51, 160, 0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(0, 51, 160, 0.05);
    position: sticky;
    top: 20px;
    overflow: hidden;
}

@media (max-width: 991px) {
  .self-check-right {
    position: relative;
    top: auto;
  }
}

.self-check-right::before {
    content: 'D';
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 20rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.02;
    bottom: -50px;
    right: -30px;
    line-height: 1;
    pointer-events: none;
}

.self-check-right::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.self-check-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.2;
}

.self-check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    background: white;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #eef2f6;
    user-select: none;
}

.check-item:hover {
    border-color: #cbd5e1;
    transform: translateX(5px);
}

.check-item.selected {
    background: #f0f7ff;
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.check-box-custom {
    width: 28px;
    height: 28px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s;
    flex-shrink: 0;
}

.check-box-custom i {
    color: white;
    font-size: 0.9rem;
    display: none;
}

.check-item.selected .check-box-custom {
    background: var(--secondary);
    border-color: var(--secondary);
}

.check-item.selected .check-box-custom i {
    display: block;
}

.check-item input[type="checkbox"] {
    display: none;
}

.check-text {
    flex: 1;
}

.check-label {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    display: block;
}

.check-examples {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.self-check-results {
    display: block;
    text-align: center;
}

.placeholder-result {
    text-align: center;
    padding: 40px 0;
}

.placeholder-result i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.placeholder-result p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.result-box {
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.08);
    border: 2px solid var(--accent);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.4s ease-out;
}

.result-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
}

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

@media (max-width: 1100px) {
    .self-check-card {
        flex-direction: column;
        padding: 40px;
        gap: 40px;
    }
    .self-check-title {
        text-align: center;
        font-size: 2rem;
    }
}

/* Landscape Card Styles */
.form-register-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.25;
}

.card-form-side:has(.form-success-state.active) .form-register-title {
    display: none;
}

.landscape-card {
    display: flex;
    max-width: 1100px !important;
    margin: 0 auto;
    text-align: left !important;
    gap: 50px;
    align-items: stretch;
    padding: 30px 50px !important;
}

.card-offer-details {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px dashed #cbd5e1;
    padding-right: 50px;
}

.card-form-side {
    flex: 1.4;
}

.card-offer-details .price {
    margin: 10px 0 !important;
    text-align: center;
}

.card-offer-details .normal-price {
    text-align: center;
}

.card-offer-details p {
    text-align: center;
}

.card-offer-details h3 {
    text-align: center;
    margin-bottom: 5px !important;
}

.card-offer-details img {
    margin: 0 auto 20px;
    display: block;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: var(--section-reviews-bg);
}

.reviews-trust-badge {
    background: #fff9e6;
    color: #b45309;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    border: 1px solid #fde68a;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.reviews-scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: 50px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    padding-bottom: 16px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 51, 160, 0.35) transparent;
}

.reviews-scroll::-webkit-scrollbar {
    height: 8px;
}

.reviews-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 51, 160, 0.35);
    border-radius: 4px;
}

.reviews-scroll:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 8px;
}

.review-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 51, 160, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: calc((100% - 16px) / 2);
    min-width: 0;
    max-width: calc((100% - 16px) / 2);
    scroll-snap-align: start;
    box-sizing: border-box;
}

.review-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.review-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

/* Narrow phones: one review card per view for readability */
@media (max-width: 480px) {
    .reviews-scroll {
        scroll-padding-inline: 8px;
        gap: 12px;
    }
    .review-card {
        flex: 0 0 88%;
        width: 88%;
        min-width: 88%;
        max-width: 88%;
    }
}

@media (max-width: 991px) {
    .landscape-card {
        flex-direction: column;
    }
    .card-offer-details {
        border-right: none;
        border-bottom: 1px dashed #cbd5e1;
        padding-right: 0;
        padding-bottom: 40px;
    }
}

/* Journey Section */
.journey-section {
    padding: 100px 0;
    background: var(--section-journey-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.journey-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 55% at 50% -5%, rgba(14, 165, 233, 0.14) 0%, transparent 58%);
    pointer-events: none;
    z-index: 0;
}

.journey-section .container {
    position: relative;
    z-index: 1;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.journey-item {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 160, 0.05);
    display: flex;
    flex-direction: column;
}

.journey-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 51, 160, 0.1);
    border-color: var(--accent);
}

.journey-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.journey-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journey-text {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.journey-step {
    background: var(--accent);
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin: 0 auto 10px;
}

.journey-item h4 {
    font-size: 1.15rem;
    margin: 0;
}

.journey-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .journey-grid {
        grid-template-columns: 1fr;
    }
}

/* Why it Matters — split cards (image | text) ×2, then large chart */
.why-matters-section {
    text-align: center;
}

.why-matters-section .wm-title {
    margin-bottom: 40px;
}

.wm-stack {
    margin: 0 auto 36px;
    max-width: min(1180px, 100%);
    width: 100%;
    overflow-x: hidden;
}

.wm-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 2.5vw, 22px);
    margin-bottom: clamp(20px, 3.5vw, 30px);
}

.wm-split-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    background: var(--white);
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    border: 1px solid rgba(0, 51, 160, 0.08);
    box-shadow: var(--shadow-md);
    min-width: 0;
}

.wm-split-media {
    flex: 0 0 44%;
    max-width: 260px;
    min-width: 120px;
    background: #e2e8f0;
}

.wm-split-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wm-split-body {
    flex: 1;
    min-width: 0;
    padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2.5vw, 22px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wm-science-card {
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    border: 1px solid rgba(0, 51, 160, 0.12);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2.5vw, 20px);
    width: 100%;
    box-sizing: border-box;
}

.wm-science-card.wm-science-hero {
    min-height: 0;
}

.wm-science-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: center top;
}

.wm-block-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0 0 12px;
    font-weight: 800;
}

.wm-block-text {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.wm-sams {
    color: #b91c1c;
    font-weight: 700;
}

.wm-lead {
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: 1.125rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.5;
}

.wm-cta-wrap {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .wm-cards-row {
        grid-template-columns: 1fr;
    }
    .wm-split-card {
        flex-direction: row;
    }
    .wm-split-media {
        flex: 0 0 38%;
        max-width: 200px;
    }
}

@media (max-width: 520px) {
    .wm-split-card {
        flex-direction: column;
    }
    .wm-split-media {
        flex: none;
        max-width: none;
        width: 100%;
        aspect-ratio: 16 / 10;
        max-height: 220px;
    }
    .wm-split-body {
        padding: 16px 16px 20px;
    }
    .wm-block-title {
        font-size: 1.15rem;
    }
    .wm-block-text {
        font-size: 0.95rem;
    }
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--section-faq-bg);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.faq-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  transition: background-color 0.3s;
  line-height: 1.35;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question i {
  color: var(--secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-top: 3px;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--white);
}

.faq-answer p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.faq-answer p:last-child {
  padding-bottom: 20px;
}

/* Footer */
footer {
  background: linear-gradient(165deg, #001f5c 0%, var(--primary-light) 48%, #001a44 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
}

footer p {
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991px) {
  .split-layout,
  .campaign-grid {
    grid-template-columns: 1fr;
  }
  
  .split-layout.reverse .split-content {
    order: 1;
  }
  
  .split-layout.reverse .split-image {
    order: 2;
  }
  
  .section, .campaign-section {
    padding: 60px 0;
  }
  
  .banner-line-1 { font-size: 2.25rem; }
  .banner-line-2 { font-size: 3.5rem; }
  .banner-line-lead { font-size: clamp(1.35rem, 4vw, 1.85rem); }
  .banner-subtext { font-size: clamp(1rem, 2.5vw, 1.15rem); }
  .banner-hero-grid {
    grid-template-columns: 1fr;
  }
  .banner-text-content {
    padding-bottom: 28px;
    order: 1;
  }
  .banner-hero-visual {
    min-height: 300px;
    order: 2;
  }
  /* Mobile / tablet hero: RM1 card bottom-right (not centered) */
  .banner-hero-poster.banner-price-card {
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    top: auto;
    bottom: 20px;
    transform: none;
    max-width: 264px;
  }
  .banner-hero-poster.banner-price-card:hover {
    transform: translateY(-4px);
  }
  
  .highlight-card { padding: 30px 20px; }
  .cause-grid { gap: 15px; }
  .cause-card { min-width: 140px; padding: 20px 10px; }
  .highlight-reveal { font-size: 1.4rem; }
  .premium-tracker { border-radius: 20px; text-align: center; }
  .cookie-container { flex-direction: column; text-align: center; }
  .feature-list { flex-direction: column; gap: 15px; }
}

@media (max-width: 768px) {
  .split-layout, .campaign-grid { gap: 40px; }
  .section, .campaign-section { padding: 50px 0; }
  .banner-sponsors { gap: 30px; }
  .cause-card { min-width: 100%; } /* Stack cause cards on small tablets/phones */
}

@media (max-width: 576px) {
  .container {
    padding: 0 max(15px, env(safe-area-inset-right)) 0 max(15px, env(safe-area-inset-left));
  }
  header { padding: 10px 0; }
  .logo img { height: 35px !important; }
  .lang-switch-btn { padding: 8px 10px; font-size: 0.75rem; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; box-sizing: border-box; }
  .lang-switch--to-cn span,
  .lang-switch--to-en span { display: none; }
  .lang-switch--to-cn::after { content: '中文'; font-size: 0.75rem; font-weight: 600; }
  .lang-switch--to-en::after { content: 'EN'; font-size: 0.75rem; font-weight: 600; }
  header .btn-secondary { padding: 8px 14px !important; font-size: 0.8rem !important; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }

  .section, .campaign-section, .self-check-section, .journey-section, .reviews-section, .faq-section {
    padding: 30px 0;
  }
  .reviews-scroll {
    margin-top: 28px;
  }
  .review-card {
    padding: 20px 16px;
  }
  .review-title {
    font-size: 1.05rem;
  }
  .review-body {
    font-size: 0.92rem;
  }
  .banner-hero {
      min-height: auto;
      padding-top: 10px;
      padding-bottom: 0;
  }
  .banner-line-1 { font-size: 1.5rem; }
  .banner-line-lead { font-size: 1.2rem; margin-bottom: 10px; }
  .banner-line-2 { font-size: 1.7rem; margin-bottom: 8px; }
  .banner-subtext { font-size: 0.98rem !important; line-height: 1.4 !important; margin-top: 0 !important; }
  .banner-logo-box { margin-left: 10px; padding: 6px 10px; }
  .banner-logo-box img { height: 32px; }
  .banner-text-content { 
      padding: 12px 14px 8px;
      justify-content: flex-start;
  }
  .banner-hero {
      background-position: 72% center;
  }
  .banner-hero-visual {
      min-height: 220px;
  }
  .banner-hero-poster.banner-price-card { 
      padding: 12px 14px; 
      bottom: 12px;
      left: auto;
      right: max(10px, env(safe-area-inset-right));
      top: auto;
      transform: none;
      width: auto;
      max-width: min(288px, calc(100vw - 20px - env(safe-area-inset-right)));
      border-width: 2px;
      border-radius: 9px;
  }
  .banner-hero-poster.banner-price-card:hover {
      transform: translateY(-3px);
  }
  .b-price-num { font-size: 2.6rem; }
  /* Hero RM1 — larger on mobile for scanability */
  .banner-hero-poster.banner-price-card .b-price-num {
      font-size: clamp(3.15rem, 16vw, 4rem);
      line-height: 0.95;
  }
  .banner-hero-poster.banner-price-card .b-price-main {
      margin: 8px 0;
  }
  .banner-hero-poster.banner-price-card .b-price-curr { font-size: 1rem; margin-top: 4px; margin-right: 2px; line-height: 1.05; }
  .banner-hero-poster.banner-price-card .b-price-star { font-size: 1.25rem; margin-top: 4px; }
  .banner-hero-poster.banner-price-card .b-price-top { font-size: 0.75rem; }
  .banner-hero-poster.banner-price-card .b-price-screening { font-size: 0.82rem; }
  .banner-hero-poster.banner-price-card .b-price-normal { font-size: 0.9rem; }
  .banner-hero-poster.banner-price-card .b-price-tnc { font-size: 0.7rem; }
  .b-price-curr { font-size: 0.95rem; margin-top: 2px; }
  .b-price-star { font-size: 1.15rem; margin-top: 2px; }
  .b-price-arrow { display: none; }
  .b-price-top { font-size: 0.78rem; line-height: 1.25; }
  .b-price-screening { font-size: 0.88rem; margin: 2px 0; }
  .b-price-normal { font-size: 0.95rem; }
  
  .section-title { font-size: 1.4rem; margin-bottom: 15px; }
  .highlight-title { font-size: 1.1rem; margin-bottom: 20px !important; }
  .highlight-card { padding: 20px 10px; }
  
  .self-check-card { padding: 20px 12px; border-radius: 15px; margin-top: 10px; }
  .self-check-right { padding: 20px 12px; border-radius: 12px; margin-top: 20px; }
  .result-box { padding: 15px 10px; }
  .result-title { font-size: 1rem !important; }
  .check-item { padding: 14px 12px; gap: 10px; min-height: 48px; }
  .check-label { font-size: 0.9rem; }
  .check-box-custom { width: 32px; height: 32px; }
  
  .form-register-title { font-size: 1.25rem; margin-bottom: 16px; }
  .landscape-card { padding: 15px 10px !important; }
  .card-offer-details { padding-bottom: 15px; }
  
  .campaign-card .price { font-size: 2.2rem; }
  
  .btn { padding: 10px 15px; font-size: 0.9rem; width: 100%; }
  /* 16px min avoids iOS zoom-on-focus; comfortable tap targets */
  .form-input, .form-select { padding: 12px 14px; font-size: 16px; min-height: 48px; }
  .submit-btn { min-height: 48px; }
  
  .faq-section .section-title {
    margin-bottom: 24px;
    font-size: 1.35rem;
  }
  .faq-question {
    font-size: 0.88rem;
    padding: 14px 12px;
    min-height: 48px;
    align-items: center;
  }
  .faq-answer p {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0 12px 14px;
  }
  .faq-answer p:last-child {
    padding-bottom: 16px;
  }

  /* Cookie Banner Slimdown */
  .cookie-banner { padding: 10px 0; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .cookie-container { gap: 10px; }
  .cookie-banner p { font-size: 0.8rem; line-height: 1.3; }
  .cookie-banner .btn { padding: 6px 12px; font-size: 0.85rem; width: auto; min-height: 44px; }

  .top-urgent-banner {
    font-size: 0.68rem;
    padding: 6px 8px;
  }
  #top-banner-slots {
    font-size: 1rem !important;
  }

  footer h3 {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
  }

  .premium-tracker .tracker-text {
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
  }
  .premium-tracker .tracker-number {
    font-size: 1.2rem;
  }
}

.top-urgent-banner {
    background-color: #ef4444;
    color: white;
    text-align: center;
    padding: 8px max(12px, env(safe-area-inset-left)) 8px max(12px, env(safe-area-inset-right));
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    animation: urgentPulseBg 2s infinite;
}

.top-urgent-banner span {
    line-height: 1.35;
    max-width: 100%;
    word-break: break-word;
}
@keyframes urgentPulseBg {
    0% { background-color: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    50% { background-color: #dc2626; box-shadow: 0 0 20px rgba(239, 68, 68, 0.8); }
    100% { background-color: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
}
#top-banner-slots {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 51, 160, 0.1);
    z-index: 9999;
    padding: 16px 0;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    display: none;
    border-top: 1px solid rgba(0, 51, 160, 0.1);
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-main);
    flex-grow: 1;
}
