/* ── Base ─────────────────────────────────────────────────── */
[hidden] { display: none !important; }

/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg-deep:    #0C0810;
  --bg-mid:     #110D16;
  --bg-card:    #16101E;
  --border:     rgba(184,169,255,0.12);
  --border-dim: rgba(184,169,255,0.08);
  --accent-1:   #B8A9FF;
  --accent-2:   #E8C4A0;
  --accent-3:   #D4CAFE;
  --text-head:  #EDE4F5;
  --text-body:  #C4B5D4;
  --text-dim:   #7A6B8A;
  --text-muted: #5A4D6A;
  --gold:       #E8C4A0;
  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --radius:     12px;
  --transition: 0.3s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text-head);
  line-height: 1.2;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: 1.25rem; font-weight: 600; }

.label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-family: var(--font-body);
  font-weight: 500;
}
.subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.75;
}
.accent { color: var(--accent-1); font-style: italic; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────────────────– */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,169,255,0.12);
}
.btn-primary {
  background: linear-gradient(135deg, rgba(184,169,255,0.15), rgba(232,196,160,0.08));
  border: 1px solid rgba(184,169,255,0.28);
  color: var(--text-head);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(184,169,255,0.22), rgba(232,196,160,0.14));
  border-color: var(--accent-1);
}
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(184,169,255,0.2);
  color: var(--accent-1);
}
.btn-secondary:hover {
  border-color: var(--accent-1);
  background: rgba(184,169,255,0.05);
}
.btn--sm { padding: 10px 22px; font-size: 10px; }

/* ── Scroll fade-in ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(12, 8, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.navbar__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.navbar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.navbar__logo {
  display: flex;
  align-items: center;
}
.navbar__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.navbar__logo-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-head);
  letter-spacing: 0.06em;
}
.navbar__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.navbar__links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.navbar__links a:hover { color: var(--accent-2); }
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Language switcher ────────────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color var(--transition), color var(--transition);
}
.lang-btn:hover { border-color: var(--accent-1); color: var(--text-head); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  min-width: 120px;
  overflow: hidden;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li {
  padding: 10px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  color: var(--text-dim);
}
.lang-dropdown li:hover { background: rgba(184,169,255,0.06); color: var(--text-head); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(184,169,255,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(232,196,160,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(140,100,200,0.05) 0%, transparent 70%),
    var(--bg-deep);
  overflow: hidden;
  padding-top: 80px;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero .label { margin-bottom: 0; }
.hero .label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(232,196,160,0.28);
  margin: 16px auto 0;
}
.hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(184,169,255,0.2);
  margin: 20px auto 0;
}
.hero__accent { color: var(--accent-1); font-style: italic; font-weight: 600; }
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero__social-proof {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content > * {
  animation: fadeInUp 0.8s ease both;
}
.hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.hero__content > *:nth-child(2) { animation-delay: 0.25s; }
.hero__content > *:nth-child(3) { animation-delay: 0.4s; }
.hero__content > *:nth-child(4) { animation-delay: 0.55s; }
.hero__content > *:nth-child(5) { animation-delay: 0.7s; }

/* ── Section header (reusable) ────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.section-header .label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(232,196,160,0.25);
  margin: 10px auto 0;
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg-mid);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(184,169,255,0.28);
  transform: translateY(-3px);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(184,169,255,0.12), rgba(232,196,160,0.07));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  color: var(--text-head);
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.feature-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
}

/* ── App Preview ──────────────────────────────────────────── */
.app-preview {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(184,169,255,0.06) 0%, var(--bg-deep) 65%);
  overflow: hidden;
}
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 60px;
}
.phone {
  width: 200px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--bg-mid);
  overflow: hidden;
  flex-shrink: 0;
}
.phone--side {
  height: 360px;
  opacity: 0.55;
  transform: rotate(var(--tilt, -6deg)) scale(0.92);
}
.phone--center {
  height: 420px;
  border-color: rgba(184,169,255,0.3);
  box-shadow: 0 0 48px rgba(184,169,255,0.12), 0 0 100px rgba(184,169,255,0.05);
  animation: floatPhone 4s ease-in-out infinite;
}
.phone:last-child { --tilt: 6deg; }
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.phone__screen { padding: 12px; height: 100%; display: flex; flex-direction: column; gap: 8px; }
.phone__status-bar { height: 5px; background: var(--border); border-radius: 3px; margin-bottom: 4px; }
.phone__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-1);
  text-align: center;
  font-family: var(--font-head);
}
.phone__label--accent { color: var(--accent-2); }
.phone__streak { font-size: 0.62rem; text-align: center; color: var(--text-muted); }
.phone__btn-mock {
  background: var(--border-dim);
  border-radius: 3px;
  padding: 8px;
  font-size: 0.62rem;
  color: var(--text-body);
  text-align: center;
  margin-top: auto;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.phone__btn-mock--primary {
  background: linear-gradient(135deg, rgba(184,169,255,0.2), rgba(232,196,160,0.12));
  border: 1px solid rgba(184,169,255,0.25);
  color: var(--text-head);
}
.phone__card-mock {
  height: 40px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.phone__card-mock--sm { height: 28px; opacity: 0.4; }
.phone__textarea-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  font-size: 0.6rem;
  color: var(--text-body);
  line-height: 1.5;
  flex: 1;
  font-style: italic;
}
.phone__tag-row { display: flex; gap: 4px; flex-wrap: wrap; }
.phone__tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.55rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.phone__tag--active {
  background: rgba(184,169,255,0.12);
  color: var(--accent-1);
  border-color: rgba(184,169,255,0.3);
}
.phone__interp-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--text-head);
  text-align: center;
  margin-top: 4px;
  font-style: italic;
  font-weight: 600;
}
.phone__interp-body {
  font-size: 0.6rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
  font-weight: 300;
}
.phone__symbol-row { display: flex; gap: 4px; flex-wrap: wrap; }
.phone__symbol {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 0.55rem;
  color: var(--accent-2);
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--bg-mid);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: rgba(184,169,255,0.28); }
.testimonial-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
}
.testimonial-card__quote {
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  font-weight: 300;
  flex: 1;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,169,255,0.18), rgba(232,196,160,0.12));
  border: 1px solid rgba(184,169,255,0.28);
  color: var(--accent-1);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.testimonial-card__name { font-size: 0.88rem; font-weight: 500; color: var(--text-head); }
.testimonial-card__role { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--bg-deep);
}
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.pricing__toggle-label { font-size: 0.88rem; color: var(--text-dim); }
.pricing__toggle-btn { background: none; border: none; cursor: pointer; padding: 0; }
.pricing__toggle-track {
  display: block;
  width: 48px; height: 26px;
  background: var(--border);
  border-radius: 13px;
  position: relative;
  transition: background var(--transition);
}
.pricing__toggle-btn[aria-pressed="true"] .pricing__toggle-track {
  background: rgba(184,169,255,0.35);
}
.pricing__toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--text-head);
  border-radius: 50%;
  transition: transform var(--transition);
}
.pricing__toggle-btn[aria-pressed="true"] .pricing__toggle-thumb { transform: translateX(22px); }
.pricing__save-badge {
  background: rgba(232,196,160,0.12);
  border: 1px solid rgba(232,196,160,0.25);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing__cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-card--premium {
  background: linear-gradient(160deg, rgba(184,169,255,0.07) 0%, var(--bg-card) 100%);
  border-color: rgba(184,169,255,0.28);
  box-shadow: 0 0 40px rgba(184,169,255,0.07);
  position: relative;
}
.pricing-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid rgba(184,169,255,0.35);
  color: var(--accent-1);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-card__tier {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-family: var(--font-body);
  font-weight: 500;
}
.pricing-card__price {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--text-head);
  line-height: 1;
  letter-spacing: -0.01em;
}
.pricing-card__price span { font-size: 0.95rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 300; }
.pricing-card__features { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pricing-card__features li {
  font-size: 0.88rem;
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid var(--border-dim);
  font-weight: 300;
  color: var(--text-body);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li.ok::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-size: 0.6rem;
  top: 11px;
}
.pricing-card__features li.no::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  top: 9px;
}
.pricing-card__features li.no { color: var(--text-muted); }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card__cancel { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.pricing-card__includes { font-size: 0.72rem; color: var(--text-muted); font-style: italic; margin-bottom: 4px; }
.pricing-card__savings { text-align: center; font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2px; }
.pricing-card__savings s { text-decoration: line-through; }
.pricing-card__total { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--bg-mid);
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--text-head);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.faq-item__q::after {
  content: '▾';
  color: var(--accent-1);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
  opacity: 0.6;
}
.faq-item.open .faq-item__q::after { transform: rotate(180deg); }
.faq-item__q:hover { color: var(--accent-3); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--bg-mid);
}
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a p {
  padding: 16px 24px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-dim);
  font-weight: 300;
}

/* ── CTA Final ────────────────────────────────────────────── */
.cta-final {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(184,169,255,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(232,196,160,0.06) 0%, transparent 50%),
    var(--bg-deep);
}
.cta-final__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #080508;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.04em; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.footer__links a:hover { color: var(--accent-2); }
.footer__copy { font-size: 0.72rem; color: var(--text-muted); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features__grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing__cards       { flex-direction: column; align-items: center; }
  .pricing-card         { width: 100%; max-width: 380px; }
  .phones               { gap: 12px; }
  .phone--side          { width: 150px; height: 300px; }
  .phone--center        { width: 180px; height: 380px; }
}

@media (max-width: 640px) {
  .navbar__links        { display: none; }
  .features__grid       { grid-template-columns: 1fr; }
  .testimonials__grid   { grid-template-columns: 1fr; }
  .phones               { flex-direction: column; align-items: center; }
  .phone--side          { display: none; }
  .phone--center        { width: 200px; height: 400px; }
  .footer__inner        { flex-direction: column; text-align: center; }
  .footer__links        { justify-content: center; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

/* ── Polish ───────────────────────────────────────────────── */
::selection { background: rgba(184,169,255,0.25); color: var(--text-head); }
html { scrollbar-width: thin; scrollbar-color: rgba(184,169,255,0.3) var(--bg-deep); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(184,169,255,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(184,169,255,0.4); }

