/* ==========================================================================
   KOMA Neo-Brutalist Cartoon Design System
   Brand Alignment: https://komakh.com <-> https://demo.komakh.com
   ========================================================================== */

/* 1. Design Tokens & Variables */
:root {
  --color-bg-canvas: #FFFFFF;
  --color-primary: #22A06B;
  --color-primary-hover: #1E945F;
  --color-card-bg: #FFFFFF;
  --color-card-soft: #F9FAFB;
  --color-border: #E5E7EB;
  --color-status-green: #22A06B;
  --color-status-green-bg: #E8F8F0;
  --color-status-coral: #EE6748;
  --color-status-coral-bg: #FDF0ED;
  --color-status-blue: #3698F3;
  --color-status-blue-bg: #EBF5FC;
  --color-text-dark: #111827;
  --color-text-muted: #4B5563;
  
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-kh: 'Kantumruy Pro', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 2px 2px 0px #18181B;
  --shadow-base: 3px 3px 0px #18181B;
  --shadow-md: 4px 4px 0px #18181B;
  --shadow-lg: 6px 6px 0px #18181B;
  
  --radius-card: 24px;
  --radius-btn: 16px;
  --radius-pill: 9999px;
  --radius-badge: 12px;
}

/* 2. Global Resets & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  background-color: var(--color-bg-canvas);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-en);
  background-color: var(--color-bg-canvas);
  color: var(--color-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

/* Automatic Khmer Font Activation */
html[lang="km"] body,
html[lang="km"] h1,
html[lang="km"] h2,
html[lang="km"] h3,
html[lang="km"] h4,
html[lang="km"] button,
html[lang="km"] input,
html[lang="km"] select,
.font-khmer {
  font-family: var(--font-kh), var(--font-en);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-weight: 900;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-text-muted);
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

/* 3. Neo-Brutalist Cartoon Primitives */
.neo-card {
  background-color: var(--color-card-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-base);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.neo-card-soft {
  background-color: var(--color-card-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-base);
}

.neo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-base);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  user-select: none;
  text-align: center;
}

.neo-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}

.neo-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.neo-btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
}

.neo-btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.neo-btn-white {
  background-color: #FFFFFF;
  color: var(--color-text-dark);
}

.neo-btn-white:hover {
  background-color: #F8F7F4;
}

.neo-btn-coral {
  background-color: var(--color-status-coral);
  color: #FFFFFF;
}

.neo-btn-green {
  background-color: var(--color-status-green);
  color: #FFFFFF;
}

.neo-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.neo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.neo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.highlight-text {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-text::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 38%;
  background-color: var(--color-primary);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-0.5deg);
}

/* 4. Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background-color: var(--color-card-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* 5. Sticky Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.logo-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-brand:hover .logo-icon-img {
  transform: rotate(-6deg) scale(1.08);
}

.logo-text-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4B5563;
  position: relative;
  padding: 0.5rem 0.4rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #111827;
  font-weight: 700;
}

.nav-link::after {
  display: none !important;
}

.btn-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #22A06B;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.55rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(34, 160, 107, 0.2);
  transition: all 0.15s ease;
}

.btn-contact-pill:hover {
  background-color: #1E945F;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 160, 107, 0.35);
}

.btn-contact-pill:active {
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Dropdown (Matching Demo App) */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.75rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.lang-btn:hover {
  background-color: #FAF7EE;
}

.lang-btn:active {
  transform: translateY(1.5px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.flag-icon,
img.flag-icon {
  width: 22px !important;
  height: 15px !important;
  max-width: 22px !important;
  max-height: 15px !important;
  object-fit: cover !important;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: inline-block;
  vertical-align: middle;
}

.phone-lang-pill .flag-icon {
  width: 16px !important;
  height: 11px !important;
  max-width: 16px !important;
  max-height: 11px !important;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  stroke: var(--color-border);
  stroke-width: 2.8;
  transition: transform 0.2s ease;
}

.chevron-icon.open {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 165px;
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  z-index: 120;
  display: none;
  animation: dropdownIn 0.15s ease forwards;
}

.lang-menu.open {
  display: block;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  text-align: left;
  transition: background-color 0.12s ease;
}

.lang-option:hover {
  background-color: var(--color-card-soft);
}

.lang-option.active {
  background-color: var(--color-primary);
  font-weight: 900;
}

.lang-option-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-drawer.open {
  display: block;
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background-color: var(--color-bg-canvas);
  border-left: 3px solid var(--color-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-dark);
  padding: 0.6rem 0.2rem;
  border-bottom: 1px dashed rgba(24, 24, 27, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.15s ease, color 0.15s ease;
  touch-action: manipulation;
}

.drawer-link:active {
  color: #000;
  transform: translateX(4px);
}

/* Mobile Drawer Language Switcher */
.drawer-lang-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 2px dashed rgba(24, 24, 27, 0.15);
}

.drawer-lang-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.drawer-lang-btns {
  display: flex;
  gap: 0.5rem;
}

.drawer-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.5rem;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background-color: #FFFFFF;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.12s ease;
  touch-action: manipulation;
}

.drawer-lang-btn:active {
  transform: translateY(1.5px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.drawer-lang-btn.active {
  background-color: var(--color-primary);
  font-weight: 900;
}

/* 6. Hero Section & Interactive Phone Mockup */
.hero-section {
  padding: 4rem 0 6rem 0;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy h1 {
  font-size: 3.8rem;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-subhead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(24, 24, 27, 0.2);
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.1;
}

.trust-item span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Hero Phone Showcase Wrapper */
.hero-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

/* Mascots Peeking Behind Phone */
.mascot-peeking-left {
  position: absolute;
  left: -20px;
  bottom: 30px;
  width: 125px;
  height: 180px;
  z-index: 5;
  transform: rotate(-8deg);
  animation: gentleBob 4s ease-in-out infinite;
}

.mascot-peeking-right {
  position: absolute;
  right: -25px;
  top: 50px;
  width: 130px;
  height: 190px;
  z-index: 5;
  transform: rotate(10deg);
  animation: gentleBob 4.5s ease-in-out infinite reverse;
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-8px) rotate(-6deg); }
}

/* Floating Interactive Badges */
.floating-badge {
  position: absolute;
  z-index: 25;
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.floating-badge:hover {
  transform: scale(1.05) translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.badge-nip {
  top: 20px;
  left: -35px;
  background-color: var(--color-status-green-bg);
  color: #0E6245;
}

.badge-birthday {
  bottom: 12px;
  right: -75px;
  background-color: var(--color-card-soft);
  color: #8C5300;
}

/* The Realistic Neo-Brutalist Phone Frame */
.phone-mockup {
  position: relative;
  z-index: 10;
  width: 320px;
  background-color: #FAF7EE;
  border: 3px solid var(--color-border);
  border-radius: 40px;
  box-shadow: 7px 7px 0px var(--color-border);
  padding: 12px;
  overflow: hidden;
}

.phone-screen {
  background-color: #FAF7EE;
  border: 2px solid var(--color-border);
  border-radius: 30px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0 0.25rem;
}

.phone-notch {
  width: 70px;
  height: 14px;
  background-color: var(--color-border);
  border-radius: 8px;
}

/* In-Phone App UI */
.phone-parent-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

.parent-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background-color: var(--color-status-blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parent-info h4 {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
}

.parent-info span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Kid Switcher Capsule Pills */
.phone-child-switcher {
  display: flex;
  gap: 0.5rem;
}

.child-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  background-color: #FFFFFF;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.12s ease;
}

.child-tab-btn.active {
  background-color: var(--color-primary);
  transform: translateY(1px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.child-tab-btn span {
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

/* In-Phone Due Vaccine Alert Card */
.phone-due-card {
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.due-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: var(--color-status-coral);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  margin-bottom: 0.4rem;
}

.due-title {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.due-hospital {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-top: 0.15rem;
}

/* In-Phone Quick Stats Grid */
.phone-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.phone-stat-box {
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  padding: 0.45rem 0.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.phone-stat-box .icon {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.phone-stat-box strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

.phone-stat-box small {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* 7. Cultural Hook: Digital Yellow Booklet (MOH Replica vs Paper) */
.yellow-booklet-section {
  background-color: #FFFFFF;
  border-top: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
}

/* Transformation Flow Banner: IRL to Digital MOH Record */
.transformation-flow-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF7EE;
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 1.25rem 2rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-sm);
  gap: 1.5rem;
}

.trans-flow-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trans-flow-icon {
  font-size: 2.2rem;
}

.trans-flow-info strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--color-text-dark);
}

.trans-flow-info small {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.trans-flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  max-width: 340px;
}

.trans-connector-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
  animation: pulse-trans-badge 2.4s ease-in-out infinite;
}

@keyframes pulse-trans-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.trans-arrow {
  font-size: 1.1rem;
  font-weight: 900;
}

.trans-beam-line {
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(90deg, #18181B, #18181B 8px, transparent 8px, transparent 14px);
  border-radius: 2px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Left: Distressed Paper Card */
.paper-card {
  background-color: #F8E79B;
  background-image: radial-gradient(#E8D374 10%, transparent 11%);
  background-size: 16px 16px;
  border: 2px dashed #6B5B16;
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 0px rgba(107, 91, 22, 0.4);
}

.paper-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: rgba(184, 150, 48, 0.25);
  border-radius: 50%;
  filter: blur(12px);
}

.paper-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #E65A40;
  color: #FFFFFF;
  border: 2px solid #5A1F14;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.paper-card h3 {
  font-size: 1.5rem;
  color: #382F0B;
  margin-bottom: 0.75rem;
}

.paper-card p {
  color: #5C4E15;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.paper-flaws-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.paper-flaw-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(255, 255, 255, 0.65);
  border: 1.5px solid #8A7524;
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #4A3E0F;
}

/* Right: KOMA Digital Twin MOH Replica Card */
.digital-twin-card {
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.digital-twin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.moh-emblem-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.moh-emblem-badge {
  background-color: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 0.35rem 0.6rem;
  font-weight: 900;
  font-size: 0.75rem;
}

.moh-title-block h3 {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.moh-title-block span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Digital Booklet Tab Buttons */
.booklet-tabs-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.booklet-tab-btn {
  padding: 0.45rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  background-color: #FAF7EE;
  cursor: pointer;
  transition: all 0.12s ease;
}

.booklet-tab-btn.active {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Mobile Table Scroll Hint */
.mobile-table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-card-soft);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #8C5300;
  margin-bottom: 0.65rem;
  box-shadow: 1px 1px 0px var(--color-border);
  user-select: none;
}

.scroll-arrow-anim {
  display: inline-block;
  font-size: 0.95rem;
  animation: swipeArrow 1.5s ease-in-out infinite;
}

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

/* Clean Replica Table */
.booklet-table-wrapper {
  border: 2px solid var(--color-border);
  border-radius: 16px;
  overflow-x: auto;
  background-color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.booklet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.booklet-table th {
  background-color: var(--color-card-soft);
  border-bottom: 2px solid var(--color-border);
  border-right: 1.5px solid var(--color-border);
  padding: 0.65rem 0.85rem;
  font-weight: 900;
  color: var(--color-text-dark);
}

.booklet-table th:last-child {
  border-right: none;
}

.booklet-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(24, 24, 27, 0.12);
  border-right: 1px solid rgba(24, 24, 27, 0.12);
  vertical-align: middle;
}

.booklet-table td:last-child {
  border-right: none;
}

.booklet-table tr:last-child td {
  border-bottom: none;
}

.booklet-table tr.completed-row {
  background-color: rgba(54, 179, 126, 0.08);
}

.table-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 900;
  border: 1px solid currentColor;
}

.table-status-pill.completed {
  background-color: var(--color-status-green-bg);
  color: #176B46;
}

.table-status-pill.due {
  background-color: var(--color-status-coral-bg);
  color: #AF371C;
}

.booklet-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 8. Core Features Showcase (3 Cards in a line) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-pillar-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.pillar-number {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-text-muted);
}

.feature-pillar-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.feature-pillar-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Interactive Demos Embedded in Feature Cards */
.pillar-demo-box {
  background-color: #FAF7EE;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  padding: 1rem;
  margin-top: auto;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

/* Pillar 1: Timeline Pills */
.timeline-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.dose-chip {
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.1s ease;
}

.dose-chip.active {
  background-color: var(--color-status-green);
  color: #FFFFFF;
  box-shadow: 1px 1px 0px var(--color-border);
}

.timeline-result-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pillar 2: Reminder Countdown Simulation */
.reminder-sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.reminder-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--color-status-coral-bg);
  border: 1.5px solid var(--color-border);
  color: #AF371C;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* Pillar 3: WHO Growth Mini Chart */
.growth-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.growth-tab-btn {
  padding: 0.25rem 0.65rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  background-color: #FFFFFF;
  cursor: pointer;
}

.growth-tab-btn.active {
  background-color: var(--color-status-blue);
  color: #FFFFFF;
}

.growth-svg-container {
  width: 100%;
  height: 95px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 0.4rem;
}

/* Pillar 4: Hospital Selector */
.hospital-select-box {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background-color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-dark);
  cursor: pointer;
}

.hospital-info-snippet {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* 9. Interactive Playground (Calculator + Birthday) */
.playground-section {
  background-color: var(--color-card-soft);
  border-top: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
}

.playground-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
}

.calculator-card, .birthday-teaser-card {
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.calc-date-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.calc-date-input-group label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.calc-date-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  background-color: #FAF7EE;
  outline: none;
}

.calc-presets-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.preset-chip {
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.1s ease;
}

.preset-chip:hover {
  background-color: var(--color-primary);
}

/* Animated Mascots Interactive Playground Card */
.mascot-interactive-card {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
  justify-content: space-between;
}

.mascot-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mascot-wait-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #FAF7EE;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--color-text-dark);
  box-shadow: var(--shadow-sm);
}

.mascot-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #18181B;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-stage {
  position: relative;
  background: linear-gradient(180deg, #FAF7EE 0%, #F3EDE0 100%);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 1.5rem 1rem 0.75rem 1rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  overflow: visible;
  user-select: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mascot-stage:hover {
  box-shadow: var(--shadow-md);
}

/* Comic Speech Bubble */
.mascot-speech-bubble {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  background: #18181B;
  color: #FFFFFF;
  border: 2px solid #18181B;
  border-radius: 16px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.mascot-speech-bubble.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.mascot-speech-bubble .bubble-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #18181B;
}

/* FX Floating Items */
.mascot-stage-fx {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
}

.fx-item {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.fx-syringe {
  top: -45px;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  font-size: 2.3rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
  transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.fx-sweat-boy {
  top: 60px;
  left: 32%;
  font-size: 1.25rem;
}

.fx-sweat-girl {
  top: 60px;
  right: 32%;
  font-size: 1.25rem;
}

.fx-heart-left {
  top: 55px;
  left: 38%;
}

.fx-heart-center {
  top: 40px;
  left: 48%;
  font-size: 1.9rem;
}

.fx-heart-right {
  top: 55px;
  right: 38%;
}

.fx-sparkle-1 {
  top: 45px;
  left: 26%;
  font-size: 1.5rem;
}

.fx-sparkle-2 {
  top: 45px;
  right: 26%;
  font-size: 1.5rem;
}

/* Mascots Container */
.mascots-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  position: relative;
  transition: gap 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-figure:hover {
  transform: scale(1.06);
}

.mascot-figure:active,
.mascot-figure.clicked-bounce {
  animation: mascot-pop-jump 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mascot-pop-jump {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.15, 0.88) translateY(6px); }
  55% { transform: scale(0.92, 1.18) translateY(-26px); }
  75% { transform: scale(1.05, 0.95) translateY(-8px); }
  100% { transform: scale(1) translateY(0); }
}

.mascot-char-svg {
  width: 125px;
  height: 155px;
  overflow: visible;
}

.mascot-tag {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.2rem 0.6rem;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 2px 2px 0px #18181B;
}

/* Expressions Control */
.eye-sparkle, .eye-scared, .mouth-scared {
  display: none;
}

.eye-normal, .mouth-normal {
  display: block;
}

/* 1. SPARKLING EYES ACTION */
.action-sparkling-eyes .eye-normal { display: none; }
.action-sparkling-eyes .eye-sparkle { 
  display: block; 
  animation: sparkle-glint 0.8s ease-in-out infinite alternate; 
}
.action-sparkling-eyes .mascot-boy {
  animation: cute-bob 1.6s ease-in-out infinite alternate;
}
.action-sparkling-eyes .mascot-girl {
  animation: cute-bob 1.6s ease-in-out 0.8s infinite alternate;
}
.action-sparkling-eyes .fx-sparkle-1,
.action-sparkling-eyes .fx-sparkle-2 {
  opacity: 1;
  animation: float-sparkle 1.2s ease-in-out infinite alternate;
}

@keyframes cute-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes sparkle-glint {
  0% { transform: scale(0.85); transform-origin: center; transform-box: fill-box; }
  100% { transform: scale(1.25); transform-origin: center; transform-box: fill-box; }
}

@keyframes float-sparkle {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(30deg); }
}

/* 2. HEART HANDS ACTION */
.action-heart-hands .mascot-boy {
  transform: translateX(8px);
}
.action-heart-hands .mascot-girl {
  transform: translateX(-8px);
}
.action-heart-hands .boy-arm-right {
  transform: rotate(-18deg);
  transform-box: fill-box;
  transform-origin: top left;
  transition: transform 0.4s ease;
}
.action-heart-hands .girl-arm-left {
  transform: rotate(18deg);
  transform-box: fill-box;
  transform-origin: top right;
  transition: transform 0.4s ease;
}
.action-heart-hands .fx-heart-left,
.action-heart-hands .fx-heart-center,
.action-heart-hands .fx-heart-right {
  opacity: 1;
}
.action-heart-hands .fx-heart-center {
  animation: heart-pulse 0.9s infinite ease-in-out;
}
.action-heart-hands .fx-heart-left,
.action-heart-hands .fx-heart-right {
  animation: float-heart 1.3s infinite ease-in-out alternate;
}

@keyframes heart-pulse {
  0%, 100% { transform: scale(0.92); }
  50% { transform: scale(1.22); }
}

@keyframes float-heart {
  0% { transform: translateY(0px) scale(0.9); }
  100% { transform: translateY(-14px) scale(1.15); }
}

/* 3. MASCOTS HUGGING ACTION */
.action-hugging.mascots-wrap {
  gap: 0;
}
.action-hugging .mascot-boy {
  transform: translateX(20px) rotate(4deg);
}
.action-hugging .mascot-girl {
  transform: translateX(-20px) rotate(-4deg);
}
.action-hugging .fx-heart-center {
  opacity: 1;
  top: 20px;
  font-size: 2.3rem;
  animation: heart-pulse 0.8s infinite;
}

/* 4. SCARED FACE OF VACCINE SHOT ACTION */
.action-scared-shot .eye-normal { display: none; }
.action-scared-shot .eye-scared { display: block; }
.action-scared-shot .mouth-normal { display: none; }
.action-scared-shot .mouth-scared { display: block; }
.action-scared-shot .fx-syringe {
  opacity: 1;
  top: 18px;
  animation: syringe-poke 0.7s ease-in-out infinite alternate;
}
.action-scared-shot .fx-sweat-boy,
.action-scared-shot .fx-sweat-girl {
  opacity: 1;
  animation: sweat-drop 0.8s ease-in-out infinite;
}
.action-scared-shot .mascot-figure {
  animation: scared-shiver 0.12s infinite alternate;
}

@keyframes scared-shiver {
  0% { transform: translate(-2px, 0); }
  100% { transform: translate(2px, -2px); }
}

@keyframes syringe-poke {
  0% { transform: translateX(-50%) rotate(-45deg) scale(1); }
  100% { transform: translateX(-50%) rotate(-35deg) scale(1.15); }
}

@keyframes sweat-drop {
  0% { transform: translateY(-2px); opacity: 0.3; }
  100% { transform: translateY(8px); opacity: 1; }
}

/* Mascot Arm Wave on Click */
.wave-boy .boy-arm-right {
  animation: wave-arm-anim 0.35s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: top left;
}
.wave-girl .girl-arm-left {
  animation: wave-arm-anim-rev 0.35s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: top right;
}

@keyframes wave-arm-anim {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-24deg) translateY(-4px); }
}

@keyframes wave-arm-anim-rev {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(24deg) translateY(-4px); }
}

/* Mascot Click Hint Underneath */
.mascot-click-hint-box {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #FAF7EE;
  border: 2px dashed #18181B;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-dark);
  user-select: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mascot-click-hint-box:hover {
  background-color: var(--color-primary);
}

.hint-hand-icon {
  font-size: 1.25rem;
  animation: hand-bounce 1s ease-in-out infinite alternate;
}

@keyframes hand-bounce {
  0% { transform: translateX(0); }
  100% { transform: translateX(6px); }
}

/* Birthday Teaser Box */
.birthday-teaser-card {
  text-align: center;
  align-items: center;
  justify-content: space-between;
}

.birthday-cake-illustration {
  width: 140px;
  height: 140px;
  margin: 1.25rem 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.birthday-cake-illustration:hover {
  transform: scale(1.08) rotate(-2deg);
}

/* 10. Cambodian Healthcare Ecosystem & Trust Section */
.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hospital-card {
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hospital-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hospital-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--color-status-blue-bg);
  color: #12639E;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.hospital-card h4 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.hospital-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.hospital-card .hospital-feature-tag {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: #166534;
  background-color: #DCFCE7;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  display: inline-block;
  align-self: flex-start;
}

/* Trust Statement Row */
.trust-banner-strip {
  background-color: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  box-shadow: var(--shadow-base);
}

.trust-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-pillar-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.trust-pillar h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.trust-pillar p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 11. Final Conversion Section (Banner) */
.cta-banner-section {
  padding: 3rem 0 6rem 0;
}

.cta-banner-card {
  background-color: var(--color-primary);
  border: 3px solid var(--color-border);
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-card h2 {
  font-size: 3.2rem;
  max-width: 800px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.15;
}

.cta-banner-card p {
  font-size: 1.25rem;
  color: #382F0B;
  font-weight: 700;
  max-width: 620px;
  margin: 0 auto 2.5rem auto;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 12. Footer */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
  padding: 2.5rem 0 1.5rem 0;
  width: 100%;
}

.footer-container {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1.5rem, 4.5vw, 5rem);
  box-sizing: border-box;
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 380px;
}

.footer-brand-col p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-links-wrap {
  display: flex;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: flex-start;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  color: var(--color-text-dark);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.footer-col a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.footer-col a:hover {
  color: #000000;
  text-decoration: underline;
  transform: translateX(2px);
}

.footer-bottom-bar {
  border-top: 1px dashed rgba(24, 24, 27, 0.15);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cambodia-love-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-card-soft);
  border: 1.5px solid var(--color-border);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  color: var(--color-text-dark);
  font-weight: 800;
}

/* 13. Modals & Overlays */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(24, 24, 27, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-container {
  background-color: #FFFFFF;
  border: 3px solid var(--color-border);
  border-radius: 28px;
  box-shadow: 8px 8px 0px var(--color-border);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.2rem;
  animation: modalScaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-container.large-modal {
  max-width: 900px;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  background-color: #FAF7EE;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
  transition: all 0.12s ease;
}

.modal-close-btn:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  background-color: #FAF7EE;
  outline: none;
}

.form-input:focus {
  background-color: #FFFFFF;
  border-color: #000;
  box-shadow: 0 0 0 2px var(--color-primary);
}

/* 14. Responsive Breakpoints */
@media (max-width: 1024px) {
  .nav-desktop {
    gap: 1.1rem;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .playground-grid {
    grid-template-columns: 1fr;
  }

  .hospitals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-banner-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Navigation & Header */
  .nav-desktop {
    display: none !important;
  }

  .header-demo-btn,
  .btn-contact-pill,
  .lang-dropdown-wrapper {
    display: none !important;
  }

  .hamburger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    touch-action: manipulation;
    flex-shrink: 0;
  }

  .header-inner {
    height: 64px;
  }

  .logo-icon-img {
    width: 36px;
    height: 36px;
  }

  .logo-text-img {
    height: 24px;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .lang-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .lang-menu {
    right: 0;
    width: 155px;
  }

  /* Containers & Section Spacing */
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-header h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.25rem);
    margin-bottom: 0.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .section-label {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  /* Hero Section */
  .hero-section {
    padding: 2rem 0 3.5rem 0;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 7.5vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-subhead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-actions .neo-btn {
    width: 100% !important;
    min-height: 48px;
    font-size: 0.98rem !important;
    padding: 0.85rem 1rem !important;
    justify-content: center;
    touch-action: manipulation;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding-top: 1.25rem;
    border-top: 2px dashed rgba(24, 24, 27, 0.15);
    width: 100%;
  }

  .trust-item {
    align-items: center;
    text-align: center;
  }

  .trust-item strong {
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
  }

  .trust-item span {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  /* Hero Visual Stage & Phone Mockup */
  .hero-visual-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    overflow: visible;
  }

  .phone-mockup {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 5px 5px 0px var(--color-border);
  }

  .phone-screen {
    border-radius: 26px;
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .phone-status-bar {
    font-size: 0.68rem;
  }

  .phone-notch {
    width: 60px;
    height: 12px;
  }

  .phone-parent-card {
    padding: 0.45rem 0.65rem;
  }

  .parent-avatar-circle {
    width: 32px;
    height: 32px;
  }

  .parent-info h4 {
    font-size: 0.78rem;
  }

  .parent-info span {
    font-size: 0.65rem;
  }

  .phone-child-switcher {
    gap: 0.4rem;
  }

  .child-tab-btn {
    min-height: 38px;
    padding: 0.4rem 0.5rem;
    justify-content: center;
    touch-action: manipulation;
  }

  .child-tab-btn span {
    font-size: 0.72rem;
  }

  .phone-due-card {
    padding: 0.65rem;
  }

  .due-badge-pill {
    font-size: 0.64rem;
    padding: 0.12rem 0.45rem;
  }

  .due-title {
    font-size: 0.78rem;
  }

  .due-hospital {
    font-size: 0.64rem;
  }

  .phone-stats-grid {
    gap: 0.35rem;
  }

  .phone-stat-box {
    padding: 0.4rem 0.15rem;
  }

  .phone-stat-box .icon {
    font-size: 0.85rem;
  }

  .phone-stat-box strong {
    font-size: 0.8rem;
  }

  .phone-stat-box small {
    font-size: 0.6rem;
  }

  /* Mascots on Mobile - tucked neatly next to frame corners */
  .mascot-peeking-left {
    width: 65px;
    height: 95px;
    left: -8px;
    bottom: 20px;
    z-index: 5;
    transform: rotate(-6deg);
  }

  .mascot-peeking-right {
    width: 65px;
    height: 95px;
    right: -8px;
    top: 30px;
    z-index: 5;
    transform: rotate(8deg);
  }

  /* Floating Badges on Mobile - styled as interactive pills above & below mockup */
  .floating-badge {
    position: static;
    display: inline-flex;
    margin: 0.4rem auto;
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    box-shadow: 2px 2px 0px var(--color-border);
    max-width: 92%;
    justify-content: center;
    text-align: center;
    touch-action: manipulation;
  }

  .badge-nip {
    order: -1;
    margin-bottom: 0.85rem;
  }

  .badge-birthday {
    order: 1;
    margin-top: 0.85rem;
  }

  /* Yellow Booklet Section */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .paper-card, .digital-twin-card {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }

  .paper-card h3 {
    font-size: 1.3rem;
  }

  .paper-card p {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  .paper-flaw-item {
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
  }

  .digital-twin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
  }

  .moh-title-block h3 {
    font-size: 0.98rem;
  }

  .booklet-tabs-row {
    width: 100%;
    gap: 0.4rem;
  }

  .booklet-tab-btn {
    flex: 1;
    text-align: center;
    min-height: 40px;
    font-size: 0.75rem;
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
    touch-action: manipulation;
  }

  .mobile-table-scroll-hint {
    display: flex;
  }

  .booklet-table-wrapper {
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    margin-bottom: 1rem;
    scrollbar-width: thin;
  }

  .booklet-table {
    font-size: 0.78rem;
  }

  .booklet-table th, .booklet-table td {
    padding: 0.55rem 0.65rem;
    white-space: nowrap;
  }

  .booklet-table th:nth-child(1), .booklet-table td:nth-child(1) {
    min-width: 135px;
  }

  .booklet-table th:nth-child(2), .booklet-table td:nth-child(2) {
    min-width: 85px;
  }

  .booklet-table th:nth-child(3), .booklet-table td:nth-child(3) {
    min-width: 105px;
  }

  .booklet-table th:nth-child(4), .booklet-table td:nth-child(4) {
    min-width: 135px;
  }

  .booklet-table th:nth-child(5), .booklet-table td:nth-child(5) {
    min-width: 100px;
  }

  .booklet-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .booklet-actions-row .neo-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    font-size: 0.88rem;
    touch-action: manipulation;
  }

  /* 4 Feature Pillars */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-pillar-card {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }

  .feature-pillar-card h3 {
    font-size: 1.35rem;
  }

  .feature-pillar-card p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .pillar-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .pillar-demo-box {
    padding: 0.85rem;
  }

  /* Pillar 1 */
  .timeline-pill-group {
    gap: 0.4rem;
  }

  .dose-chip {
    min-height: 38px;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    touch-action: manipulation;
  }

  .timeline-result-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
  }

  /* Pillar 2 */
  .reminder-sim-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  #btn-mark-reminder-done {
    width: 100%;
    min-height: 44px;
    font-size: 0.92rem;
    justify-content: center;
    touch-action: manipulation;
  }

  /* Pillar 3 */
  .growth-toggle-row {
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: space-between;
  }

  .growth-tab-btn {
    min-height: 36px;
    padding: 0.35rem 0.7rem;
    font-size: 0.76rem;
    touch-action: manipulation;
  }

  .growth-svg-container {
    height: 110px;
    padding: 0.35rem;
  }

  /* Pillar 4 */
  .hospital-select-box {
    font-size: 16px;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    touch-action: manipulation;
  }

  /* Playground Section */
  .playground-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-card, .birthday-teaser-card {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }

  .calculator-card h3, .birthday-teaser-card h3 {
    font-size: 1.3rem;
  }

  .calc-date-input {
    font-size: 16px;
    min-height: 48px;
  }

  .calc-presets-row {
    gap: 0.35rem;
  }

  .preset-chip {
    min-height: 38px;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    flex: 1 1 calc(50% - 0.35rem);
    text-align: center;
    touch-action: manipulation;
  }

  .calc-result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem;
  }

  .birthday-cake-illustration {
    width: 120px;
    height: 120px;
    margin: 1rem auto;
    touch-action: manipulation;
  }

  .birthday-cake-illustration:active {
    transform: scale(0.92);
  }

  .btn-trigger-birthday {
    width: 100%;
    min-height: 48px;
    font-size: 0.92rem;
    justify-content: center;
    touch-action: manipulation;
  }

  /* Hospitals & Trust Strip */
  .hospitals-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .hospital-card {
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .trust-banner-strip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }

  /* Conversion CTA Banner */
  .cta-banner-section {
    padding: 2rem 0 3.5rem 0;
  }

  .cta-banner-card {
    padding: 2.5rem 1.25rem;
    border-radius: 24px;
  }

  .cta-banner-card h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .cta-banner-card p {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-banner-actions .neo-btn {
    width: 100% !important;
    min-height: 48px;
    font-size: 0.98rem !important;
    padding: 0.85rem 1rem !important;
    justify-content: center;
    touch-action: manipulation;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 0 1.25rem 0;
  }

  .footer-container {
    padding: 0 1.25rem;
  }

  .footer-top-grid {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .footer-links-wrap {
    display: flex;
    gap: 3rem;
    width: 100%;
    justify-content: flex-start;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    padding-top: 0.85rem;
  }

  /* Modals on Mobile */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-container {
    padding: 1.5rem 1.15rem;
    border-radius: 22px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 5px 5px 0px var(--color-border);
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  #booklet-modal h2 {
    font-size: 1.25rem;
    padding-right: 2.25rem;
  }

  #booklet-modal .btn-trigger-print {
    width: 100%;
    min-height: 44px;
    margin-top: 0.5rem;
  }

  .form-input {
    font-size: 16px;
    min-height: 46px;
  }

  .waitlist-form .neo-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* Extra Small Screens (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    height: 60px;
  }

  .logo-text-img {
    height: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .phone-mockup {
    max-width: 295px;
    border-radius: 32px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 22px;
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .mascot-peeking-left {
    width: 55px;
    height: 80px;
    left: -5px;
    bottom: 15px;
  }

  .mascot-peeking-right {
    width: 55px;
    height: 80px;
    right: -5px;
    top: 25px;
  }

  .child-tab-btn {
    padding: 0.35rem 0.4rem;
  }

  .child-tab-btn span {
    font-size: 0.68rem;
  }

  .phone-due-card {
    padding: 0.55rem;
  }

  .due-title {
    font-size: 0.74rem;
  }

  .neo-card, .neo-card-soft, .feature-pillar-card, .calculator-card, .birthday-teaser-card, .paper-card, .digital-twin-card {
    padding: 1.25rem 0.95rem;
  }

  .modal-container {
    padding: 1.25rem 0.95rem;
  }
}

/* 15. Print Stylesheet (Official MOH Booklet A4 Print) */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm;
  }

  body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
  }

  body * {
    visibility: hidden;
  }

  #printable-yellow-booklet,
  #printable-yellow-booklet * {
    visibility: visible;
  }

  #printable-yellow-booklet {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
  }

  .no-print {
    display: none !important;
  }
}


/* ==========================================================================
   HERO SAMPLE SECTION & SMARTPHONE MOCKUP (COMPACT PROPORTIONAL SCALE)
   ========================================================================== */
.hero-sample-section {
  background-color: #FFFFFF;
  padding: 2.75rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-sample-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Left Content Column */
.hero-sample-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-sample-eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: #20B277;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.hero-sample-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.hero-sample-desc {
  font-size: 0.88rem;
  line-height: 1.58;
  color: #374151;
  max-width: 440px;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-btn-getapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #22A06B;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.68rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(34, 160, 107, 0.25);
  transition: all 0.15s ease;
  text-decoration: none;
}

.hero-btn-getapp:hover {
  background-color: #1E945F;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(34, 160, 107, 0.35);
}

.hero-btn-getapp:active {
  transform: translateY(0);
}

/* Right Showcase Stage (Phone Mockup + Bopha Mascot) */
.hero-sample-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-showcase-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding-right: 30px;
}

/* Phone Device Frame - Compact Proportional Dimensions */
.hero-phone-mockup {
  position: relative;
  width: 218px;
  background: #FFFFFF;
  border: 8px solid #111827;
  border-radius: 34px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 5;
  flex-shrink: 0;
}

/* Phone Hardware Volume & Power Buttons */
.hero-phone-mockup::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 65px;
  width: 3px;
  height: 36px;
  background: #1F2937;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 46px 0 #1F2937;
}

.hero-phone-mockup::after {
  content: '';
  position: absolute;
  right: -11px;
  top: 85px;
  width: 3px;
  height: 44px;
  background: #1F2937;
  border-radius: 0 3px 3px 0;
}

/* Dynamic Island Notch */
.phone-dynamic-island {
  width: 58px;
  height: 12px;
  background: #111827;
  border-radius: 9999px;
  margin: 5px auto 7px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.phone-camera-lens {
  width: 5px;
  height: 5px;
  background: #1E293B;
  border-radius: 50%;
}

.phone-speaker-slit {
  width: 20px;
  height: 2px;
  background: #1E293B;
  border-radius: 2px;
}

/* Inner Screen Content */
.phone-inner-screen {
  background-color: #FFFFFF;
  padding: 2px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.phone-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 8.5px;
  font-weight: 700;
  color: #20B277;
}

.phone-secure-pill svg {
  width: 9px;
  height: 9px;
}

.phone-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1.5px 5px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 7.5px;
  color: #4B5563;
  transition: background 0.15s ease;
}

.phone-lang-pill:hover {
  background: #F9FAFB;
}

.phone-mascot-dara {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mascot-dara .dara-welcome-svg {
  width: 100%;
  height: 100%;
}

.phone-brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1px;
  margin-bottom: 4px;
}

.phone-koma-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.phone-tracker-subtitle {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: #20B277;
  text-transform: uppercase;
  margin-top: 3px;
}

.phone-signin-prompt {
  font-size: 9.5px;
  font-weight: 600;
  color: #4B5563;
  margin-top: 6px;
  margin-bottom: 4px;
}

.phone-btn-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 6px 10px;
  background: #2AABEE;
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 600;
  border: none;
  cursor: default;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 2px 7px rgba(42, 171, 238, 0.25);
}

.phone-btn-telegram svg {
  width: 13px;
  height: 13px;
}

.phone-or-divider {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 6px 0;
}

.phone-or-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #E5E7EB;
}

.phone-or-divider span {
  position: relative;
  background: #FFFFFF;
  padding: 0 6px;
  font-size: 8px;
  font-weight: 700;
  color: #9CA3AF;
}

.phone-demo-prompt {
  font-size: 8.5px;
  color: #6B7280;
  margin-bottom: 4px;
}

.phone-btn-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5.5px 10px;
  background: #ECFDF5;
  border: 1px solid #86EFAC;
  border-radius: 9999px;
  color: #15803D;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.phone-btn-demo:hover {
  background: #D1FAE5;
}

/* Mascot Bopha Beside Phone - Compact Proportional Dimensions */
.hero-mascot-bopha {
  position: absolute;
  right: -20px;
  bottom: 8px;
  width: 155px;
  z-index: 10;
  pointer-events: none;
  animation: bophaFloat 4s ease-in-out infinite;
}

.bopha-waving-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.05));
}

@keyframes bophaFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Responsive queries for Hero */
@media (max-width: 992px) {
  .hero-sample-container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .hero-sample-left {
    align-items: center;
    text-align: center;
  }

  .hero-sample-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-showcase-stage {
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .hero-showcase-stage {
    max-width: 270px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .hero-phone-mockup {
    width: 175px;
  }

  .hero-mascot-bopha {
    width: 95px;
    right: -20px;
    bottom: 5px;
  }
}


/* ==========================================================================
   ABOUT US SECTION (COMPACT & PROPORTIONAL UX/UI)
   ========================================================================== */
.about-section-container {
  background-color: #F9FAFB;
  padding: 4rem 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.about-sky-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #0284C7;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Mission & Vision Row */

/* 1. The Problem We Solve block */
.about-block-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #18181B;
  margin-top: 0;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}

/* 2. Our Solution Box */
.our-solution-box {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 1px solid #BBF7D0;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.solution-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background-color: #DCFCE7;
  border: 1px solid #86EFAC;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.solution-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #059669;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}

.solution-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  max-width: 920px;
  margin-bottom: 1.5rem;
}

.solution-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sol-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #065F46;
  background-color: #FFFFFF;
  border: 1px solid #A7F3D0;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.who-serve-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-intro-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4B5563;
  max-width: 820px;
  margin: -0.85rem auto 2.25rem auto;
  text-align: center;
}

.mission-vision-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.mission-card,
.vision-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.mission-tag,
.vision-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mission-tag {
  color: #059669;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.vision-tag {
  color: #0284C7;
  background-color: #F0F9FF;
  border: 1px solid #BAE6FD;
}

.mission-title,
.vision-title {
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}

.mission-title {
  color: #10B981;
}

.vision-title {
  color: #0284C7;
}

.mission-text,
.vision-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}


.about-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.about-story-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-story-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #10B981;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.about-story-paragraph {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #4B5563;
  margin: 0;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  background-color: #0F172A;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Who we serve Box */
.who-serve-box {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.who-serve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.who-serve-photo-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #E5E7EB;
  background-color: #F3F4F6;
}

.who-serve-photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.who-serve-photo-frame:hover img {
  transform: scale(1.02);
}

.who-serve-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.who-serve-green-title {
  color: #10B981;
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.who-serve-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}

/* Team detail Box */
.team-detail-box {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.team-detail-yellow-title {
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: #D97706;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.015em;
}

.team-members-5grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.team-member-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-landscape-card {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background-color: #0F172A;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.team-landscape-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.team-member-col:hover .team-landscape-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.team-member-col:hover .team-landscape-card img {
  transform: scale(1.05);
}

.team-member-title-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.team-member-subtitle-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: #047857;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
}

/* ==========================================================================
   FEATURES SECTION - KOMA APP THEMED & BALANCED LAYOUT
   ========================================================================== */
.features-yellow-wrapper {
  background-color: #FAF7F2;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(34, 160, 107, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(250, 190, 44, 0.06) 0%, transparent 45%);
  padding: 4.5rem 0 5.5rem 0;
  position: relative;
}

.features-top-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.features-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #E8F8F0;
  color: #1E8357;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  border: 1px solid #C7F0DB;
}

.features-subheading-black {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 900;
  color: #18181B;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.features-tagline-gray {
  font-size: 1rem;
  color: #52525B;
  line-height: 1.6;
  margin: 0;
}

/* Focused, compact width to eliminate horizontal dead space */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto;
}

/* Feature Box Card matching KOMA App UI */
.feature-box {
  background-color: #FFFFFF;
  border: 1.5px solid #EDE6DA;
  border-radius: 28px;
  padding: 2.25rem 2.75rem;
  box-shadow: 0 8px 24px rgba(60, 48, 30, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(60, 48, 30, 0.08);
  border-color: #DDD4C5;
}

/* 2-Column Grid with Golden Proportions */
.feature-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2.75rem;
  align-items: center;
}

/* Alternating Zig-Zag Layout */
.feature-box:nth-child(even) .feature-grid {
  grid-template-columns: 1fr 310px;
}
.feature-box:nth-child(even) .feature-img-col {
  order: 2;
}
.feature-box:nth-child(even) .feature-text-col {
  order: 1;
}

/* Phone Showcase Podium */
.feature-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-phone-podium {
  position: relative;
  width: 100%;
  max-width: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.feature-podium-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

.podium-green .feature-podium-glow {
  background: rgba(34, 160, 107, 0.22);
}
.podium-amber .feature-podium-glow {
  background: rgba(245, 158, 11, 0.24);
}
.podium-teal .feature-podium-glow {
  background: rgba(43, 179, 140, 0.22);
}

.feature-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 24px rgba(35, 30, 20, 0.12));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-box:hover .feature-img {
  transform: translateY(-5px) scale(1.025);
}

/* Content Side */
.feature-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Category Pill Tag */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.feature-tag-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.feature-tag-green {
  background: #E8F8F0;
  color: #1E8357;
  border: 1px solid #C7F0DB;
}

.feature-tag-amber {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.feature-tag-teal {
  background: #E6F7F3;
  color: #0F766E;
  border: 1px solid #B2EBF2;
}

.feature-item-title {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 850;
  color: #18181B;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.feature-item-lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #52525B;
  margin-bottom: 1.25rem;
}

/* Interactive App-Style Bullet Cards */
.feature-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-bullet-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #FAF7F2;
  border: 1px solid #EFE8DE;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-bullet-card:hover {
  background-color: #FFFFFF;
  border-color: #22A06B;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(60, 48, 30, 0.05);
}

.feature-box-amber .feature-bullet-card:hover {
  border-color: #F59E0B;
}

.feature-box-nutrition .feature-bullet-card:hover {
  border-color: #0F766E;
}

.feature-bullet-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-green {
  background: #E8F8F0;
  color: #22A06B;
}

.icon-box-amber {
  background: #FEF3C7;
  color: #D97706;
}

.icon-box-teal {
  background: #E6F7F3;
  color: #0F766E;
}

.feature-check-icon {
  width: 15px;
  height: 15px;
}

.feature-bullet-text {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #27272A;
  font-weight: 500;
}

/* Bottom CTA Banner */
.features-cta-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF8 100%);
  border: 1.5px solid #EDE6DA;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 1040px;
  margin: 2.5rem auto 0 auto;
  box-shadow: 0 10px 30px rgba(60, 48, 30, 0.04);
  position: relative;
  overflow: hidden;
}

.features-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #22A06B 0%, #FABE2C 50%, #EE6748 100%);
}

.features-cta-sparkle {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: inline-block;
  animation: gentleBounce 2.5s infinite ease-in-out;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.features-cta-title {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 850;
  color: #18181B;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.features-cta-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #52525B;
  max-width: 600px;
  margin: 0 auto 1.75rem auto;
}

.features-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FABE2C;
  color: #18181B;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid #18181B;
  box-shadow: 3px 3px 0px #18181B;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.features-cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #18181B;
  background-color: #FCD34D;
  color: #18181B;
}

.features-cta-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #18181B;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .features-yellow-wrapper {
    padding: 3.5rem 0;
  }
  .feature-box {
    padding: 2rem 1.5rem;
    border-radius: 22px;
  }
  .feature-grid,
  .feature-box:nth-child(even) .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .feature-img-col,
  .feature-box:nth-child(even) .feature-img-col {
    order: 1;
  }
  .feature-text-col,
  .feature-box:nth-child(even) .feature-text-col {
    order: 2;
  }
  .feature-phone-podium {
    max-width: 240px;
  }
  .feature-img {
    max-width: 230px;
  }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR ABOUT & FEATURES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-sample-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .mission-vision-row,
  .about-story-row,
  .who-serve-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .who-serve-content {
    order: 1;
  }

  .who-serve-photo-frame {
    order: 2;
  }

  .about-photo-frame {
    height: 220px;
  }

  .team-members-5grid {
    grid-template-columns: repeat(3, 1fr);
  }


}

@media (max-width: 640px) {
  .team-members-5grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-cta-box {
    padding: 2rem 1.25rem;
  }

  .features-cta-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .our-solution-box,
  .mission-card,
  .vision-card,
  .who-serve-box,
  .team-detail-box {
    padding: 1.75rem 1.25rem;
  }
}


/* ==========================================================================
   DEMO SECTION - SMARTPHONE VIDEO & TRY DEMO CARD
   Matching Hand-Drawn Mockup (Phone Video Left, Demo Content & Try Right)
   ========================================================================== */
.demo-section-wrapper {
  background-color: #FAF7F2;
  background-image: 
    radial-gradient(circle at 10% 25%, rgba(34, 160, 107, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(250, 190, 44, 0.06) 0%, transparent 50%);
  padding: 4rem 0 3.5rem 0;
  position: relative;
}

.demo-main-card {
  max-width: 1040px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1.5px solid #EDE6DA;
  border-radius: 32px;
  padding: 3rem 3.5rem;
  box-shadow: 0 12px 36px rgba(60, 48, 30, 0.05);
  position: relative;
  overflow: hidden;
}

.demo-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Smartphone Video Column */
.demo-video-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-phone-frame {
  position: relative;
  width: 100%;
  max-width: 290px;
  background-color: #09090B;
  border: 4px solid #27272A;
  border-radius: 44px;
  padding: 10px 10px 14px 10px;
  box-shadow: 
    0 0 0 1px #3F3F46,
    0 22px 50px rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.12);
  user-select: none;
}

/* Dynamic Island */
.demo-phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background-color: #000000;
  border-radius: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  pointer-events: none;
}

.demo-island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1E3A5F 0%, #050B14 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-island-speaker {
  display: none;
}

/* Video Screen Wrapper */
.demo-screen-wrapper {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background-color: #000000;
  aspect-ratio: 576 / 1248;
  width: 100%;
}

.demo-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Overlay Controls */
.demo-video-overlay {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 0.5rem;
  z-index: 15;
}

.demo-control-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.demo-control-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}

.demo-control-btn svg {
  width: 16px;
  height: 16px;
}

/* Home Indicator Bar */
.demo-phone-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  z-index: 20;
  pointer-events: none;
}

/* Right Content Column */
.demo-content-col {
  display: flex;
  flex-direction: column;
}

.demo-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E8F8F0;
  color: #1E8357;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #C7F0DB;
  width: fit-content;
  margin-bottom: 0.85rem;
}

.demo-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22A06B;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.demo-main-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #18181B;
  margin-bottom: 0.85rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.demo-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #52525B;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

/* Highlights List */
.demo-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.demo-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #FAF7F2;
  border: 1px solid #EFE8DE;
  border-radius: 14px;
  padding: 0.75rem 1.1rem;
  transition: all 0.2s ease;
}

.demo-highlight-item:hover {
  background-color: #FFFFFF;
  border-color: #22A06B;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(60, 48, 30, 0.05);
}

.demo-hl-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-hl-icon.icon-green {
  background: #E8F8F0;
  color: #22A06B;
}

.demo-hl-icon.icon-amber {
  background: #FEF3C7;
  color: #D97706;
}

.demo-hl-icon.icon-teal {
  background: #E6F7F3;
  color: #0F766E;
}

.demo-hl-icon svg {
  width: 15px;
  height: 15px;
}

.demo-hl-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #27272A;
}

/* Try Box (Matching Sketch "Try") */
.demo-try-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.demo-try-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #FABE2C;
  color: #18181B;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 1.05rem 2.75rem;
  border-radius: 20px;
  border: 2.5px solid #18181B;
  box-shadow: 4px 4px 0px #18181B;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.demo-try-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px #18181B;
  background-color: #FCD34D;
  color: #18181B;
}

.demo-try-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #18181B;
}

.demo-try-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.demo-try-btn:hover .demo-try-arrow {
  transform: translateX(4px);
}

.demo-try-caption {
  font-size: 0.88rem;
  color: #71717A;
  margin: 0;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .demo-section-wrapper {
    padding: 2.75rem 0 2.25rem 0;
  }
  .demo-main-card {
    padding: 2.25rem 1.75rem;
    border-radius: 24px;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .demo-phone-frame {
    max-width: 250px;
  }
  .demo-try-box {
    align-items: stretch;
  }
  .demo-try-btn {
    width: 100%;
    text-align: center;
  }
  .demo-try-caption {
    text-align: center;
  }
}
