/* =========================================================
   Zentrix Caregiver Management — style.css
   Iteck "App Landing" design system (plain HTML/CSS)
   ========================================================= */

:root {
  /* Iteck palette */
  --color-main: #0066ff;
  --color-secondary: #02b5ff;
  --color-blue4: #5842bc;
  --color-blue5: #157efb;
  --color-gray: #eef4f8;
  --color-dark: #010049;
  --color-main-grad: linear-gradient(to right, #0c3df4 0%, #02b5ff 100%);
  --grad-text: linear-gradient(to right, #501e9c 0%, #8169f1 30%, #a44cee 73%, #ff847f 100%);

  /* Supporting palette (pills, status, light surfaces) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-300: #5eead4;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-950: #042f2e;

  --sky-100: #e0f2fe;
  --sky-800: #075985;

  --emerald-50: #ecfdf5;
  --emerald-700: #047857;

  --amber-50: #fffbeb;
  --amber-400: #fbbf24;
  --amber-700: #b45309;

  --indigo-100: #e0e7ff;
  --indigo-800: #3730a3;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-body: #5d6b84;
  --text-head: #010049;

  --shadow-xs: 0 1px 2px rgba(1, 0, 73, 0.05);
  --shadow-sm: 0 2px 8px rgba(1, 0, 73, 0.06), 0 1px 2px rgba(1, 0, 73, 0.05);
  --shadow-md: 0 12px 30px rgba(1, 0, 73, 0.1);
  --shadow-lg: 0 24px 50px rgba(1, 0, 73, 0.14);
  --shadow-xl: 0 32px 64px rgba(1, 0, 73, 0.2);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text-head); line-height: 1.3; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--color-blue4); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

:focus-visible { outline: 2px solid var(--color-main); outline-offset: 2px; }

/* ---------- Icons ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon-xs { width: 13px; height: 13px; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 24px; height: 24px; }
.icon-teal { color: var(--teal-600); }
.muted { color: var(--slate-400); }
.color-blue4 { color: var(--color-blue4); }

.icon-30 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin-top: 14px;
}
.section-head .text { margin-top: 14px; }

.title-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue4);
  line-height: 1.4;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.text { color: var(--text-body); font-size: 1rem; line-height: 1.7; }
.muted-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
}
.muted-note .icon { color: var(--teal-600); }

.label-strong {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-head);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn .icon { transition: transform 0.2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-blue4 { background: var(--color-blue4); color: #fff; box-shadow: 0 10px 24px rgba(88, 66, 188, 0.25); }
.btn-blue4:hover { background: var(--color-main); box-shadow: 0 12px 26px rgba(0, 102, 255, 0.28); }
.btn-outline { background: #fff; color: var(--text-head); border-color: #d7dfea; }
.btn-outline:hover { border-color: var(--color-main); color: var(--color-main); }
.btn-sm { padding: 9px 18px; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* Play button */
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 7px 22px 7px 7px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.play-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.play-btn-icon {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--color-main-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.play-btn-icon::before,
.play-btn-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(2, 181, 255, 0.55);
  animation: play-pulse 2.6s ease-out infinite;
}
.play-btn-icon::after { animation-delay: 1.3s; }
.play-btn-icon .icon { width: 16px; height: 16px; }
@keyframes play-pulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.8); opacity: 0; }
}
.play-btn-text { text-align: left; line-height: 1.3; }
.play-btn-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text-head); }
.play-btn-text small { display: block; font-size: 0.6875rem; color: var(--slate-500); margin-top: 1px; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-blue4);
}
.link-btn:hover { color: var(--color-main); text-decoration: underline; }

/* ---------- Check lists ---------- */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.8125rem;
  color: var(--slate-700);
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #eef4ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235842bc' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.check-list-lg li { font-size: 0.875rem; padding-left: 32px; }
.check-list-lg li::before { width: 20px; height: 20px; background-size: 12px; top: 2px; }

/* ---------- Top navbar ---------- */
.top-navbar {
  background: #151553 url("img/top_nav_s4.png") center / cover no-repeat;
  color: #fff;
  padding: 11px 0;
  font-size: 0.8125rem;
}
.top-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.top-content img { border-radius: 4px; }
.top-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.top-link:hover { color: var(--color-secondary); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 10px 34px rgba(1, 0, 73, 0.07);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 40px rgba(1, 0, 73, 0.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; padding: 4px; }
.brand-logo { height: 36px; width: auto; max-width: 150px; object-fit: contain; }
.footer-brand .brand-logo {
  box-sizing: content-box;
  height: 60px;
  max-width: none;
  padding: 10px 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 0.875rem; font-weight: 500; color: var(--slate-600); }
.nav-links a { position: relative; white-space: nowrap; padding: 6px 0; transition: color 0.15s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-main-grad);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav-links a:hover { color: var(--color-main); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-toggle { display: none; padding: 8px; border-radius: 10px; color: var(--slate-700); }
.nav-toggle:hover { color: var(--color-main); background: var(--slate-100); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--slate-100);
}
.mobile-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 500; color: var(--slate-700); }
.mobile-menu a:hover { color: var(--color-main); background: var(--slate-50); }
.mobile-menu .btn { margin-top: 10px; }
@media (max-width: 1023.98px) {
  .site-header.menu-open .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 max(150px, 16.5vw);
  background: linear-gradient(180deg, #f4f9ff 0%, #eef4f8 60%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 4;
}
.hero-info { max-width: 620px; margin: 0; text-align: left; }
.hero-info .title-small { margin-bottom: 22px; }
.hero-info h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: #000;
}
.hero-info .text { margin: 18px 0 0; max-width: 540px; color: #666; font-size: 0.9375rem; }
.hero-btns { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 18px; }
.hero-btns.center { justify-content: center; }

.hero-media { position: relative; z-index: 3; justify-self: end; width: 100%; max-width: 470px; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 54px rgba(1, 0, 73, 0.18));
  animation: floaty 7s ease-in-out infinite;
}

/* Hero entrance animation */
.hero-anim { opacity: 0; transform: translateY(26px); animation: fadeUp 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) forwards; }
.hero-anim.a1 { animation-delay: 0.05s; }
.hero-anim.a2 { animation-delay: 0.18s; }
.hero-anim.a3 { animation-delay: 0.32s; }
.hero-anim.a4 { animation-delay: 0.46s; }
.hero-anim.a5 { animation-delay: 0.6s; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(20, 184, 166, 0); }
}

.hero-bubble-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: rotate-center 120s linear infinite;
}
.header-wave {
  position: absolute;
  left: -3%;
  bottom: -2px;
  width: 106%;
  max-width: none;
  z-index: 3;
  pointer-events: none;
}

/* ---------- Features (alternating rows) ---------- */
.features {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background: #f0eff5;
}
.features .section-head { position: relative; z-index: 2; margin-bottom: 64px; }
.features .section-head .text { max-width: 560px; margin: 14px auto 0; }
.feat-circle {
  position: absolute;
  top: 40px;
  left: 12%;
  width: 76%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  animation: rotate-center 130s linear infinite;
}

.feat-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 92px;
}
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feat-row.is-reverse .feat-media { order: 2; }

.feat-media { position: relative; }
.feat-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 8px solid #fff;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feat-row:hover .feat-media img { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.feat-stat {
  position: absolute;
  left: 24px;
  bottom: -24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: floaty 5.4s ease-in-out infinite;
}
.feat-row.is-reverse .feat-stat { left: auto; right: 24px; }
.feat-stat-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feat-stat strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--text-head); line-height: 1.3; }
.feat-stat small { display: block; font-size: 0.6875rem; color: var(--slate-500); line-height: 1.3; margin-top: 1px; }

.feat-stat.tone-teal .feat-stat-icon { background: var(--teal-50); color: var(--teal-600); }
.feat-stat.tone-rose .feat-stat-icon { background: #fff1f2; color: #e11d48; }
.feat-stat.tone-blue .feat-stat-icon { background: #eff6ff; color: #2563eb; }
.feat-stat.tone-amber .feat-stat-icon { background: var(--amber-50); color: var(--amber-700); }
.feat-stat.tone-indigo .feat-stat-icon { background: var(--indigo-100); color: var(--indigo-800); }
.feat-stat.tone-emerald .feat-stat-icon { background: var(--emerald-50); color: var(--emerald-700); }

.feat-body { max-width: 470px; }
.feat-row.is-reverse .feat-body { margin-left: auto; }
.feat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(150deg, #f4eeff 0%, #e7f3ff 100%);
  border: 1px solid #fff;
  color: var(--color-blue4);
  box-shadow: 0 18px 32px rgba(88, 66, 188, 0.14);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.feat-icon .icon { width: 28px; height: 28px; }
.feat-row:hover .feat-icon {
  background: var(--color-main-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 22px 40px rgba(88, 66, 188, 0.3);
}
.feat-body h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.feat-body .feature-desc { margin: 14px 0 22px; font-size: 0.9375rem; line-height: 1.7; color: var(--text-body); }

/* Features scroll animations (only when JS adds .reveal) */
.feat-row.reveal .feat-media {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.feat-row.reveal .feat-body {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s 0.15s ease, transform 0.7s 0.15s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.feat-row.reveal.is-reverse .feat-media { transform: translateX(56px); }
.feat-row.reveal.is-visible .feat-media,
.feat-row.reveal.is-visible .feat-body { opacity: 1; transform: none; }

@keyframes rotate-center {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes hex-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- About rows (benefits / steps) ---------- */
.about { position: relative; overflow: hidden; padding: 66px 0; }
.trd-content { background: #fff; }
.trd-content { border-top: 1px solid rgba(1, 0, 73, 0.06); }

.deco-bubble {
  position: absolute;
  left: -4%;
  top: -4%;
  width: 50%;
  max-width: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  animation: rotate-center 120s linear infinite;
}
.deco-bubble2 {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: 46%;
  max-width: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  animation: rotate-center 140s linear infinite reverse;
}

/* Accordion (FAQ) */
.accordion { display: flex; flex-direction: column; }
.acc-item { border-bottom: 1px solid rgba(1, 0, 73, 0.1); }
.accordion .acc-item:first-child { border-top: 1px solid rgba(1, 0, 73, 0.1); }
.acc-btn {
  width: 100%;
  text-align: left;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.18s ease;
}
.acc-btn:hover { color: var(--color-blue4); }
.acc-head { display: flex; flex-direction: column; gap: 3px; }
.acc-cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: var(--color-blue4); }
.acc-title { font-size: 1.0625rem; font-weight: 700; color: var(--text-head); line-height: 1.4; }
.acc-btn:hover .acc-title { color: var(--color-blue4); }
.acc-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-gray);
  flex: none;
  transition: background-color 0.2s ease;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  background: var(--color-blue4);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--color-blue4); }
.acc-item.is-open .acc-icon::before,
.acc-item.is-open .acc-icon::after { background: #fff; }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.acc-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.acc-item.is-open .acc-body { max-height: 1400px; opacity: 1; }
.acc-body > * { margin-left: 4px; margin-right: 4px; }
.acc-body > p { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.7; padding-top: 2px; }

/* Steps flow (3-step visual) */
.steps-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 48px 0 40px;
  padding: 0;
  list-style: none;
}
.steps-flow::before,
.steps-flow::after {
  content: "";
  position: absolute;
  top: 40px;
  height: 100px;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100' fill='none'%3E%3Cpath d='M3 26C80 95 160 95 237 26' stroke='%23b9a8f0' stroke-width='3' stroke-linecap='round' stroke-dasharray='7 10'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.steps-flow::before { left: calc(16.6667% + 76px); width: calc(33.3333% - 152px); }
.steps-flow::after { left: calc(50% + 76px); width: calc(33.3333% - 152px); }

.step-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-circle {
  position: relative;
  width: 132px;
  height: 132px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(1, 0, 73, 0.06);
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-node:hover .step-circle { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.step-ico {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--color-main-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(88, 66, 188, 0.32);
  transition: transform 0.3s ease;
}
.step-node:hover .step-ico { transform: scale(1.06); }
.step-ico .icon { width: 26px; height: 26px; }
.step-badge {
  position: absolute;
  top: 4px;
  left: calc(50% + 34px);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid rgba(1, 0, 73, 0.07);
  box-shadow: var(--shadow-md);
  color: var(--color-blue4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.step-node:hover .step-badge {
  background: var(--color-main-grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.step-node h3 { font-size: 1.125rem; margin: 24px 0 8px; }
.step-node p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 330px;
  margin: 0 auto;
}
.steps-cta { display: flex; justify-content: center; }
/* ---------- Panels (4 role-based workspaces) ---------- */
.panels {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background: linear-gradient(180deg, #f0eff5 0%, #eef4f8 55%, #fff 100%);
}
.panels .section-head { margin-bottom: 40px; }
.panel-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
}
.panel-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(1, 0, 73, 0.08);
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.panel-tab .icon { width: 17px; height: 17px; }
.panel-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--color-blue4); }
.panel-tab.is-active {
  background: var(--color-main-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(88, 66, 188, 0.3);
}
.panel-tab.is-active:hover { color: #fff; }

.panel-stage { position: relative; z-index: 1; }
.panel-item {
  display: none;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.panel-item.is-active { display: grid; }
.panel-item.is-active .panel-copy {
  animation: panelFadeUp 0.55s 0.05s cubic-bezier(0.16, 0.84, 0.44, 1) backwards;
}
.panel-item.is-active .panel-media {
  animation: panelSlideIn 0.6s cubic-bezier(0.16, 0.84, 0.44, 1) backwards;
}
@keyframes panelFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes panelSlideIn {
  from { opacity: 0; transform: translateX(48px); }
  to { opacity: 1; transform: none; }
}
.panel-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid rgba(1, 0, 73, 0.06);
  box-shadow: 0 14px 28px rgba(88, 66, 188, 0.14);
  color: var(--color-blue4);
}
.panel-icon .icon { width: 26px; height: 26px; }
.panel-copy h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.01em;
}
.panel-copy > p { margin: 14px 0 20px; font-size: 0.9375rem; line-height: 1.7; color: var(--text-body); }
.panel-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-700);
}
.panel-note .icon { color: var(--teal-600); }

/* Panel media */
.panel-media {
  --pa: #2563eb;
  --pa-soft: #eef2ff;
  position: relative;
}
.panel-media.tone-blue { --pa: #2563eb; --pa-soft: #eef2ff; }
.panel-media.tone-teal { --pa: #0d9488; --pa-soft: var(--teal-50); }
.panel-media.tone-indigo { --pa: #4f46e5; --pa-soft: #eef2ff; }
.panel-media.tone-rose { --pa: #e11d48; --pa-soft: #fff1f2; }
.panel-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.panel-item.is-active .panel-media:hover img { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.panel-float-card {
  position: absolute;
  left: 22px;
  bottom: -22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: floaty 5.4s ease-in-out infinite;
}
.panel-float-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pa-soft);
  color: var(--pa);
}
.panel-float-card strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--text-head); line-height: 1.3; }
.panel-float-card small { display: block; font-size: 0.6875rem; color: var(--slate-500); line-height: 1.3; margin-top: 1px; }

/* ---------- App showcase (phone mockup carousel) ---------- */
.app-showcase {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background: linear-gradient(180deg, #edeaf6 0%, #f0eff5 55%, #fff 100%);
}
.app-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background-image: radial-gradient(circle at 13px 0, #fff 12px, rgba(255, 255, 255, 0) 13.5px);
  background-size: 26px 22px;
  background-repeat: repeat-x;
  z-index: 1;
  pointer-events: none;
}
.app-showcase .section-head { position: relative; z-index: 2; margin-bottom: 34px; }

.showcase-wrap { position: relative; z-index: 2; }
.showcase-stage {
  position: relative;
  --hw: min(454px, 86vw);
  --sw: calc(var(--hw) * 0.42857);
  --sh: calc(var(--hw) * 0.8865);
  --sx1: calc(var(--hw) * 0.9833);
  --sx2: calc(var(--hw) * 1.9666);
  height: calc(var(--hw) * 1.55);
}
.showcase-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--sw);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: transform 0.65s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
  will-change: transform, opacity;
  pointer-events: none;
}
.showcase-item[data-pos="0"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 5;
  pointer-events: auto;
}
.showcase-item[data-pos="-1"] {
  opacity: 0.75;
  transform: translate(calc(-50% - var(--sx1)), -50%) scale(0.84);
  z-index: 4;
  filter: saturate(0.92);
}
.showcase-item[data-pos="1"] {
  opacity: 0.75;
  transform: translate(calc(-50% + var(--sx1)), -50%) scale(0.84);
  z-index: 4;
  filter: saturate(0.92);
}
.showcase-item[data-pos="-2"] {
  opacity: 0.3;
  transform: translate(calc(-50% - var(--sx2)), -50%) scale(0.72);
  z-index: 3;
}
.showcase-item[data-pos="2"] {
  opacity: 0.3;
  transform: translate(calc(-50% + var(--sx2)), -50%) scale(0.72);
  z-index: 3;
}
.showcase-item[data-pos="-1"],
.showcase-item[data-pos="1"] {
  pointer-events: auto;
  cursor: pointer;
}

.stage-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--hw);
  transform: translate(-33.07%, -37.72%);
  z-index: 7;
  pointer-events: none;
}
.stage-hand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(1, 0, 73, 0.22));
}

.showcase-item .img {
  width: var(--sw);
  height: var(--sh);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.showcase-item .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-item[data-pos="0"] .img { box-shadow: 0 30px 60px rgba(1, 0, 73, 0.28); }

.showcase-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
.showcase-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--slate-300);
  transition: width 0.25s ease, background 0.25s ease;
}
.showcase-dots button:hover { background: var(--color-blue4); }
.showcase-dots button.is-active { width: 26px; background: var(--color-blue4); }

/* ---------- Integration / Why choose ---------- */
.integration {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  background: linear-gradient(180deg, #fff 0%, #f4f9ff 100%);
}
.sec-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; pointer-events: none; }

/* Honeycomb feature grid */
.hex-grid {
  --hex-w: clamp(176px, calc(22vw - 26px), 220px);
  --hex-h: calc(var(--hex-w) * 1.25);
  --hex-s: 16px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.hex-row {
  display: flex;
  justify-content: center;
  gap: var(--hex-s);
}
.hex-row:nth-child(1) { transform: translateX(calc((var(--hex-w) + var(--hex-s)) * -0.25)); }
.hex-row:nth-child(2) { transform: translateX(calc((var(--hex-w) + var(--hex-s)) * 0.25)); }
.hex-row + .hex-row {
  margin-top: calc(var(--hex-s) * 0.866 - var(--hex-h) * 0.25);
}
.hex-card {
  width: var(--hex-w);
  filter: drop-shadow(0 16px 26px rgba(1, 0, 73, 0.1));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.hex-card:hover { filter: drop-shadow(0 24px 38px rgba(1, 0, 73, 0.16)); }
.hex-card.hex-card:hover { transform: translateY(-6px); }
.hex-inner {
  width: 100%;
  min-height: var(--hex-h);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--hex-w) * 0.115) calc(var(--hex-w) * 0.135);
  animation: hex-float 4.6s ease-in-out infinite;
}
.hex-row .hex-card:nth-child(2) .hex-inner { animation-delay: -1.15s; }
.hex-row .hex-card:nth-child(3) .hex-inner { animation-delay: -2.3s; }
.hex-row .hex-card:nth-child(4) .hex-inner { animation-delay: -3.45s; }
.hex-ico {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 132, 127, 0.15);
  color: #f2634f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hex-card:hover .hex-ico { background: #ff847f; color: #fff; transform: scale(1.06); }
.hex-ico .icon { width: 22px; height: 22px; }
.hex-inner h6 { font-size: 0.9375rem; line-height: 1.35; margin-bottom: 7px; }
.hex-inner p { font-size: 0.8125rem; color: var(--slate-600); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background: linear-gradient(180deg, #fff 0%, #f7f6fc 45%, #fff 100%);
}
.testimonials .section-head { position: relative; z-index: 2; }

.testi-stage { position: relative; z-index: 1; }

.testi-orbit {
  position: relative;
  width: min(660px, 100%);
  margin: 4px auto 0;
}
.orbit-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.orbit-faces {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}
.orbit-ring {
  position: absolute;
  z-index: 2;
  left: var(--rl, 39%);
  top: var(--rt, 59%);
  width: var(--rd, 21%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 3px solid #ff847f;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(255, 132, 127, 0.32), 0 0 0 8px rgba(255, 132, 127, 0.12);
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1), top 0.55s cubic-bezier(0.4, 0, 0.2, 1), width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-quotes { position: relative; margin-top: 36px; text-align: center; }

.card-stars { display: inline-flex; gap: 3px; color: #f59e0b; }
.card-stars .icon { width: 15px; height: 15px; fill: currentColor; stroke-width: 1; }

.testi-quote { display: none; margin: 0 auto; max-width: 780px; opacity: 0; transform: translateY(16px); }
.testi-quote.is-active { display: block; animation: fadeUp 0.55s cubic-bezier(0.16, 0.84, 0.44, 1) both; }
.testi-quote .card-stars { justify-content: center; }
.testi-quote blockquote {
  margin: 16px 0 0;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-head);
}
.quote-author { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.quote-author strong { font-size: 0.9375rem; color: var(--text-head); }
.quote-author small { font-size: 0.75rem; color: var(--slate-500); }

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.testi-arrow {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(1, 0, 73, 0.08);
  box-shadow: var(--shadow-md);
  color: var(--color-blue4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.testi-arrow:hover {
  background: var(--color-main-grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(88, 66, 188, 0.3);
}
.testi-arrow .icon { width: 18px; height: 18px; }
.testi-arrow[data-dir="-1"] .icon { transform: rotate(180deg); }
.testi-count {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--slate-500);
}
.testi-count b { color: var(--text-head); font-weight: 700; }

.testi-cta { margin-top: 50px; }

.testi-globe {
  position: absolute;
  top: -70px;
  left: 50%;
  width: 680px;
  max-width: none;
  margin-left: -340px;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
  animation: rotate-center 110s linear infinite;
}

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: linear-gradient(180deg, #fff 0%, var(--color-gray) 100%);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(1, 0, 73, 0.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.is-featured {
  background: linear-gradient(160deg, #5842bc 0%, #3d2b96 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 50px rgba(88, 66, 188, 0.35);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-text);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(164, 76, 238, 0.4);
}
.price-icon { width: 54px; height: 54px; margin-bottom: 18px; }
.price-plan { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-blue4); }
.price-card.is-featured .price-plan { color: rgba(255, 255, 255, 0.75); }
.price-amount { margin-top: 10px; }
.price-amount strong { font-size: 1.75rem; font-weight: 700; color: var(--text-head); }
.price-amount strong span { font-size: 0.875rem; font-weight: 500; color: var(--slate-500); }
.price-card.is-featured .price-amount strong { color: #fff; }
.price-card.is-featured .price-amount strong span { color: rgba(255, 255, 255, 0.75); }
.price-desc { margin-top: 10px; font-size: 0.8125rem; color: var(--slate-600); line-height: 1.65; }
.price-card.is-featured .price-desc { color: rgba(255, 255, 255, 0.75); }
.price-annual { margin-top: 5px; font-size: 0.8125rem; font-weight: 600; color: var(--slate-500); }
.price-card.is-featured .price-annual { color: rgba(255, 255, 255, 0.75); }
.price-card .check-list { margin: 22px 0 26px; flex: 1; }
.price-card.is-featured .check-list li { color: rgba(255, 255, 255, 0.9); }
.price-card.is-featured .check-list li::before { background: rgba(255, 255, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.price-card.is-featured .btn-blue4 { background: #fff; color: var(--color-blue4); box-shadow: none; }
.price-card.is-featured .btn-blue4:hover { background: var(--color-secondary); color: #fff; }

/* ---------- FAQ ---------- */
.faq { position: relative; overflow: hidden; padding: 88px 0; background: #fff; }
.faq-search {
  position: relative;
  max-width: 460px;
  margin: 0 auto 34px;
}
.faq-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate-400); pointer-events: none; }
.faq-search input {
  width: 100%;
  padding: 13px 18px 13px 46px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: var(--slate-50);
  font-size: 0.875rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-search input::placeholder { color: var(--slate-400); }
.faq-search input:focus { outline: none; border-color: var(--color-main); background: #fff; box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12); }
#faq-empty { text-align: center; padding: 26px 0; color: var(--slate-500); font-size: 0.875rem; margin-bottom: 20px; }
#faq-empty .link-btn { color: var(--color-main); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq .acc-btn { padding: 20px 2px; }
.faq .acc-title { font-size: 1rem; }
.faq .acc-body > p { font-size: 0.875rem; padding-bottom: 20px; }

.faq-cta {
  margin-top: 52px;
  background: var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.faq-cta h3 { font-size: 1.25rem; }
.faq-cta p { font-size: 0.875rem; color: var(--slate-600); margin-top: 6px; }
.faq-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Community / contact hub ---------- */
.footer-cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0 110px;
  background: linear-gradient(180deg, #fff 0%, #f2f7ff 100%);
}
.footer-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; pointer-events: none; opacity: 0.9; }
.footer-cta .section-head { position: relative; z-index: 1; margin-bottom: 0; }
.footer-cta h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.62);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-brand p { margin-top: 16px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); max-width: 380px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--color-main); color: #fff; transform: translateY(-3px); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col h6 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a, .footer-link-btn {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  text-align: left;
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-col a:hover, .footer-link-btn:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-note { color: rgba(255, 255, 255, 0.35); }
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-blue4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(88, 66, 188, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.back-to-top:hover { background: var(--color-main); transform: translateY(-3px); }

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 0, 73, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px;
  margin: auto;
  animation: pop 0.18s ease;
}
.modal-card-legal { max-width: 640px; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 7px;
  border-radius: 10px;
  color: var(--slate-400);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.modal-close:hover { color: var(--text-head); background: var(--slate-100); }

.modal-head { padding-right: 34px; margin-bottom: 22px; }
.modal-head h3 { font-size: 1.375rem; margin-top: 10px; letter-spacing: -0.01em; }
.modal-head .text { margin-top: 8px; font-size: 0.875rem; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.8125rem; font-weight: 600; color: var(--slate-700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  font-size: 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #f43f5e; box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12); }
.form-note { font-size: 0.6875rem; color: var(--slate-400); text-align: center; }

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.modal-success { text-align: center; padding: 18px 0 6px; }
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.success-icon .icon { width: 28px; height: 28px; }
.modal-success h4 { font-size: 1.25rem; }
.modal-success p { font-size: 0.875rem; color: var(--slate-600); margin: 8px auto 20px; max-width: 380px; }

.legal-body { display: flex; flex-direction: column; gap: 14px; font-size: 0.875rem; color: var(--slate-600); line-height: 1.7; }
.legal-placeholder {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-50);
  border: 1px solid #fde68a;
  color: var(--amber-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
}

/* =========================================================
   Reveal animations (lightweight, JS-enhanced)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero-anim { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .showcase-item[data-pos="-2"], .showcase-item[data-pos="2"] { display: none; }
}

@media (max-width: 1099px) {
  .hero-grid { gap: 44px; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feat-row { gap: 40px; }
  .panel-item.is-active { grid-template-columns: 1fr; gap: 40px; }
  .panel-copy { max-width: 620px; margin: 0 auto; text-align: center; }
  .panel-copy .panel-icon { margin-left: auto; margin-right: auto; }
  .panel-copy .check-list { display: inline-block; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .hero-info { margin: 0 auto; text-align: center; }
  .hero-info .text { margin-left: auto; margin-right: auto; }
  .hero .hero-btns { justify-content: center; }
  .hero-media { justify-self: center; max-width: 520px; }
  .steps-flow { grid-template-columns: 1fr; gap: 44px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .steps-flow::before, .steps-flow::after { display: none; }
  .step-badge { left: calc(50% + 34px); }
  .hex-grid {
    --hex-w: min(42vw, 190px);
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
  }
  .hex-row { display: contents; }
  .hex-ico { width: 46px; height: 46px; margin-bottom: 10px; }
  .hex-ico .icon { width: 20px; height: 20px; }
  .hex-inner h6 { font-size: 0.875rem; margin-bottom: 6px; }
  .hex-inner p { font-size: 0.75rem; line-height: 1.55; }
}

@media (max-width: 1023.98px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 767.98px) {
  .container { padding: 0 16px; }
  .hero { padding: 46px 0 110px; }
  .hero-info h1 { font-size: clamp(1.85rem, 5vw, 2.4rem); }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .hero-btns .play-btn { justify-content: center; }
  .feat-rows { gap: 64px; }
  .feat-row { grid-template-columns: 1fr; gap: 38px; }
  .feat-row.is-reverse .feat-media { order: 0; }
  .feat-row.is-reverse .feat-body { margin-left: 0; }
  .feat-row.is-reverse .feat-stat { left: 16px; right: auto; }
  .feat-stat { left: 16px; bottom: -18px; padding: 10px 14px; }
  .panel-tabs { gap: 8px; margin-bottom: 36px; }
  .panel-tab { padding: 10px 16px; font-size: 0.8125rem; }
  .features, .about, .integration, .testimonials, .pricing, .faq, .panels, .app-showcase { padding: 60px 0; }
  .app-showcase::before { height: 16px; background-size: 22px 16px; background-image: radial-gradient(circle at 11px 0, #fff 10px, rgba(255, 255, 255, 0) 11px); }
  .showcase-stage { --sx1: calc(var(--hw) * 0.68); --sx2: calc(var(--hw) * 1.36); }
  .showcase-item[data-pos="-1"], .showcase-item[data-pos="1"] { opacity: 0.45; }
  .showcase-dots { margin-top: 20px; }
  .faq-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 32px; }
  .deco-bubble, .deco-bubble2, .testi-globe, .feat-circle, .hero-bubble-bg { display: none; }
  .testi-cta { margin-top: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-cta { flex-direction: column; align-items: flex-start; }
  .modal-card { padding: 24px 20px; }
  .acc-title { font-size: 1rem; }
}

@media (max-width: 479.98px) {
  .feat-stat strong { font-size: 0.75rem; }
  .feat-stat small { display: none; }
  .feat-stat-icon { width: 32px; height: 32px; }
  .top-content span { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hex-ico { width: 38px; height: 38px; margin-bottom: 8px; }
  .hex-ico .icon { width: 17px; height: 17px; }
  .hex-inner h6 { font-size: 0.75rem; margin-bottom: 5px; }
  .hex-inner p { font-size: 0.6875rem; line-height: 1.5; }
}
