/* ============================================================
   OurDream AI — landing page styles
   Dark romantic theme · purple/pink gradients · glassmorphism
   ============================================================ */

:root {
  --bg: #0b0614;
  --bg-2: #120a20;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f1fb;
  --muted: #b3aac6;
  --muted-2: #877e99;

  --pink: #ff4d8d;
  --pink-2: #ff6aa3;
  --purple: #a855f7;
  --violet: #7c5cff;
  --gold: #ffce54;

  --grad: linear-gradient(120deg, #ff4d8d 0%, #b65cff 55%, #7c5cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 77, 141, 0.18), rgba(124, 92, 255, 0.18));

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 18px 50px -12px rgba(168, 85, 247, 0.55);

  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------- reset -------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 800px at 80% -10%, #1c0f33 0%, transparent 60%),
              radial-gradient(900px 700px at 0% 10%, #1a0b29 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* -------- layout helpers -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.container--narrow { max-width: 760px; }

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

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* -------- background orbs -------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}
.orb--pink   { background: #ff2d77; top: -120px; right: -80px; }
.orb--purple { background: #7c2dff; bottom: -160px; left: -120px; opacity: 0.45; }
.orb--blue   { background: #2d6bff; top: 40%; left: 55%; opacity: 0.22; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-y: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--pad-y) 22px;
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(255, 77, 141, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -10px rgba(168, 85, 247, 0.7); }

.btn--soft {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--soft:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface); }

.btn--block { width: 100%; }
.btn--lg { --pad-y: 15px; padding-left: 28px; padding-right: 28px; font-size: 1rem; }
.btn--xl { --pad-y: 18px; padding-left: 38px; padding-right: 38px; font-size: 1.1rem; }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   Nav
   ============================================================ */
/* -------- announcement bar -------- */
.promobar { position: relative; z-index: 60; background: var(--grad); color: #fff; font-size: 0.9rem; }
.promobar.is-hidden { display: none; }
.promobar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 46px; flex-wrap: wrap; }
.promobar__text { margin: 0; text-align: center; }
.promobar__tag { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.7rem; background: rgba(0, 0, 0, 0.22); padding: 3px 9px; border-radius: 999px; margin-right: 8px; }
.promobar__cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promobar__cta:hover { opacity: 0.85; }
.promobar__close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: 0.8; padding: 2px 10px; }
.promobar__close:hover { opacity: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 6, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 9px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.25rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--grad);
  color: #fff; font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
}
.brand__accent { color: var(--pink-2); }

.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__links > a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 0.95rem; white-space: nowrap; transition: color 0.2s; }
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__cta { font-size: 0.9rem; padding: 10px 18px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- language switcher -------- */
.langswitch { position: relative; }
.langswitch__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--text); font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.langswitch__btn:hover { background: rgba(255, 255, 255, 0.1); }
.langswitch__globe { font-size: 1rem; line-height: 1; }
/* desktop shows the compact code ("EN"); the full label is swapped in inside the mobile overlay */
.langswitch__current { white-space: nowrap; display: none; }
.langswitch__code { white-space: nowrap; font-weight: 700; letter-spacing: 0.03em; }
.langswitch__caret { font-size: 0.7rem; color: var(--muted); transition: transform 0.25s var(--ease); }
.langswitch.is-open .langswitch__caret { transform: rotate(180deg); }

.langswitch__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
  min-width: 210px; max-height: 340px; overflow-y: auto;
  margin: 0; padding: 8px;
  border-radius: 16px;
  background: rgba(18, 10, 32, 0.98);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: none;
}
.langswitch.is-open .langswitch__menu { display: block; animation: langfade 0.18s var(--ease); }
@keyframes langfade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.langswitch__menu li button {
  width: 100%; text-align: left; cursor: pointer;
  padding: 9px 12px; border-radius: 9px;
  background: none; border: 0; color: var(--muted);
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.9rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.langswitch__menu li button:hover { background: var(--surface-2); color: var(--text); }
.langswitch__menu li.is-active button { color: var(--text); font-weight: 700; background: var(--grad-soft); }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 60px 0 70px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  font-size: 0.83rem; font-weight: 600; color: #f0d7ff;
  margin-bottom: 22px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd576; box-shadow: 0 0 0 4px rgba(43, 213, 118, 0.18); }

.hero__title { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.hero__sub { color: var(--muted); font-size: 1.12rem; margin-top: 20px; max-width: 540px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); font-size: 0.92rem; }
.hero__trust strong { color: var(--text); }
.stars { color: var(--gold); letter-spacing: 1px; }

/* hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; }
.chat-card { width: min(360px, 100%); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.chat-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  font-family: "Sora", sans-serif; font-weight: 700; color: #fff;
}
.avatar--anya { background: linear-gradient(135deg, #ff5c8a, #a855f7); }
.chat-card__name { font-weight: 700; font-family: "Sora", sans-serif; }
.online { color: #2bd576; font-size: 0.7rem; vertical-align: middle; }
.chat-card__status { font-size: 0.8rem; color: var(--muted-2); }
.chat-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; }
.bubble { padding: 11px 15px; border-radius: 16px; font-size: 0.92rem; max-width: 85%; }
.bubble--in { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble--out { background: var(--grad); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-card__input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted-2); font-size: 0.9rem;
}
.send { color: var(--pink-2); font-size: 1.1rem; }

.float-tag {
  position: absolute; padding: 10px 15px; border-radius: 14px;
  font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow);
  animation: floaty 4.5s ease-in-out infinite;
}
.float-tag--1 { top: 6%; right: -4%; }
.float-tag--2 { bottom: 8%; left: -6%; animation-delay: 1.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   Stats strip
   ============================================================ */
.strip { padding: 8px 0 12px; }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.strip__item { text-align: center; }
.strip__item strong { display: block; font-family: "Sora", sans-serif; font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip__item span { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 84px 0; }
.section--alt { position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.06), rgba(255, 77, 141, 0.03));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; font-family: "Sora", sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink-2); margin-bottom: 14px;
}
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.section__foot { text-align: center; margin-top: 44px; }

.grid { display: grid; gap: 22px; }
.grid--companions { grid-template-columns: repeat(4, 1fr); }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.grid--steps { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }

/* -------- companion cards -------- */
.companion { overflow: hidden; display: flex; flex-direction: column; }
.companion__photo {
  position: relative; aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  display: grid; place-items: center;
}
.companion__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; z-index: 1; }
.companion__mono { font-family: "Sora", sans-serif; font-weight: 800; font-size: 4.2rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }
.companion__rate {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--gold);
}
.companion__live {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: #2bd576;
}
.companion__info { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.companion__info h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.companion__tag {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.7rem; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; color: #f0d7ff;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
}
.companion__info p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.companion__info .btn { margin-top: 4px; }

/* -------- feature cards -------- */
.feature { padding: 28px; }
.feature__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
  font-size: 1.6rem; margin-bottom: 16px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* -------- steps -------- */
.step { padding: 30px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--grad); color: #fff;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 18px; box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 1.25rem; margin-bottom: 9px; }
.step p { color: var(--muted); }

/* -------- banner -------- */
.banner {
  margin-top: 56px; border-radius: var(--radius-lg); padding: 34px 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.banner__text h3 { font-size: 1.6rem; margin-bottom: 6px; }
.banner__text p { color: var(--muted); }

/* -------- intro / about -------- */
.intro__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 46px; align-items: center; }
.intro__text .section__title { text-align: left; }
.intro__text > p { color: var(--muted); font-size: 1.05rem; margin-top: 18px; }
.intro__text .btn { margin-top: 28px; }
.intro__card { border-radius: var(--radius-lg); padding: 30px 32px; }
.intro__card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.check { display: flex; flex-direction: column; gap: 14px; }
.check li { position: relative; padding-left: 34px; font-size: 0.98rem; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 7px; background: var(--grad); color: #fff;
  font-size: 0.78rem; font-weight: 700; box-shadow: var(--shadow-glow);
}

/* -------- testimonials -------- */
.grid--testimonials { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.testimonial { padding: 28px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.testimonial__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial__quote { margin: 0; font-size: 1rem; line-height: 1.65; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #fff; font-family: "Sora", sans-serif; font-weight: 700; flex-shrink: 0;
}
.testimonial__meta { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial__meta strong { font-family: "Sora", sans-serif; font-size: 0.95rem; }
.testimonial__meta small { color: var(--muted-2); font-size: 0.8rem; }

/* -------- pricing -------- */
.grid--pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; max-width: 1000px; margin-inline: auto; }
.price { padding: 34px 28px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.price__name { font-family: "Sora", sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.price__amount { font-family: "Sora", sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-top: 8px; }
.price__period { font-size: 0.95rem; font-weight: 600; color: var(--muted-2); margin-left: 4px; }
.price__note { color: var(--muted); font-size: 0.92rem; margin-top: 8px; min-height: 2.7em; }
.price .check { margin: 22px 0 28px; gap: 13px; }
.price .check li { font-size: 0.95rem; padding-left: 32px; }
.price .btn { margin-top: auto; }
.price--featured {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-glow);
}
.price--featured:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 24px 60px -16px rgba(168, 85, 247, 0.5); }
.price__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 6px 16px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: var(--shadow-glow);
}
.pricing__foot { text-align: center; color: var(--muted-2); font-size: 0.85rem; margin-top: 26px; }

/* -------- comparison table -------- */
.compare__wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 460px; background: var(--surface); }
.compare th, .compare td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare thead th { font-family: "Sora", sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--text); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .compare__us { background: var(--grad-soft); }
.compare thead th.compare__us { color: #fff; }
.compare__yes { color: #36d27e; font-weight: 800; font-size: 1.15rem; }
.compare__yes--muted { color: var(--muted-2); }
.compare__no { color: var(--muted-2); font-size: 0.88rem; }

/* -------- trust & tech -------- */
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.25s; }
.faq__item.is-open { border-color: var(--border-strong); }
.faq__q {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: 0; color: var(--text);
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.02rem;
}
.faq__icon { font-size: 1.4rem; color: var(--pink-2); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 22px 20px; color: var(--muted); }

/* ============================================================
   Final CTA
   ============================================================ */
.cta-final { padding: 30px 0 96px; }
.cta-final__card {
  text-align: center; border-radius: var(--radius-lg);
  padding: 60px 30px;
  background: linear-gradient(160deg, rgba(255, 77, 141, 0.16), rgba(124, 92, 255, 0.14)), var(--surface);
  box-shadow: var(--shadow);
}
.cta-final__card h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.cta-final__card > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.cta-final__fine { color: var(--muted-2); font-size: 0.85rem; margin-top: 18px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 50px 0 36px; background: rgba(0, 0, 0, 0.2); }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer__tag { color: var(--muted); margin-top: 12px; }
.age-badge {
  display: inline-block; margin-top: 14px; padding: 4px 12px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  font-weight: 700; font-size: 0.8rem; color: var(--pink-2);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }

.footer__langs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border);
}
.footer__langs-label {
  color: var(--muted-2); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-right: 4px;
}
.footer__langs a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer__langs a:hover { color: var(--text); }
.footer__langs a.is-active { color: var(--pink-2); font-weight: 700; }

.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__legal p { color: var(--muted-2); font-size: 0.82rem; }
.footer__disclaimer { margin-top: 10px; max-width: 820px; }

/* ============================================================
   Legal pages (privacy / terms / contact)
   ============================================================ */
.legal { padding: 116px 0 90px; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal__eyebrow {
  display: inline-block; font-family: "Sora", sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink-2); margin-bottom: 14px;
}
.legal__title { font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 800; }
.legal__updated { color: var(--muted-2); font-size: 0.9rem; margin-top: 14px; }
.legal__body { margin-top: 30px; }
.legal__body h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.legal__body h3 { font-size: 1.08rem; margin-top: 26px; margin-bottom: 8px; }
.legal__body p { color: var(--muted); margin-top: 13px; }
.legal__body ul { margin-top: 13px; display: flex; flex-direction: column; gap: 10px; }
.legal__body ul li { position: relative; padding-left: 26px; color: var(--muted); }
.legal__body ul li::before {
  content: "›"; position: absolute; left: 6px; top: -1px;
  color: var(--pink-2); font-weight: 800;
}
.legal__body a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--pink); }
.legal__body strong { color: var(--text); }
.legal__card {
  margin-top: 22px; padding: 24px 26px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.legal__card p { margin-top: 8px; }
.legal__card p:first-child { margin-top: 0; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 44px;
  color: var(--muted); font-weight: 600; transition: color 0.2s;
}
.legal__back:hover { color: var(--text); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--companions { grid-template-columns: repeat(2, 1fr); }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .intro__grid { grid-template-columns: 1fr; gap: 34px; }
  .grid--pricing { grid-template-columns: 1fr; max-width: 420px; }
  .trust__grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero__visual { order: -1; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero { text-align: center; }
  .hero__cta, .hero__trust { justify-content: center; }
  .pill { margin-inline: auto; }
}

/* Collapse the nav into the hamburger overlay below 1024px — the 15-language
   switcher plus two CTAs no longer fit the horizontal bar under that width. */
@media (max-width: 1023px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 92px 22px 28px;
    background: rgba(11, 6, 20, 0.97);
    backdrop-filter: blur(18px);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
    min-height: 100vh;
  }
  .nav__links.is-open { transform: none; }
  .nav__links > a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; white-space: normal; border-bottom: 1px solid var(--border); }
  /* scoped to the overlay so the legal-page "← Back" button keeps its size */
  .nav__links .nav__cta { width: 100%; margin-top: 6px; }
  .nav__toggle { display: flex; z-index: 60; }

  /* language switcher flows in the overlay: show full label, hide the compact code */
  .langswitch { width: 100%; margin-top: 6px; }
  .langswitch__btn { width: 100%; justify-content: space-between; padding: 12px 16px; }
  .langswitch__menu { position: static; width: 100%; min-width: 0; margin-top: 8px; max-height: 260px; }
  .langswitch.is-open .langswitch__menu { animation: none; }
  .langswitch__current { display: inline; }
  .langswitch__code { display: none; }
}

/* Tight desktop band: keep both CTAs from overflowing by dropping the
   secondary "Log in" link; "Get Started Free" remains the primary action. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__cta--login { display: none; }
}

@media (max-width: 760px) {
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .grid--steps { grid-template-columns: 1fr; }
  .banner { text-align: center; justify-content: center; }
  .section { padding: 64px 0; }
}

@media (max-width: 460px) {
  .grid--companions, .grid--features { grid-template-columns: 1fr; }
  .float-tag { display: none; }
  .hero__trust { gap: 16px; font-size: 0.85rem; }
}

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