:root {
  --bg-primary: #f6f6ff;
  --bg-blush: #efc7da;
  --accent: #e08fb5;
  --accent-muted: #ecb6cf;
  --text-primary: #1e1b14;
  --text-muted: #85858f;
  --success-lt: #dadfc4;
  --radius: 18px;
  --shadow-card: 0 8px 24px rgba(30, 27, 20, 0.12);
  --shadow-button: 0 6px 18px rgba(224, 143, 181, 0.14);
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: "Onest", system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-weight: 800; line-height: 1.15; }

/* Header */
.site-header { position: relative; z-index: 50; background: transparent; }
.site-header .bar { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); }
.logo-mark { width: 26px; height: 26px; display: inline-block; flex: 0 0 auto;
  background: var(--accent);
  -webkit-mask: url("assets/logo.svg") center / contain no-repeat;
  mask: url("assets/logo.svg") center / contain no-repeat; }
.site-footer .logo-mark { width: 32px; height: 32px; }
.lang-toggle { display: flex; gap: 4px; background: var(--accent);
  border-radius: 16px; padding: 3px; }
.lang-toggle button { border: 0; background: transparent; color: #fff;
  font-family: inherit; font-weight: 600; font-size: 13px; cursor: pointer;
  padding: 5px 12px; border-radius: 13px; }
.lang-toggle button.is-active { background: #fff; color: var(--text-primary); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center; padding: 64px 0 80px;
  position: relative; }
.hero::before { content: ""; position: absolute; inset: -60px -200px auto -200px;
  height: 560px; z-index: -1; border-radius: 50%;
  background: radial-gradient(58% 62% at 50% 34%, var(--bg-blush) 0%, transparent 72%);
  filter: blur(10px); }
.badge { display: inline-flex; align-items: center; gap: 9px;
  background: none; border: 0; padding: 0;
  color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(224, 143, 181, 0.55);
  animation: pulse-dot 2s ease-out infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(224, 143, 181, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(224, 143, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 143, 181, 0); }
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.02em; }
.subtitle { color: var(--text-muted); font-size: clamp(16px, 2vw, 19px);
  margin-top: 16px; max-width: 30ch; }
.hero-phone { display: flex; justify-content: center; }
.phone { width: 270px; max-width: 70vw; border-radius: 36px; background: #1e1b14;
  padding: 10px; box-shadow: var(--shadow-card); }
.phone img,
.phone video { width: 100%; display: block; border-radius: 28px; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust span { background: var(--success-lt); color: var(--text-primary);
  font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 999px; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 56px 0; }
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-media { order: 1; }
.feature-media { display: flex; justify-content: center; }
.emoji { font-size: 34px; display: block; margin-bottom: 10px; }
.feature h2 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.02em; }
.feature .subtitle { max-width: 38ch; }

/* Footer */
.site-footer { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 72px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; }
.site-footer .logo { font-size: 28px; }
.site-footer .rights { color: var(--text-muted); font-size: 14px; }

/* Scroll reveal */
.feature, .hero-text, .hero-phone { opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease; }
.is-visible { opacity: 1 !important; transform: none !important; }

/* Floating phones (feature sections only; hero stays still so the video leads) */
.feature-media .phone {
  animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-media .phone:hover, .hero-phone .phone:hover {
  transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 36px rgba(30,27,20,0.18); }

/* Drifting petals */
.petal { position: fixed; top: -40px; width: 14px; height: 14px; z-index: -1;
  background: var(--accent-muted); border-radius: 0 50% 50% 50%;
  opacity: 0.5; animation: fall linear infinite; pointer-events: none; }
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); } }

/* Responsive */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 40px 0 56px; }
  .hero-text .subtitle { margin-left: auto; margin-right: auto; }
  .hero-text .trust { justify-content: center; }
  .feature { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 40px 0; }
  .feature.reverse .feature-text { order: 1; }
  .feature.reverse .feature-media { order: 2; }
  .feature .subtitle { margin-left: auto; margin-right: auto; }
  .phone { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, .hero::before, .phone { animation: none !important; transition: none !important; }
  .feature, .hero-text, .hero-phone { opacity: 1; transform: none; }
  .petal { display: none; }
}
