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

:root {
  /* Brand Colors */
  --brand-green:        #D2EBBF;
  --brand-green-mid:    #B8E09A;
  --brand-blue:         #BCE7F0;
  --brand-blue-mid:     #78C6F1;
  --brand-yellow:       #FEF493;
  --brand-peach:        #F2C6AF;

  /* Basic System */
  --color-bg:           #FFFFFF;
  --color-bg-subtle:    #F8FAFC;
  --color-bg-dark:      #0F172A;
  --color-bg-dark-card: #1E293B;

  /* Texts */
  --color-text-primary:   #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted:     #94A3B8;
  --color-text-inverted:  #F8FAFC;

  /* Borders */
  --color-border:       #E2E8F0;
  --color-border-focus: #78C6F1;

  /* Semantic */
  --color-success:      #22C55E;
  --color-success-bg:   #DCFCE7;
  --color-error:        #EF4444;
  --color-warning:      #F59E0B;

  /* Hero Gradient */
  --hero-gradient-start: #D2EBBF;
  --hero-gradient-mid:   #BCE7F0;
  --hero-gradient-end:   #DDF1C0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
}

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

body {
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: 72px;
  margin-bottom: 24px;
}
.hero-title-line1 {
  font-weight: 800;
  color: var(--color-text-primary);
  display: block;
}
.hero-title-line2 {
  font-weight: 900;
  color: var(--color-text-primary);
  display: block;
}

@media (max-width: 768px) {
  .hero-title { font-size: 42px; }
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  white-space: normal;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .section-title br {
    display: none;
  }
  .section-title span:not(:last-child) {
    margin-inline-end: 8px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
    line-height: 1.25; /* tight spacing between lines on phone */
  }
}

.card-title {
  font-size: 22px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .card-title { font-size: 20px; }
}

.body-large {
  font-size: 18px;
  color: var(--color-text-secondary);
}
@media (max-width: 768px) {
  .body-large { font-size: 16px; }
}

/* Buttons */
.btn-primary {
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-primary:hover {
  background-color: #1E293B;
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-whatsapp {
  background-color: #16A34A;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background-color: #15803D;
  transform: translateY(-1px);
}
.btn-whatsapp:active {
  transform: translateY(0);
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.btn-ghost {
  background-color: transparent;
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 27px;
  border-radius: 10px;
  transition: border-color 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: #78C6F1;
  background-color: rgba(120, 198, 241, 0.06);
}

.btn-ghost-inverted {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.2);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 27px;
  border-radius: 10px;
  transition: border-color 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost-inverted:hover {
  border-color: #FFFFFF;
  background-color: rgba(255,255,255,0.1);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-store:hover {
  border-color: #78C6F1;
  box-shadow: 0 4px 12px rgba(120,198,241,0.2);
}
.btn-store svg {
  width: 24px;
  height: 24px;
}
.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}
html[dir="ltr"] .btn-store-text { text-align: left; }
.btn-store-label {
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2px;
}
.btn-store-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
  margin-bottom: 16px;
}
.badge-neutral {
  background: #F1F5F9;
  color: #475569;
  border-color: #CBD5E1;
}
.badge-green {
  background: #DCFCE7;
  color: #15803D;
  border-color: #BBF7D0;
}
.badge-dark {
  background: #1E293B;
  color: var(--brand-green);
  border-color: rgba(255,255,255,0.1);
}
.badge svg {
  width: 14px;
  height: 14px;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue-mid));
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

/* Navbar */
/* Navbar */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(13, 20, 38, 0.65); /* Richer dark glass base */
  backdrop-filter: blur(20px) saturate(220%);
  -webkit-backdrop-filter: blur(20px) saturate(220%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); /* Clean crisp glass edge */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25); /* Elegant floating shadow */
  z-index: 1000;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: #E2E8F0;
}

/* --- Dynamic Glass Navbar Styling & Overrides (Transparent Top State) --- */
nav:not(.scrolled) .nav-logo {
  color: #FFFFFF !important;
  transition: color 0.4s ease;
}
nav:not(.scrolled) .nav-logo svg {
  color: #10B981 !important;
  transition: color 0.4s ease;
}
nav:not(.scrolled) .nav-link {
  color: #F1F5F9 !important; /* Premium silver-white contrast for supreme legibility */
  transition: color 0.4s ease;
}
nav:not(.scrolled) .nav-link:hover {
  color: #FFFFFF !important;
}
nav:not(.scrolled) .nav-link::after {
  background: #10B981 !important;
}
nav:not(.scrolled) .lang-toggle {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #F1F5F9 !important;
  background: transparent !important;
  transition: all 0.4s ease !important;
}
nav:not(.scrolled) .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #FFFFFF !important;
}
nav:not(.scrolled) .hamburger-btn {
  color: #FFFFFF !important;
  transition: color 0.4s ease;
}

/* Scrolled Light State Overrides */
nav.scrolled .nav-logo {
  color: #0F172A !important;
}
nav.scrolled .nav-logo svg {
  color: var(--brand-green-mid) !important;
}
nav.scrolled .nav-link {
  color: #475569 !important;
}
nav.scrolled .nav-link:hover {
  color: #0F172A !important;
}
nav.scrolled .nav-link::after {
  background: #78C6F1 !important;
}
nav.scrolled .lang-toggle {
  border-color: #E2E8F0 !important;
  color: #475569 !important;
  background: transparent !important;
}
nav.scrolled .lang-toggle:hover {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}
nav.scrolled .hamburger-btn {
  color: #0F172A !important;
}

/* Ensure privacy and contact pages always use light navbar */
body:has(.privacy-page) nav,
body:has(.contact-page) nav {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom-color: #E2E8F0 !important;
}
body:has(.privacy-page) nav .nav-logo,
body:has(.contact-page) nav .nav-logo {
  color: #0F172A !important;
}
body:has(.privacy-page) nav .nav-logo svg,
body:has(.contact-page) nav .nav-logo svg {
  color: var(--brand-green-mid) !important;
}
body:has(.privacy-page) nav .nav-link,
body:has(.contact-page) nav .nav-link {
  color: #475569 !important;
}
body:has(.privacy-page) nav .nav-link:hover,
body:has(.contact-page) nav .nav-link:hover {
  color: #0F172A !important;
}
body:has(.privacy-page) nav .nav-link::after,
body:has(.contact-page) nav .nav-link::after {
  background: #78C6F1 !important;
}
body:has(.privacy-page) nav .lang-toggle,
body:has(.contact-page) nav .lang-toggle {
  border-color: #E2E8F0 !important;
  color: #475569 !important;
  background: transparent !important;
}
body:has(.privacy-page) nav .lang-toggle:hover,
body:has(.contact-page) nav .lang-toggle:hover {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}
body:has(.privacy-page) nav .hamburger-btn,
body:has(.contact-page) nav .hamburger-btn {
  color: #0F172A !important;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #0F172A;
}
.nav-logo svg {
  width: 24px;
  height: 24px;
  color: var(--brand-green-mid);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-link {
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: #78C6F1;
  border-radius: 1px;
  transition: width 0.2s;
}
html[dir="ltr"] .nav-link::after {
  right: auto; left: 0;
}
.nav-link:hover { color: #0F172A; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.lang-toggle:hover {
  background: #F8FAFC;
  color: #0F172A;
}
.lang-toggle svg { width: 16px; height: 16px; }

.btn-dashboard {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-dashboard:hover {
  background-color: #1E293B;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #0F172A;
}
.hamburger-btn svg { width: 24px; height: 24px; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: #0B0F19; /* Pure calm dark 'sukun' base */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, #0F172A 0%, #060913 100%);
  z-index: 0;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.7;
}
/* Ambient Glowing meshes for modern aesthetic */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-bg-noise {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphic Squares */
.glass-squares-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.glass-square {
  position: absolute;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.3);
  animation: floatUp 12s ease-in-out infinite alternate;
  transition: transform 0.5s ease-in-out;
}
.square-1 {
  top: 18%;
  right: 6%;
  width: 140px;
  height: 140px;
  --rot: 15deg;
  animation-delay: 0s;
}
.square-2 {
  top: 45%;
  left: 5%;
  width: 180px;
  height: 180px;
  --rot: -12deg;
  animation-delay: 2.5s;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.05);
}
.square-3 {
  bottom: 15%;
  right: 18%;
  width: 100px;
  height: 100px;
  --rot: 45deg;
  animation-delay: 4.5s;
}
.square-4 {
  bottom: 25%;
  left: 22%;
  width: 110px;
  height: 110px;
  --rot: 30deg;
  animation-delay: 1.5s;
}
.square-5 {
  top: 10%;
  left: 28%;
  width: 80px;
  height: 80px;
  --rot: -25deg;
  animation-delay: 5.5s;
}

@media (max-width: 768px) {
  .glass-square {
    border-radius: 16px;
  }
  .square-1 {
    top: 15%;
    right: 8%;
    width: 60px;
    height: 60px;
  }
  .square-2 {
    top: 38%;
    left: 4%;
    width: 75px;
    height: 75px;
  }
  .square-3 {
    bottom: 20%;
    right: 10%;
    width: 50px;
    height: 50px;
  }
  .square-4 {
    bottom: 12%;
    left: 8%;
    width: 55px;
    height: 55px;
  }
  .square-5 {
    top: 8%;
    left: 12%;
    width: 40px;
    height: 40px;
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  100% {
    transform: translateY(-25px) rotate(calc(var(--rot, 0deg) + 8deg));
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
  margin: 0 auto;
}
.hero-desc {
  margin-bottom: 32px;
  color: #94A3B8 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Specific text color elements overrides inside the dark calm hero */
.hero .hero-title-line1 {
  color: #FFFFFF !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero .hero-title-line2 {
  background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none;
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.hero .badge-neutral {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #A7F3D0 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
}
.hero .badge-neutral svg {
  color: #10B981 !important;
}
.hero .trust-row {
  color: #64748B !important;
}
.hero .trust-row span {
  color: #94A3B8 !important;
}
.hero .trust-row svg {
  color: #10B981 !important;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-stores {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #64748B;
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
  flex-wrap: wrap;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: #94A3B8;
}
.scroll-indicator svg { width: 24px; height: 24px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Stats Bar */
.stats-bar {
  background: #0F172A;
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
html[dir="ltr"] .stat-item:not(:last-child)::after {
  left: auto; right: 0;
}
.stat-number {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: #D2EBBF;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: #94A3B8;
}

/* Narrative Section */
.narrative-section {
  background: var(--color-bg-subtle);
  padding: 96px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.story-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  background: var(--color-bg);
}
.story-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #F8FAFC;
  color: #0F172A;
  flex-shrink: 0;
  border-left: 1px solid #E2E8F0;
}
html[dir="ltr"] .story-card-icon {
  border-left: none;
  border-right: 1px solid #E2E8F0;
}
.story-card-icon svg { width: 32px; height: 32px; }
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-grow: 1;
}

@media (max-width: 576px) {
  .story-card-icon {
    padding: 16px;
  }
}
.story-before {
  background: #F8FAFC;
  padding: 20px 24px;
  border-left: 1px solid #E2E8F0;
}
html[dir="ltr"] .story-before {
  border-left: none; border-right: 1px solid #E2E8F0;
}
.story-after {
  padding: 20px 24px;
}
.story-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.6;
}
.story-text {
  font-size: 15px;
  font-weight: 500;
  color: #0F172A;
  line-height: 1.5;
}
.bg-brand-green { background: #D2EBBF; }
.bg-brand-peach { background: #F2C6AF; }
.bg-brand-blue { background: #BCE7F0; }
.bg-brand-yellow { background: #FEF493; }

/* B2B Features */
.b2b-section {
  padding: 96px 0;
  background: var(--color-bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: #78C6F1;
  box-shadow: 0 4px 20px rgba(120,198,241,0.1);
}
.feature-icon {
  width: 44px; height: 44px;
  background: #F1F5F9;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #0F172A;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

/* Mockup Section */
.mockup-section {
  background: #0F172A;
  padding: 96px 0;
  overflow: hidden;
}
.mockup-text {
  text-align: center;
  color: #F8FAFC;
  margin-bottom: 64px;
}
.browser-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}
.browser-bar {
  background: #1E293B;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 12px; height: 12px; border-radius: 50%; background: #334155; }
.browser-url {
  background: #0F172A;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  color: #64748B;
  margin: 0 auto;
  width: 40%;
  text-align: center;
}
.dashboard-screenshot {
  width: 100%;
  aspect-ratio: 16/9;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}
.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.browser-frame:hover .screenshot-img {
  transform: scale(1.025);
}

/* Parent Section */
.parent-section {
  background: var(--color-bg-subtle);
  padding: 96px 0;
}
.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.brand-card {
  border-radius: 16px;
  padding: 24px;
  color: #0F172A;
}
.brand-card-icon {
  margin-bottom: 12px;
}
.brand-card-icon svg { width: 24px; height: 24px; }
.brand-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.brand-card-desc {
  font-size: 14px;
  opacity: 0.8;
}
.parent-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}
.parent-stores {
  display: flex;
  gap: 12px;
}

/* How It Works */
.how-it-works-section {
  padding: 96px 0;
  background: var(--color-bg);
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
}
.steps-line {
  position: absolute;
  top: 28px;
  right: 16.5%; left: 16.5%;
  height: 2px;
  background: linear-gradient(90deg, #D2EBBF, #78C6F1, #D2EBBF);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

/* Geographic Reach */
.geo-section {
  padding: 96px 0;
  background: var(--color-bg-subtle);
}
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: 48px auto 0;
}
@media (max-width: 768px) {
  .geo-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
.geo-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.geo-card:hover { border-color: #78C6F1; }
.geo-flag { font-size: 28px; margin-bottom: 8px; }
.geo-name { font-size: 14px; font-weight: 600; color: #0F172A; }

/* Offline Trust Signal */
.offline-section {
  background: var(--brand-green);
  padding: 96px 0;
}
.offline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.offline-item {
  text-align: center;
}
.offline-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #0F172A;
}
.offline-icon svg { width: 28px; height: 28px; }
.offline-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.offline-desc {
  font-size: 15px;
  color: #475569;
}

/* Social Proof Marquee */
.marquee-section {
  padding: 64px 0;
  background: var(--color-bg);
  overflow: hidden;
}
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  margin-top: 32px;
  direction: ltr !important; /* Force physical coordinate layout to LTR so animation works seamlessly in both directions */
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track.reverse {
  animation: marquee-reverse 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-content {
  display: flex;
  gap: 20px;
  padding-right: 20px; /* spacing between the two identical wrappers, keeps spacing uniform */
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

html[dir="rtl"] .nursery-card,
html[dir="rtl"] .testimonial-card {
  direction: rtl !important;
  text-align: right;
}

.nursery-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nursery-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #D2EBBF, #78C6F1);
  display: flex; align-items: center; justify-content: center;
  color: #0F172A;
}
.nursery-avatar svg { width: 20px; height: 20px; }
.nursery-name { font-size: 15px; font-weight: 600; color: #0F172A; }
.nursery-location { font-size: 13px; color: #94A3B8; }

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 320px;
  white-space: normal;
}
.stars { font-size: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: #475569; line-height: 1.6; }
.testimonial-author { font-size: 13px; font-weight: 700; color: #0F172A; margin-top: 4px; }

/* FAQ Section */
.faq-section {
  padding: 96px 0;
  background: var(--color-bg-subtle);
}
.faq-container {
  max-width: 800px;
  margin: 48px auto 0;
}
.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
  background: #FFFFFF;
}
.faq-item.open {
  border-color: #78C6F1;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  user-select: none;
}
.faq-icon {
  width: 24px; height: 24px;
  transition: transform 0.3s ease;
  color: #94A3B8;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  background: #0F172A;
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(120,198,241,0.08) 0%, transparent 70%);
}
.final-cta-content { position: relative; z-index: 1; }
.final-cta h2 {
  color: #F8FAFC;
}
.final-cta p {
  color: #94A3B8;
  margin-bottom: 32px;
}

/* Footer */
footer {
  background: #0F172A;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-col h4 {
  color: #F8FAFC;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F8FAFC;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-logo svg {
  width: 24px; height: 24px;
  color: var(--brand-green-mid);
}
.footer-desc {
  color: #94A3B8;
  font-size: 15px;
  margin-bottom: 24px;
}
.footer-stores {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.footer-stores .btn-store {
  padding: 6px 12px;
  border-radius: 8px;
  background: transparent;
  color: #94A3B8;
  border-color: rgba(255,255,255,0.2);
}
.footer-stores .btn-store:hover {
  border-color: #F8FAFC;
  color: #F8FAFC;
}
.footer-stores svg { width: 16px; height: 16px; }
.footer-stores .btn-store-name { font-size: 12px; }
.footer-stores .btn-store-label { display: none; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  color: #94A3B8;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-link:hover { color: #F8FAFC; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94A3B8;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: #475569;
}
.footer-contact-item a { transition: color 0.2s; }
.footer-contact-item a:hover { color: #F8FAFC; }

.footer-hours {
  color: #94A3B8;
  font-size: 14px;
  margin-top: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: #475569;
  font-size: 13px;
}
.made-with-love {
  display: flex;
  align-items: center;
  gap: 4px;
}
.made-with-love svg {
  width: 14px; height: 14px; color: #EF4444; fill: currentColor;
}

/* Privacy Page */
.privacy-page {
  padding: 120px 24px 80px;
  background: #FFFFFF;
}
.privacy-container {
  max-width: 760px;
  margin: 0 auto;
}
.privacy-header {
  text-align: center;
  margin-bottom: 64px;
}
.privacy-header h1 { font-size: 40px; font-weight: 800; color: #0F172A; }
.privacy-header .date { font-size: 14px; color: #94A3B8; margin-top: 8px; }

.privacy-section { margin-bottom: 48px; }
.privacy-section h2 {
  font-size: 22px; font-weight: 700;
  color: #0F172A; margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #D2EBBF;
}
.privacy-section p, .privacy-section li {
  font-size: 16px; color: #475569; line-height: 1.75;
  margin-bottom: 12px;
}
.privacy-section ul { padding-right: 20px; }
html[dir="ltr"] .privacy-section ul { padding-right: 0; padding-left: 20px; }
.privacy-section strong { color: #0F172A; font-weight: 600; }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px; height: 56px;
  background: #16A34A;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(22,163,74,0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #FFFFFF;
}
html[dir="ltr"] .whatsapp-fab { left: auto; right: 28px; }
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(22,163,74,0.55);
}
.whatsapp-fab svg { width: 28px; height: 28px; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px; right: -100%; width: 260px; height: calc(100vh - 70px);
    flex-direction: column; align-items: flex-start;
    padding: 28px 24px;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
  html[dir="ltr"] .nav-menu { right: auto; left: -100%; transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
  
  /* Non-scrolled (top of page, Sukun dark theme) Sidebar */
  nav:not(.scrolled) .nav-menu {
    background: rgba(13, 20, 38, 0.88) !important;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  html[dir="ltr"] nav:not(.scrolled) .nav-menu {
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35) !important;
    border-left: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* Scrolled (down the page, white theme) Sidebar */
  nav.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.1) !important;
    border-left: 1px solid rgba(15, 23, 42, 0.08) !important;
  }
  html[dir="ltr"] nav.scrolled .nav-menu {
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.1) !important;
    border-left: none !important;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  .nav-menu.open { right: 0; }
  html[dir="ltr"] .nav-menu.open { left: 0; right: auto; }
  
  .nav-links { flex-direction: column; width: 100%; gap: 12px; }
  .nav-menu .nav-link {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  nav.scrolled .nav-menu .nav-link {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  .nav-actions { flex-direction: column; width: 100%; align-items: stretch; margin-top: auto; gap: 12px; }
  .hamburger-btn { display: block; }
  
  .story-grid { grid-template-columns: 1fr; }
  .story-split { grid-template-columns: 1fr; }
  .story-before { border-left: none; border-bottom: 1px solid #E2E8F0; }
  html[dir="ltr"] .story-before { border-right: none; }
  .features-grid { grid-template-columns: 1fr; }
  .brand-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .brand-card {
    padding: 16px;
    border-radius: 12px;
  }
  .brand-card-title {
    font-size: 15px;
  }
  .brand-card-desc {
    font-size: 12.5px;
  }
  .steps-container { grid-template-columns: 1fr; gap: 48px; }
  .steps-line {
    width: 2px; height: 100%;
    left: 50%; right: auto; top: 0;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #D2EBBF, #78C6F1, #D2EBBF);
  }
  .offline-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px 0; }
  .stat-item::after { display: none !important; }
}

/* Contact Page Styles */
.contact-page {
  padding: 120px 24px 80px;
  background: #FFFFFF;
}

.contact-container {
  max-width: 680px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

.contact-header .subtitle {
  font-size: 16px;
  color: #64748B;
  max-width: 500px;
  margin: 0 auto;
}

/* Glassmorphic Contact Card */
.contact-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 24px;
    border-radius: 16px;
  }
}

.contact-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.form-label .required {
  color: #EF4444;
}

.form-control, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background-color: #F8FAFC;
  color: #0F172A;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  outline: none;
  font-family: 'Cairo', sans-serif;
}

.form-control:hover, .form-select:hover, .form-textarea:hover {
  border-color: #CBD5E1;
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: #78C6F1;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(120, 198, 241, 0.15);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.form-submit-btn:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Custom Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-btn {
  background: #16A34A;
  color: #FFFFFF;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-btn:hover {
  background: #15803D;
}

/* Logo Image Styling */
.nav-logo img,
.footer-logo img {
  width: auto;
  height: 28px;
  object-fit: contain;
  display: block;
}

