/* ── TOKENS ── */
:root {
  --bg: #e8f4f2;
  --bg-alt: #dff0ee;
  --surface: #f4fafa;
  --surface-2: #ffffff;
  --accent: #1a7a6e;
  --accent-mid: #2a9d8f;
  --accent-light: #5bbfb5;
  --accent-ghost: rgba(26, 122, 110, 0.08);
  --accent-border: rgba(26, 122, 110, 0.15);
  --secondary: #fe2c55;
  --text-1: #0d1e1c;
  --text-2: #3a5c58;
  --text-3: #6b8c88;
  --border: rgba(13, 30, 28, 0.08);
  --shadow-sm: 0 2px 12px rgba(13, 30, 28, 0.06);
  --shadow-md: 0 8px 32px rgba(13, 30, 28, 0.1);
  --shadow-lg: 0 24px 64px rgba(13, 30, 28, 0.13);
  --silk: cubic-bezier(0.16, 1, 0.3, 1);
  --silk-dur: 0.8s;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── SUBTLE NOISE TEXTURE ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── UTILITY ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.section-title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-1);
}
.section-title em {
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: var(--accent);
}
.section-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 520px;
  margin-top: 16px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--silk),
    transform 0.7s var(--silk);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════════════
       1. NAV
    ══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition:
    padding var(--silk-dur) var(--silk),
    background var(--silk-dur) var(--silk),
    box-shadow var(--silk-dur) var(--silk);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(232, 244, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.nav-logo span {
  color: var(--secondary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding: 7px 16px;
  border-radius: 100px;
  background: transparent;
  box-shadow: inset 0 0 0 0px var(--accent-border);
  transition:
    color 0.4s var(--silk),
    background 0.4s var(--silk),
    box-shadow 0.4s var(--silk);
}
.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-ghost);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-ghost {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 9px 20px;
  border-radius: 100px;
  transition:
    color 0.3s,
    background 0.3s;
}
.btn-ghost:hover {
  color: var(--accent);
  background: var(--accent-ghost);
}
.btn-primary {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 100px;
  transition:
    background var(--silk-dur) var(--silk),
    transform var(--silk-dur) var(--silk),
    box-shadow var(--silk-dur) var(--silk);
  box-shadow: 0 4px 16px rgba(26, 122, 110, 0.25);
}
.btn-primary:hover {
  background: var(--accent-mid);
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(26, 122, 110, 0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all 0.4s var(--silk);
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--silk);
  overflow-y: auto;
  padding: 100px 32px 100px;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--silk),
    transform 0.5s var(--silk),
    color 0.3s;
}
.mobile-menu a:first-child {
  border-top: 1px solid var(--border);
}
.mobile-menu.open a {
  opacity: 1;
  transform: none;
}
.mobile-menu a:hover {
  color: var(--accent);
}
.mobile-menu a:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-menu a:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-menu a:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-menu a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-menu a:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-menu a:nth-child(6) {
  transition-delay: 0.3s;
}
.mobile-menu .mobile-cta {
  margin-top: 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 14px 40px;
  border-radius: 100px;
  border: none;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--silk) 0.35s,
    transform 0.5s var(--silk) 0.35s,
    background 0.3s;
}
.mobile-menu.open .mobile-cta {
  opacity: 1;
  transform: none;
}
.mobile-menu .mobile-cta:hover {
  background: var(--accent-mid);
}

/* ══════════════════════════════════════════
       2. HERO
    ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
/* Decorative background circles */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(
    ellipse at center,
    rgba(91, 191, 181, 0.18) 0%,
    rgba(42, 157, 143, 0.06) 50%,
    transparent 75%
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 122, 110, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary-lg {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 14px 32px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    background var(--silk-dur) var(--silk),
    transform var(--silk-dur) var(--silk),
    box-shadow var(--silk-dur) var(--silk);
  box-shadow: 0 6px 24px rgba(26, 122, 110, 0.3);
}
.btn-primary-lg:hover {
  background: var(--accent-mid);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(26, 122, 110, 0.4);
}
.btn-primary-lg .btn-arrow {
  transition: transform 0.4s var(--silk);
}
.btn-primary-lg:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-outline-lg {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
  padding: 13px 28px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    background 0.4s var(--silk),
    border-color 0.4s var(--silk),
    transform var(--silk-dur) var(--silk);
}
.btn-outline-lg:hover {
  background: var(--accent-ghost);
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-3);
  font-weight: 500;
}
.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-dashboard {
  width: 100%;
  max-width: 380px;
  /* background: var(--surface-2); */
  /* border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); */
  overflow: hidden;
  transition: transform var(--silk-dur) var(--silk);
}
.hero-dashboard:hover {
  transform: scale(1.01);
}
.dashboard-bar {
  background: var(--bg-alt);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.db-dot:nth-child(1) {
  background: #ff5f57;
}
.db-dot:nth-child(2) {
  background: #ffbd2e;
}
.db-dot:nth-child(3) {
  background: #28ca41;
}
.dashboard-body {
  padding: 24px;
}
.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.db-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
}
.db-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 100px;
}
.db-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 20px;
}
.db-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  transition: height 1s var(--silk);
}
.db-bar.active {
  background: var(--accent);
  border-color: var(--accent);
}
.db-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.db-stat {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
}
.db-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
}
.db-stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 2px;
}
.db-stat-change {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* Floating badge on hero visual */
.hero-float-badge {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.float-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.float-badge-text {
  font-size: 0.75rem;
}
.float-badge-text strong {
  display: block;
  font-weight: 700;
  color: var(--text-1);
}
.float-badge-text span {
  color: var(--text-3);
}

.hero-float-badge-2 {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(26, 122, 110, 0.35);
  animation: floatBadge2 4s ease-in-out 2s infinite;
}
@keyframes floatBadge2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.float-badge-2-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}
.float-badge-2-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* ══════════════════════════════════════════
       3. LOGO TICKER
    ══════════════════════════════════════════ */
.ticker-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  position: relative;
}
.ticker-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 28px;
}
.ticker-track-wrap {
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s;
}
.ticker-item:hover {
  color: var(--accent);
}
.ticker-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ══════════════════════════════════════════
       4. FEATURES
    ══════════════════════════════════════════ */
.features-section {
  padding: 120px 0;
}
.features-header {
  text-align: center;
  margin-bottom: 80px;
}
.features-header .section-sub {
  margin: 16px auto 0;
  text-align: center;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}

.feature-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.feature-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.feature-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 28px;
}
.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.feature-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  container-type: inline-size;
}
.feature-shot-layout {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 10 / 9;
  display: grid;
  align-items: center;
  justify-items: center;
}

.feature-shot {
  transition:
    transform var(--silk-dur) var(--silk),
    opacity var(--silk-dur) var(--silk),
    box-shadow var(--silk-dur) var(--silk);
}

.feature-shot-image {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 26px;
  box-shadow:
    0 18px 40px rgba(13, 30, 28, 0.16),
    0 0 0 1px rgba(13, 30, 28, 0.08);
  background: var(--surface-2);
}

.feature-shot-primary {
  position: relative;
  z-index: 2;
  width: 40%;
}

.feature-shot-secondary {
  position: absolute;
  z-index: 1;
  width: 30%;
  opacity: 1;
}

.feature-shot-secondary-left {
  top: 50%;
  left: 16.5%;
  transform: translate(-50%, -50%);
}

.feature-shot-secondary-right {
  top: 50%;
  left: 83.5%;
  transform: translate(-50%, -50%);
}

.feature-visual:hover .feature-shot-primary {
  transform: scale(1.005);
}

@container (max-width: 430px) {
  .feature-shot-layout {
    width: 100%;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
  }

  .feature-shot-primary,
  .feature-shot-secondary {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .feature-shot-primary {
    width: 38%;
  }

  .feature-shot-secondary {
    width: 26%;
  }
}

/* ══════════════════════════════════════════
       5. MOBILE CAROUSEL
    ══════════════════════════════════════════ */
.carousel-section {
  display: block;
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.carousel-header {
  text-align: center;
  margin-bottom: 0;
}
.carousel-header .section-sub {
  margin: 16px auto 0;
  text-align: center;
}

.carousel-stage {
  position: relative;
  height: clamp(480px, 52vw, 780px);
  perspective: clamp(900px, 120vw, 1800px);
  perspective-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single source of truth: --pw = phone width, drives all offsets */
:root {
  --pw: clamp(180px, 14vw, 300px);
  --gap1: clamp(200px, 19vw, 380px);
  --gap2: clamp(360px, 34vw, 660px);
  --gap-hide: clamp(500px, 48vw, 900px);
}

.phone-card {
  position: absolute;
  transition:
    transform 0.6s var(--silk),
    opacity 0.6s var(--silk);
  cursor: pointer;
}
.phone-shell {
  background: #c8d4d2;
  border-radius: 32px;
  padding: 5px;
  border: none;
  box-shadow:
    0 0 0 1px rgba(150, 175, 170, 0.5),
    0 24px 56px rgba(13, 30, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  transition: box-shadow 0.6s var(--silk);
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
}
.phone-screen-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ps-topbar {
  padding: 10px 12px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ps-topbar-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.ps-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
}
.ps-hero-block {
  padding: 6px 12px 10px;
}
.ps-hero-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  margin-bottom: 4px;
}
.ps-hero-sub {
  font-size: 6.5px;
  color: var(--text-3);
  line-height: 1.4;
}
.ps-btn {
  display: inline-block;
  margin-top: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.ps-cards {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ps-card {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-card-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  flex-shrink: 0;
}
.ps-card-text {
  flex: 1;
}
.ps-card-title {
  height: 5px;
  background: var(--border);
  border-radius: 2px;
  width: 60%;
  margin-bottom: 4px;
}
.ps-card-sub {
  height: 4px;
  background: var(--bg-alt);
  border-radius: 2px;
  width: 80%;
}
.ps-card-val {
  font-size: 8px;
  font-weight: 700;
  color: var(--accent);
}
.ps-nav {
  margin-top: auto;
  padding: 6px 8px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.ps-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ps-nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-alt);
}
.ps-nav-dot.active {
  background: var(--accent);
}
.ps-nav-label {
  font-size: 4.5px;
  color: var(--text-3);
}
.ps-nav-label.active {
  color: var(--accent);
}

/* Card positions — z-index only, transforms set entirely by JS */
.phone-card[data-pos="center"] {
  z-index: 10;
}
.phone-card[data-pos="left1"],
.phone-card[data-pos="right1"] {
  z-index: 8;
}
.phone-card[data-pos="left2"],
.phone-card[data-pos="right2"] {
  z-index: 6;
}
.phone-card[data-pos="hidden-left"],
.phone-card[data-pos="hidden-right"] {
  z-index: 4;
}

/* Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-top: 48px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.4s var(--silk);
}
.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-border);
  cursor: pointer;
  transition: all 0.4s var(--silk);
}
.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Zoom control */
.carousel-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 0 0;
}
.zoom-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.35s var(--silk);
  user-select: none;
}
.zoom-btn:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.zoom-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.zoom-pips {
  display: flex;
  gap: 5px;
  align-items: center;
}
.zoom-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-border);
  transition:
    background 0.3s var(--silk),
    transform 0.3s var(--silk);
  cursor: pointer;
}
.zoom-pip.active {
  background: var(--accent);
  transform: scale(1.4);
}
.zoom-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 36px;
  text-align: center;
}

/* ══════════════════════════════════════════
       6. PRICING
    ══════════════════════════════════════════ */
.pricing-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-header .section-sub {
  margin: 16px auto 0;
  text-align: center;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}
.toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
}
.toggle-label.active {
  color: var(--accent);
  font-weight: 600;
}
.toggle-switch {
  width: 52px;
  height: 28px;
  border-radius: 100px;
  background: var(--accent);
  cursor: pointer;
  position: relative;
  transition: background 0.4s var(--silk);
}
.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.4s var(--silk);
}
.toggle-switch.annual::after {
  transform: translateX(24px);
}
.toggle-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--silk-dur) var(--silk),
    box-shadow var(--silk-dur) var(--silk);
  position: relative;
}
.pricing-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: var(--text-1);
  box-shadow: 0 20px 60px rgba(26, 122, 110, 0.25);
}
.pricing-card.featured:hover {
  transform: scale(1.025);
  box-shadow: 0 28px 80px rgba(26, 122, 110, 0.35);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.pricing-card.featured .pricing-tier {
  color: rgba(255, 255, 255, 0.5);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.price-annual-note {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 16px;
  min-height: 1.2em;
  transition: opacity 0.4s var(--silk);
}
.pricing-card.featured .price-annual-note {
  color: rgba(255, 255, 255, 0.4);
}
.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 6px;
}
.price-amount {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-1);
  line-height: 1;
}
.pricing-card.featured .price-currency,
.pricing-card.featured .price-amount {
  color: #fff;
}
.price-period {
  font-size: 0.875rem;
  color: var(--text-3);
}
.pricing-card.featured .price-period {
  color: rgba(255, 255, 255, 0.5);
}
.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 28px;
}
.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.65);
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}
.pricing-card.featured .pricing-divider {
  background: rgba(255, 255, 255, 0.1);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
}
.pricing-card.featured .pricing-feature {
  color: rgba(255, 255, 255, 0.8);
}
.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}
.pricing-card.featured .pricing-check {
  background: rgba(91, 191, 181, 0.2);
  border-color: rgba(91, 191, 181, 0.4);
  color: var(--accent-light);
}
.pricing-cta {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px;
  border-radius: 100px;
  border: 1.5px solid var(--accent-border);
  color: var(--accent);
  transition: all 0.4s var(--silk);
}
.pricing-cta:hover {
  background: var(--accent-ghost);
}
.pricing-card.featured .pricing-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26, 122, 110, 0.35);
}
.pricing-card.featured .pricing-cta:hover {
  background: var(--accent-mid);
}

/* ══════════════════════════════════════════
       7. TESTIMONIALS
    ══════════════════════════════════════════ */
.testimonials-section {
  padding: 100px 0;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonials-header .section-sub {
  margin: 16px auto 0;
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}
.testimonial-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--silk-dur) var(--silk),
    box-shadow var(--silk-dur) var(--silk);
}
.testimonial-card:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-md);
}
.testimonial-card.tall {
  grid-row: span 2;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars span {
  color: var(--accent);
  font-size: 14px;
}
.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card.tall .testimonial-quote {
  font-size: 1.0625rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
  background: var(--accent-ghost);
}
.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
}
.author-role {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 1px;
}

/* ══════════════════════════════════════════
       8. CTA BANNER
    ══════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
}
.cta-inner {
  background: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(91, 191, 181, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(91, 191, 181, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.cta-title em {
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: var(--accent-light);
}
.cta-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.btn-cta-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 16px 36px;
  border-radius: 100px;
  white-space: nowrap;
  transition:
    background var(--silk-dur) var(--silk),
    transform var(--silk-dur) var(--silk);
  box-shadow: 0 8px 32px rgba(26, 122, 110, 0.4);
}
.btn-cta-primary:hover {
  background: var(--accent-mid);
  transform: scale(1.02);
}
.btn-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.btn-cta-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════════
       9. FOOTER
    ══════════════════════════════════════════ */
.footer {
  background: var(--text-1);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .nav-logo {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: block;
}
.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 240px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.4s var(--silk);
}
.social-btn:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}
.social-btn svg {
  display: block;
  flex-shrink: 0;
}
.footer-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-copy a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
}
.footer-copy a:hover {
  color: var(--accent-light);
}
/* ══════════════════════════════════════════
       SUBPAGES
    ══════════════════════════════════════════ */
.nav-links a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-ghost);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}

.page-main {
  padding-top: 120px;
}

.page-intro {
  padding: 56px 0 36px;
}

.page-intro-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}

.page-intro-copy .section-sub {
  max-width: none;
  margin: 16px auto 0;
  text-align: center;
}

.page-intro-copy-legal {
  max-width: none;
}

.page-intro-meta {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-3);
}

.page-about .page-main,
.page-legal .page-main {
  padding-bottom: 36px;
}

.about-copy {
  width: 100%;
  max-width: none;
}

.about-copy,
.legal-copy {
  color: var(--text-2);
}

.about-copy p,
.legal-copy p,
.legal-copy li {
  font-size: 1rem;
  line-height: 1.8;
}

.about-copy p + p,
.about-copy p + ul,
.about-copy ul + p,
.legal-copy p + p,
.legal-copy p + ul,
.legal-copy ul + p {
  margin-top: 16px;
}

.about-copy ul {
  margin-top: 16px;
  padding-left: 24px;
}

.about-copy li {
  padding-left: 4px;
  line-height: 1.75;
}

.about-copy li + li {
  margin-top: 8px;
}

.about-copy li::marker {
  color: var(--text-1);
}

.about-heading,
.content-section h2 {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.legal-section {
  padding: 36px 0 100px;
}

.legal-copy {
  width: 100%;
  max-width: none;
  margin: 0;
}

.legal-copy ul {
  margin-top: 16px;
  padding-left: 28px;
}

.legal-copy li {
  padding-left: 4px;
}

.legal-copy li + li {
  margin-top: 10px;
}

.legal-copy li::marker {
  color: var(--text-1);
}

.about-contact-links {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.about-contact-links p {
  margin: 0;
}

.content-section {
  margin-top: 40px;
}

/* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .feature-visual {
    max-width: 620px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat-card:last-child {
    border-bottom: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .cta-inner {
    flex-direction: column;
    padding: 56px 40px;
  }
  .faq-inner {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .carousel-zoom {
    padding: 30px 0 0;
  }
  .container {
    padding: 0 20px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card.tall {
    grid-row: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .cta-inner {
    padding: 40px 24px;
  }
  .pricing-grid {
    max-width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-float-badge-2 {
    right: 0;
  }
  .feature-visual {
    margin-top: 12px;
  }
  .feature-shot-image {
    border-radius: 22px;
  }
  .page-main {
    padding-top: 104px;
  }
  .page-intro {
    padding: 40px 0 24px;
  }
  .legal-section {
    padding: 28px 0 72px;
  }
  .about-copy p,
  .legal-copy p,
  .legal-copy li {
    line-height: 1.75;
  }
  /* Carousel mobile */
  .carousel-stage {
    height: 400px;
  }
  :root {
    --pw: 150px;
    --gap1: 168px;
    --gap2: 300px;
    --gap-hide: 430px;
  }
  .phone-card[data-pos="left2"],
  .phone-card[data-pos="right2"] {
    opacity: 0.35;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-trust {
    gap: 12px;
  }
  .trust-divider {
    display: none;
  }
}
