/* ========================================================
   WORRIE.ID — Master Stylesheet
   Vibe: Digital Perantau
   Themes: Dark ("Cakrawala Malam") & Light ("Clean Slate")
   Engineered for Mobile Precision & Desktop Elegance
   ======================================================== */

/* ===========================
   1. DESIGN TOKENS
   =========================== */
:root {
  /* Brand */
  --navy:         #004a87;
  --navy-dark:    #002b4f;
  --navy-light:   #0d67b5;
  --gold:         #f6cd26;
  --gold-dark:    #d4a800;
  --cyan:         #22d3ee;
  --cyan-dim:     #0891b2;
  --green:        #4ade80;

  /* Dark Theme Surfaces */
  --bg-deep:      #07152e;
  --bg-mid:       #0d2445;
  --bg-card:      #11294d;
  --bg-card-subtle: rgba(17, 41, 77, 0.6);
  --text:         #f0f4f8;
  --text-muted:   #8da4c4;
  --text-dim:     #526b8e;
  --border:       rgba(255, 255, 255, 0.09);
  --border-focus: rgba(34, 211, 238, 0.5);

  /* Shadows & Glow */
  --shadow-card:  0 8px 30px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-glow:  0 0 35px rgba(0, 74, 135, 0.35);
  --shadow-gold:  0 0 24px rgba(246, 205, 38, 0.25);
  --headline-grad: linear-gradient(135deg, #f6cd26 0%, #ffe47a 50%, #f6cd26 100%);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Radius */
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  /* Transitions */
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-behavior: smooth;
}

/* Light Theme Variables */
[data-theme="light"] {
  --navy:         #004a87;
  --navy-dark:    #002b4d;
  --navy-light:   #005fa8;
  --gold:         #b45309;
  --gold-dark:    #92400e;
  --cyan:         #0284c7;
  --cyan-dim:     #0369a1;
  --green:        #16a34a;

  --bg-deep:      #f8fafc;
  --bg-mid:       #eef2f7;
  --bg-card:      #ffffff;
  --bg-card-subtle: #f8fafc;
  --text:         #0f172a;
  --text-muted:   #475569;
  --text-dim:     #64748b;
  --border:       rgba(15, 23, 42, 0.09);
  --border-focus: rgba(0, 74, 135, 0.5);

  --shadow-card:  0 4px 20px rgba(0, 25, 60, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-glow:  0 0 30px rgba(0, 74, 135, 0.1);
  --shadow-gold:  0 0 20px rgba(180, 83, 9, 0.18);
  --headline-grad: linear-gradient(135deg, #004a87 0%, #0284c7 100%);
}

/* ===========================
   2. RESET & BASE (Zero Horizontal Overflow)
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ===========================
   3. LAYOUT UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 74, 135, 0.15);
  border: 1px solid rgba(0, 74, 135, 0.35);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
[data-theme="light"] .section-badge {
  background: rgba(0, 74, 135, 0.08);
  border-color: rgba(0, 74, 135, 0.2);
  color: var(--navy);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.text-accent {
  background: var(--headline-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: #f6cd26;
  color: #07152e;
  box-shadow: 0 4px 18px rgba(246, 205, 38, 0.3);
}
.btn-primary:hover {
  background: #ffd93b;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(246, 205, 38, 0.45);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover {
  border-color: var(--navy-light);
  background: rgba(0, 74, 135, 0.12);
  color: var(--text);
  transform: translateY(-2px);
}
[data-theme="light"] .btn-outline {
  border-color: rgba(0, 74, 135, 0.25);
  color: var(--navy);
  background: rgba(0, 74, 135, 0.04);
}
[data-theme="light"] .btn-outline:hover {
  border-color: var(--navy);
  background: rgba(0, 74, 135, 0.08);
}
.btn-ghost {
  color: var(--text-muted);
  padding: 8px 16px;
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .btn-ghost {
  color: var(--text-muted);
}
[data-theme="light"] .btn-ghost:hover {
  color: var(--navy);
  background: rgba(0, 74, 135, 0.06);
}
.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
}

/* ===========================
   4. ANNOUNCEMENT BAR
   =========================== */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 52px 10px 20px;
  background: linear-gradient(90deg, #003666 0%, #005494 100%);
  color: #ffffff;
  font-size: 0.84rem;
  position: relative;
  z-index: 101;
  text-align: center;
}
.announcement-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.announcement-icon {
  color: #f6cd26;
  font-size: 1.1em;
  display: inline-flex;
}
.announcement-link {
  color: #f6cd26;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 2px;
}
.announcement-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.announcement-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ===========================
   5. NAVBAR & HEADER
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 21, 46, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 25, 60, 0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 66px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo-img {
  border-radius: 8px;
}
.logo-dot {
  color: #f6cd26;
}
[data-theme="light"] .logo-dot {
  color: #004a87;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
[data-theme="light"] .nav-link {
  color: #334155;
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--navy);
  background: rgba(0, 74, 135, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #f6cd26;
  color: #f6cd26;
  transform: translateY(-1px);
}
[data-theme="light"] .theme-toggle {
  background: rgba(0, 74, 135, 0.06);
  border-color: rgba(0, 74, 135, 0.16);
  color: var(--navy);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 74, 135, 0.12);
  border-color: var(--navy);
}

/* In Dark: Show Sun */
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
  display: none !important;
}
[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
  display: inline-block !important;
  color: #f6cd26;
}
/* In Light: Show Moon */
[data-theme="light"] .theme-icon-sun {
  display: none !important;
}
[data-theme="light"] .theme-icon-moon {
  display: inline-block !important;
  color: #004a87;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
[data-theme="light"] .hamburger {
  background: rgba(0, 74, 135, 0.06);
}
[data-theme="light"] .hamburger span {
  background: #0f172a;
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 24px;
  background: rgba(7, 21, 46, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(0, 25, 60, 0.1);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
[data-theme="light"] .mobile-menu-header {
  background: rgba(0, 74, 135, 0.04);
}
.mobile-theme-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-link {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}
.mobile-link:hover {
  color: var(--cyan);
  padding-left: 14px;
}
[data-theme="light"] .mobile-link:hover {
  color: var(--navy);
}
.mobile-cta {
  margin-top: 10px;
}

/* ===========================
   6. HERO SECTION
   =========================== */
.hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.hero-orb-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--navy) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 320px;
  height: 320px;
  bottom: 0;
  left: -60px;
  background: radial-gradient(circle, #005fa3 0%, transparent 70%);
}
[data-theme="light"] .hero-orb {
  opacity: 0.1;
}
.hero-watermark {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 150px);
  font-weight: 800;
  color: rgba(0, 74, 135, 0.04);
  letter-spacing: -4px;
  user-select: none;
  white-space: nowrap;
}
[data-theme="light"] .hero-watermark {
  color: rgba(0, 74, 135, 0.03);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Hero Copy */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 74, 135, 0.25);
  border: 1px solid rgba(0, 74, 135, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
[data-theme="light"] .hero-badge {
  background: rgba(0, 74, 135, 0.08);
  border-color: rgba(0, 74, 135, 0.25);
  color: var(--navy);
}
.badge-icon {
  color: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}
.headline-accent {
  background: var(--headline-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-sub strong {
  color: var(--text);
}

/* Audience Toggle */
.audience-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  margin-bottom: 24px;
}
[data-theme="light"] .audience-toggle {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.toggle-btn:hover {
  color: var(--text);
}
.toggle-btn.active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .toggle-btn.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 25, 60, 0.12);
}

.toggle-panel { display: none; }
.toggle-panel.active { display: block; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cta-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.cta-note i {
  color: var(--green);
}

/* Hero Visual & Cards */
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hero-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 2;
}
[data-theme="light"] .hero-card-main {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.12);
  box-shadow: 0 10px 32px rgba(0, 25, 60, 0.09);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.card-logo {
  border-radius: 8px;
  flex-shrink: 0;
}
.card-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.live-dot {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
}
.live-dot span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: ping 1.5s ease-in-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 6px;
  margin-bottom: 20px;
  align-items: center;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f6cd26;
  display: inline-block;
}
[data-theme="light"] .stat-num {
  color: var(--navy);
}
.stat-unit {
  font-size: 0.85rem;
  color: #f6cd26;
  font-weight: 700;
}
[data-theme="light"] .stat-unit {
  color: var(--navy);
}
.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.stat-divider {
  background: var(--border);
  height: 32px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.progress-pct {
  color: #f6cd26;
  font-weight: 700;
  font-family: var(--font-mono);
}
[data-theme="light"] .progress-pct {
  color: var(--navy);
}
.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
[data-theme="light"] .progress-bar {
  background: #e2e8f0;
}
.progress-fill {
  height: 100%;
  width: 78%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), #f6cd26);
}

/* Floating Badges */
.float-anim {
  animation: float 4.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-badge-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  box-shadow: var(--shadow-card);
  z-index: 3;
}
[data-theme="light"] .hero-badge-card {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.14);
}
.hero-badge-card i {
  font-size: 1.25em;
  color: var(--cyan);
}
.hero-badge-1 {
  top: 15px;
  left: 0;
}
.hero-badge-2 {
  bottom: 25px;
  right: -5px;
}
.hero-badge-3 {
  display: none;
}

.skill-tags {
  position: absolute;
  bottom: -15px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.skill-tag {
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(0, 74, 135, 0.25);
  border: 1px solid rgba(0, 74, 135, 0.45);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
}
[data-theme="light"] .skill-tag {
  background: rgba(0, 74, 135, 0.08);
  border-color: rgba(0, 74, 135, 0.2);
  color: var(--navy);
}

/* ===========================
   7. STATS BAR
   =========================== */
.hero-stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 52px;
  background: rgba(13, 36, 69, 0.5);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .hero-stats-bar {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.09);
  box-shadow: 0 4px 16px rgba(0, 25, 60, 0.04);
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}
.stat-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.stat-bar-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: #f6cd26;
}
[data-theme="light"] .stat-bar-num {
  color: var(--navy);
}
.stat-bar-label {
  color: var(--text-muted);
}
.stat-bar-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.stat-bar-item i {
  font-size: 1.3rem;
  color: #f6cd26;
}
[data-theme="light"] .stat-bar-item i {
  color: var(--navy);
}

/* ===========================
   8. MARQUEE SECTION
   =========================== */
.marquee-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  background: rgba(13, 36, 69, 0.3);
}
[data-theme="light"] .marquee-section {
  background: #f1f5f9;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.marquee-label {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.marquee-track {
  overflow: hidden;
  width: 100%;
}
.marquee-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-item i {
  font-size: 1.45rem;
  color: var(--cyan);
}
[data-theme="light"] .marquee-item i {
  color: var(--navy);
}

/* ===========================
   9. PROGRAMS SECTION
   =========================== */
.programs-section {
  background: var(--bg-deep);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  outline: none;
}
.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 74, 135, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .program-card {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.12);
  box-shadow: 0 4px 18px rgba(0, 25, 60, 0.05);
}
[data-theme="light"] .program-card:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 32px rgba(0, 25, 60, 0.12);
}

.program-card-featured {
  border-color: rgba(246, 205, 38, 0.4);
}
.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(246, 205, 38, 0.15);
  border: 1px solid rgba(246, 205, 38, 0.35);
  color: #f6cd26;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
[data-theme="light"] .featured-badge {
  background: rgba(180, 83, 9, 0.1);
  border-color: rgba(180, 83, 9, 0.25);
  color: #b45309;
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(0, 74, 135, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
[data-theme="light"] .program-icon {
  background: rgba(0, 74, 135, 0.08);
}
.program-icon i {
  font-size: 1.8rem;
  color: var(--cyan);
}
[data-theme="light"] .program-icon i {
  color: var(--navy);
}

.program-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 700;
}
.program-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}
.program-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.program-tags li {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
[data-theme="light"] .program-tags li {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}
.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.program-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.program-arrow i {
  font-size: 1.1rem;
  transition: var(--transition);
}
.program-card:hover .program-arrow i {
  color: #f6cd26;
  transform: translateX(4px);
}
[data-theme="light"] .program-card:hover .program-arrow i {
  color: var(--navy);
}

.programs-cta {
  text-align: center;
}
.programs-note {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ===========================
   10. HOW IT WORKS
   =========================== */
.how-section {
  background: var(--bg-deep);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.how-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.how-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 74, 135, 0.5);
}
[data-theme="light"] .how-step {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.12);
  box-shadow: 0 4px 18px rgba(0, 25, 60, 0.05);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #f6cd26;
  margin-bottom: 16px;
}
[data-theme="light"] .step-num {
  color: var(--navy);
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(0, 74, 135, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
[data-theme="light"] .step-icon {
  background: rgba(0, 74, 135, 0.08);
}
.step-icon i {
  font-size: 1.5rem;
  color: var(--cyan);
}
[data-theme="light"] .step-icon i {
  color: var(--navy);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.3;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   11. DIFFERENTIATOR BENTO
   =========================== */
.diff-section {
  background: var(--bg-deep);
}
.diff-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.diff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 74, 135, 0.5);
}
[data-theme="light"] .diff-card {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.12);
  box-shadow: 0 4px 18px rgba(0, 25, 60, 0.05);
}
.diff-card-large {
  grid-column: span 2;
}
.diff-card-wide {
  grid-column: span 3;
}
.diff-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(0, 74, 135, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
[data-theme="light"] .diff-card-icon {
  background: rgba(0, 74, 135, 0.08);
}
.diff-card-icon i {
  font-size: 1.6rem;
  color: #f6cd26;
}
[data-theme="light"] .diff-card-icon i {
  color: var(--navy);
}
.diff-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.diff-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.code-snippet {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #f6cd26;
}
[data-theme="light"] .code-snippet {
  background: #f1f5f9;
  color: var(--navy);
}
.snippet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.honest-badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.honest-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
}

/* ===========================
   12. B2B SECTION
   =========================== */
.b2b-section {
  background: rgba(13, 36, 69, 0.4);
}
[data-theme="light"] .b2b-section {
  background: #f1f5f9;
}
.b2b-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.b2b-offerings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
}
.b2b-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.b2b-item:hover {
  background: rgba(0, 74, 135, 0.12);
  border-color: rgba(0, 74, 135, 0.4);
}
[data-theme="light"] .b2b-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .b2b-item:hover {
  border-color: var(--navy);
}
.b2b-item i {
  font-size: 1.5rem;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
[data-theme="light"] .b2b-item i {
  color: var(--navy);
}
.b2b-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}
.b2b-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.b2b-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.b2b-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
[data-theme="light"] .b2b-card {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.14);
}
.b2b-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.b2b-card-icon {
  font-size: 2rem;
  color: #f6cd26;
}
[data-theme="light"] .b2b-card-icon {
  color: var(--navy);
}
.b2b-card-title {
  font-weight: 700;
  font-size: 1.05rem;
}
.b2b-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.b2b-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  text-align: center;
}
[data-theme="light"] .b2b-metrics {
  background: #f8fafc;
}
.b2b-metric-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: #f6cd26;
  display: block;
}
[data-theme="light"] .b2b-metric-val {
  color: var(--navy);
}
.b2b-metric-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.b2b-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b2b-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.b2b-feat i {
  color: var(--green);
}

/* ===========================
   13. TESTIMONIALS
   =========================== */
.testimonials-section {
  background: var(--bg-deep);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 74, 135, 0.5);
}
[data-theme="light"] .testi-card {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.12);
  box-shadow: 0 4px 18px rgba(0, 25, 60, 0.05);
}
.testi-stars {
  display: flex;
  gap: 3px;
  color: #f6cd26;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.testi-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.testi-role {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ===========================
   14. FINAL CTA & FORM
   =========================== */
.final-cta-section {
  position: relative;
  background: var(--bg-deep);
  text-align: center;
}
.final-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}
.cta-logo {
  border-radius: 12px;
  margin: 0 auto 16px;
}
.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.final-cta-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: left;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
[data-theme="light"] .contact-form {
  background: #ffffff;
  border-color: rgba(0, 74, 135, 0.15);
  box-shadow: 0 10px 36px rgba(0, 25, 60, 0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-input {
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--navy-light);
  background: rgba(0, 74, 135, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 74, 135, 0.2);
}
[data-theme="light"] .form-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
[data-theme="light"] .form-input:focus {
  background: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 74, 135, 0.15);
}
.form-select {
  cursor: pointer;
}
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.form-note i {
  color: var(--green);
}

.alt-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}
.wa-btn:hover {
  background: #20ba58;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.wa-btn i {
  font-size: 1.25em;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-xl);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.form-success h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===========================
   15. FOOTER
   =========================== */
.footer {
  background: #08172e;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  color: #f0f4f8;
}
[data-theme="light"] .footer {
  background: #08172e;
  border-top-color: rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: #8da4c4;
  margin-top: 12px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #8da4c4;
  transition: var(--transition);
}
.social-link:hover {
  background: #004a87;
  color: #ffffff;
  border-color: #004a87;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #526b8e;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.85rem;
  color: #8da4c4;
  transition: var(--transition);
}
.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #526b8e;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 20px;
}

/* ===========================
   16. BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #004a87;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #003666;
  transform: translateY(-2px);
}

/* ===========================
   17. ANIMATIONS (data-animate)
   =========================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="stagger"] {
  opacity: 1;
  transform: none;
}
[data-animate="stagger"] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate="stagger"].in-view > *:nth-child(1) { transition-delay: 0ms; }
[data-animate="stagger"].in-view > *:nth-child(2) { transition-delay: 70ms; }
[data-animate="stagger"].in-view > *:nth-child(3) { transition-delay: 140ms; }
[data-animate="stagger"].in-view > *:nth-child(4) { transition-delay: 210ms; }
[data-animate="stagger"].in-view > *:nth-child(5) { transition-delay: 280ms; }
[data-animate="stagger"].in-view > *:nth-child(6) { transition-delay: 350ms; }
[data-animate="stagger"].in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   18. RESPONSIVE BREAKPOINTS (Spacious & Clean)
   =========================== */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .section {
    padding: 72px 0;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  .hero-watermark {
    display: none;
  }
  .hero-visual {
    min-height: auto;
    padding: 0;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .diff-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .diff-card-large {
    grid-column: span 2;
  }
  .diff-card-wide {
    grid-column: span 2;
  }
  .b2b-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-card:last-child {
    grid-column: span 2;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --- Mobile / HP (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Container Padding with generous margins */
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 58px 0;
  }
  .section-header {
    margin-bottom: 38px;
  }
  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .section-sub {
    font-size: 0.92rem;
  }

  /* Announcement Bar (Spacious and breathable) */
  .announcement-bar {
    font-size: 0.78rem;
    padding: 10px 44px 10px 16px;
    line-height: 1.45;
  }
  .announcement-close {
    right: 10px;
    width: 24px;
    height: 24px;
    font-size: 1.05rem;
  }

  /* Navbar (Clean Logo on left, grouped actions on right) */
  .nav-container {
    height: 60px;
    padding: 0 20px;
    justify-content: space-between;
  }
  .nav-logo {
    font-size: 1.22rem;
  }
  .nav-links,
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
    margin-right: 8px;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
  .hamburger {
    display: flex;
    margin-left: 0;
    width: 38px;
    height: 38px;
  }

  /* Hero Mobile (Generous vertical and horizontal breathing room) */
  .hero {
    padding: 32px 0 0;
  }
  .hero-container {
    display: block;
    width: 100%;
    padding: 0 20px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-badge {
    margin-bottom: 18px;
    padding: 5px 12px;
    font-size: 0.74rem;
  }
  .hero-headline {
    font-size: clamp(2rem, 7.8vw, 2.45rem);
    line-height: 1.22;
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 0.94rem;
    line-height: 1.68;
    margin-bottom: 24px;
  }
  .hero-watermark,
  .hero-orb {
    display: none; /* remove background orbs on mobile to avoid any overflow */
  }

  /* Audience toggle mobile (Segmented 2 columns with short text) */
  .audience-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
  }
  [data-theme="light"] .audience-toggle {
    background: #e2e8f0;
    border-color: #cbd5e1;
  }
  .toggle-btn {
    border-radius: 9px;
    font-size: 0.8rem;
    padding: 9px 8px;
    justify-content: center;
    text-align: center;
    gap: 6px;
    white-space: nowrap;
  }

  /* Hero Actions Mobile (Spacious stacked CTA) */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
    font-weight: 700;
  }
  .cta-note {
    justify-content: center;
    font-size: 0.78rem;
    margin-top: 6px;
  }

  /* Hide bloated 3D floating visual card on mobile so content breathes */
  .hero-visual {
    display: none;
  }

  /* Stats Bar Mobile: Clean 2x2 Grid with generous padding */
  .hero-stats-bar {
    margin-top: 40px;
  }
  .stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 20px;
  }
  .stat-bar-sep {
    display: none;
  }
  .stat-bar-item {
    flex-direction: column;
    text-align: center;
    padding: 14px 10px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  [data-theme="light"] .stat-bar-item {
    background: #f8fafc;
    border-color: rgba(0, 74, 135, 0.08);
  }
  .stat-bar-num {
    font-size: 1.3rem;
  }
  .stat-bar-label {
    font-size: 0.74rem;
  }

  /* Programs Mobile */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 34px;
  }
  .program-card {
    padding: 24px 20px;
  }
  .programs-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* How Steps Mobile */
  .how-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how-step {
    padding: 22px 20px;
  }

  /* Bento Mobile */
  .diff-bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .diff-card-large,
  .diff-card-wide {
    grid-column: span 1;
  }
  .diff-card {
    padding: 24px 20px;
  }

  /* B2B Mobile */
  .b2b-actions {
    flex-direction: column;
    gap: 10px;
  }
  .b2b-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Testimonials Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .testi-card:last-child {
    grid-column: span 1;
  }
  .testi-card {
    padding: 24px 20px;
  }

  /* Final CTA & Form Mobile */
  .final-cta-section {
    padding: 56px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .form-input {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 10px;
  }
  .alt-contact {
    flex-direction: column;
    gap: 12px;
  }
  .wa-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Footer Mobile */
  .footer {
    padding: 48px 0 0;
  }
  .footer-inner {
    padding-bottom: 32px;
    gap: 32px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-legal {
    flex-wrap: wrap;
    gap: 14px;
  }
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* --- Small Phones (max-width: 380px) --- */
@media (max-width: 380px) {
  .hero-headline {
    font-size: 1.75rem;
  }
  .audience-toggle {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    grid-template-columns: 1fr;
  }
}
