/* Shared styles for Снова */
:root {
  --bg: #FFF5EC;
  --bg-peach: #FFE8D6;
  --bg-lavender: #F0E5FF;
  --surface: #FFFFFF;
  --ink: #2D2A32;
  --ink-soft: #6B6470;
  --line: #E8E2D6;
  --coral: #FF6B6B;
  --melon: #FFB347;
  --lavender: #9B7EDE;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-optical-sizing: auto; font-variation-settings: "opsz" 144; }
.italic-warm { font-style: italic; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 16px; padding: 0 28px; height: 56px;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 16px;
  cursor: pointer; border: none; transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 10px 32px rgba(255,107,107,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,107,107,0.36); }
.btn-primary.big { height: 64px; padding: 0 36px; font-size: 17px; border-radius: 16px; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-bottom: 2px solid var(--ink); border-radius: 0; padding: 0 4px; height: 32px;
}
.btn-ghost:hover { color: var(--coral); border-color: var(--coral); }

/* Cards */
.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(255,107,107,0.10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(255,107,107,0.18); }

/* Sticker badge */
.sticker {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--coral); color: #fff;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 13px;
  border-radius: 100px; padding: 8px 16px;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(255,107,107,0.30);
}
.sticker.melon { background: var(--melon); box-shadow: 0 8px 20px rgba(255,179,71,0.30); }
.sticker.lav { background: var(--lavender); box-shadow: 0 8px 20px rgba(155,126,222,0.30); }
.sticker.round {
  width: 96px; height: 96px; border-radius: 50%;
  font-size: 18px; padding: 0; text-align: center; line-height: 1.1;
  font-family: 'Fraunces', serif; font-weight: 700;
}

/* Pill */
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  background: rgba(255,107,107,0.10); color: var(--coral);
}
.pill.melon { background: rgba(255,179,71,0.18); color: #B86B0A; }
.pill.lav { background: rgba(155,126,222,0.18); color: #6F4FBE; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 245, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,42,50,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav a.nav-link { color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a.nav-link:hover { color: var(--coral); }
.brand {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 28px;
  display: inline-flex; align-items: baseline; gap: 4px; color: var(--ink);
  text-decoration: none;
}
.brand .dot { width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--melon), var(--lavender));
  display: inline-block; transform: translateY(-2px);
}

/* Blob shapes */
.blob {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55;
  pointer-events: none; z-index: 0;
}

/* Hero gradient */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 15% 25%, rgba(255,107,107,0.35), transparent 70%),
    radial-gradient(50% 45% at 85% 15%, rgba(155,126,222,0.35), transparent 70%),
    radial-gradient(70% 55% at 70% 85%, rgba(255,179,71,0.32), transparent 70%),
    linear-gradient(135deg, #FFE8D6 0%, #FFF5EC 45%, #F0E5FF 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Sections */
section { position: relative; }
.section-pad { padding: 120px 0; }
@media (max-width: 768px) { .section-pad { padding: 80px 0; } }

.bg-peach { background: var(--bg-peach); }
.bg-lavender { background: var(--bg-lavender); }
.rounded-block { border-radius: 48px; }
@media (max-width: 768px) { .rounded-block { border-radius: 32px; } }

/* Typography */
h1.display {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 88px;
  line-height: 0.98; letter-spacing: -0.02em; margin: 0;
  text-wrap: balance;
}
@media (max-width: 900px) { h1.display { font-size: 56px; } }
@media (max-width: 480px) { h1.display { font-size: 44px; } }

h2.h2 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 52px;
  line-height: 1.05; letter-spacing: -0.015em; margin: 0;
  text-wrap: balance;
}
@media (max-width: 768px) { h2.h2 { font-size: 36px; } }

h3.h3 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 32px;
  line-height: 1.15; letter-spacing: -0.01em; margin: 0;
}
@media (max-width: 768px) { h3.h3 { font-size: 26px; } }

.lead { font-size: 22px; line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-soft); }
.micro { font-size: 13px; color: var(--ink-soft); }

/* Fade in on scroll */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.fade-in.in { opacity: 1; transform: none; }

/* Accordion */
.faq-item { border-top: 1px solid rgba(45,42,50,0.10); }
.faq-item:last-child { border-bottom: 1px solid rgba(45,42,50,0.10); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none; padding: 24px 0;
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600;
  color: var(--ink); cursor: pointer; text-align: left;
}
.faq-q:hover { color: var(--coral); }
.faq-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--coral); transition: transform .25s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a.open { max-height: 400px; }
.faq-a > div { padding: 0 0 24px 0; font-size: 17px; color: var(--ink-soft); max-width: 800px; }

/* Tariff card (preview row) */
.tariff-mini {
  background: #fff; border-radius: 24px; padding: 28px 24px;
  box-shadow: 0 10px 32px rgba(255,107,107,0.10);
  position: relative; transition: transform .25s, box-shadow .25s;
}
.tariff-mini:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(255,107,107,0.18); }

/* Radio tariff card (product page) */
.tariff-radio {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border: 2px solid var(--line);
  border-radius: 20px; cursor: pointer; transition: all .2s;
  background: #fff; position: relative;
}
.tariff-radio:hover { border-color: rgba(255,107,107,0.4); }
.tariff-radio.active {
  border-color: var(--coral);
  background: linear-gradient(135deg, rgba(255,107,107,0.06), rgba(255,179,71,0.04));
}
.radio-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0;
}
.tariff-radio.active .radio-dot { border-color: var(--coral); }
.tariff-radio.active .radio-dot::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--coral);
}

/* Inputs */
.input {
  width: 100%; height: 56px; border-radius: 16px;
  border: 1.5px solid var(--line); background: #fff;
  padding: 0 18px; font-family: 'Manrope', sans-serif; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,107,0.12); }

.checkbox-row {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(155,126,222,0.10); border-radius: 16px;
  padding: 14px 16px;
}
.checkbox-row input { margin-top: 4px; accent-color: var(--coral); width: 18px; height: 18px; }
.checkbox-row label { font-size: 15px; color: var(--ink); cursor: pointer; }

/* Timeline */
.timeline { position: relative; padding-left: 56px; }
.timeline::before {
  content: ''; position: absolute; left: 21px; top: 12px; bottom: 12px; width: 3px;
  background: linear-gradient(180deg, var(--coral), var(--melon), var(--lavender));
  border-radius: 3px;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -56px; top: 4px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-items: center;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 20px rgba(255,107,107,0.30);
  border: 4px solid var(--bg);
}
.timeline-item h4 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px;
  margin: 0 0 6px 0;
}

/* Wave SVG */
.wave-anim path { animation: waveMove 8s ease-in-out infinite alternate; }
@keyframes waveMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* Footer */
footer.foot {
  background: #2D2A32; color: #E8E2D6;
  padding: 80px 0 40px;
}
footer.foot a { color: #E8E2D6; text-decoration: none; }
footer.foot a:hover { color: var(--melon); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 768px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot h5 { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 14px;
  color: #fff; margin: 0 0 16px 0; text-transform: none; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 10px; font-size: 15px; }
.foot .copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 13px; color: #9C9099; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* Helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; gap: 24px; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* Tilted step cards */
.step-card { background: #fff; border-radius: 28px; padding: 36px;
  box-shadow: 0 12px 40px rgba(255,107,107,0.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card .num { font-family: 'Fraunces', serif; font-weight: 700; font-size: 64px; line-height: 1;
  display: block; margin-bottom: 24px; }
.step-card.s1 { transform: translateY(0); }
.step-card.s1 .num { color: var(--coral); }
.step-card.s2 { transform: translateY(28px); }
.step-card.s2 .num { color: var(--melon); }
.step-card.s3 { transform: translateY(8px); }
.step-card.s3 .num { color: var(--lavender); }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 22px 56px rgba(255,107,107,0.18); }
@media (max-width: 900px) {
  .step-card.s1, .step-card.s2, .step-card.s3 { transform: none; }
  .step-card:hover { transform: translateY(-4px); }
}

/* Two-col problem/solution */
.compare {
  background: #fff; border-radius: 32px; padding: 48px;
  box-shadow: 0 12px 40px rgba(255,107,107,0.08);
}
@media (max-width: 768px) { .compare { padding: 28px; border-radius: 24px; } }
.compare h4 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 24px; margin: 0 0 8px 0;
}
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 14px 0; border-top: 1px solid rgba(45,42,50,0.08); font-size: 17px; }
.compare li:first-child { border-top: none; }
.compare .left li { color: var(--ink-soft); }
.compare .right li { color: var(--ink); }
.compare .right li::before {
  content: '✓'; color: var(--coral); font-weight: 700; margin-right: 10px;
}
.compare .left li::before {
  content: '–'; color: var(--ink-soft); margin-right: 10px;
}

/* Quote */
.quote {
  background: #fff; border-radius: 32px; padding: 56px;
  box-shadow: 0 12px 40px rgba(155,126,222,0.12);
  position: relative;
}
@media (max-width: 768px) { .quote { padding: 32px; border-radius: 24px; } }
.quote p {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 28px;
  line-height: 1.35; margin: 0 0 24px 0; color: var(--ink);
  text-wrap: pretty;
}
@media (max-width: 768px) { .quote p { font-size: 22px; } }
.quote .attr { font-size: 15px; color: var(--ink-soft); }
.quote::before {
  content: '”'; font-family: 'Fraunces', serif; font-size: 120px; line-height: 1;
  color: var(--coral); opacity: 0.18; position: absolute; top: 20px; right: 40px;
}

/* Feature card icons */
.feat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 24px;
  color: #fff;
}
.feat-icon.coral { background: var(--coral); box-shadow: 0 10px 24px rgba(255,107,107,0.30); }
.feat-icon.melon { background: var(--melon); box-shadow: 0 10px 24px rgba(255,179,71,0.30); }
.feat-icon.lav { background: var(--lavender); box-shadow: 0 10px 24px rgba(155,126,222,0.30); }

.feat-card h4 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; margin: 0 0 10px 0; line-height: 1.2; }
.feat-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Bullet list (product page features) */
.bullet-list { list-style: none; padding: 0; margin: 0; }
.bullet-list li {
  padding: 18px 0 18px 28px; border-top: 1px solid rgba(45,42,50,0.10);
  position: relative; font-size: 18px;
}
.bullet-list li:first-child { border-top: none; }
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 28px;
  width: 12px; height: 12px; border-radius: 50%;
}
.bullet-list li:nth-child(1)::before { background: var(--coral); }
.bullet-list li:nth-child(2)::before { background: var(--melon); }
.bullet-list li:nth-child(3)::before { background: var(--lavender); }
.bullet-list li:nth-child(4)::before { background: var(--coral); }

/* Product two-col */
.prod-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .prod-grid { grid-template-columns: 1fr; gap: 32px; } }

.purchase-card {
  background: #fff; border-radius: 32px; padding: 40px;
  box-shadow: 0 16px 48px rgba(255,107,107,0.12);
  position: sticky; top: 96px;
}
@media (max-width: 1000px) { .purchase-card { position: static; padding: 28px; border-radius: 24px; } }

/* Sticky bottom CTA mobile */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,245,236,0.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(45,42,50,0.08);
  padding: 12px 16px env(safe-area-inset-bottom);
}
@media (max-width: 1000px) {
  .mobile-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-cta .btn { flex: 1; }
}

/* Crumbs */
.crumbs { font-size: 13px; color: var(--ink-soft); padding: 24px 0 0; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }

/* Final CTA gradient */
.final-cta-bg {
  border-radius: 48px;
  background:
    radial-gradient(50% 60% at 20% 30%, rgba(255,107,107,0.45), transparent 70%),
    radial-gradient(50% 60% at 80% 70%, rgba(155,126,222,0.40), transparent 70%),
    radial-gradient(60% 70% at 50% 100%, rgba(255,179,71,0.35), transparent 70%),
    linear-gradient(135deg, #FFE8D6, #F0E5FF);
  padding: 120px 24px; text-align: center;
}
@media (max-width: 768px) { .final-cta-bg { padding: 80px 20px; border-radius: 32px; } }

/* Misc */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.divider-soft { height: 1px; background: rgba(45,42,50,0.10); margin: 20px 0; }
.muted-list { font-size: 14px; color: var(--ink-soft); display: grid; gap: 10px; }
.muted-list .row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(45,42,50,0.08); }
.muted-list .row:first-child { border-top: none; padding-top: 0; }
.muted-list .row svg { color: var(--coral); flex-shrink: 0; }

/* Product hero logo block */
.spotify-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--ink); letter-spacing: -0.01em; white-space: nowrap;
}
.spotify-mark .ring {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
}

/* Decorative dotted wave for hero */
.waveform {
  display: flex; align-items: flex-end; gap: 6px; height: 80px;
}
.waveform .bar {
  width: 6px; border-radius: 3px;
  background: linear-gradient(180deg, var(--coral), var(--melon));
  animation: barPulse 1.6s ease-in-out infinite;
}
@keyframes barPulse {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}
