:root {
  --ink: #17141c;
  --muted: #68636d;
  --paper: #f8f5ef;
  --white: #fff;
  --line: rgba(23, 20, 28, .12);
  --violet: #7357da;
  --violet-dark: #5c42be;
  --yellow: #f3c95d;
  --blue: #2aabee;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
main { overflow: hidden; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; letter-spacing: -.02em; }
.brand b { font-weight: 750; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); }
.brand-mark svg { width: 24px; height: 24px; }
.header-cta { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-size: 14px; font-weight: 650; padding: 11px 14px 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); transition: .2s ease; }
.header-cta svg { width: 18px; }
.header-cta:hover { background: #fff; transform: translateY(-1px); }

.hero { width: min(1180px, calc(100% - 48px)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 54px; padding: 58px 0 84px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.eyebrow { margin: 0 0 22px; color: var(--violet-dark); font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .16em; font-weight: 750; }
.eyebrow span { display: inline-block; width: 22px; height: 1px; margin: 0 8px 3px 0; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 600px; font-size: clamp(58px, 6vw, 86px); line-height: .96; }
h1 em, h2 em { color: var(--violet); font-weight: 400; }
.hero-text { max-width: 530px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.primary-cta { min-height: 58px; display: inline-flex; align-items: center; gap: 11px; padding: 0 20px; border-radius: 14px; color: #fff; background: var(--violet); box-shadow: 0 15px 35px rgba(97, 72, 190, .25); text-decoration: none; font-size: 16px; font-weight: 700; transition: .2s ease; }
.primary-cta:hover { background: var(--violet-dark); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(97, 72, 190, .32); }
.telegram-icon { width: 23px; height: 23px; }
.arrow-icon { width: 19px; height: 19px; margin-left: 4px; }
.cta-note { margin: 0 0 0 6px; color: var(--muted); font-size: 13px; }
.cta-note span { margin-right: 5px; color: #3a9a68; }

.hero-visual { width: 100%; min-width: 0; min-height: 540px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 510px; height: 510px; border-radius: 50%; background: #ebe4fd; }
.orbit { position: absolute; border: 1px solid rgba(115,87,218,.18); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(243,201,93,.19); }
.orbit-one { width: 585px; height: 400px; transform: rotate(-26deg); }
.orbit-one::after { top: 79px; right: 31px; }
.orbit-two { width: 420px; height: 585px; transform: rotate(55deg); }
.orbit-two::after { bottom: 89px; left: 26px; background: var(--violet); box-shadow: 0 0 0 6px rgba(115,87,218,.15); }
.phone { position: relative; z-index: 2; width: 304px; height: 574px; padding: 8px; overflow: hidden; color: #18202a; background: #111; border: 2px solid #252329; border-radius: 40px; box-shadow: 0 35px 75px rgba(27,20,44,.27); transform: rotate(2.5deg); }
.phone::before { content: ""; z-index: 4; position: absolute; top: 12px; left: 50%; width: 82px; height: 19px; transform: translateX(-50%); border-radius: 14px; background: #111; }
.phone-bar { position: absolute; z-index: 3; top: 8px; left: 8px; right: 8px; height: 25px; padding: 5px 14px; display: flex; justify-content: space-between; color: #fff; background: #6453b9; border-radius: 31px 31px 0 0; font-size: 9px; font-weight: 700; }
.phone-status { letter-spacing: -1px; }
.telegram-head { height: 61px; margin-top: 24px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #fff; background: #6453b9; }
.telegram-head .back { font-size: 28px; font-weight: 300; }
.telegram-head .avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #201c28; }
.telegram-head .avatar svg { width: 23px; }
.telegram-head b { display: block; font-size: 12px; }
.telegram-head small { display: block; margin-top: 2px; opacity: .7; font-size: 9px; }
.telegram-head .dots { margin-left: auto; letter-spacing: 2px; transform: rotate(90deg); }
.phone-screen { position: relative; height: calc(100% - 85px); padding: 9px 10px 12px; background-color: #e9e4df; background-image: radial-gradient(rgba(89,76,105,.06) 1px, transparent 1px); background-size: 13px 13px; border-radius: 0 0 31px 31px; }
.chat-date { width: fit-content; margin: 0 auto 6px; padding: 3px 7px; color: #fff; background: rgba(90,78,91,.38); border-radius: 8px; font-size: 8px; }
.video-wrap { width: 194px; margin-left: 3px; overflow: hidden; border-radius: 10px 10px 0 0; background: #1e1b25; }
.video-wrap video { width: 100%; height: 155px; display: block; object-fit: cover; }
.message { position: relative; width: 194px; margin-left: 3px; padding: 8px 8px 13px; background: #fff; border-radius: 0 0 10px 10px; font-size: 9px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.message p { margin: 5px 0 0; padding: 5px 6px; color: #51515a; background: #f1eff4; border-radius: 5px; }
.message small { position: absolute; right: 6px; bottom: 3px; color: #8b8790; font-size: 7px; }
.bot-button { width: 194px; margin: 4px 0 0 3px; padding: 7px; text-align: center; color: #6551b9; background: #fff; border-radius: 8px; font-size: 9px; font-weight: 700; }
.bot-button.secondary { color: #4f4c55; }
.floating-card { position: absolute; z-index: 3; min-width: 178px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.7); border-radius: 15px; box-shadow: 0 18px 45px rgba(50,39,82,.16); backdrop-filter: blur(10px); }
.floating-card > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #f2edff; }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font-size: 13px; }
.floating-card small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.time-card { top: 72px; right: -5px; transform: rotate(3deg); }
.versions-card { left: -8px; bottom: 70px; transform: rotate(-4deg); }

.benefits { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits article { display: flex; gap: 17px; padding: 32px 30px; border-right: 1px solid var(--line); }
.benefits article:first-child { padding-left: 0; }
.benefits article:last-child { border-right: 0; }
.benefits article > span { color: var(--violet); font-family: var(--serif); font-size: 15px; font-style: italic; }
.benefits b { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.benefits p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.occasions, .faq { width: min(1020px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section-heading { text-align: center; }
.section-heading h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.05; }
.occasion-list { max-width: 800px; margin: 50px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.occasion-list span { padding: 13px 17px; background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.voice-note { position: relative; max-width: 760px; margin: 68px auto 0; display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 30px; padding: 32px 40px; overflow: hidden; color: #fff; background: var(--ink); border-radius: 24px; }
.voice-note b { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.voice-note p { margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.5; }
.sound-wave { height: 72px; display: flex; align-items: center; justify-content: center; gap: 5px; color: #a98ef4; }
.sound-wave i { width: 4px; height: 24px; border-radius: 4px; background: currentColor; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(8) { height: 42px; }
.sound-wave i:nth-child(3), .sound-wave i:nth-child(7) { height: 60px; }
.sound-wave i:nth-child(4), .sound-wave i:nth-child(6) { height: 35px; }
.sound-wave i:nth-child(5) { height: 68px; }
.sparkle { position: absolute; top: -16px; right: 22px; color: var(--yellow); font-size: 68px; opacity: .75; }

.faq { padding-top: 30px; }
.faq-grid { max-width: 760px; margin: 48px auto 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 40px 23px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 21px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 22px; right: 5px; color: var(--violet); font-family: var(--sans); font-size: 22px; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { max-width: 650px; margin: -6px 0 23px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.final-cta { position: relative; overflow: hidden; padding: 102px 24px 108px; color: #fff; background: var(--ink); text-align: center; }
.final-cta::before { content: ""; position: absolute; width: 420px; height: 420px; left: 50%; bottom: -345px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); }
.final-cta .eyebrow { color: #bda9ff; }
.final-cta h2 { position: relative; font-size: clamp(50px, 6vw, 76px); line-height: .98; }
.final-cta p:not(.eyebrow) { margin: 23px 0 28px; color: rgba(255,255,255,.62); }
.final-cta .primary-cta { position: relative; }
.final-note { position: absolute; color: rgba(255,255,255,.08); font-family: var(--serif); font-size: 140px; }
.note-left { top: 45px; left: 8%; transform: rotate(-18deg); }
.note-right { right: 8%; bottom: 15px; transform: rotate(15deg); }

footer { min-height: 120px; padding: 28px max(24px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; background: #0f0d13; color: rgba(255,255,255,.58); font-size: 11px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { width: 30px; height: 30px; background: rgba(255,255,255,.1); }
footer > p { text-align: center; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-text { max-width: 640px; }
  .hero-visual { margin-top: 5px; }
  .benefits article { padding: 26px 18px; }
  .benefits article:first-child { padding-left: 18px; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 35px 24px; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 700px) {
  .site-header, .hero, .benefits { width: min(100% - 30px, 1180px); }
  .site-header { height: 70px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { font-size: 0; padding: 9px; }
  .header-cta::before { content: "В бота"; font-size: 13px; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 52px 0 70px; }
  h1 { font-size: clamp(44px, 13vw, 54px); }
  .hero-text { margin-top: 24px; font-size: 16px; }
  .primary-cta { width: 100%; justify-content: center; }
  .hero-visual { min-height: 520px; transform: scale(.88); margin: -15px 0 -35px; }
  .hero-visual::before { width: 450px; height: 450px; }
  .orbit { display: none; }
  .time-card { right: 0; }
  .versions-card { left: 0; }
  .benefits { grid-template-columns: 1fr; }
  .benefits article, .benefits article:first-child { padding: 22px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefits article:last-child { border-bottom: 0; }
  .occasions, .faq { width: min(100% - 30px, 1020px); padding: 84px 0; }
  .section-heading h2 { font-size: 42px; }
  .occasion-list { margin-top: 35px; }
  .occasion-list span { font-size: 12px; }
  .voice-note { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; padding: 30px 25px; text-align: center; }
  .sound-wave { height: 55px; }
  .voice-note b { font-size: 24px; }
  .faq { padding-top: 0; }
  summary { font-size: 19px; }
  .final-cta { padding: 82px 20px 88px; }
  .final-cta .primary-cta { width: auto; }
  .final-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
