/* ══════════════════════════════════════════════════
   Kukui — Marketing Website
   Brand palette:
     Background  #FFEEDB
     Primary     #E80046
     Secondary   #FFB000
     Text        #31001A
     Light pink  #F6B4B3
══════════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --c-bg:          #FFEEDB;
  --c-primary:     #E80046;
  --c-primary-d:   #C7003D;
  --c-secondary:   #FFB000;
  --c-text:        #31001A;
  --c-pink:        #F6B4B3;
  --c-dark:        #31001A;
  --c-white:       #ffffff;
  --c-card:        #ffffff;

  --font:          'Heebo', system-ui, Arial, sans-serif;

  --r-sm:   0.75rem;
  --r-md:   1.25rem;
  --r-lg:   1.75rem;
  --r-xl:   2.25rem;
  --r-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(49, 0, 26, 0.06);
  --shadow-md: 0 6px 24px rgba(49, 0, 26, 0.10);
  --shadow-lg: 0 16px 48px rgba(49, 0, 26, 0.14);
  --shadow-xl: 0 24px 64px rgba(49, 0, 26, 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.25s var(--ease);

  --max-w:   1350px;
  --pad:     1.5rem;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ─── Utilities ─── */
.text-primary  { color: var(--c-primary); }
.text-secondary { color: var(--c-secondary); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  border-radius: var(--r-lg);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  line-height: 1;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 0.8rem 1.75rem;
  font-size: 0.9375rem;
  box-shadow: 0 4px 18px rgba(232, 0, 70, 0.30);
}
.btn-primary:hover {
  background: var(--c-primary-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 0, 70, 0.40);
}
.btn-primary:disabled {
  background: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.38);
  box-shadow: none;
  cursor: default;
  transform: none;
}
.btn-lg  { padding: 1rem 2.25rem;   font-size: 1.0625rem; }
.btn-xl  { padding: 1.15rem 2.75rem; font-size: 1.1875rem; }

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 176, 0, 0.18);
  border: 1px solid rgba(255, 176, 0, 0.38);
  color: var(--c-text);
  padding: 0.35rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
}
.badge__dot {
  width: 8px; height: 8px;
  background: var(--c-secondary);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
.badge--pink {
  background: rgba(246, 180, 179, 0.22);
  border-color: rgba(246, 180, 179, 0.5);
  color: var(--c-primary);
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.82); }
}

/* ─── Section header ─── */
.section-header { text-align: center; margin-bottom: 3.75rem; }
.section-header__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.625rem;
}
.section-header__sub {
  font-size: 1.0625rem;
  color: rgba(49, 0, 26, 0.5);
}

/* ─── Scroll-reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 238, 219, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49, 0, 26, 0.08);
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo img { height: 48px; width: auto; }

/* BETA tag */
.beta-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

/* Language toggle — desktop standalone */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Language toggle — inside hamburger menu (hidden on desktop) */
.nav__lang-item {
  display: none;
}
.nav__lang-flag {
  font-size: 1.5rem;
  line-height: 1;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  opacity: 0.4;
  transition: opacity var(--t), transform var(--t);
  text-decoration: none;
}
.nav__lang-flag:hover { opacity: 0.75; transform: scale(1.15); }
.nav__lang-flag.active { opacity: 1; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(49, 0, 26, 0.60);
  transition: color var(--t);
}
.nav__link:hover { color: var(--c-primary); }
.nav__link--mobile-cta { display: none; }

/* CTA + language flag grouped together */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav__cta { flex-shrink: 0; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  margin-right: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--t);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero { padding: 5rem 0 6rem; overflow: hidden; }

.hero__inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero__content { flex: 1; text-align: right; padding-left: 2rem; }

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 1.25rem 0;
}
.hero__desc {
  font-size: 1.125rem;
  color: rgba(49, 0, 26, 0.62);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero__see-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(49, 0, 26, 0.50);
  transition: color var(--t), gap var(--t);
}
.hero__see-more:hover { color: var(--c-primary); gap: 0.65rem; }

.hero__beta-notice {
  font-size: 0.8rem;
  color: rgba(49, 0, 26, 0.55);
  margin: 0.5rem 0 0;
}
.hero__beta-notice a {
  color: var(--c-primary);
  text-decoration: underline;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.trust-list li {
  font-size: 0.875rem;
  color: rgba(49, 0, 26, 0.48);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.trust-list li::before {
  content: "✓";
  color: var(--c-secondary);
  font-weight: 800;
}

.hero__visual {
  flex: 1;
  position: relative;
  min-height: 340px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__orbit {
  position: relative;
  width: 300px;
  height: 300px;
}

.hero__orbit::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(232,0,70,0.10) 0%, rgba(255,176,0,0.09) 45%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit__ring {
  position: absolute;
  width: 192px;
  height: 192px;
  top: 54px;
  left: 54px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,176,0,0.38);
  animation: orbit-spin 28s linear infinite;
}

.orbit__ring::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(232,0,70,0.10);
}

.orbit__center {
  position: absolute;
  width: 96px;
  height: 96px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit__center img {
  animation: pulse-wa 3.5s ease-in-out infinite;
  transform-origin: center;
}

.orbit__center-wa {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37,211,102,0.45), 0 0 0 2px #fff;
}

@keyframes pulse-wa {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 16px rgba(232,0,70,0.22));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 24px rgba(232,0,70,0.34));
  }
}

.orbit__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  background: white;
  border-radius: 50px;
  padding: 7px 13px 7px 9px;
  box-shadow: 0 4px 20px rgba(49,0,26,0.10), 0 1px 4px rgba(49,0,26,0.06);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.orbit__badge-icon { font-size: 1rem; line-height: 1; }
.orbit__badge-label { color: #31001a; }

.orbit__badge-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 9px;
  height: 9px;
  background: #FF3B5C;
  border-radius: 50%;
  border: 2px solid white;
  animation: badge-ping 2.5s ease-in-out infinite;
}

@keyframes badge-ping {
  0%, 100% { transform: scale(1); opacity: 1; }
  55%       { transform: scale(1.45); opacity: 0.55; }
}

.orbit__badge--1 {
  top: 28px;
  left: 50%;
  animation: float-vtop 5s ease-in-out infinite;
}
.orbit__badge--2 {
  right: 5px;
  top: 50%;
  animation: float-hright 6s ease-in-out infinite 0.9s;
}
.orbit__badge--3 {
  bottom: 28px;
  left: 50%;
  animation: float-vbot 5.5s ease-in-out infinite 1.5s;
}
.orbit__badge--4 {
  left: 5px;
  top: 50%;
  animation: float-hleft 6.5s ease-in-out infinite 2.1s;
}

@keyframes float-vtop {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-11px); }
}
@keyframes float-vbot {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(11px); }
}
@keyframes float-hright {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(-50%) translateX(9px); }
}
@keyframes float-hleft {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(-50%) translateX(-9px); }
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ══════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════ */
.how-it-works { padding: 6.5rem 0; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}
/* Vertical connecting line (runs through the circle centers) */
.steps::before {
  content: '';
  position: absolute;
  right: 19px; /* center of 40px circle */
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-secondary), var(--c-primary));
  opacity: 0.22;
  z-index: 0;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr; /* RTL: col-1 = right (circle), col-2 = left (content) */
  grid-template-rows: auto auto auto;
  column-gap: 1.25rem;
  row-gap: 0;
  padding: 0 0 2.75rem 0;
  text-align: right;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: none;
}
.step:last-child { padding-bottom: 0; }
.step:hover { transform: none; box-shadow: none; }

.step__num {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: static;
  width: 40px;
  height: 40px;
  background: var(--c-bg);
  border: 2px solid var(--c-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  user-select: none;
  align-self: start;
  flex-shrink: 0;
  z-index: 1;
}
.step__icon { grid-column: 2; grid-row: 1; font-size: 2rem; line-height: 1.3; margin-bottom: 0; }
.step__title { grid-column: 2; grid-row: 2; font-size: 1.2rem; font-weight: 800; margin-bottom: 0; padding-top: 0.2rem; }
.step__desc { grid-column: 2; grid-row: 3; font-size: 0.9375rem; color: rgba(49, 0, 26, 0.58); line-height: 1.7; padding-top: 0.4rem; }

.how-family-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(232, 0, 70, 0.05);
  border: 1px solid rgba(232, 0, 70, 0.15);
  border-radius: 1rem;
  max-width: 640px;
  margin-inline: auto;
}
.how-family-note__icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; }
.how-family-note strong { font-size: 0.9375rem; font-weight: 700; display: block; margin-bottom: 0.3rem; }
.how-family-note p { font-size: 0.875rem; color: rgba(49, 0, 26, 0.62); line-height: 1.6; margin: 0; }

.steps__connector { display: none; }


/* ══════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════ */
.features {
  padding: 6.5rem 0;
  background: rgba(49, 0, 26, 0.025);
}
.feat-rows {
  display: flex;
  flex-direction: column;
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  position: relative;
}

.feat-row + .feat-row {
  border-top: 1px solid rgba(49, 0, 26, 0.07);
}

/* In RTL grid, auto-flow goes right→left, so first child lands on the right.
   --flip reverses order so media goes right, body goes left. */
.feat-row--flip .feat-row__body  { order: 2; }
.feat-row--flip .feat-row__media { order: 1; }

/* ── Body ── */
.feat-row__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.feat-row__num {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-primary);
  opacity: 0.12;
  user-select: none;
  margin-bottom: -0.75rem;
}

.feat-row__badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.875rem;
  border-radius: var(--r-full);
}
.feat-row__badge--red { background: var(--c-primary); color: #fff; }

.feat-row__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.feat-row__desc {
  font-size: 1rem;
  color: rgba(49, 0, 26, 0.58);
  line-height: 1.8;
}

.feat-row__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.feat-row__bullets li {
  font-size: 0.9375rem;
  color: rgba(49, 0, 26, 0.72);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.feat-row__bullets li::before {
  content: "";
  display: inline-block;
  width: 20px; min-width: 20px; height: 20px;
  background: var(--c-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
}

/* ── Media ── */
.feat-row__media {
  position: relative;
}

.feat-row__blob { display: none; }

.feat-row__media img {
  width: 100%;
  transition: transform 0.5s var(--ease);
}

.feat-row:hover .feat-row__media img {
  transform: translateY(-8px);
}


/* ══════════════════════════════════════════════════
   DEMO / PHONE MOCKUP
══════════════════════════════════════════════════ */
.demo { padding: 6.5rem 0; }
.demo__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.demo__content { flex: 1; text-align: right; }
.demo__title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 1.25rem 0 1rem;
}
.demo__desc {
  font-size: 1.0625rem;
  color: rgba(49, 0, 26, 0.58);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.demo__examples { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }
.demo__example {
  background: rgba(246, 180, 179, 0.18);
  border: 1px solid rgba(246, 180, 179, 0.40);
  border-radius: var(--r-md);
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background var(--t), border-color var(--t);
  cursor: pointer;
}
.demo__example::before { content: "💬 "; }
.demo__example:hover {
  background: rgba(246, 180, 179, 0.32);
  border-color: rgba(232, 0, 70, 0.2);
}

/* Phone frame */
.demo__phone { flex-shrink: 0; width: 300px; }

.phone {
  background: #e5ddd5;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow:
    var(--shadow-xl),
    0 0 0 8px var(--c-white),
    0 0 0 10px rgba(49, 0, 26, 0.06);
  direction: ltr;
  font-family: var(--font);
}
.phone__header {
  background: #128c7e;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.phone__avatar {
  width: 40px; height: 40px;
  background: var(--c-bg);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone__avatar img { width: 32px; height: auto; }
.phone__contact { flex: 1; }
.phone__name   { display: block; color: #fff;                font-weight: 700; font-size: 0.9375rem; }
.phone__status { display: block; color: rgba(255,255,255,0.7); font-size: 0.75rem; }

.phone__chat {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 300px; overflow-y: auto; scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #e5ddd5;
}
.phone__chat::-webkit-scrollbar { display: none; }
.msg {
  display: flex;
  flex-direction: column;
  max-width: 83%;
  padding: 0.6rem 0.875rem 0.4rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.msg--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-bottom-right-radius: 0.25rem;
}
.msg--in {
  align-self: flex-start;
  background: var(--c-white);
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.msg__time {
  font-size: 0.6875rem;
  color: rgba(0,0,0,0.38);
  text-align: left;
  margin-top: 0.2rem;
  align-self: flex-end;
}

.phone__input-bar {
  background: #f0f0f0;
  padding: 0.625rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phone__placeholder {
  flex: 1;
  background: var(--c-white);
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: #aaa;
  display: block;
}
.phone__send {
  width: 38px; height: 38px;
  background: #128c7e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  flex-shrink: 0;
  transition: background var(--t);
}
.phone__send:hover { background: #0e7267; }

/* Demo interactive label */
.demo__examples-label {
  font-size: 0.8125rem;
  color: rgba(49, 0, 26, 0.45);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Active/busy state for demo examples */
.demo__example--active {
  opacity: 0.6;
  pointer-events: none;
}

/* Typing indicator */
.msg--typing { padding: 0.6rem 1rem 0.55rem; }
.typing-dots { display: flex; gap: 5px; align-items: center; padding: 3px 0; }
.typing-dots span {
  width: 8px; height: 8px;
  background: #aaa;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* New message entrance animation */
@keyframes msgSlide {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
.msg--new { animation: msgSlide 0.28s ease forwards; }


/* ══════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════ */
.cta-section {
  background: var(--c-dark);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -80px; right: 15%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232,0,70,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: "";
  position: absolute;
  bottom: -80px; left: 10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,176,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__deco {
  position: absolute;
  bottom: -16px; right: -16px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.cta-section__inner { position: relative; z-index: 1; }
.cta-section__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.cta-section__desc {
  font-size: 1.125rem;
  color: var(--c-pink);
  opacity: 0.75;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-section .btn-primary {
  box-shadow: 0 8px 32px rgba(232, 0, 70, 0.42);
}
.cta-section .btn-primary:hover {
  box-shadow: 0 16px 48px rgba(232, 0, 70, 0.54);
  transform: translateY(-3px);
}
.cta-section .btn-primary:disabled {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  box-shadow: none;
  cursor: default;
  transform: none;
}
.cta-section__fine {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(246, 180, 179, 0.40);
}


/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: var(--c-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer__logo { filter: brightness(0) invert(1); opacity: 0.30; height: 40px; width: auto; }
.footer__copy { font-size: 0.875rem; color: rgba(246, 180, 179, 0.38); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer__links a { font-size: 0.875rem; color: rgba(246, 180, 179, 0.38); transition: color var(--t); }
.footer__links a:hover { color: var(--c-pink); }
.footer__social { display: flex; gap: 0.5rem; align-items: center; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(246, 180, 179, 0.2); color: rgba(246, 180, 179, 0.38); transition: color var(--t), border-color var(--t); }
.footer__social a:hover { color: var(--c-pink); border-color: rgba(246, 180, 179, 0.5); }
.footer__social svg { width: 16px; height: 16px; }


/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Nav */
  .nav__menu {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(49,0,26,0.08);
  }
  .nav__menu.open { display: flex; }
  .nav__link { font-size: 1rem; padding: 0.5rem 0; color: var(--c-text); }
  .nav { position: relative; }
  .nav__logo {
    position: absolute;
    left: 50%;
    top: 0.875rem;
    transform: translateX(-50%);
  }
  .nav__burger { display: flex; order: -1; margin-right: 0; }
  .nav__actions { display: none; }
  .nav__cta { font-size: 0.85rem; padding: 0.45rem 0.875rem; }
  .beta-tag { display: none; }
  .nav__lang { display: none; }            /* hide standalone flags on mobile */
  .nav__lang-item {                        /* show flags inside hamburger menu */
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 0 0.25rem;
    margin-top: 0.375rem;
    border-top: 1px solid rgba(49,0,26,0.08);
  }
  .nav__lang-item .nav__lang-flag {
    font-size: 1.875rem;
    min-width: 3.25rem;
    min-height: 3.25rem;
  }

  /* Hero */
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero__inner { flex-direction: column-reverse; text-align: center; gap: 0; }
  .hero__content { text-align: center; padding-left: 0; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .trust-list { justify-content: center; }
  .hero__visual { min-height: unset; height: 280px; }
  .hero__orbit { transform: scale(0.86); transform-origin: center center; }

  /* Steps — already column, just ensure full width on mobile */
  .steps { max-width: 100%; }

  /* Features */
  .feat-row { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .feat-row--flip .feat-row__body  { order: 0; }
  .feat-row--flip .feat-row__media { order: 0; }
  .feat-row__num { font-size: 5rem; top: -1.5rem; }

  /* Demo */
  .demo__inner { flex-direction: column-reverse; gap: 2.5rem; }
  .demo__content { text-align: center; }
  .demo__phone { width: 100%; max-width: 320px; margin: 0 auto; }
  .phone { max-width: 100%; }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 540px) {
  .hero__title { font-size: 2.25rem; }
  .hero__visual { height: 240px; }
  .hero__orbit { transform: scale(0.75); transform-origin: center center; }
  .step { padding: 0 0 2.25rem 0; }
  .feat-row { padding: 2.5rem 0; gap: 1.5rem; }
  .feat-row__media { padding: 1rem; }
  .feat-row__num { font-size: 4rem; }
  .cta-section { padding: 4rem 0; }
  .cta-section__title { font-size: 2rem; }
  .footer__inner { gap: 1rem; }
  .footer__links { justify-content: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .how-it-works { padding: 4rem 0; }
  .features { padding: 4rem 0; }
  .demo { padding: 4rem 0; }
}


/* ══════════════════════════════════════════════════
   LEGAL PAGES (Privacy, Terms)
══════════════════════════════════════════════════ */
.legal {
  padding: 5rem 0 7rem;
  min-height: 60vh;
}
.legal__inner {
  max-width: 740px;
  margin: 0 auto;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(49,0,26,0.45);
  margin-bottom: 2.5rem;
  transition: color var(--t);
}
.legal__back:hover { color: var(--c-primary); }
.legal__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.legal__updated {
  font-size: 0.875rem;
  color: rgba(49,0,26,0.45);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(49,0,26,0.08);
}
.legal__section {
  margin-bottom: 2.5rem;
}
.legal__section h2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
}
.legal__section p {
  font-size: 0.9375rem;
  color: rgba(49,0,26,0.68);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.legal__section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal__section ul li {
  font-size: 0.9375rem;
  color: rgba(49,0,26,0.68);
  line-height: 1.75;
  padding-right: 1.25rem;
  position: relative;
}
.legal__section ul li::before {
  content: "•";
  color: var(--c-secondary);
  font-weight: 900;
  position: absolute;
  right: 0;
}


/* ══════════════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════════════ */
.not-found {
  padding: 6rem 0 8rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.not-found__inner { width: 100%; }
.not-found__code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}
.not-found__mascot {
  width: 160px;
  margin: 1.5rem auto;
  animation: float 5.5s ease-in-out infinite;
}
.not-found__title {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.not-found__desc {
  font-size: 1.0625rem;
  color: rgba(49,0,26,0.55);
  margin-bottom: 2.5rem;
}


/* ══════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════ */
.pricing {
  padding: 5rem 0 6rem;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  border: 2px solid transparent;
  transition: box-shadow var(--t), transform var(--t);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pricing-card--featured {
  border-color: #7C3AED;
  background: linear-gradient(160deg, #fff 60%, #f5f0ff 100%);
}
.pricing-card__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
[dir="rtl"] .pricing-card__badge {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
.pricing-card__badge--ai {
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 55%, #06B6D4 100%);
  box-shadow: 0 2px 14px rgba(124,58,237,0.40);
}
.pricing-card__badge--recommended {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  box-shadow: 0 2px 14px rgba(245,158,11,0.40);
}
.pricing-card__ai-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-full);
  vertical-align: middle;
  margin-right: 0.4rem;
}
.pricing-card__tier {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(49,0,26,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.25rem 0 0.5rem;
}
.pricing-card__amount {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--c-text);
  line-height: 1;
}
.pricing-card--featured .pricing-card__amount {
  color: #7C3AED;
}
.pricing-card__period {
  font-size: 1rem;
  color: rgba(49,0,26,0.5);
  font-weight: 500;
}
.pricing-card__desc {
  font-size: 0.9375rem;
  color: rgba(49,0,26,0.65);
  line-height: 1.55;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(49,0,26,0.08);
}
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 0.25rem 0;
}
.pricing-card__features li {
  font-size: 0.9375rem;
  color: rgba(49,0,26,0.78);
  line-height: 1.5;
}
.pricing-card .btn {
  margin-top: auto;
  text-align: center;
}
.pricing-card--featured .btn-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  box-shadow: 0 4px 18px rgba(124,58,237,0.35);
}
.pricing-card--featured .btn-primary:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #1D4ED8 100%);
  box-shadow: 0 10px 30px rgba(124,58,237,0.48);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  background: transparent;
  border-radius: var(--r-full);
  font-weight: 700;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), color var(--t);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: #fff;
}
.btn-outline:disabled {
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.38);
  cursor: default;
}
@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
  }
  .pricing-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .pricing-card:last-child {
    grid-column: auto;
  }
}


/* ══════════════════════════════════════════════════
   VISUAL ENHANCEMENTS — Style & Life
══════════════════════════════════════════════════ */

/* ─── Display font variable ─── */
:root {
  --font-display: 'Heebo', system-ui, Arial, sans-serif;
}

/* ─── Apply display font to all major headings ─── */
.hero__title,
.section-header__title,
.demo__title,
.cta-section__title,
.feat-row__title {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* ─── Grain texture overlay for warmth and depth ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ─── Hero — warm atmospheric background blobs ─── */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,0,0.22) 0%, rgba(232,0,70,0.08) 45%, transparent 68%);
  top: -240px;
  right: -60px;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,0,70,0.10) 0%, transparent 65%);
  bottom: -120px;
  left: 8%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* ─── Page load staggered entrance animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.91); }
  to   { opacity: 1; transform: scale(1); }
}

.hero__content .badge        { animation: fadeInUp 0.6s var(--ease) 0.05s both; }
.hero__content .hero__title  { animation: fadeInUp 0.7s var(--ease) 0.15s both; }
.hero__content .hero__desc   { animation: fadeInUp 0.7s var(--ease) 0.28s both; }
.hero__content .hero__actions { animation: fadeInUp 0.7s var(--ease) 0.40s both; }
.hero__content .trust-list   { animation: fadeInUp 0.7s var(--ease) 0.52s both; }
.hero__visual                { animation: fadeInScale 0.85s var(--ease) 0.20s both; }

/* ─── Badge shimmer ─── */
.badge {
  position: relative;
  overflow: hidden;
}
.badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.50) 50%, transparent 75%);
  transform: translateX(-200%);
  animation: badge-shimmer 5s ease-in-out 1.2s infinite;
}
@keyframes badge-shimmer {
  0%, 60%, 100% { transform: translateX(-200%); }
  30%            { transform: translateX(200%); }
}

/* ─── Section header — decorative accent bar ─── */
.section-header::after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  background: linear-gradient(to left, var(--c-secondary), var(--c-primary));
  border-radius: var(--r-full);
  margin: 0.875rem auto 0;
}

/* ─── Trust list — pill style ─── */
.trust-list li {
  background: rgba(255,176,0,0.10);
  border: 1px solid rgba(255,176,0,0.24);
  padding: 0.28rem 0.875rem 0.28rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(49, 0, 26, 0.68);
}
.trust-list li::before {
  content: "✓";
  color: var(--c-secondary);
  font-weight: 900;
  font-size: 0.75rem;
}

/* ─── Orbit center — ambient glow ─── */
.orbit__center::before {
  content: '';
  position: absolute;
  inset: -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,0,0.22) 0%, rgba(232,0,70,0.10) 40%, transparent 68%);
  animation: orbit-glow 4s ease-in-out infinite;
  z-index: -1;
}
@keyframes orbit-glow {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.18); opacity: 1;   }
}
/* Second inner orbit ring */
.orbit__ring::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px dashed rgba(232,0,70,0.14);
}

/* ─── Feature numbers — gradient treatment ─── */
.feat-row__num {
  font-family: var(--font-display);
  background: linear-gradient(125deg, rgba(232,0,70,0.22), rgba(255,176,0,0.28));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

/* ─── Features section — ambient glow ─── */
.features {
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -10%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,0,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.features > .container { position: relative; z-index: 1; }

/* ─── Step circles — warm glow ─── */
.step__num {
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--c-bg) 0%, rgba(255,176,0,0.18) 100%);
  box-shadow: 0 0 0 6px rgba(255,176,0,0.10), 0 2px 10px rgba(49,0,26,0.07);
  border-color: var(--c-secondary);
}

/* ─── How it works — warm section tint ─── */
.how-it-works {
  background: linear-gradient(180deg, rgba(255,176,0,0.04) 0%, transparent 65%);
}

/* ─── Demo examples — start-side border accent ─── */
.demo__example {
  border-right: 3px solid transparent;
  transition: background var(--t), border-color var(--t), transform 0.22s var(--ease);
}
.demo__example:hover {
  border-right-color: var(--c-primary);
  transform: translateX(-4px);
}

/* ─── Pricing — remove purple, use brand colors ─── */
.pricing-card--featured {
  border-color: var(--c-secondary);
  background: linear-gradient(158deg, #fff 55%, rgba(255,176,0,0.07) 100%);
}
.pricing-card--featured .pricing-card__amount {
  color: var(--c-primary);
}
.pricing-card--featured .btn-primary {
  background: var(--c-primary);
  box-shadow: 0 4px 18px rgba(232,0,70,0.32);
}
.pricing-card--featured .btn-primary:hover {
  background: var(--c-primary-d);
  box-shadow: 0 10px 30px rgba(232,0,70,0.46);
  transform: translateY(-2px);
}
.pricing-card--featured .btn-primary:disabled {
  background: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.38);
  box-shadow: none;
  transform: none;
}
.pricing-card__badge--recommended {
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-primary) 100%);
  box-shadow: 0 2px 14px rgba(232,0,70,0.30);
}
.pricing-card__badge--ai {
  background: linear-gradient(135deg, var(--c-primary) 0%, rgba(200,0,60,0.80) 60%, var(--c-secondary) 100%);
  box-shadow: 0 2px 14px rgba(232,0,70,0.28);
}
.pricing-card__ai-tag {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
}

/* ─── Nav link — animated underline ─── */
.nav__link {
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav__link:hover::after {
  width: 100%;
}

/* ─── Header scrolled — warm border ─── */
.header.scrolled {
  border-bottom-color: rgba(255,176,0,0.18);
}

/* ─── CTA section — richer dark gradient ─── */
.cta-section {
  background: linear-gradient(148deg, #2a0013 0%, #31001A 45%, #1e000e 100%);
}
.cta-section__deco {
  opacity: 0.09;
}

/* ─── Hero CTA button — subtle idle pulse ─── */
@keyframes btn-idle-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(232,0,70,0.30); }
  55%       { box-shadow: 0 6px 28px rgba(232,0,70,0.52); }
}
.hero__actions .btn-primary:not(:disabled) {
  animation: btn-idle-pulse 3.2s ease-in-out infinite;
}


/* ══════════════════════════════════════════════════
   HERO — 3-COLUMN LAYOUT (orbit | text | phone)
══════════════════════════════════════════════════ */

/* Hero — more breathing room on desktop */
.hero { padding: 7rem 0 8rem; }
/* Add gap between the three hero columns */
.hero__inner { gap: 3.5rem; }

/* Standalone phone mockup in hero */
.hero__phone {
  flex-shrink: 0;
  width: 255px;
  animation: fadeInScale 0.9s var(--ease) 0.10s both;
}
.hero__phone .phone {
  box-shadow:
    var(--shadow-xl),
    0 0 0 7px var(--c-white),
    0 0 0 9px rgba(49,0,26,0.06);
}

/* Restore original orbit dimensions */
.hero__orbit { width: 300px; height: 300px; }
.hero__visual { min-height: 340px; }

/* Mobile: hide hero phone (orbit stays) */
@media (max-width: 900px) {
  .hero__phone  { display: none; }
  .hero__visual { height: 280px; }
  .hero__orbit  { transform: scale(0.86); transform-origin: center center; }
}
@media (max-width: 540px) {
  .hero__visual { height: 240px; }
  .hero__orbit  { transform: scale(0.75); transform-origin: center center; }
}


/* ══════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════ */
.faq {
  padding: 5.5rem 0 6rem;
  background: var(--c-bg);
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq__item {
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid rgba(49, 0, 26, 0.08);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq__item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 176, 0, 0.35);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  user-select: none;
  transition: color var(--t);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { display: none; }
/* Toggle icon — placed at inline-end (left in RTL, right in LTR) */
.faq__q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), color var(--t);
  line-height: 1;
}
.faq__item[open] .faq__q { color: var(--c-primary); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }

.faq__a {
  padding: 0.875rem 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: rgba(49, 0, 26, 0.65);
  line-height: 1.8;
  border-top: 1px solid rgba(49, 0, 26, 0.06);
}

@media (max-width: 540px) {
  .faq { padding: 3.5rem 0 4rem; }
  .faq__q { font-size: 0.9375rem; padding: 1rem 1.25rem; }
  .faq__a { padding: 0.75rem 1.25rem 1rem; }
}


/* ══════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════ */
.testimonials {
  padding: 5.5rem 0 6rem;
  background: rgba(49, 0, 26, 0.025);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 40%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.testimonials > .container { position: relative; z-index: 1; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(49, 0, 26, 0.06);
  transition: box-shadow var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}
.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
/* Decorative quote mark */
.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  position: absolute;
  inset-block-start: -0.25rem;
  inset-inline-start: 1.25rem;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--c-secondary);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.testimonial__stars {
  color: var(--c-secondary);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}
.testimonial__text {
  font-size: 0.9375rem;
  color: rgba(49, 0, 26, 0.72);
  line-height: 1.78;
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(49, 0, 26, 0.07);
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.testimonial__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testimonial__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
}
.testimonial__meta {
  font-size: 0.8rem;
  color: rgba(49, 0, 26, 0.48);
}

@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials__grid .testimonial:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin-inline: auto;
  }
}
@media (max-width: 580px) {
  .testimonials { padding: 3.5rem 0 4rem; }
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .testimonials__grid .testimonial:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }
}
