/* ==========================================================================
   UNIT TRUST PRO — iOS LIQUID GLASS & WEALTH DESIGN SYSTEM
   Optimized for High Conversion, Mobile & Web Compatibility, & Instant Loading
   ========================================================================== */

/* --- CSS Variables & Color Tokens --- */
:root {
  --bg-primary: #070B14;
  --bg-secondary: #0D1526;
  --bg-tertiary: #131E35;
  
  --glass-bg: rgba(19, 30, 53, 0.55);
  --glass-bg-hover: rgba(28, 44, 76, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-gold: rgba(212, 175, 55, 0.25);
  --glass-border-emerald: rgba(16, 185, 129, 0.25);
  
  --gold-primary: #D4AF37;
  --gold-light: #F6E27A;
  --gold-dark: #AA771C;
  --gold-gradient: linear-gradient(135deg, #F9F1C7 0%, #D4AF37 50%, #AB7C1E 100%);
  
  --emerald-primary: #10B981;
  --emerald-light: #34D399;
  --emerald-dark: #065F46;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-gradient: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  
  --ios-blue: #0A84FF;
  --ios-blue-gradient: linear-gradient(135deg, #0A84FF 0%, #0060DF 100%);
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #20BA59;
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-gold: 0 0 35px rgba(212, 175, 55, 0.2);
  --shadow-glow-emerald: 0 0 35px rgba(16, 185, 129, 0.2);
  
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.55;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  /* Content security & Anti-select */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Permit selection only on input fields */
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

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

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

/* Background Ambient Orbs for iOS Glow Effect */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #D4AF37, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0A84FF, transparent 70%);
  top: 35%;
  left: -200px;
}

.orb-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #10B981, transparent 70%);
  bottom: 10%;
  right: -150px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 860px;
}

/* Typography Helpers */
.text-gold {
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald {
  color: var(--emerald-primary);
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue {
  color: var(--ios-blue);
  background: var(--ios-blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-pill {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--glass-border-gold);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.highlight-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--glass-border-emerald);
  color: var(--emerald-light);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* Section Common Layout */
section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Glass Card Primitive */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.glass-card-gold {
  border-color: var(--glass-border-gold);
}
.glass-card-gold:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-glow-gold);
}

.glass-card-emerald {
  border-color: var(--glass-border-emerald);
}
.glass-card-emerald:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow-glow-emerald);
}

/* ==========================================================================
   NAVIGATION BAR (iOS Frosted Glass)
   ========================================================================== */
.ios-navbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 16px;
}

.navbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(13, 21, 38, 0.78);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070B14;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
}

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

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--whatsapp-green);
  color: #070B14;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.nav-cta:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #070B14;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   HERO SECTION (High Impact & Curiosity Hook)
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.65rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin-bottom: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.btn-primary-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.38);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.5);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-subtext span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Trust Badges Strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.trust-badge-item svg {
  color: var(--emerald-primary);
}

/* Hero Showcase Card: The RM12,203 Mistake Box */
.hero-showcase {
  max-width: 900px;
  margin: 36px auto 0;
  background: linear-gradient(180deg, rgba(19, 30, 53, 0.75) 0%, rgba(13, 21, 38, 0.85) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-showcase-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.showcase-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.showcase-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.investor-card {
  background: rgba(8, 12, 21, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  transition: all var(--transition-base);
}

.investor-card.winner {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(8, 12, 21, 0.6) 100%);
}

.investor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.investor-name-badge {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-age {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.badge-age-green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
}

.badge-age-orange {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
}

.investor-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.investor-stat-row:last-child {
  border-bottom: none;
  padding-top: 12px;
}

.investor-stat-row .stat-value {
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value.green {
  color: var(--emerald-light);
  font-size: 1.15rem;
}

.stat-value.muted {
  color: #CBD5E1;
  font-size: 1.05rem;
}

.showcase-callout-banner {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.callout-content {
  font-size: 0.92rem;
  line-height: 1.45;
}

.callout-badge {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   PROBLEM / PAIN POINTS SECTION (Relatable Malaysian Reality)
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pain-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pain-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F87171;
  margin-bottom: 20px;
}

.pain-quote {
  font-style: italic;
  color: #FCA5A5;
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.pain-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pain-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pain-tag {
  font-size: 0.78rem;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  font-weight: 600;
}

.pain-visual-card {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(13, 21, 38, 0.6);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.pain-visual-card img {
  border-radius: var(--radius-md);
  margin: 16px auto;
  max-height: 420px;
  object-fit: contain;
}

/* ==========================================================================
   POSITIONING / SOLUTION ("Pay Your Future Self First" & RCA)
   ========================================================================== */
.solution-comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .solution-comparison-box {
    grid-template-columns: 1fr;
  }
}

.approach-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}

.approach-old {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.approach-new {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(13, 21, 38, 0.8) 100%);
  border: 1px solid var(--glass-border-emerald);
  box-shadow: var(--shadow-glow-emerald);
}

.approach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.approach-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.label-old {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.label-new {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
}

.formula-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.formula-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
}

.formula-step.highlight {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #FFFFFF;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.approach-result {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.45;
}

.result-fail {
  background: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
}

.result-win {
  background: rgba(16, 185, 129, 0.12);
  color: #A7F3D0;
}

/* RCA Explanation Block */
.rca-explainer-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 860px) {
  .rca-explainer-card {
    grid-template-columns: 1fr;
  }
}

.rca-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.rca-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.rca-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rca-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.rca-point-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Dual Engine Section: Cash vs EPF Account 1 */
.dual-engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.engine-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.engine-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.engine-cash {
  background: rgba(10, 132, 255, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(10, 132, 255, 0.3);
}

.engine-epf {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--glass-border-gold);
}

/* ==========================================================================
   INTERACTIVE TOOL: COMPOUNDING WEALTH SIMULATOR (iOS Look & Feel)
   ========================================================================== */
.calculator-card {
  background: linear-gradient(180deg, rgba(19, 30, 53, 0.85) 0%, rgba(10, 16, 30, 0.95) 100%);
  border: 1px solid var(--glass-border-emerald);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-lg), var(--shadow-glow-emerald);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
}

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

.calc-control-group {
  margin-bottom: 28px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.control-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.control-value-display {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--emerald-light);
  letter-spacing: -0.02em;
}

/* iOS Styled Range Slider */
.ios-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.ios-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ios-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
}

.slider-scale-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* iOS Segmented Control for Return Rate */
.ios-segmented-control {
  display: flex;
  background: rgba(8, 12, 21, 0.7);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  gap: 4px;
}

.segmented-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.segmented-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Simulator Output Display Box */
.calc-results-panel {
  background: rgba(8, 12, 21, 0.65);
  border: 1px solid var(--glass-border-emerald);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.main-wealth-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--emerald-light);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.stat-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.breakdown-row:last-child {
  border-bottom: none;
}

.breakdown-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breakdown-value {
  font-weight: 700;
}

.comparison-callout {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: #FCA5A5;
}

/* ==========================================================================
   GOALS SECTION ("Pathways to Prosperity")
   ========================================================================== */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.goal-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.goal-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.goal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.goal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.goal-target-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  display: inline-block;
}

/* ==========================================================================
   EDUCATION 101: WHY UNIT TRUSTS ARE SAFE
   ========================================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.safety-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 18px;
}

.safety-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--glass-border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.safety-text h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.safety-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   WHY INVEST THRU ME? (The Dedicated Consultant Difference)
   ========================================================================== */
.consultant-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 22px;
}

.feature-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--glass-border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   INVESTMENT APPROACH (The 4 Steps)
   ========================================================================== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  position: relative;
}

.step-badge-number {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ios-blue);
  margin-bottom: 12px;
  display: block;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SOCIAL PROOF & CREDIBILITY
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: #FBBF24;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ios-blue-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1rem;
}

.client-meta h5 {
  font-size: 0.92rem;
  font-weight: 700;
}

.client-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HIGH-CONVERTING WHATSAPP CTA FORM
   ========================================================================== */
.form-section {
  padding-bottom: 120px;
}

.form-wrapper {
  background: linear-gradient(180deg, rgba(19, 30, 53, 0.95) 0%, rgba(8, 12, 21, 0.98) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-xl);
  padding: 44px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.form-field-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(8, 12, 21, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-select option {
  background: #0D1526;
  color: #FFFFFF;
}

.form-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.38);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   FLOATING QUICK ACTIONS (iOS Sticky Bottom Bar)
   ========================================================================== */
.floating-whatsapp-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  transition: all var(--transition-base);
  backdrop-filter: blur(12px);
}

.floating-whatsapp-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 38px rgba(37, 211, 102, 0.65);
}

/* ==========================================================================
   FOOTER & LEGAL DISCLAIMER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 60px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

.disclaimer-text {
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

/* ==========================================================================
   SECURITY, PRIVACY & ANTI-SCREENSHOT PROTECTION STYLES
   ========================================================================== */

/* Sleek iOS Glass Security Toast */
.security-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(19, 30, 53, 0.95);
  border: 1px solid var(--glass-border-gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Anti-Screenshot Privacy Overlay (Active on Window Blur / Snip Attempt) */
.privacy-shield-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 11, 20, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.privacy-shield-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.privacy-shield-content {
  text-align: center;
  max-width: 480px;
  padding: 30px;
}

.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--glass-border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

/* Total Print Protection: Hides page content when trying to Print / Save PDF */
@media print {
  body * {
    display: none !important;
  }
  body::after {
    content: "Content protected by Licensed Unit Trust Consultant copyright guidelines. Printing & PDF generation disabled.";
    display: block !important;
    padding: 50px;
    font-size: 16pt;
    color: #000000;
    text-align: center;
  }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (Mobile First & iOS Feel)
   ========================================================================== */
@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-showcase {
    padding: 20px;
  }
  
  .form-wrapper {
    padding: 26px 18px;
  }
  
  .calculator-card {
    padding: 22px 16px;
  }
  
  .floating-whatsapp-pill span {
    display: none;
  }
  
  .floating-whatsapp-pill {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}
