/* ============ Hearizon landing ============ */
:root {
  --blue: #0069b2;
  --blue-dark: #00578f;
  --deep: #0c2d49;
  --deeper: #081e33;
  --sky: #cfe8f4;
  --ice: #f6fbfd;
  --ink: #16212d;
  --muted: #5b6a77;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(12, 45, 73, 0.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* In-page scrolling is animated in main.js (CSS smooth-scroll is unreliable across browsers) */
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- logo ---------- */
.logo-svg { height: 44px; width: auto; display: block; }
.logo-svg.small { height: 36px; opacity: 0.95; }
.logo-text {
  font-family: var(--font);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.5px;
  fill: var(--blue);
}
.logo-arcs path { fill: none; stroke: var(--blue); stroke-width: 4.5; stroke-linecap: round; }
.footer .logo-text { fill: var(--white); }
.footer .logo-arcs path { stroke: var(--sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(0, 105, 178, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 105, 178, 0.45); }
.btn-lg { padding: 18px 40px; font-size: 19px; }
.btn-ghost {
  color: var(--deep);
  padding: 18px 36px;
  font-size: 19px;
  border: 2.5px solid rgba(12, 45, 73, 0.25);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38); }

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(0, 105, 178, 0.35), 0 0 0 0 rgba(0, 105, 178, 0.45); }
  50% { box-shadow: 0 12px 30px rgba(0, 105, 178, 0.35), 0 0 0 16px rgba(0, 105, 178, 0); }
}
.pulse { animation: btnPulse 2.6s ease-out infinite; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(246, 251, 253, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(12, 45, 73, 0.1);
}
.nav-inner {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  color: var(--deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.btn-nav { padding: 11px 22px; font-size: 15px; }
.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(12, 45, 73, 0.07);
  border-radius: 999px;
  padding: 4px;
}
.lang-btn {
  font-family: var(--font);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-btn:hover { color: var(--deep); }
.lang-btn.active { background: var(--white); color: var(--blue); box-shadow: 0 4px 12px rgba(12, 45, 73, 0.14); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(0, 105, 178, 0.14), transparent 65%),
    radial-gradient(700px 500px at 12% 80%, rgba(207, 232, 244, 0.9), transparent 70%),
    linear-gradient(180deg, var(--ice) 0%, #e4f2f9 100%);
}
.hero-inner {
  position: relative;
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--blue);
  background: rgba(0, 105, 178, 0.1);
  border: 1.5px solid rgba(0, 105, 178, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--deep);
  margin-bottom: 26px;
}
.hero h1 .accent {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  list-style: none;
  font-weight: 600;
  color: var(--deep);
  font-size: 15.5px;
}

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.hero-product {
  position: relative;
  z-index: 2;
  width: 86%;
  margin: 7% auto 0;
  filter: drop-shadow(0 50px 50px rgba(12, 45, 73, 0.28));
  animation: float 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}
.rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  opacity: 0;
  transform-origin: 300px 300px;
  animation: ringExpand 5s linear infinite;
}
.r2 { animation-delay: 1.25s; }
.r3 { animation-delay: 2.5s; }
.r4 { animation-delay: 3.75s; }
@keyframes ringExpand {
  0% { transform: scale(0.55); opacity: 0; }
  12% { opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero-chip {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 105, 178, 0.18);
  color: var(--deep);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(12, 45, 73, 0.16);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip-a { top: 14%; left: -2%; }
.chip-b { bottom: 16%; right: -1%; animation-delay: 1.6s; }
@keyframes chipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  width: 30px; height: 50px;
  border: 2.5px solid rgba(12, 45, 73, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
}
.scroll-hint span {
  width: 5px; height: 11px;
  background: var(--blue);
  border-radius: 3px;
  margin-top: 9px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0.2; }
}

/* ---------- sections ---------- */
section { padding: 110px 0; }
.section-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--deep);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  margin: 14px auto 0;
  max-width: 60ch;
}
.section-title.light, .section-sub.light { color: var(--white); }
.section-sub.light { opacity: 0.85; }

/* ---------- usp ---------- */
.usp { background: var(--white); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.usp-card {
  background: var(--ice);
  border: 1.5px solid rgba(12, 45, 73, 0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.usp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 105, 178, 0.3);
}
.usp-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(0, 105, 178, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.usp-card:hover .usp-icon { background: var(--blue); color: var(--white); transform: scale(1.08) rotate(-4deg); }
.usp-icon svg { width: 38px; height: 38px; }
.usp-card h3 { font-size: 20px; font-weight: 800; color: var(--deep); margin-bottom: 10px; }
.usp-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- demo ---------- */
.demo { background: linear-gradient(180deg, var(--white) 0%, #e8f4fa 100%); }
.demo-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.demo-copy .section-title, .demo-copy .section-sub { text-align: left; margin-left: 0; }
.demo-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 44px;
  border: 1.5px solid rgba(12, 45, 73, 0.06);
}
.demo-quote { text-align: center; }
.demo-quote p {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--deep);
  transition: filter 0.15s linear, opacity 0.15s linear, letter-spacing 0.15s linear;
  margin: 18px 0 8px;
}
.wave { width: min(320px, 80%); height: 80px; margin: 0 auto; display: block; }
.wave rect { fill: var(--blue); rx: 3; transition: opacity 0.2s; }
.demo-slider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.demo-label { font-weight: 700; font-size: 14px; white-space: nowrap; }
.muted-label { color: var(--muted); }
.accent-label { color: var(--blue); }
input[type="range"] {
  flex: 1;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8d4dd, var(--blue));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
  box-shadow: 0 6px 18px rgba(0, 105, 178, 0.4);
  transition: transform 0.2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
  box-shadow: 0 6px 18px rgba(0, 105, 178, 0.4);
}
.demo-status {
  text-align: center;
  margin-top: 22px;
  font-weight: 700;
  color: var(--muted);
  font-size: 16px;
  transition: color 0.3s ease;
}
.demo-status.clear { color: var(--blue); }

/* ---------- steps ---------- */
.steps { background: var(--ice); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(12, 45, 73, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step-card figure { overflow: hidden; aspect-ratio: 16/10; }
.step-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.step-card:hover img { transform: scale(1.07); }
.step-body { padding: 28px; position: relative; }
.step-num {
  position: absolute;
  top: -26px; left: 24px;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(0, 105, 178, 0.4);
}
.step-body h3 { margin-top: 16px; font-size: 21px; font-weight: 800; color: var(--deep); }
.step-body p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* ---------- package ---------- */
.package { background: var(--white); }
.package-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.package-visual img {
  filter: drop-shadow(0 40px 50px rgba(12, 45, 73, 0.25));
  animation: float 6s ease-in-out infinite;
}
.package-copy .section-title { text-align: left; }
.package-list {
  list-style: none;
  margin: 36px 0 40px;
  display: grid;
  gap: 16px;
}
.package-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ice);
  border: 1.5px solid rgba(12, 45, 73, 0.07);
  border-radius: 16px;
  padding: 16px 22px;
  font-weight: 600;
  color: var(--deep);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.package-list li:hover { transform: translateX(8px); border-color: rgba(0, 105, 178, 0.35); }
.package-list li em { font-style: normal; }
.package-list li span {
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  padding: 5px 13px;
  flex-shrink: 0;
}

/* ---------- moments ---------- */
.moments { background: linear-gradient(180deg, var(--deep) 0%, var(--deeper) 100%); }
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.moment {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/4.6;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.moment img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.moment:hover img { transform: scale(1.08); }
.moment figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 70px 26px 24px;
  background: linear-gradient(180deg, transparent, rgba(8, 30, 51, 0.9));
  color: var(--white);
  font-weight: 800;
  font-size: 19px;
}

/* ---------- spec list inside a FAQ answer ---------- */
.faq-specs {
  list-style: none;
  margin: 0;
  padding: 4px 26px 24px;
}
.faq-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(12, 45, 73, 0.09);
}
.faq-specs li:last-child { border-bottom: none; padding-bottom: 0; }
.faq-specs .fs-label { color: var(--muted); font-size: 15px; }
.faq-specs .fs-value { color: var(--deep); font-weight: 700; font-size: 15px; text-align: right; }

/* ---------- faq ---------- */
.faq { background: var(--ice); }
.faq-inner { max-width: 820px; }
.faq-list { margin-top: 50px; display: grid; gap: 16px; }
.faq-item {
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid rgba(12, 45, 73, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { border-color: rgba(0, 105, 178, 0.35); box-shadow: 0 14px 36px rgba(12, 45, 73, 0.1); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 800;
  font-size: 17.5px;
  color: var(--deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0, 105, 178, 0.1);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--blue);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.faq-icon::before { width: 14px; height: 2.5px; }
.faq-icon::after { width: 2.5px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(135deg); background: var(--blue); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, #11406a 0%, var(--deep) 55%, var(--deeper) 100%);
  overflow: hidden;
  text-align: center;
}
.cta-rings {
  position: absolute;
  width: 1100px; height: 1100px;
  left: 50%; top: 50%;
  translate: -50% -50%;
  opacity: 0.55;
}
.cta-rings .ring { stroke: var(--sky); stroke-width: 1.6; }
.cta-inner { position: relative; }
.cta-band h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cta-band h2 em { font-style: normal; color: #7cc4e8; }
.cta-band p { color: var(--sky); font-size: clamp(16px, 1.6vw, 21px); margin: 18px 0 38px; }

/* ---------- footer ---------- */
.footer { background: var(--deeper); padding: 44px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p { color: rgba(207, 232, 244, 0.65); font-size: 14.5px; }
.footer a { color: var(--sky); }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; max-width: 420px; }
  .hero-cta, .hero-pills { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-inner, .package-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .demo-copy .section-title, .demo-copy .section-sub, .package-copy .section-title { text-align: center; }
  .package-copy { display: flex; flex-direction: column; align-items: center; }
  .steps-grid, .moments-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
}
@media (max-width: 560px) {
  .usp-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  /* compact hero so the whole section fits in ~one screen (was much taller, needed scrolling) */
  .hero { min-height: auto; padding: 86px 0 24px; }
  .hero-inner { gap: 10px; }
  .hero-visual { max-width: 252px; }
  .kicker { margin-bottom: 10px; font-size: 11.5px; padding: 6px 14px; letter-spacing: 0.16em; }
  .hero h1 { font-size: clamp(30px, 8.2vw, 44px); margin-bottom: 12px; }
  .lead { font-size: 15.5px; margin-bottom: 18px; }
  .hero-cta { gap: 12px; margin-bottom: 16px; }
  /* the big CTA buttons looked oversized in the compacted hero */
  .hero-cta .btn-lg { padding: 13px 24px; font-size: 15.5px; }
  .hero-cta .btn-lg svg { width: 18px; height: 18px; }
  .hero-pills { gap: 8px 18px; font-size: 14px; }
  .hero-chip { font-size: 11.5px; padding: 8px 12px; }
  /* hide the scroll cue on mobile — it overlapped the feature pills in the compact hero */
  .scroll-hint { display: none; }
  .demo-card { padding: 30px 22px; }
  /* compact the nav so it fits small screens (was overflowing → mobile zoom-out) */
  .nav-inner { gap: 10px; }
  .nav .logo-svg { height: 32px; }
  .lang-switch { gap: 2px; padding: 3px; }
  .lang-btn { padding: 6px 9px; font-size: 12px; }
  .btn-nav { padding: 9px 13px; font-size: 12.5px; }
}
