/* ==========================================================================
   LANDING PAGE MITRA AMANAH SAFAR
   Styles inspired by Ventour Travel (Scalev Long Sales Page Pattern)
   Optimized for Mobile-First (320px, 375px, 390px, 430px) + Clean Desktop
   ========================================================================== */

:root {
  /* Brand Palette */
  --brand-purple: #4B1F75;
  --brand-purple-dark: #2F114C;
  --brand-purple-deep: #210938;
  --brand-purple-light: #6E2FA8;
  
  --brand-gold: #ECA913;
  --brand-gold-glow: #FFC107;
  --brand-gold-dark: #C68904;
  
  --color-yellow-highlight: #FFE600;
  --color-green-check: #00A344;
  --color-green-check-bg: #E6F7EC;
  
  --bg-app-shell: #ECEEF2;
  --bg-page: #FFFFFF;
  --bg-soft-lavender: #F7F1FC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FAF7FD;
  
  --text-main: #1D102F;
  --text-body: #3B2A52;
  --text-muted: #6C5B82;
  --text-white: #FFFFFF;
  
  --border-light: #E7DCF5;
  --border-focus: #4B1F75;
  --border-gold: rgba(236, 169, 19, 0.45);
  
  --danger-color: #D32F2F;
  --danger-bg: #FFEBEE;
  
  /* Layout */
  --max-width: 480px;
  --sticky-height: 70px;
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-app-shell);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-app-shell);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

/* Central Mobile Page Wrapper ala Ventour/Scalev */
.page-wrapper {
  width: 100%;
  max-width: var(--max-width);
  background-color: var(--bg-page);
  min-height: 100vh;
  box-shadow: 0 0 35px rgba(33, 9, 56, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: calc(var(--sticky-height) + env(safe-area-inset-bottom, 14px));
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

img, svg {
  display: block;
}

/* --------------------------------------------------------------------------
   Yellow Marker & Highlights (Ventour Trademark Style)
   -------------------------------------------------------------------------- */
.highlight-yellow {
  background-color: var(--color-yellow-highlight);
  color: #1D102F;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-yellow-contrast {
  background-color: #FFE600;
  color: #1E0E33;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  display: inline;
}

.highlight-gold-text {
  color: #FFD54F;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.text-purple-bold {
  color: var(--brand-purple);
  font-weight: 900;
}

.text-center {
  text-align: center;
}

/* Divider Line */
.divider-gradient {
  height: 8px;
  background: linear-gradient(90deg, #F0E8F8 0%, #E2D1F3 50%, #F0E8F8 100%);
  width: 100%;
}

/* --------------------------------------------------------------------------
   Top Sticky Announcement Bar
   -------------------------------------------------------------------------- */
.top-announcement {
  width: 100%;
  background: linear-gradient(90deg, #2A0D45 0%, #4B1F75 50%, #2A0D45 100%);
  color: #FFFFFF;
  font-size: 12px;
  padding: 8px 12px;
  text-align: center;
  border-bottom: 2px solid var(--brand-gold);
  z-index: 95;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.badge-pulsing {
  background: var(--brand-gold);
  color: #1D102F;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.page-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-purple-dark);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.brand-tag {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-header-action {
  background: var(--bg-soft-lavender);
  color: var(--brand-purple);
  border: 1.5px solid var(--brand-purple);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.btn-header-action:hover {
  background: var(--brand-purple);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Button Styles & Ventour Pulsing Effect
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  user-select: none;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-block {
  width: 100%;
}

/* Pulsing Golden Button ala Ventour */
.btn-primary-pulsing {
  background: linear-gradient(180deg, #FFC72C 0%, #E89E00 100%);
  color: #1E0E33;
  font-size: 16px;
  font-weight: 900;
  padding: 16px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(232, 158, 0, 0.45);
  border: 2px solid #FFE785;
  animation: pulseScale 2.2s infinite ease-in-out;
}

.btn-primary-pulsing:hover {
  background: linear-gradient(180deg, #FFD255 0%, #F5A800 100%);
  box-shadow: 0 8px 26px rgba(232, 158, 0, 0.6);
}

@keyframes pulseScale {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(232, 158, 0, 0.45);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 10px 28px rgba(232, 158, 0, 0.65);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(232, 158, 0, 0.45);
  }
}

.btn-gold-large {
  background: linear-gradient(180deg, #FFC72C 0%, #E89E00 100%);
  color: #1E0E33;
  font-size: 16.5px;
  font-weight: 900;
  padding: 16px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(232, 158, 0, 0.5);
  border: 2px solid #FFE88C;
}

.btn-wa-submit {
  background: linear-gradient(180deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
  padding: 16px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-wa-submit:hover {
  background: linear-gradient(180deg, #2AE46F 0%, #1BA04D 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.btn-wa-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

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

/* --------------------------------------------------------------------------
   Section Common
   -------------------------------------------------------------------------- */
.section {
  padding: 34px 18px;
  position: relative;
}

.section-top-badge {
  display: inline-block;
  background: var(--bg-soft-lavender);
  color: var(--brand-purple);
  border: 1px solid var(--border-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.section-heading {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-subheading {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.section-hero {
  padding-top: 24px;
  padding-bottom: 30px;
  background: linear-gradient(180deg, #FAF6FD 0%, #FFFFFF 100%);
}

.hero-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--brand-purple);
  border: 1.5px solid var(--border-light);
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(75, 31, 117, 0.05);
}

.star-icon {
  font-size: 13px;
}

.hero-main-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-purple-deep);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.hero-sublead {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Hero Promo Banner Card (Ventour Sales Box) */
.hero-promo-banner {
  background: linear-gradient(135deg, #37145A 0%, #4B1F75 50%, #2A0D45 100%);
  color: #FFFFFF;
  padding: 22px 18px;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 8px 24px rgba(47, 17, 76, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-promo-banner::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(236, 169, 19, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.promo-pill-tag {
  display: inline-block;
  background: #E53935;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.promo-banner-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.promo-banner-desc {
  font-size: 13px;
  color: #E6DCF5;
  line-height: 1.5;
}

/* Hero Checklist Card (Green Check Badges ala Scalev) */
.hero-checklist-card {
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}

.checklist-header {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--brand-purple-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.45;
}

.check-icon-circle {
  width: 22px;
  height: 22px;
  background-color: var(--color-green-check-bg);
  color: var(--color-green-check);
  border: 1.5px solid var(--color-green-check);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA Directional Wrapper */
.cta-direction-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bouncing-arrow {
  font-size: 26px;
  animation: bounceDown 1.6s infinite;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.btn-cta-main {
  width: 100%;
  gap: 8px;
}

.cta-arrow-icon {
  flex-shrink: 0;
}

.cta-reassurance {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   2. REASSURANCE SECTION
   -------------------------------------------------------------------------- */
.section-intro-quote {
  padding: 24px 18px;
  background-color: #FFFFFF;
}

.quote-box-modern {
  background: #FAF7FE;
  border-left: 5px solid var(--brand-purple);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 16px;
  position: relative;
}

.quote-icon-badge {
  font-size: 24px;
  margin-bottom: 8px;
}

.quote-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-purple-dark);
  margin-bottom: 8px;
}

.quote-body {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. PAIN POINTS SECTION
   -------------------------------------------------------------------------- */
.section-pain-points {
  background-color: #FAF7FD;
}

.pain-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.pain-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(75, 31, 117, 0.04);
}

.pain-number-badge {
  width: 30px;
  height: 30px;
  background: var(--bg-soft-lavender);
  color: var(--brand-purple);
  border: 1.5px solid var(--brand-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 900;
  flex-shrink: 0;
}

.pain-row-content {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.45;
}

.pain-row-content strong {
  color: var(--text-main);
}

/* Empathy Callout Card */
.empathy-callout-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 2px solid var(--brand-gold);
  padding: 18px 16px;
  box-shadow: 0 4px 14px rgba(75, 31, 117, 0.06);
}

.empathy-main {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.5;
  font-weight: 700;
}

.empathy-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 14px 0;
}

.empathy-sub {
  font-size: 14.5px;
  font-style: italic;
  color: var(--brand-purple-dark);
  margin-bottom: 8px;
  line-height: 1.5;
}

.empathy-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   4. FACILITIES SECTION
   -------------------------------------------------------------------------- */
.section-facilities {
  background-color: #FFFFFF;
}

.facilities-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.facility-card {
  background: #FAF7FE;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  transition: transform 0.2s ease;
}

.facility-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-purple);
}

.facility-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-purple-light);
  background: var(--bg-soft-lavender);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.facility-card-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.facility-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-purple-dark);
  margin-bottom: 6px;
  padding-right: 40px;
}

.facility-card-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.facility-card-highlight {
  background: linear-gradient(180deg, #F9F3FD 0%, #FAF6FE 100%);
  border: 2px solid var(--brand-purple);
}

.cta-inline-block {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   5. CURRICULUM SECTION (8 Topik Pembelajaran Step-by-Step ala Ventour)
   -------------------------------------------------------------------------- */
.section-curriculum {
  background-color: #FAF7FD;
}

.curriculum-steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curriculum-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  padding: 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(75, 31, 117, 0.04);
}

.step-badge-circle {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4B1F75 0%, #2A0D45 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(75, 31, 117, 0.25);
  margin-top: 2px;
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

.step-text {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. SCARCITY SECTION (100 Mitra Pertama - Ventour Dark Box)
   -------------------------------------------------------------------------- */
.section-scarcity {
  padding: 24px 18px;
  background-color: #FFFFFF;
}

.scarcity-card-dark {
  background: linear-gradient(135deg, #2D0F47 0%, #1A072E 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 10px 30px rgba(29, 9, 51, 0.35);
}

.scarcity-pill {
  display: inline-block;
  background: #E53935;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.scarcity-heading {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 10px;
}

.scarcity-divider {
  width: 80px;
  height: 3px;
  background: var(--brand-gold);
  margin: 14px auto;
  border-radius: 999px;
}

.scarcity-subheading {
  font-size: 16px;
  font-weight: 800;
  color: #FFE680;
  line-height: 1.45;
  margin-bottom: 12px;
}

.scarcity-body {
  font-size: 13.5px;
  color: #E2D3F5;
  line-height: 1.55;
  margin-bottom: 16px;
}

.scarcity-quote-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(236, 169, 19, 0.5);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-style: italic;
  color: #FFFFFF;
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   7. FORM SECTION (Scalev-Style Checkout Form)
   -------------------------------------------------------------------------- */
.section-form-area {
  background-color: #FAF7FD;
  padding-top: 36px;
  padding-bottom: 40px;
}

.form-card-container {
  background: #FFFFFF;
  border-radius: 16px;
  border: 2px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(75, 31, 117, 0.08);
  padding: 24px 18px;
}

.form-header-box {
  text-align: center;
  margin-bottom: 24px;
}

.form-badge {
  display: inline-block;
  background: var(--brand-gold);
  color: #1E0E33;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

.scalev-style-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-purple-dark);
}

.asterisk {
  color: var(--danger-color);
  font-weight: 900;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
}

.scalev-input {
  width: 100%;
  height: 50px;
  padding: 10px 14px 10px 44px;
  font-size: 15px;
  color: var(--text-main);
  background-color: #FFFFFF;
  border: 1.5px solid #D8C7ED;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.scalev-input::placeholder {
  color: #A393B8;
  font-size: 14px;
}

.scalev-input:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(75, 31, 117, 0.15);
}

.scalev-input.is-invalid {
  border-color: var(--danger-color);
  background-color: var(--danger-bg);
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.field-error-text {
  font-size: 12px;
  color: var(--danger-color);
  font-weight: 700;
  min-height: 18px;
  display: none;
}

.field-error-text.active {
  display: block;
}

.privacy-guarantee-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft-lavender);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px dashed var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.lock-symbol {
  font-size: 16px;
  flex-shrink: 0;
}

.wa-icon-svg {
  flex-shrink: 0;
}

.submit-under-note {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   8. FOOTER SECTION
   -------------------------------------------------------------------------- */
.page-footer {
  background-color: var(--brand-purple-deep);
  color: #FFFFFF;
  padding: 32px 18px 24px;
  border-top: 2px solid var(--brand-gold);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  border-radius: 8px;
}

.footer-company {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.footer-quote {
  font-size: 13.5px;
  font-style: italic;
  color: #FFE680;
  line-height: 1.5;
  max-width: 380px;
  margin-bottom: 16px;
}

.footer-line {
  width: 100%;
  max-width: 220px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 14px;
}

.footer-copyright {
  font-size: 11.5px;
  color: #C0B0D1;
}

/* --------------------------------------------------------------------------
   STICKY BOTTOM CTA BAR (ala Ventour)
   -------------------------------------------------------------------------- */
.sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  z-index: 85;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1.5px solid var(--border-light);
  box-shadow: 0 -4px 18px rgba(33, 9, 56, 0.12);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.sticky-action-bar.is-hidden {
  transform: translate(-50%, 100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-action-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-text-group {
  display: flex;
  flex-direction: column;
}

.sticky-promo-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--brand-purple-dark);
  line-height: 1.2;
}

.sticky-promo-subtitle {
  font-size: 11px;
  font-weight: 800;
  color: #D98200;
}

.btn-sticky-gold {
  background: linear-gradient(180deg, #FFC72C 0%, #E89E00 100%);
  color: #1E0E33;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(232, 158, 0, 0.4);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Modal Konfigurasi WhatsApp Admin
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 5, 35, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-dialog-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  animation: popDialog 0.25s ease-out;
}

@keyframes popDialog {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-soft-lavender);
}

.modal-title-text {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-purple-dark);
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
}

.modal-content-area {
  padding: 18px;
}

.modal-alert-info {
  font-size: 13.5px;
  color: var(--brand-purple-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.modal-instruct {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.5;
}

.modal-instruct code {
  background: var(--bg-soft-lavender);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-purple);
  font-weight: 800;
  font-size: 12px;
}

.modal-draft-card {
  background: #F8F5FC;
  border: 1px dashed var(--border-light);
  padding: 12px;
  border-radius: 8px;
}

.draft-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.draft-code {
  font-family: inherit;
  font-size: 12px;
  white-space: pre-wrap;
  color: var(--text-main);
  line-height: 1.45;
  margin: 0;
}

.modal-bottom-actions {
  padding: 12px 18px 16px;
  text-align: right;
  border-top: 1px solid var(--border-light);
}

.btn-modal-done {
  background: var(--brand-purple);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Small Screen Optimizations (Viewport 320px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .hero-main-title {
    font-size: 24px;
  }
  .section-heading {
    font-size: 21px;
  }
  .promo-banner-title {
    font-size: 16px;
  }
  .btn-primary-pulsing {
    font-size: 14px;
    padding: 14px 18px;
  }
  .section {
    padding: 26px 14px;
  }
}
