@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =========================================================================
   Hanioo — professional blue & white theme
   A clean corporate palette built around a deep royal blue, a lighter sky
   blue for highlights, and a crisp white/near-white neutral scale, with
   soft "tinted" shadows, glass surfaces and restrained, professional
   motion. Colours are shared across every language pack so the theme
   never flips when the language does.
   ========================================================================= */

.hn-root {
  --maroon: #0F3D91;
  --maroon-deep: #071E42;
  --maroon-rgb: 15, 61, 145;
  --gold: #2563EB;
  --gold-soft: #DBEAFE;
  --gold-rgb: 37, 99, 235;
  --saffron: #0EA5E9;
  --forest: #14275A;
  --forest-deep: #0A1631;
  --forest-rgb: 20, 39, 90;
  --ivory: #F5F8FC;
  --ink: #0F1B2D;

  /* Dark-navy-hero / white-body redesign — light surface + dark-navy text
     tokens layered on top of the original palette above (which stays
     untouched so every spot-color, gradient and dark "inverted" section
     keeps working). */
  --bg: #FFFFFF;
  --bg-deep: #EEF2F9;
  --panel: #F6F9FC;
  --surface: rgba(15, 27, 45, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #0F1B2D;
  --ink-soft: #56637E;
  --line: rgba(15, 27, 45, 0.10);
  --glass-blur: blur(22px) saturate(160%);
  --accent-glow: 0 0 0 1px rgba(15, 61, 145, 0.14), 0 24px 60px -22px rgba(15, 61, 145, 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
.hn-root * { box-sizing: border-box; }

.hn-root ::selection {
  background: var(--gold);
  color: #FFFFFF;
}

/* Ambient background — a few soft, fixed gradient blooms that drift behind
   every page so the whole site reads as one continuous premium surface
   instead of flat panels stacked on top of each other. */
.hn-root::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 88% 4%, rgba(15, 61, 145, 0.06), transparent 60%),
    radial-gradient(30% 30% at 4% 22%, rgba(14, 165, 233, 0.05), transparent 60%),
    radial-gradient(40% 34% at 50% 92%, rgba(245, 158, 11, 0.05), transparent 60%),
    var(--bg);
}
.hn-root > * { position: relative; z-index: 1; }

.hn-display { font-family: 'Fraunces', serif; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------------
   Eyebrow labels
   --------------------------------------------------------------------- */
.hn-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hn-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.22);
}

.hn-ribbon {
  width: 84px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--forest) 0 33%, var(--saffron) 33% 66%, var(--gold) 66% 100%);
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.hn-btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--maroon) 60%, var(--maroon-deep) 130%);
  background-size: 200% 200%;
  color: #FFFFFF;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease);
  box-shadow: 0 10px 28px -8px rgba(var(--gold-rgb), 0.45), 0 2px 10px -2px rgba(var(--maroon-rgb), 0.5);
  position: relative;
  overflow: hidden;
}
.hn-btn-primary:hover { background-position: 100% 50%; }
.hn-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.hn-btn-primary:hover::before { left: 130%; }
.hn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(var(--gold-rgb), 0.55), 0 6px 16px -4px rgba(var(--maroon-rgb), 0.55);
}
.hn-btn-primary:active { transform: translateY(0); }
.hn-btn-primary svg { transition: transform 0.3s var(--ease); }
.hn-btn-primary:hover svg { transform: translateX(4px); }

.hn-btn-secondary {
  background: rgba(15, 27, 45, 0.02);
  color: var(--text);
  border: 1.5px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hn-btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
  color: #FFFFFF;
}
.hn-btn-secondary:active { transform: translateY(0); }

/* ---------------------------------------------------------------------
   Navbar
   --------------------------------------------------------------------- */
.hn-topbar {
  background: linear-gradient(90deg, #101B3E, #071E42);
  color: #DCE6FB;
  font-size: 0.78rem;
  font-weight: 500;
}
.hn-topbar > div {
  padding-top: 8px;
  padding-bottom: 8px;
}
.hn-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DCE6FB;
  text-decoration: none;
  transition: color 0.2s var(--ease-soft);
}
.hn-topbar-link:hover {
  color: #FFFFFF;
}

.hn-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
}
.hn-nav.scrolled {
  box-shadow: 0 10px 30px -18px rgba(15, 27, 45, 0.18);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.hn-nav .hn-nav-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding 0.4s var(--ease);
}
.hn-nav.scrolled .hn-nav-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.hn-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}
.hn-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transition: width 0.3s var(--ease);
}
.hn-link:hover { color: var(--saffron); }
.hn-link:hover::after,
.hn-link.active::after { width: 100%; }
.hn-link.active { color: var(--saffron); font-weight: 600; }

.hn-logo-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin-top: 1px;
}

.hn-logo-badge {
  background: linear-gradient(135deg, var(--maroon), var(--saffron) 55%, var(--gold));
  background-size: 220% 220%;
  color: var(--ink);
  animation: hn-gradient-shift 7s ease infinite;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 6px 16px -6px rgba(var(--maroon-rgb), 0.5);
}
.hn-logo:hover .hn-logo-badge {
  transform: rotate(-8deg) scale(1.07);
  box-shadow: 0 10px 22px -6px rgba(var(--maroon-rgb), 0.6);
}
@keyframes hn-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hn-flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--line);
  display: inline-block;
  flex-shrink: 0;
}
.hn-lang-trigger { padding: 6px 10px; border-radius: 999px; transition: background 0.25s var(--ease); }
.hn-lang-trigger:hover { background: rgba(15, 27, 45, 0.05); }
.hn-chevron { transition: transform 0.3s var(--ease); }
.hn-chevron.open { transform: rotate(180deg); }

.hn-burger { transition: transform 0.2s var(--ease); }
.hn-burger:active { transform: scale(0.88); }

.hn-mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease);
}
.hn-mobile-menu.open {
  max-height: 640px;
  opacity: 1;
}

/* Language dropdown */
.hn-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  box-shadow: 0 20px 45px -14px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
  min-width: 210px;
  overflow: hidden;
  z-index: 60;
  animation: hn-menu-in 0.22s var(--ease) both;
}
@keyframes hn-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hn-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  transition: background 0.2s var(--ease);
}
.hn-lang-option:hover { background: rgba(15, 27, 45, 0.05); }
.hn-lang-option.active { background: var(--gold-soft); color: var(--maroon-deep); }

/* ---------------------------------------------------------------------
   Page hero banner (About / Service / How It Works / Contact)
   --------------------------------------------------------------------- */
.hn-page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, #071E42 0%, #101B3E 45%, #060A1C 100%);
  color: var(--ivory);
}
.hn-page-hero .hn-ribbon {
  background: linear-gradient(90deg, var(--gold) 0 33%, var(--saffron) 33% 66%, var(--ivory) 66% 100%);
}

.hn-greeting-wrap {
  position: relative;
  height: 1.3em;
  overflow: hidden;
}
.hn-greeting {
  position: absolute;
  left: 0; top: 0;
  animation: hn-slide 2s var(--ease) forwards;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--maroon), var(--saffron));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes hn-slide {
  0% { transform: translateY(40%); opacity: 0; }
  15% { transform: translateY(0); opacity: 1; }
  85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-40%); opacity: 0; }
}

.hn-float {
  animation: hn-floaty 5.5s ease-in-out infinite;
}
.hn-float-delay {
  animation: hn-floaty 5.5s ease-in-out infinite;
  animation-delay: 1.4s;
}
@keyframes hn-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glass badge cards floating over the hero illustration */
.hn-float-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 34px -14px rgba(15, 27, 45, 0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hn-float-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 40px -14px rgba(15, 27, 45, 0.35);
}

/* ---------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------- */
.hn-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.hn-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--maroon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.hn-card:hover::before { transform: scaleX(1); }
.hn-card:hover {
  transform: translateY(-7px);
  background: rgba(15, 27, 45, 0.055);
  box-shadow: 0 24px 54px -20px rgba(15, 27, 45, 0.18), var(--accent-glow);
  border-color: rgba(15, 61, 145, 0.35);
}

.hn-icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--gold), var(--maroon) 130%);
  color: #FFFFFF;
  box-shadow: 0 8px 18px -8px rgba(var(--gold-rgb), 0.55);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.hn-card:hover .hn-icon-badge {
  transform: scale(1.08) rotate(-4deg);
}

.hn-contact-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -22px rgba(15, 27, 45, 0.28);
}
.hn-contact-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: saturate(0.9);
}

/* ---------------------------------------------------------------------
   How It Works — step cards with checklist pills
   --------------------------------------------------------------------- */
.hn-step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.hn-step-card:hover {
  transform: translateY(-6px);
  background: rgba(15, 27, 45, 0.055);
  box-shadow: 0 24px 54px -22px rgba(15, 27, 45, 0.18), var(--accent-glow);
  border-color: rgba(14, 165, 233, 0.4);
}
.hn-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  background: rgba(var(--gold-rgb), 0.12);
  color: #0369A1;
}
.hn-step-pill svg { flex-shrink: 0; color: var(--saffron); }

.hn-duration-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--saffron);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  white-space: nowrap;
}

/* Language pills grid */
.hn-lang-pill {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--bg);
  border: 1.5px solid rgba(15, 61, 145, 0.35);
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.hn-lang-pill:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background: linear-gradient(90deg, var(--maroon), var(--gold) 75%, var(--saffron) 150%);
  box-shadow: 0 14px 30px -14px rgba(15, 61, 145, 0.5);
}
.hn-lang-pill-flag {
  width: 34px; height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  overflow: hidden;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.hn-lang-pill-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hn-lang-pill:hover .hn-lang-pill-flag {
  opacity: 0;
  transform: scale(0.6);
}
.hn-lang-pill-globe {
  color: var(--maroon);
  background: rgba(15, 61, 145, 0.1);
}
.hn-lang-pill-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--maroon-deep);
  transition: color 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.hn-lang-pill:hover .hn-lang-pill-name {
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(7, 30, 66, 0.35);
}
.hn-lang-pill-hover-flag {
  position: absolute;
  right: -14px;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(-50%) translateX(18px) scale(0.7);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.hn-lang-pill-hover-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hn-lang-pill:hover .hn-lang-pill-hover-flag {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

/* Vertical alternating timeline for How It Works */
.hn-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.hn-timeline::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 27px;
  width: 2px;
  background: linear-gradient(180deg, var(--maroon), var(--saffron), var(--gold));
  opacity: 0.35;
}
.hn-timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 24px;
}
.hn-timeline-node {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
}
.hn-timeline-node-inner {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--gold), var(--maroon) 130%);
  color: #FFFFFF;
  box-shadow: 0 10px 22px -10px rgba(var(--gold-rgb), 0.55), 0 0 0 6px var(--bg);
}
.hn-timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.hn-timeline-card:hover {
  transform: translateY(-4px);
  background: rgba(15, 27, 45, 0.055);
  box-shadow: 0 24px 54px -22px rgba(15, 27, 45, 0.18), var(--accent-glow);
  border-color: rgba(14, 165, 233, 0.4);
}

@media (min-width: 768px) {
  .hn-timeline::before { left: 50%; margin-left: -1px; }
  .hn-timeline-row {
    grid-template-columns: 1fr 56px 1fr;
  }
  .hn-timeline-node { grid-column: 2; justify-self: center; }
  .hn-timeline-row-left .hn-timeline-card { grid-column: 1; grid-row: 1; text-align: left; }
  .hn-timeline-row-left .hn-timeline-card ul { justify-content: flex-start; }
  .hn-timeline-row-left .hn-timeline-card .flex.items-center.gap-3 { justify-content: flex-start; }
  .hn-timeline-row-right .hn-timeline-card { grid-column: 3; grid-row: 1; }
}

.hn-tab-btn {
  transition: all 0.3s var(--ease);
  border: 1.5px solid transparent;
}
.hn-tab-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--maroon));
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(var(--gold-rgb), 0.55);
}
.hn-tab-btn:not(.active) {
  color: var(--ink-soft);
  border-color: var(--line);
}
.hn-tab-btn:not(.active):hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--saffron);
}

.hn-testimonial-quote {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

/* Glass panel used behind the testimonial quote on the dark section */
.hn-glass-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

/* ---------------------------------------------------------------------
   Hero photo frame — soft rotating gradient ring (replaces the old
   dashed hn-orbit circles) + a blurred, counter-rotating glow twin
   for a calmer, more premium motion.
   --------------------------------------------------------------------- */
.hn-photo-frame {
  position: relative;
  border-radius: 999px;
}
.hn-photo-frame::before,
.hn-photo-frame::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  padding: 3px;
  background: conic-gradient(from 0deg, var(--maroon), var(--saffron), var(--gold), var(--forest), var(--maroon));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: hn-ring-spin 16s linear infinite;
  will-change: transform;
}
.hn-photo-frame::after {
  inset: -22px;
  padding: 0;
  filter: blur(20px);
  opacity: 0.45;
  -webkit-mask: none;
  mask: none;
  animation: hn-ring-spin 22s linear infinite reverse;
}
@keyframes hn-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hn-photo-img {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(15, 27, 45, 0.45), 0 0 0 6px var(--ivory);
}

.hn-service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.hn-service-card:hover {
  transform: translateY(-6px);
  background: rgba(15, 27, 45, 0.055);
  box-shadow: 0 24px 54px -22px rgba(15, 27, 45, 0.18), var(--accent-glow);
  border-color: rgba(14, 165, 233, 0.4);
}
.hn-service-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: grab;
}
.hn-service-card-img:active {
  cursor: grabbing;
}
.hn-service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.hn-service-card:hover .hn-service-card-img img {
  transform: scale(1.06);
}
.hn-service-card-link {
  color: var(--saffron);
  transition: gap 0.25s var(--ease);
}
.hn-service-card-link:hover {
  gap: 6px;
}

.hn-service-detail {
  animation: hn-fade-in 0.35s var(--ease);
}
@keyframes hn-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hn-service-detail-img {
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hn-service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.hn-service-detail-img:hover img {
  transform: scale(1.06);
}

.hn-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.32;
  pointer-events: none;
  animation: hn-drift 12s ease-in-out infinite;
}
@keyframes hn-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -10px) scale(1.06); }
}

.hn-marquee-track {
  display: flex;
  gap: 3rem;
  animation: hn-marquee 24s linear infinite;
  width: max-content;
}
@keyframes hn-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hn-step-line {
  background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 14px);
}

/* Subtle batik-inspired dotted motif, used behind hero/page-hero sections */
.hn-pattern-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image: radial-gradient(rgba(219, 234, 254, 0.09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.hn-page-hero .hn-pattern-bg {
  opacity: 0.5;
  background-image: radial-gradient(rgba(219, 234, 254, 0.14) 1.5px, transparent 1.5px);
}

/* ---------------------------------------------------------------------
   Page transitions
   --------------------------------------------------------------------- */
.hn-page-fade {
  animation: hn-page-in 0.55s var(--ease) both;
}
@keyframes hn-page-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------
   Welcome / lead-capture popup
   --------------------------------------------------------------------- */
.hn-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 12, 0.72);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: hn-overlay-in 0.3s var(--ease-soft) both;
}
@keyframes hn-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hn-popup-card {
  background: var(--surface-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  border-radius: 22px;
  max-width: 460px;
  width: 100%;
  padding: 20px 28px;
  position: relative;
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, 0.7), var(--accent-glow);
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  animation: hn-popup-in 0.4s var(--ease) both;
}
.hn-popup-card::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
@keyframes hn-popup-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hn-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.hn-popup-close:hover {
  color: var(--saffron);
  transform: rotate(90deg);
}
.hn-popup-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.hn-popup-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.hn-popup-brand span {
  font-size: 1rem;
  color: var(--text);
}
.hn-field {
  margin-bottom: 9px;
}
.hn-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text);
}
.hn-field input,
.hn-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  padding: 7px 12px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(15, 27, 45, 0.025);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.hn-field input::placeholder,
.hn-field textarea::placeholder {
  color: #000000;
  opacity: 0.55;
}
.hn-field input:focus,
.hn-field textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: rgba(15, 27, 45, 0.04);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}
.hn-field.has-error input,
.hn-field.has-error textarea {
  border-color: #C0392B;
}
.hn-field-error {
  color: #C0392B;
  font-size: 0.76rem;
  margin-top: 4px;
}
.hn-popup-success {
  text-align: center;
  padding: 20px 0;
}

/* ---------------------------------------------------------------------
   App store badges
   --------------------------------------------------------------------- */
.hn-store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}
.hn-store-badge:hover {
  transform: translateY(-3px) scale(1.03);
}
.hn-store-badge img {
  height: 55px;
  width: auto;
  display: block;
}
.hn-store-badge--apple img {
  height: 40px;
  border-radius: 8px;
}

/* ---------------------------------------------------------------------
   Scroll to top
   --------------------------------------------------------------------- */
.hn-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--maroon));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.45);
  z-index: 70;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hn-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hn-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------------
   Floating action buttons (WhatsApp / Call / AI chat)
   Fixed to the viewport, sitting just above the scroll-to-top button,
   and always visible — they don't hide/show with scroll position.
   --------------------------------------------------------------------- */
.hn-float-stack {
  position: fixed;
  right: 22px;
  bottom: 110px;
  z-index: 71;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.hn-float-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: none;
  cursor: pointer;
  z-index: 1;
}

.hn-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.5);
}

/* Blinking glow ring so the buttons catch the eye */
.hn-float-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: hn-float-blink 2.2s ease-out infinite;
}

.hn-float-call::before {
  animation-delay: 0.35s;
}

.hn-float-chat::before {
  animation-delay: 0.7s;
}

@keyframes hn-float-blink {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.hn-float-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4c);
  color: #ffffff;
}

.hn-float-call {
  background: linear-gradient(135deg, #34d399, #128c4c);
}

/* Small "24/7" badge tucked under the WhatsApp button, matching the
   reference screenshot — pulses gently so it catches the eye. */
.hn-float-badge {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #128c4c;
  background: #ffffff;
  border-radius: 999px;
  padding: 2px 8px;
  box-shadow: 0 4px 10px -3px rgba(0, 0, 0, 0.35);
  animation: hn-badge-blink 1.8s ease-in-out infinite;
}

@keyframes hn-badge-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hn-float-chat {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--maroon-deep);
}

.hn-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 148px;
  z-index: 90;
  width: min(340px, calc(100vw - 44px));
  height: min(440px, calc(100vh - 200px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: hn-popup-in 0.3s var(--ease) both;
}

.hn-chat-header {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold-soft);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hn-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hn-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hn-chat-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
}

.hn-chat-subtitle {
  font-size: 0.72rem;
  color: rgba(252, 233, 180, 0.75);
}

.hn-chat-close {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.hn-chat-close:hover {
  opacity: 1;
}

.hn-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F5F8FC;
}

.hn-chat-bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.hn-chat-bubble.is-bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(var(--maroon-rgb), 0.1);
  border-bottom-left-radius: 4px;
}

.hn-chat-bubble.is-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold-soft);
  border-bottom-right-radius: 4px;
}

.hn-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(var(--maroon-rgb), 0.1);
  background: #fff;
}

.hn-chat-input-row input {
  flex: 1;
  border: 1px solid rgba(var(--maroon-rgb), 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.85rem;
  outline: none;
}

.hn-chat-input-row input:focus {
  border-color: var(--saffron);
}

.hn-chat-input-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--maroon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .hn-float-stack {
    right: 14px;
    bottom: 82px;
  }
  .hn-chat-panel {
    right: 14px;
    left: 14px;
    width: auto;
    bottom: 140px;
  }
}

/* ---------------------------------------------------------------------
   Footer — dark maroon theme to match the page-hero / CTA sections
   --------------------------------------------------------------------- */
.hn-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(60% 90% at 8% 0%, rgba(var(--gold-rgb), 0.14), transparent 60%),
    radial-gradient(55% 80% at 95% 100%, rgba(var(--forest-rgb), 0.22), transparent 60%),
    linear-gradient(160deg, #071E42 0%, #030510 130%);
}
.hn-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #8B5CF6, #10B981, #F59E0B, #F43F5E);
  opacity: 0.85;
}
.hn-footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 44px;
  transform: translateY(-100%);
  pointer-events: none;
}
.hn-footer-globemark {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 340px;
  height: 340px;
  color: rgba(219, 234, 254, 0.06);
  pointer-events: none;
}
.hn-footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(14,165,233,0.08));
  border: 1px solid rgba(147, 197, 253, 0.25);
}
.hn-footer-cta-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.18);
  color: #93C5FD;
}
.hn-footer-cta-text {
  flex: 1;
  min-width: 200px;
}
.hn-footer-cta-heading {
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.95rem;
}
.hn-footer-cta-sub {
  color: rgba(255, 249, 238, 0.7);
  font-size: 0.82rem;
  margin-top: 2px;
}
.hn-footer-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  margin-right: 8px;
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.16);
}
.hn-footer-heading-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  margin-right: 10px;
  color: #FFFFFF;
  background: linear-gradient(140deg, var(--gold), var(--maroon) 130%);
  box-shadow: 0 6px 14px -6px rgba(var(--gold-rgb), 0.55);
  flex-shrink: 0;
}
.hn-footer-enrolled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hn-footer-avatar-stack {
  display: flex;
  flex-shrink: 0;
}
.hn-footer-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--gold), var(--maroon) 130%);
  color: #FFFFFF;
  border: 2px solid #071E42;
  margin-left: -8px;
}
.hn-footer-avatar:first-child {
  margin-left: 0;
}
.hn-footer-totop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(255, 249, 238, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hn-footer-totop:hover {
  background: var(--gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.hn-footer-highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(219,234,254,0.14);
  overflow: hidden;
}
.hn-footer-highlight-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.16);
  color: #93C5FD;
}
.hn-footer-highlight-text {
  flex: 1;
  min-width: 0;
}
.hn-footer-highlight-svg {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  color: #93C5FD;
  opacity: 0.35;
  pointer-events: none;
}
.hn-footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.06);
  border: 1px solid rgba(219, 234, 254, 0.14);
}
.hn-footer-newsletter-text {
  min-width: 200px;
}
.hn-footer-newsletter-thanks {
  color: var(--gold);
  font-weight: 600;
}
.hn-footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 320px;
}
.hn-footer-newsletter-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(219,234,254,0.18);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.8rem;
  color: var(--ivory);
}
.hn-footer-newsletter-input::placeholder {
  color: rgba(255,249,238,0.45);
}
.hn-footer-newsletter-input:focus {
  outline: none;
  border-color: #3B82F6;
  background: rgba(255,255,255,0.1);
}
.hn-footer-newsletter-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3B82F6, #0EA5E9);
  color: #FFFFFF;
  transition: transform 0.25s var(--ease);
}
.hn-footer-newsletter-btn:hover {
  transform: translateX(2px);
}
.hn-footer-lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hn-footer-lang-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,249,238,0.85);
  background: rgba(219,234,254,0.08);
  border: 1px solid rgba(219,234,254,0.14);
  border-radius: 999px;
  padding: 4px 10px;
}
.hn-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,249,238,0.1);
}
.hn-footer-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,249,238,0.8);
}
.hn-footer-trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}
.hn-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 12px;
  /* background: rgba(219, 234, 254, 0.94); */
  /* box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.35); */
  width: fit-content;
}
.hn-footer-logo {
  display: block;
  border-radius: 12px;
}
.hn-footer-link {
  color: rgba(219, 234, 254, 0.75);
  transition: color 0.25s var(--ease);
}
.hn-footer-link:hover {
  color: var(--gold);
}
.hn-footer-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hn-footer-link-row > span:last-child {
  line-height: 1.45;
}
.hn-footer-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.hn-footer-link-arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.hn-footer-link:hover .hn-footer-link-arrow {
  opacity: 1;
  transform: translateX(0);
}
.hn-footer-link-arrow-static {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
}
.hn-footer-service-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.45);
}

.hn-footer-social {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.hn-footer-social:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.6);
}
.hn-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(219, 234, 254, 0.12);
}
.hn-footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(219, 234, 254, 0.35);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   How It Works — video frame
   Fixed 16:9 ratio, capped width, so any video dropped into
   public/videos/how-it-works.mp4 sits at the right size automatically.
   --------------------------------------------------------------------- */
/* ---------------------------------------------------------------------
   How It Works — browser/laptop mockup frame around the video
   --------------------------------------------------------------------- */
.hn-browser-mockup {
  max-width: 800px;
  margin: 24px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #12233F;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.hn-browser-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hn-browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.hn-browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.hn-browser-urlbar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 320px;
  margin: 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 249, 238, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
}
.hn-browser-urlbar svg,
.hn-browser-urlbar i {
  color: #34D399;
  flex-shrink: 0;
}
.hn-browser-dots-spacer {
  width: 46px;
  flex-shrink: 0;
}
.hn-video-frame--browser {
  max-width: none;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.hn-video-frame {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #DCE8FB 0%, #BFD6F5 100%);
  box-shadow: 0 30px 70px -20px rgba(15, 27, 45, 0.25), var(--accent-glow);
  border: 1px solid var(--line);
}

.hn-video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}

/* ---------------------------------------------------------------------
   How It Works — FAQ accordion
   --------------------------------------------------------------------- */
.hn-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.hn-faq-item.open {
  border-color: rgba(15, 61, 145, 0.35);
  background: rgba(15, 27, 45, 0.03);
}
.hn-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}
.hn-faq-icon {
  color: var(--saffron);
  transition: transform 0.35s var(--ease);
}
.hn-faq-item.open .hn-faq-icon {
  transform: rotate(45deg);
}
.hn-faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.hn-faq-item.open .hn-faq-answer-wrap {
  grid-template-rows: 1fr;
}
.hn-faq-answer {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.hn-faq-item.open .hn-faq-answer {
  padding: 0 22px 20px;
}

/* ---------------------------------------------------------------------
   Focus states (accessibility + polish)
   --------------------------------------------------------------------- */
.hn-root a:focus-visible,
.hn-root button:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .hn-float, .hn-float-delay, .hn-marquee-track, .hn-greeting,
  .hn-page-fade, .hn-logo-badge, .hn-photo-frame::before, .hn-photo-frame::after, .hn-glow,
  .hn-popup-card, .hn-popup-overlay, .hn-lang-menu, .hn-float-btn::before {
    animation: none !important;
  }
  .hn-btn-primary::before { display: none; }
}

/* =========================================================================
   Dark navy hero (phone-mockup variant)
   ========================================================================= */
.hn-hero-dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, #071E42 0%, #101B3E 45%, #060A1C 100%);
}
.hn-hero-dark .hn-hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.hn-hero-dark-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #93C5FD;
}
.hn-hero-dark-eyebrow b {
  color: #FFFFFF;
}
.hn-check-list {
  display: grid;
  gap: 12px;
}
.hn-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E2E8F5;
  font-size: 0.98rem;
}
.hn-check-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.18);
  color: #7DD3FC;
}
.hn-hero-dark .hn-btn-primary {
  background: #FFFFFF;
  color: #071E42;
  border: 1px solid #FFFFFF;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.5);
}
.hn-hero-dark .hn-btn-primary:hover {
  box-shadow: 0 18px 34px -12px rgba(0,0,0,0.55);
}
.hn-hero-dark .hn-btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.35);
}
.hn-hero-dark .hn-btn-secondary:hover {
  background: #FFFFFF;
  color: #071E42;
  border-color: #FFFFFF;
}

/* Phone mockup */
.hn-phone {
  position: relative;
  width: 260px;
  height: 540px;
  border-radius: 40px;
  background: linear-gradient(180deg, #2A3568 0%, #171F44 100%);
  border: 6px solid #4C5A9C;
  box-shadow: 0 30px 70px -18px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.08),
    0 0 46px rgba(88, 108, 196, 0.35);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}
.hn-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #060A1C;
}
.hn-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #FFFFFF;
  font-weight: 600;
  padding: 4px 4px 12px;
}
.hn-phone-header {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}
.hn-phone-header .hn-phone-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
}
.hn-phone-header .hn-phone-online {
  color: #34D399;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}
.hn-phone-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #34D399;
}
.hn-phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hn-phone-match-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px;
}
.hn-phone-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3B82F6, #0EA5E9);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hn-phone-match-info {
  min-width: 0;
}
.hn-phone-match-name {
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hn-phone-match-lang {
  color: #93A3C7;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.hn-phone-match-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #93A3C7;
}
.hn-phone-bubble {
  background: rgba(255,255,255,0.92);
  color: #17204A;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  max-width: 88%;
}
.hn-phone-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #FFFFFF;
  border-radius: 16px 16px 4px 16px;
}
.hn-phone-bubble-reply {
  align-self: flex-start;
}
.hn-phone-call-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #FFFFFF;
}
.hn-phone-call-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hn-phone-call-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #34D399;
}
.hn-phone-call-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #34D399;
}
.hn-phone-float-card {
  position: absolute;
  background: #FFFFFF;
  color: #17204A;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------------------------------------------------------------------
   Hero phone — gentle floating + animated booking-flow demo
   --------------------------------------------------------------------- */
@keyframes hnFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hn-float {
  animation: hnFloat 5.5s ease-in-out infinite;
}
.hn-float-a {
  animation: hnFloat 4.5s ease-in-out infinite;
  animation-delay: 0.3s;
}
.hn-float-b {
  animation: hnFloat 6s ease-in-out infinite;
  animation-delay: 1.1s;
}

.hn-phone-online::before {
  animation: hnPulseDot 1.8s ease-in-out infinite;
}
.hn-phone-call-dot {
  animation: hnPulseDot 1.8s ease-in-out infinite;
}
@keyframes hnPulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  50% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0); }
}

.hn-msg {
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease;
}
.hn-msg.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
}
.hn-phone-call-card.hn-msg {
  margin-top: 0;
}
.hn-phone-call-card.hn-msg.show {
  margin-top: auto;
}

.hn-phone-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.92);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  width: fit-content;
}
.hn-phone-typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #17204A;
  opacity: 0.5;
  animation: hnTypingDot 1.1s ease-in-out infinite;
}
.hn-phone-typing span:nth-child(2) { animation-delay: 0.15s; }
.hn-phone-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes hnTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.hn-phone-booking-tag {
  position: absolute;
  top: -10px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #34D399;
  color: #06281C;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(4px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hn-phone-booking-tag.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hn-phone-match-card {
  position: relative;
}

/* =========================================================================
   Added for the PHP conversion — these replace patterns that used to be
   done with inline styles driven by React state (Reveal, testimonial
   dots), now driven by CSS classes toggled from assets/js/main.js.
   ========================================================================= */

.hn-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hn-reveal.hn-visible {
  opacity: 1;
  transform: translateY(0);
}

.hn-testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 249, 238, 0.3);
  transition: all 0.3s;
  border: 0;
  cursor: pointer;
}
.hn-testi-dot.active {
  width: 22px;
  background: var(--gold);
}

.hn-testi-nav {
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
  color: inherit;
}
.hn-testi-nav:hover {
  background: rgba(255, 249, 238, 0.12);
  transform: scale(1.1);
}

.hn-icon {
  display: inline-block;
  vertical-align: middle;
}
