/* ===== Лендинг (басты бет) ===== */
html { scroll-behavior: smooth; }
body.landing { overflow-x: hidden; }
.landing img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.landing a { color: inherit; }
.landing section { scroll-margin-top: 80px; }

/* Навигация */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(31, 13, 25, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { width: min(1240px, calc(100vw - 32px)); display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 24px; white-space: nowrap; }
.brand i { font-style: italic; color: var(--rose-2); }
.nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-links a { text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { text-decoration: none; padding: 10px 18px; white-space: nowrap; }

/* Hero */
.l-hero { position: relative; padding: 72px 0 40px; }
.l-hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(224, 86, 122, .16); border: 1px solid rgba(255, 143, 171, .35); color: #ffc2d2; font-weight: 800; font-size: 13px; letter-spacing: .4px; }
.l-hero h1 { text-align: left; font-size: clamp(46px, 6.2vw, 80px); line-height: .98; margin: 20px 0 20px; }
.l-hero h1 em { color: var(--rose-2); }
.l-hero .lead { font-size: 19px; line-height: 1.6; color: #f0d6df; max-width: 520px; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row .btn { text-decoration: none; padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--rose-2); }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-weight: 700; font-size: 14px; }
.trust span::before { content: "✓"; color: var(--rose-2); margin-right: 6px; font-weight: 900; }

.shot-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #120810; box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03); }
.shot-frame .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #2a1222; border-bottom: 1px solid var(--border); }
.shot-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.shot-frame .bar small { margin-left: 12px; font-size: 12px; color: var(--muted); font-weight: 700; }
.hero-visual { position: relative; }
.hero-visual .shot-frame { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform .6s; }
.hero-visual:hover .shot-frame { transform: perspective(1400px) rotateY(-2deg); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(42, 18, 34, .9); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); font-weight: 800; font-size: 14px; animation: bob 5s ease-in-out infinite; }
.float-card b { font-size: 24px; }
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.float-card.c1 { left: -28px; bottom: 54px; }
.float-card.c2 { right: -18px; top: 70px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Ұшатын жүректер */
.hearts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hearts span { position: absolute; bottom: -40px; color: var(--rose-2); opacity: 0; animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .5; } 100% { transform: translateY(-110vh) rotate(40deg); opacity: 0; } }
.l-hero .wrap { position: relative; z-index: 1; }

/* Сәттер жолағы */
.occasions { padding: 26px 0; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .025); overflow: hidden; margin-top: 40px; }
.marquee { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 600; white-space: nowrap; color: #f3cfdb; }
.marquee span::after { content: "♥"; font-style: normal; font-size: 16px; color: var(--rose); margin-left: 48px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Секциялар */
.sec { padding: 110px 0 40px; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head .kicker { color: var(--rose-2); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; }

/* Қадамдар */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: 20px; background: linear-gradient(160deg, rgba(61, 26, 49, .8), rgba(36, 16, 29, .8)); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 700; color: rgba(255, 143, 171, .14); }
.step .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(224, 86, 122, .18); font-size: 26px; }
.step h3 { font-family: var(--serif); font-size: 26px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Бөлмелер туры */
.tour { display: grid; gap: 90px; }
.tour-item { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.tour-item:nth-child(even) .shot-frame { order: 2; }
.tour-item .tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(216, 178, 119, .14); color: var(--gold); font-weight: 800; font-size: 13px; }
.tour-item h3 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; margin: 14px 0 14px; }
.tour-item p { color: #ecd0da; font-size: 17px; line-height: 1.65; margin: 0; }
.tour-item ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.tour-item li { display: flex; gap: 10px; color: var(--muted); font-weight: 600; }
.tour-item li::before { content: "♥"; color: var(--rose); flex: none; }

/* Мүмкіндіктер */
.grid-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); transition: border-color .25s, transform .25s, background .25s; }
.feat:hover { border-color: rgba(255, 143, 171, .5); transform: translateY(-4px); background: rgba(255, 255, 255, .06); }
.feat b { font-size: 30px; }
.feat h4 { margin: 12px 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }

/* Салыстыру */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.compare > div { padding: 30px; border-radius: 20px; border: 1px solid var(--border); }
.compare .old { background: rgba(255, 255, 255, .025); }
.compare .new { background: linear-gradient(160deg, rgba(224, 86, 122, .22), rgba(61, 26, 49, .6)); border-color: rgba(255, 143, 171, .45); }
.compare h3 { font-family: var(--serif); font-size: 28px; margin: 0 0 16px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; line-height: 1.45; }
.compare .old li { color: var(--muted); }
.compare .old li::before { content: "✕"; color: #a57d8c; }
.compare .new li::before { content: "✓"; color: var(--rose-2); font-weight: 900; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); padding: 0 22px; transition: background .2s; }
.faq details[open] { background: rgba(255, 255, 255, .065); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose-2); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; }

/* Соңғы CTA + форма */
.final { padding: 110px 0 90px; }
.final .wrap { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; padding: 48px; border-radius: 28px; background: radial-gradient(circle at 0% 0%, rgba(224, 86, 122, .35), transparent 55%), linear-gradient(160deg, #3a1830, #200d1a); border: 1px solid var(--border); }
.final h2 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; margin: 0 0 18px; }
.final h2 em { color: var(--rose-2); }
.final .lead { font-size: 18px; line-height: 1.6; color: #f0d6df; margin: 0; }
.final .create-card { width: 100%; max-height: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }

footer.l-foot { padding: 30px 0 46px; color: var(--muted); font-size: 14px; }
footer.l-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 26px; }

/* Мобильдегі төменгі батырма */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; text-align: center; text-decoration: none; padding: 16px; font-size: 17px; border-radius: 14px; transition: transform .3s, opacity .3s; }
.sticky-cta.hide { transform: translateY(120%); opacity: 0; }

/* Пайда болу анимациясы */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* хидер сыймаса — тек «Демо» қалады */
@media (max-width: 1239px) {
  .nav-links a:not(.nav-demo) { display: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .l-hero { padding-top: 40px; }
  .l-hero .wrap, .tour-item, .final .wrap { grid-template-columns: 1fr; gap: 36px; }
  .tour-item:nth-child(even) .shot-frame { order: 0; }
  .hero-visual .shot-frame { transform: none; }
  .float-card.c1 { left: 8px; bottom: -18px; }
  .float-card.c2 { right: 8px; top: 48px; }
  .steps, .grid-feat { grid-template-columns: 1fr 1fr; }
  .final .wrap { padding: 26px; }
  .sticky-cta { display: block; }
}
@media (max-width: 620px) {
  .steps, .grid-feat, .compare { grid-template-columns: 1fr; }
  .sec { padding-top: 80px; }
  .tour { gap: 64px; }
  .float-card { font-size: 12px; padding: 9px 12px; }
  .float-card b { font-size: 19px; }
  .brand { font-size: 20px; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
  .final .wrap { padding: 18px; border-radius: 22px; }
  .final .create-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee, .float-card, .hearts span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* тіл ауыстырғыш */
.nav .nav-lang { flex: none; }
@media (max-width: 960px) {
  .nav .nav-lang { margin-left: auto; }
  .nav .nav-lang ~ .btn { margin-left: 0; }
}
@media (max-width: 620px) {
  .nav .wrap { gap: 10px; }
  .nav .nav-lang button { padding: 5px 7px; font-size: 11px; }
}
/* телефонда логотип екі жолға: «Махаббат / мұражайы» — кесілмейді */
@media (max-width: 620px) {
  .brand { font-size: 19px; line-height: .95; }
  .brand .brand-txt i { display: block; font-size: 15px; }
}
.nav-links .nav-demo { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 190, 210, .35); }

/* демо сілтемелері */
.nav-links .nav-demo { color: #ffd6e0; }
.demo-btn::first-letter { color: var(--rose-2); }
.demo-link { display: inline-block; margin-top: 18px; font-weight: 800; color: #ffd6e0; text-decoration: none; border-bottom: 1px dashed rgba(255, 214, 224, .5); padding-bottom: 2px; }
.demo-link:hover { color: #fff; border-bottom-color: #fff; }

/* баға */
.price-note { margin: -6px 0 6px; padding: 10px 14px; border-radius: 12px; background: rgba(224, 86, 122, .14); border: 1px solid rgba(255, 143, 171, .35); color: #ffd6e0; font-weight: 700; font-size: 14px; }
.price-note b { color: #fff; font-size: 16px; }
