/* =========================================================
   CallTawk Landing Page — Premium Light Theme
========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f4fc;
  --surface: #ffffff;
  --surface-2: #f5f0fa;
  --border: rgba(23,11,32,0.09);
  --text: #170b20;
  --text-dim: #5b5468;
  --text-faint: #8e8698;

  --brand: #4F105D;
  --brand-mid: #6A26DA;
  --brand-light: #C77DDA;
  --brand-accent: #E0409E;
  --brand-tint: rgba(106,38,218,0.07);
  --brand-tint-border: rgba(106,38,218,0.18);
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 55%, var(--brand-accent) 100%);
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5a;
  --green: #16a34a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 20px 50px rgba(79,16,93,0.10);
  --shadow-brand: 0 14px 34px rgba(106,38,218,0.28);
  --shadow-card: 0 4px 20px rgba(23,11,32,0.05);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--brand-mid); }
.accent-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 18px 40px rgba(106,38,218,0.38); }

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--brand-tint); border-color: var(--brand-tint-border); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--brand-mid); color: var(--brand-mid); }

.btn-outline-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.24); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #08110b;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* -------------------- Page Loader -------------------- */
html.is-loading, html.is-loading body {
  overflow: hidden;
  height: 100%;
}
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(106,38,218,0.07), rgba(106,38,218,0) 60%),
    #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity .6s cubic-bezier(.4,0,.2,1), visibility .6s cubic-bezier(.4,0,.2,1);
}
.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: loader-fade-up .7s cubic-bezier(.16,1,.3,1) both;
}
.page-loader-logo {
  height: 44px;
  width: auto;
  margin-bottom: 22px;
}
.page-loader-gif {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}
.page-loader-bar {
  position: relative;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand-tint);
  overflow: hidden;
}
.page-loader-bar span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: var(--grad);
  animation: loader-bar-slide 1.3s cubic-bezier(.4,0,.2,1) infinite;
}
.page-loader-text {
  margin: 16px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text-faint);
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes loader-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loader-bar-slide {
  0% { left: -40%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition-duration: .01ms; }
  .page-loader-inner { animation: none; }
  .page-loader-bar span { animation-duration: 2.6s; }
}

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(23,11,32,0.05);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: start;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 60px;
  margin-bottom: 14px;
}
.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-mid);
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  padding: 9px 18px;
  border-radius: 999px;
  justify-self: center;
  white-space: nowrap;
}
.header-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  flex-shrink: 0;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.header-cta .btn { padding: 10px 18px; font-size: 0.88rem; }

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .header-badge { display: none; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .logo-img { height: 32px; }
  .header-cta { gap: 8px; }
  .header-cta .btn {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  .header-cta .phone-display,
  .header-cta .cta-whatsapp span { display: none; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  color: var(--brand-mid);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}
.hero-actions.center { justify-content: center; }

/* -------- Hero panel (photo-style banner) -------- */
.hero-panel-wrap {
  position: relative;
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
.hero-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #220730 0%, #4F105D 42%, #6A26DA 72%, #E0409E 100%);
}
.hero-panel-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.ping-ring {
  position: absolute;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  animation: ringPulse 4s ease-out infinite;
}
.ring-1 { width: 160px; height: 160px; top: 40px; right: 10px; animation-delay: 0s; }
.ring-2 { width: 260px; height: 260px; top: -10px; right: -40px; animation-delay: 1.3s; }
.ring-3 { width: 360px; height: 360px; top: -60px; right: -90px; animation-delay: 2.6s; }
@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0; }
  30% { opacity: 0.55; }
  100% { transform: scale(1.15); opacity: 0; }
}

.hero-panel-content {
  position: relative;
  z-index: 2;
  padding: 64px 60px 0;
  max-width: 600px;
}
.hero-eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.hero-panel-content h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero-panel-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 420px;
  margin: 16px 0 0;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  top: 54px;
  right: 54px;
  width: 200px;
}
.mini-call-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.mini-call-card .call-card-top { margin-bottom: 12px; font-size: 0.82rem; }
.wave-mini { height: 26px; margin-bottom: 0; gap: 3px; }
.hero-float-caption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 12px;
  opacity: 0.92;
}

.hero-panel-links {
  position: absolute;
  z-index: 3;
  left: 54px;
  bottom: 40px;
  display: flex;
  gap: 28px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: border-color .15s ease, opacity .15s ease;
}
.hero-link:hover { border-color: rgba(255,255,255,0.9); }

.hero-stats-card {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 36px;
  width: fit-content;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px 32px;
  margin: -60px 0 44px auto;
}
.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat span {
  display: block;
  margin-top: 4px;
  max-width: 110px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-faint);
}

.hero-below {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.hero-below .lead { margin-bottom: 26px; }

/* Language marquee */
.hero-marquee {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 50px auto 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
.lang-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Shared mini call-card bits (also used by .mini-call-card) */
.call-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255,77,77,0.18);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,77,0.35); }
  70% { box-shadow: 0 0 0 8px rgba(255,77,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); }
}
.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
.wave span {
  flex: 1;
  background: var(--grad);
  border-radius: 4px;
  animation: waveAnim 1.2s ease-in-out infinite;
}
.wave span:nth-child(1){height:30%;animation-delay:0s}
.wave span:nth-child(2){height:60%;animation-delay:.1s}
.wave span:nth-child(3){height:100%;animation-delay:.2s}
.wave span:nth-child(4){height:45%;animation-delay:.3s}
.wave span:nth-child(5){height:80%;animation-delay:.4s}
.wave span:nth-child(6){height:35%;animation-delay:.5s}
.wave span:nth-child(7){height:65%;animation-delay:.6s}
@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.4); opacity: .7; }
  50% { transform: scaleY(1); opacity: 1; }
}
.flag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-mid);
}

@media (max-width: 760px) {
  .hero { padding: 120px 0 50px; }
  .hero-panel-wrap { min-height: auto; border-radius: 24px; }
  .hero-panel-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px 24px;
    max-width: 100%;
    text-align: center;
  }
  .hero-panel-content h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-panel-sub { margin-left: auto; margin-right: auto; }
  .hero-float-card {
    position: relative;
    z-index: 3;
    top: auto;
    right: auto;
    width: 200px;
    margin: 0 auto 20px;
  }
  .hero-panel-links {
    position: relative;
    z-index: 3;
    left: auto;
    bottom: auto;
    justify-content: center;
    padding: 0 24px 28px;
    flex-wrap: wrap;
  }
  .hero-stats-card {
    margin: -36px 16px 36px;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 28px;
    padding: 22px;
  }
}

/* -------------------- Sections (shared) -------------------- */
.section { padding: 90px 0; }
.tag {
  display: inline-block;
  color: var(--brand-mid);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 700px;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--text-dim); max-width: 600px; }

/* -------------------- Pain -------------------- */
.pain { background: var(--bg-alt); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pain-card, .feature-card, .step, .price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.pain-card h3, .feature-card h3 { font-size: 1.1rem; }

/* Pain cards: media thumb + hover lift */
.pain-card {
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.pain-media {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.pain-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pain-card h3 { transition: color .3s ease; }
.pain-arrow {
  display: block;
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-mid);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s ease, transform .35s ease;
}
.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--brand-tint-border);
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover .pain-media {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-brand);
  border-color: transparent;
}
.pain-card:hover .pain-media img { transform: scale(1.12); }
.pain-card:hover h3 { color: var(--brand-mid); }
.pain-card:hover .pain-arrow { opacity: 1; transform: translateX(0); }

/* -------------------- How it works -------------------- */
.how {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #220730 0%, #4F105D 42%, #6A26DA 72%, #E0409E 100%);
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.how .container { position: relative; z-index: 1; }
.how .tag { color: rgba(255,255,255,0.85); }
.how .section-title { color: #fff; }
.how .section-sub { color: rgba(255,255,255,0.75); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.how .step {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.06) 55%, rgba(255,255,255,0.12) 100%);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 24px 50px rgba(10,0,20,0.35),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease;
}
.how .step::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -20%;
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.how .step:hover {
  transform: translateY(-6px);
  background: linear-gradient(160deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.09) 55%, rgba(255,255,255,0.16) 100%);
  box-shadow:
    0 30px 60px rgba(10,0,20,0.42),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.how .step h3 { color: #fff; }
.how .step p { color: rgba(255,255,255,0.8); }
.how .step-num {
  background: linear-gradient(135deg, #ffffff 0%, #f4c9ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step-media {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.step:hover .step-media {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-brand);
  border-color: transparent;
}
.step:hover .step-media img { transform: scale(1.12); }
.step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; }

/* -------------------- Features (premium bento) -------------------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(188px, auto);
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-tint-border);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.feature-card p { font-size: 0.9rem; color: var(--text-dim); margin: 0; }

.feature-icon-badge {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-mid);
  margin-bottom: 16px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.feature-card:hover .feature-icon-badge { transform: scale(1.08) rotate(-4deg); }

.feature-spotlight {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--grad);
  border-color: transparent;
  padding: 36px;
  isolation: isolate;
}
.feature-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
}
.feature-spotlight::before { display: none; }
.feature-spotlight h3 { color: #fff; font-size: 1.55rem; }
.feature-spotlight p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 300px; }
.feature-spotlight .feature-icon-badge {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}
.feature-spotlight:hover { box-shadow: 0 24px 55px rgba(79,16,93,0.4); }

@media (max-width: 980px) {
  .feature-bento { grid-template-columns: repeat(2, 1fr); }
  .feature-spotlight { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .feature-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .feature-spotlight, .feature-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* -------------------- Team / Real Agents -------------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.team-media {
  position: relative;
}
.team-media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-media-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.team-media-float {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 44%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: 0 20px 45px rgba(23,11,32,0.28);
}
.team-media-float img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.team-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.team-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
}
.team-content .section-title { margin-bottom: 14px; }
.team-content .section-sub { margin-bottom: 30px; }
.team-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.team-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.team-point-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.team-point h4 { margin: 0 0 4px; font-size: 1rem; }
.team-point p { margin: 0; font-size: 0.9rem; }

@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; gap: 70px 0; }
  .team-media-main img { height: 320px; }
}
@media (max-width: 500px) {
  .team-media-float { width: 56%; right: -14px; }
  .team-media-float img { height: 140px; }
}

/* -------------------- Story (photo narrative) -------------------- */
.story { background: var(--bg); }
.story-track {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 50px;
}
.story-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-reverse .story-media { order: 2; }
.story-reverse .story-content { order: 1; }
.story-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.story-media:hover img { transform: scale(1.05); }
.story-num {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.story-content h3 { font-size: 1.4rem; margin: 0 0 12px; }
.story-content p { color: var(--text-dim); margin: 0; max-width: 460px; }

@media (max-width: 860px) {
  .story-item { grid-template-columns: 1fr; gap: 28px; }
  .story-reverse .story-media, .story-reverse .story-content { order: initial; }
  .story-media img { height: 260px; }
  .story-content p { max-width: none; }
}

/* -------------------- Industries -------------------- */
.industries { background: var(--bg-alt); }
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* -------------------- Pricing: 3D carousel -------------------- */
.pricing-carousel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px 56px 20px;
  margin-top: 20px;
}
.carousel-glow {
  position: absolute;
  inset: -40px 0 20px;
  z-index: -1;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 25%, rgba(106,38,218,0.28), transparent 60%),
    radial-gradient(circle at 82% 70%, rgba(224,64,158,0.24), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(79,16,93,0.20), transparent 60%);
}
.pricing-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 660px;
  perspective: 1600px;
  overflow: hidden;
}
.pricing-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  --step-x: 230px;
  --step-z: 170px;
  --step-rot: 30deg;
  --card-w: 300px;
}
.plan-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  margin-left: calc(var(--card-w) / -2);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 34px 26px 26px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 20px 45px rgba(79,16,93,0.16), inset 0 1px 0 rgba(255,255,255,0.5);
  transform-style: preserve-3d;
  will-change: transform, filter, opacity;
  transition: transform .65s cubic-bezier(.22,.9,.3,1), opacity .5s ease, filter .5s ease, box-shadow .4s ease;
  transform:
    translateX(calc(var(--r, 0) * var(--step-x)))
    translateZ(calc(var(--a, 0) * var(--step-z) * -1))
    rotateY(calc(var(--r, 0) * var(--step-rot) * -1))
    scale(calc(1 - var(--a, 0) * 0.12));
  filter: blur(calc(var(--a, 0) * 3px));
  opacity: calc(1 - var(--a, 0) * 0.3);
}
.plan-card:not([data-offset="0"]) { cursor: pointer; }
.plan-card[data-offset="0"] {
  box-shadow: 0 30px 70px rgba(79,16,93,0.26), 0 0 0 1px rgba(106,38,218,0.15), inset 0 1px 0 rgba(255,255,255,0.7);
}
.plan-card-popular { border-color: rgba(106,38,218,0.35); }
.plan-card-popular[data-offset="0"] {
  box-shadow: 0 30px 70px rgba(79,16,93,0.3), 0 0 0 2px var(--brand-mid), inset 0 1px 0 rgba(255,255,255,0.7);
}
.plan-name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.plan-price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 2px 0 4px;
}
.plan-currency { font-size: 0.95rem; font-weight: 600; color: var(--text-faint); margin-right: 6px; }
.plan-cadence {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23,11,32,0.08);
}
.plan-features { text-align: left; margin: 0 0 22px; padding: 0; flex-grow: 1; }
.plan-features li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-dim);
}
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--green); font-weight: 700; }
.plan-features li.no { color: var(--text-faint); text-decoration: line-through; }
.plan-features li.no::before { content: "✕"; color: #e0344c; text-decoration: none; }
.plan-cta { width: 100%; margin-top: auto; }
.plan-card:not([data-offset="0"]) .plan-cta { pointer-events: none; }
.popular-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(106,38,218,0.35);
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform .25s ease, box-shadow .25s ease;
}
.carousel-nav:hover { transform: translateY(-50%) scale(1.08); }
.carousel-nav-prev { left: 0; }
.carousel-nav-next { right: 0; }
.carousel-dots {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.carousel-dot.is-active { width: 26px; background: var(--grad); }
.price-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .plan-card { transition: opacity .3s ease; }
}

/* -------------------- Testimonials -------------------- */
.testimonial-grid { align-items: stretch; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.stars {
  color: #f5b400;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.testimonial-card p {
  font-size: 0.94rem;
  flex-grow: 1;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

/* -------------------- Trust band -------------------- */
.trust-band { padding: 60px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-band-item h3 { font-size: 1rem; margin-bottom: 6px; }
.trust-band-item p { font-size: 0.88rem; margin: 0; }

/* -------------------- FAQ -------------------- */
.accordion { margin-top: 36px; max-width: 800px; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.acc-icon { color: var(--brand-mid); font-size: 1.3rem; transition: transform .2s ease; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
}
.acc-item.open .acc-panel { max-height: 200px; padding-bottom: 20px; }
.acc-panel p { margin: 0; font-size: 0.94rem; }

/* -------------------- Final CTA -------------------- */
.final-cta {
  background: linear-gradient(135deg, #2c0a3b 0%, #4F105D 55%, #3a0f6b 100%);
}
.final-cta-inner { text-align: center; }
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; }
.final-cta p { max-width: 520px; margin: 0 auto 10px; color: rgba(255,255,255,0.85); }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.social-row a:hover {
  color: var(--brand-mid);
  border-color: var(--brand-tint-border);
  background: var(--brand-tint);
}
.footer-col h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--brand-mid); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* -------------------- Mobile sticky CTA -------------------- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.mobile-sticky-cta .btn {
  flex: 1;
  min-width: 0;
  padding: 12px 10px;
  font-size: 0.88rem;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .grid-3, .grid-4, .grid-5, .steps { grid-template-columns: 1fr; }
  .trust-band-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .pricing-carousel { padding: 56px 44px 12px; }
  .pricing-stage { height: 460px; }
  .pricing-track { --step-x: 130px; --step-z: 110px; --step-rot: 22deg; --card-w: 250px; }
  .plan-card { padding: 28px 20px 22px; }
  .plan-features li:nth-child(n+5) { display: none; }
  .carousel-nav { width: 38px; height: 38px; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- Scroll reveal -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
