/* ToyPlan — ana səhifə */
:root {
  --bordo: #6b1e2e;
  --bordo-deep: #3e0f1a;
  --gold: #c9a24a;
  --gold-light: #ead7a6;
  --blush: #f8f1ef;
  --rose-line: #ebdad6;
  --ink: #2a1418;
  --ink-soft: #6a5257;
  --white: #ffffff;
  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
.lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 34em; }

/* ---------- Header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  color: var(--white);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.7rem; font-weight: 700; }
.logo img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(234,215,166,.35); }
.logo b { font-weight: 700; }
.logo b span { color: var(--gold-light); }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { text-decoration: none; font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; opacity: .88; }
.menu a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.lang { display: inline-flex; margin-left: 8px; border: 1px solid rgba(234,215,166,.4); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: inherit; font: 600 .8rem var(--body); padding: 6px 12px; cursor: pointer; }
.lang button.active { background: var(--gold); color: var(--bordo-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 520px at 78% 30%, #7d2537 0%, transparent 70%), var(--bordo-deep);
  color: var(--white);
  padding: 140px 0 0;
}
.hero .buta-bg { position: absolute; right: -120px; top: -60px; width: 640px; opacity: .09; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; position: relative; }
.hero-copy { padding-bottom: 110px; }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.4rem); font-weight: 600; line-height: .98; }
.hero h1 .line { display: block; }
.hero h1 .gold { color: var(--gold-light); font-style: italic; font-weight: 500; }
.hero .lede { color: rgba(255,255,255,.78); margin-top: 26px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink);
  padding: 10px 18px 10px 14px; border-radius: 14px; text-decoration: none;
  min-width: 190px;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .72rem; color: var(--ink-soft); line-height: 1.2; }
.store strong { font-size: 1.02rem; line-height: 1.2; }
.store.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.store.ghost small { color: rgba(255,255,255,.65); }
.status { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.25); }

/* Phones */
.phones { position: relative; height: 600px; }
.phone {
  position: absolute; bottom: -40px;
  width: 280px; height: 580px; border-radius: 44px;
  background: #160509; padding: 11px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 1.5px rgba(234,215,166,.25);
}
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--blush); color: var(--ink); position: relative; font-size: 12px; line-height: 1.35; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #160509; z-index: 3; }
.phone.couple { left: 6%; z-index: 2; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.phone.vendor { left: 52%; bottom: -90px; transform: rotate(4deg); animation: rise2 .9s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
@keyframes rise2 { from { transform: translateY(80px) rotate(4deg); opacity: 0; } to { transform: rotate(4deg); } }

.app-top { background: var(--bordo); color: #fff; padding: 40px 14px 14px; }
.app-top .hello { font-size: 11px; opacity: .75; }
.app-top .title { font-family: var(--display); font-size: 21px; font-weight: 700; margin-top: 2px; }
.search { margin-top: 10px; background: rgba(255,255,255,.14); border-radius: 10px; padding: 8px 10px; font-size: 11px; display: flex; gap: 6px; align-items: center; }
.chips { display: flex; gap: 6px; padding: 10px 12px 4px; overflow: hidden; }
.chip { flex: none; background: var(--white); border: 1px solid var(--rose-line); border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 600; }
.chip.on { background: var(--bordo); color: #fff; border-color: var(--bordo); }
.pick { margin: 8px 12px; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 1px 0 var(--rose-line); }
.pick .img { height: 108px; position: relative; }
.pick .tag { position: absolute; left: 8px; top: 8px; background: var(--gold); color: var(--bordo-deep); font-weight: 700; font-size: 9.5px; padding: 3px 8px; border-radius: 999px; }
.pick .meta { padding: 8px 10px 10px; }
.pick .meta b { font-size: 12.5px; display: block; }
.pick .meta span { color: var(--ink-soft); font-size: 10.5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 12px; }
.mini { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 var(--rose-line); }
.mini .img { height: 62px; }
.mini div:last-child { padding: 6px 8px 8px; font-size: 10.5px; }
.mini b { display: block; font-size: 11px; }
.tabbar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; padding: 10px 0 16px; background: var(--white); border-top: 1px solid var(--rose-line); font-size: 9.5px; color: var(--ink-soft); }
.tabbar span.on { color: var(--bordo); font-weight: 700; }

/* placeholder "photos" — warm gradients, no stock images */
.g1 { background: linear-gradient(135deg, #b98a5a 0%, #6b1e2e 70%); }
.g2 { background: linear-gradient(160deg, #e7c9b8 0%, #9c5b5f 100%); }
.g3 { background: linear-gradient(140deg, #3e0f1a 0%, #c9a24a 120%); }
.g4 { background: linear-gradient(150deg, #f1dcc9 0%, #c98f7e 100%); }
.img { position: relative; }
.img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.35), transparent 45%); }

.vend-head { background: var(--bordo-deep); color: #fff; padding: 40px 14px 16px; }
.vend-head .title { font-family: var(--display); font-size: 20px; font-weight: 700; }
.vend-head .sub { font-size: 10.5px; opacity: .7; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.stat { background: var(--white); border-radius: 12px; padding: 10px; box-shadow: 0 1px 0 var(--rose-line); }
.stat small { color: var(--ink-soft); font-size: 10px; display: block; }
.stat b { font-family: var(--display); font-size: 22px; color: var(--bordo); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; padding: 0 12px; }
.bars i { flex: 1; background: var(--gold-light); border-radius: 4px 4px 0 0; }
.bars i:nth-child(5) { background: var(--bordo); }
.msg { margin: 12px; background: var(--white); border-radius: 12px; padding: 10px; display: flex; gap: 8px; box-shadow: 0 1px 0 var(--rose-line); }
.msg .av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.msg b { font-size: 11px; display: block; }
.msg span { font-size: 10.5px; color: var(--ink-soft); }

/* ---------- Categories ---------- */
.cats { background: var(--white); border-bottom: 1px solid var(--rose-line); }
.cats .wrap { display: grid; grid-template-columns: repeat(8, 1fr); }
.cat { padding: 26px 8px; text-align: center; font-size: .9rem; font-weight: 600; border-left: 1px solid var(--rose-line); }
.cat:first-child { border-left: 0; }
.cat svg { width: 30px; height: 30px; margin: 0 auto 10px; stroke: var(--bordo); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }

/* Steps (real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--rose-line); }
.step .n { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--gold); font-weight: 500; }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--ink-soft); }

/* Two audiences */
.duo { background: var(--white); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rose-line); border-radius: 28px; overflow: hidden; }
.side { padding: 52px 48px; }
.side.dark { background: var(--bordo-deep); color: #fff; }
.side.dark .lede { color: rgba(255,255,255,.72); }
.side .who { font-size: .95rem; font-weight: 700; color: var(--bordo); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.side.dark .who { color: var(--gold-light); }
.side h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%236b1e2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 2px; }
.side.dark .ticks li::before { background-color: rgba(234,215,166,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ead7a6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none; background: var(--bordo); color: #fff; }
.btn:hover { background: var(--bordo-deep); }
.side.dark .btn { background: var(--gold); color: var(--bordo-deep); }
.side.dark .btn:hover { background: var(--gold-light); }

/* Principles / trust */
.trust { background: var(--blush); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--rose-line); }
.principle svg { width: 44px; height: 44px; stroke: var(--bordo); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { font-size: 1.5rem; margin-bottom: 8px; }
.principle p { color: var(--ink-soft); }

/* Regions */
.regions { background: var(--bordo); color: #fff; position: relative; overflow: hidden; }
.regions .buta-bg { position: absolute; left: -160px; bottom: -200px; width: 560px; opacity: .08; }
.regions .wrap { position: relative; }
.regions h2 { max-width: 14em; }
.regions .lede { color: rgba(255,255,255,.75); margin-top: 18px; }
.towns { display: flex; flex-wrap: wrap; column-gap: .45em; margin-top: 48px; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.5; color: rgba(255,255,255,.4); }
.towns span { white-space: nowrap; }
.towns span.lit { color: var(--gold-light); }
.towns span:not(:last-child)::after { content: "·"; margin-left: .45em; color: rgba(234,215,166,.35); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
details { border-top: 1px solid var(--rose-line); }
details:last-child { border-bottom: 1px solid var(--rose-line); }
summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--bordo); border-bottom: 2px solid var(--bordo); transform: rotate(45deg); transition: transform .25s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { color: var(--ink-soft); padding: 0 0 24px; max-width: 40em; }

/* Final CTA */
.cta { padding: 0 0 110px; }
.cta-box { background: var(--bordo-deep); color: #fff; border-radius: 32px; padding: 72px 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-box .buta-bg { position: absolute; right: -60px; top: -80px; width: 380px; opacity: .1; }
.cta-box h2 { position: relative; }
.cta-box .lede { color: rgba(255,255,255,.72); margin-top: 16px; position: relative; }
.cta-actions { display: grid; gap: 12px; position: relative; }
.cta-actions a { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-radius: 14px; text-decoration: none; font-weight: 700; }
.cta-actions a.primary { background: var(--gold); color: var(--bordo-deep); }
.cta-actions a.secondary { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.cta-actions small { font-weight: 500; opacity: .75; }

/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--rose-line); padding: 48px 0 36px; font-size: .93rem; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .logo { color: var(--ink); font-size: 1.5rem; }
.foot .logo b span { color: var(--gold); }
.foot h4 { color: var(--ink); font-size: .95rem; margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bordo); text-decoration: underline; }
.foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rose-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .phones { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phone { width: 240px; height: 500px; }
  .phone.couple { left: 4%; }
  .phone.vendor { left: auto; right: 4%; }
  .cats .wrap { grid-template-columns: repeat(4, 1fr); }
  .cat:nth-child(5) { border-left: 0; }
  .cat:nth-child(n+5) { border-top: 1px solid var(--rose-line); }
  .sec-head, .duo-grid, .faq-grid, .cta-box { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .menu a.opt { display: none; }
  .hero { padding-top: 110px; }
  .phones { height: 430px; }
  .phone { width: 200px; height: 420px; border-radius: 36px; padding: 9px; }
  .phone .screen { border-radius: 28px; font-size: 10px; }
  .phone.couple { left: 0; }
  .phone.vendor { right: 0; bottom: -110px; }
  .sec { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rose-line); }
  .side { padding: 36px 24px; }
  .cta-box { padding: 44px 24px; border-radius: 24px; }
  .store { min-width: 0; flex: 1; }
}
@media (max-width: 400px) {
  .phone.vendor { display: none; }
  .phone.couple { left: 50%; margin-left: -100px; }
}

/* =========================================================
   v3 — vau anı, real ekranlar, scroll animasiyaları, dəvətnamə
   ========================================================= */

/* 3 dil düyməsi */
.lang button { padding: 6px 11px; }

/* Real tətbiq ekranı (img/app-*.png qoyulanda HTML maketin üstünü örtür) */
.phone .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 2; border-radius: inherit; }

/* Hero buta — özü-özünü çəkir */
.hero .buta-draw { position: absolute; right: -90px; top: -40px; width: 620px; pointer-events: none; opacity: .5; }
.buta-draw path, .buta-draw circle { fill: none; stroke: url(#goldline); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s .2s cubic-bezier(.6,.1,.2,1) forwards; }
.buta-draw path:nth-child(2) { animation-delay: .6s; }
.buta-draw path:nth-child(3) { animation-delay: 1s; }
.buta-draw circle { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hero başlıq — sətir-sətir açılır */
.hero h1 .line { overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero .lede, .stores, .status { animation: fadeIn 1s .5s both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } }

/* Telefonlar — siçanla 3D */
.phones { perspective: 1400px; }
.phones .tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.phone .glare { position: absolute; inset: 0; border-radius: 44px; pointer-events: none; z-index: 4; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, transparent 38%); }
.hero .glow { position: absolute; width: 520px; height: 520px; right: 8%; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,74,.35), transparent 65%); filter: blur(10px); pointer-events: none; }

/* Scroll animasiyaları — yalnız JS işləyəndə gizlədilir */
.js [data-reveal] { opacity: 0; transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(56px); }
.js [data-reveal="down"] { transform: translateY(-56px); }
.js [data-reveal="left"] { transform: translateX(-80px); }
.js [data-reveal="right"] { transform: translateX(80px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; } .buta-draw path, .buta-draw circle { stroke-dashoffset: 0; } }

/* ---------- Dəvətnamə bölməsi ---------- */
.invite { background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%); overflow: hidden; }
.invite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.invite .new { display: inline-block; background: var(--gold); color: var(--bordo-deep); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.invite .lede { margin-top: 18px; }
.invite .btn { margin-top: 34px; }

.stage { position: relative; height: 780px; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,74,.28), transparent 68%); }

/* Zərf */
.envelope { position: relative; width: 380px; height: 250px; cursor: pointer; transition: transform .9s .2s cubic-bezier(.4,0,.2,1); }
.envelope:not(.open) .card-inv > * { opacity: 0; }
.card-inv > * { transition: opacity .4s .6s; }
.env-back, .env-front, .env-flap { position: absolute; left: 0; right: 0; }
.env-back { inset: 0; background: var(--bordo); border-radius: 10px; box-shadow: 0 30px 60px rgba(62,15,26,.3); }
.env-front { inset: 0; z-index: 3; border-radius: 10px; background:
  linear-gradient(to top right, #7a2536 50%, transparent 50.5%) left / 50% 100% no-repeat,
  linear-gradient(to top left, #7a2536 50%, transparent 50.5%) right / 50% 100% no-repeat,
  linear-gradient(to top, #84293b 42%, transparent 42.5%); pointer-events: none; }
.env-flap { top: 0; height: 150px; z-index: 4; transform-origin: top; transition: transform .7s cubic-bezier(.5,0,.2,1), z-index 0s .35s;
  background: linear-gradient(to bottom, #8d2c40, #6b1e2e); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.seal { position: absolute; left: 50%; top: 118px; width: 64px; height: 64px; margin-left: -32px; z-index: 5; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0d690, #c9a24a 55%, #9c7a2c); box-shadow: 0 6px 14px rgba(0,0,0,.3); display: grid; place-items: center; transition: opacity .3s, transform .3s; }
.seal svg { width: 34px; height: 34px; }
.tap { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-weight: 600; color: var(--bordo); font-size: .95rem; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* Kart */
.card-inv { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; height: 230px; border-radius: 8px; background: #fffdf9; color: var(--ink); text-align: center;
  padding: 34px 26px 26px; overflow: hidden; transition: transform 1s .45s cubic-bezier(.3,.9,.3,1), height 1s .45s cubic-bezier(.3,.9,.3,1); box-shadow: 0 20px 50px rgba(62,15,26,.25); }
.card-inv::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold); border-radius: 4px; pointer-events: none; }
.card-inv::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(201,162,74,.4); border-radius: 2px; pointer-events: none; }
.card-inv .orn { width: 46px; margin: 0 auto 10px; }
.card-inv .inv-top { font-size: .78rem; color: var(--ink-soft); max-width: 22em; margin: 0 auto; }
.card-inv .names { font-family: var(--display); font-size: 2.9rem; line-height: 1.05; color: var(--bordo); margin: 14px 0 6px; font-weight: 600; }
.card-inv .names em { font-style: italic; color: var(--gold); font-weight: 500; padding: 0 .1em; }
.card-inv .when { font-weight: 700; font-size: .95rem; }
.card-inv .where { font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 20px 0 18px; }
.countdown div { min-width: 58px; padding: 8px 4px; border-radius: 10px; background: var(--blush); }
.countdown b { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--bordo); }
.countdown small { font-size: .68rem; color: var(--ink-soft); }
.rsvp { display: flex; gap: 8px; justify-content: center; }
.rsvp button { font: 700 .85rem var(--body); padding: 11px 16px; border-radius: 10px; border: 0; cursor: pointer; }
.rsvp .yes { background: var(--bordo); color: #fff; }
.rsvp .no { background: transparent; color: var(--bordo); box-shadow: inset 0 0 0 1.5px var(--bordo); }
.rsvp-done { display: none; font-weight: 700; color: var(--bordo); padding: 10px 0; }
.rsvp-done small { display: block; font-weight: 500; color: var(--ink-soft); }
.card-inv.answered .rsvp { display: none; }
.card-inv.answered .rsvp-done { display: block; animation: fadeIn .5s both; }

.envelope.open .env-flap { transform: rotateX(180deg); z-index: 1; }
.envelope.open .seal { opacity: 0; transform: scale(.6); }
.envelope.open .tap { display: none; }
.envelope.open { transform: translateY(200px); }
.envelope.open .card-inv { height: 490px; transform: translateY(-180px); z-index: 6; cursor: default; }
.envelope.open { cursor: default; }

/* Dəvətnamə xüsusiyyətləri */
.inv-feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.inv-feats li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.inv-feats svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blush); stroke: var(--bordo); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inv-feats b { display: block; font-size: .98rem; }
.inv-feats span { font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 980px) {
  .invite-grid { grid-template-columns: 1fr; }
  .stage { height: 780px; }
}
@media (max-width: 680px) {
  .hero .buta-draw { width: 420px; right: -160px; opacity: .35; }
  .envelope { width: 320px; height: 210px; }
  .stage { height: 760px; }
  .env-flap { height: 126px; }
  .seal { top: 96px; }
  .envelope.open .card-inv { height: 500px; transform: translateY(-160px); }
  .card-inv { padding: 30px 18px 22px; }
  .card-inv .names { font-size: 2.4rem; }
  .countdown div { min-width: 50px; }
  .inv-feats { grid-template-columns: 1fr; }
  .lang button { padding: 6px 9px; }
}

/* Yandan gələn animasiyalar üfüqi sürüşmə yaratmasın */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* =========================================================
   v4 — sakit, premium tipoqrafiya və balanslı hero
   ========================================================= */
body { font-size: 16px; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.12; }
.lede { font-size: 1.02rem; line-height: 1.7; }

/* Header */
.top .wrap { min-height: 84px; }
.logo { font-size: 1.5rem; }
.logo img { width: 34px; height: 34px; }
.menu a { font-size: .86rem; letter-spacing: .01em; opacity: .8; }
.lang button { font-size: .74rem; padding: 5px 10px; }

/* Hero */
.hero { padding: 150px 0 120px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-copy { padding-bottom: 0; max-width: 520px; }
.hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.7rem); font-weight: 500; line-height: 1.1; }
.hero .lede { font-size: 1.02rem; margin-top: 24px; max-width: 30em; color: rgba(255,255,255,.72); }
.stores { margin-top: 34px; gap: 10px; }
.store { min-width: 168px; padding: 9px 16px 9px 12px; border-radius: 12px; }
.store strong { font-size: .95rem; }
.store svg { width: 22px; height: 22px; }
.status { font-size: .82rem; margin-top: 16px; }
.hero-facts { display: flex; margin: 40px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(234,215,166,.18); animation: fadeIn 1s .7s both; }
.hero-facts li { flex: 1; font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.62); padding-right: 18px; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid rgba(234,215,166,.18); }
.hero-facts b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--gold-light); margin-bottom: 2px; }

.phones { height: 640px; }
.phone { width: 268px; height: 556px; border-radius: 42px; }
.phone .screen { border-radius: 32px; }
.phone.couple { top: 0; bottom: auto; left: 6%; }
.phone.vendor { top: 74px; bottom: auto; left: 52%; transform: rotate(3deg) scale(.94); animation-name: rise3; }
@keyframes rise3 { from { transform: translateY(80px) rotate(3deg) scale(.94); opacity: 0; } to { transform: rotate(3deg) scale(.94); } }
.phones .tilt::after { content: ""; position: absolute; left: 10%; right: 6%; bottom: -6px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(6px); }
.hero .buta-draw { width: 560px; right: -110px; top: -20px; opacity: .38; }
.hero .glow { bottom: -60px; }

/* Kateqoriyalar */
.cat { padding: 24px 6px; font-size: .84rem; font-weight: 500; color: var(--ink-soft); }
.cat svg { width: 26px; height: 26px; stroke-width: 1.3; }

/* Bölmələr */
.sec { padding: 128px 0; }
.sec-head { margin-bottom: 64px; }
.step .n { font-size: 2.8rem; }
.step h3 { font-size: 1.45rem; }
.step p, .principle p, .side .lede { font-size: .97rem; }
.side { padding: 56px 52px; }
.side h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.side .who { font-size: .86rem; font-weight: 600; }
.ticks li { font-size: .95rem; }
.principle h3 { font-size: 1.35rem; }
.principle svg { width: 38px; height: 38px; stroke-width: 1.2; }
.towns { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.invite .new { font-size: .78rem; font-weight: 600; }
.inv-feats b { font-size: .93rem; }
.inv-feats span { font-size: .86rem; }
summary { font-size: .98rem; font-weight: 600; }
details p { font-size: .95rem; }
.btn { padding: 13px 22px; font-size: .92rem; font-weight: 600; }
.cta-box { padding: 80px 64px; }
.cta-actions a { font-weight: 600; font-size: .95rem; }

@media (max-width: 980px) {
  .hero { min-height: 0; padding: 130px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 560px; }
  .phones { max-width: 520px; width: 100%; margin: 0 auto; }
  .phones { height: 600px; }
  .phone { width: 240px; height: 500px; }
  .phone.couple { left: 4%; }
  .phone.vendor { left: auto; right: 4%; top: 64px; }
}
@media (max-width: 680px) {
  .hero { padding: 108px 0 70px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-facts li { font-size: .76rem; padding-right: 10px; }
  .hero-facts li + li { padding-left: 10px; }
  .hero-facts b { font-size: 1.05rem; }
  .phones { height: 470px; }
  .phone { width: 200px; height: 420px; border-radius: 34px; }
  .phone .screen { border-radius: 26px; }
  .phone.vendor { top: 48px; }
  .sec { padding: 84px 0; }
  .side { padding: 40px 24px; }
  .cta-box { padding: 48px 24px; }
}
@media (max-width: 400px) {
  .phone.couple { left: 50%; margin-left: -100px; }
}
@media (max-width: 680px) { .hero .buta-draw { opacity: .18; width: 460px; right: -200px; } }
