@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@600;700&display=swap');

:root {
  --ink: #0b1026;
  --muted: #5e6680;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --line: rgba(17, 26, 64, .11);
  --violet: #6c4cff;
  --blue: #246bfe;
  --cyan: #22d3ee;
  --lime: #c8ff61;
  --night: #080b20;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(16, 23, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .2; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(8, 11, 32, .86); backdrop-filter: blur(20px); color: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: Unbounded, sans-serif; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--night); background: linear-gradient(135deg, var(--lime), var(--cyan)); box-shadow: 0 0 30px rgba(34,211,238,.35); }
.main-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav a { padding: 10px 13px; border-radius: 12px; color: rgba(255,255,255,.74); font-size: 14px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
.header .button { min-height: 44px; padding: 0 18px; font-size: 14px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-grid { min-height: min(760px, calc(100svh - 76px)); padding-block: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: center; gap: clamp(42px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: #52617c; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(200,255,97,.26); border-radius: 999px; color: var(--lime); background: rgba(200,255,97,.08); }
.hero h1 { max-width: 800px; margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(42px, 6vw, 76px); line-height: .99; letter-spacing: -.065em; text-wrap: balance; }
.lead { max-width: 660px; margin: 26px 0 0; color: #bdc6dc; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 15px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .faq button:focus-visible, .menu-button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 14px 34px rgba(62,84,255,.3); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(62,84,255,.42); }
.text-link { color: #fff; font-weight: 800; text-underline-offset: 5px; }
.glow { position: absolute; z-index: -1; width: 500px; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .22; }
.g1 { top: -240px; left: 18%; background: var(--violet); }
.g2 { right: -220px; bottom: -300px; background: var(--cyan); }

.product-visual { position: relative; min-height: 440px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035)); box-shadow: 0 50px 100px rgba(0,0,0,.34); backdrop-filter: blur(12px); transform: rotate(1.5deg); }
.product-visual::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(108,76,255,.35), rgba(34,211,238,.12)); }
.visual-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 24px; color: #fff; font-weight: 800; }
.dots { color: var(--lime); font-size: 9px; letter-spacing: 5px; }
.visual-prompt, .visual-response { border-radius: 22px; line-height: 1.55; }
.visual-prompt { margin-left: 38px; padding: 24px; color: #172042; background: #f4f6ff; box-shadow: 0 16px 36px rgba(0,0,0,.16); }
.visual-prompt::before { content: 'Ваш запрос'; display: block; margin-bottom: 10px; color: #6d7590; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visual-response { margin: 16px 38px 0 0; padding: 26px; color: #dce3f5; background: rgba(7,10,29,.92); }
.visual-response::before { content: 'Ответ Qwen'; display: block; margin-bottom: 17px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visual-response i { display: block; height: 8px; margin-bottom: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.34), rgba(255,255,255,.06)); }
.visual-response i:nth-child(1) { width: 93%; }.visual-response i:nth-child(2) { width: 77%; }.visual-response i:nth-child(3) { width: 58%; }
.visual-response strong { display: inline-flex; margin-top: 12px; padding: 7px 10px; border-radius: 9px; color: var(--lime); background: rgba(200,255,97,.1); font-size: 12px; }

.section { padding-block: clamp(76px, 9vw, 128px); }
.section h2 { max-width: 820px; margin: 0 0 48px; font-family: Unbounded, sans-serif; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.section h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.section p { line-height: 1.7; }
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset; transition: .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:nth-child(1), .card:nth-child(4) { grid-column: span 7; }
.card:nth-child(2), .card:nth-child(3) { grid-column: span 5; }
.card:nth-child(n+5) { grid-column: span 6; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 52px; border-radius: 15px; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--violet), var(--blue)); }
.card:nth-child(2n) .card-icon { color: var(--night); background: linear-gradient(135deg, var(--lime), var(--cyan)); }
.card p { margin: 0; color: var(--muted); }

.feature { color: #fff; background: var(--night); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.feature h2 { margin-bottom: 22px; }
.feature p:not(.eyebrow) { max-width: 580px; margin: 0 0 30px; color: #b9c3da; font-size: 18px; }
.feature .eyebrow { color: var(--cyan); }
.abstract-flow { min-height: 430px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 36px; background: radial-gradient(circle at 25% 20%, rgba(108,76,255,.7), transparent 35%), radial-gradient(circle at 80% 72%, rgba(34,211,238,.55), transparent 36%), #101536; }
.abstract-flow::after { content: 'QWEN'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: Unbounded, sans-serif; font-size: clamp(48px, 7vw, 86px); letter-spacing: -.08em; color: #fff; }
.abstract-flow span { position: absolute; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; animation: orbit 12s linear infinite; }
.abstract-flow span:nth-child(1){inset:8%}.abstract-flow span:nth-child(2){inset:19%;animation-direction:reverse}.abstract-flow span:nth-child(3){width:18px;height:18px;left:12%;top:18%;background:var(--lime);border:0}.abstract-flow span:nth-child(4){width:22px;height:22px;right:10%;bottom:16%;background:var(--cyan);border:0}
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto}.abstract-flow span{animation:none}.button,.card{transition:none} }

.soft { background: #eceefa; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: steps; }
.steps article { position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.68); }
.steps article:not(:last-child)::after { content: '→'; position: absolute; top: 34px; right: -17px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--violet); }
.steps i { display: block; margin-bottom: 55px; color: var(--violet); font-family: Unbounded, sans-serif; font-style: normal; font-size: 14px; }
.steps p { margin: 0; color: var(--muted); }

.proof { color: #fff; background: linear-gradient(145deg, #111738, #080b20); }
.proof .eyebrow { color: var(--lime); }
.proof-grid { display: grid; grid-template-columns: 1fr .72fr 1fr; align-items: stretch; gap: 16px; }
.proof-grid article, .proof-action { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 25px; background: rgba(255,255,255,.055); }
.proof-grid article span { display: inline-flex; margin-bottom: 42px; padding: 7px 10px; border-radius: 8px; color: #aeb8d0; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.proof-grid p { margin: 0; }
.proof-action { display: flex; flex-direction: column; justify-content: center; color: #12172e; background: linear-gradient(145deg, var(--lime), var(--cyan)); }
.proof-action b { font-size: 32px; }
.proof-result { box-shadow: inset 0 0 0 1px rgba(34,211,238,.28); }
.proof-note { max-width: 760px; margin: 30px 0 0; color: #9da8c2; font-size: 13px; }

.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.use-grid article { min-height: 260px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 27px; background: #fff; }
.use-grid article:nth-child(3n+1) { background: linear-gradient(145deg, #edf4ff, #fff); }
.use-grid p { color: var(--muted); }
.card-link { margin-top: auto; padding-top: 28px; color: var(--blue); font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.audience { background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-grid article { padding: 30px; border-top: 2px solid var(--ink); background: linear-gradient(to bottom, #f5f7ff, transparent); }
.audience-grid i { display: block; margin-bottom: 80px; color: var(--violet); font-family: Unbounded, sans-serif; font-style: normal; font-size: 13px; }
.audience-grid p { color: var(--muted); }

.info { color: #fff; background: var(--blue); }
.info .eyebrow { color: var(--lime); }
.info h2 { margin: 0; }
.info-copy { margin: 0; padding: 30px; border-left: 1px solid rgba(255,255,255,.3); color: #e5eaff; font-size: clamp(17px, 2vw, 21px); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a { min-height: 180px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 23px; background: #fff; text-decoration: none; transition: .2s ease; }
.related-grid a:hover { color: #fff; background: var(--violet); transform: translateY(-4px); }
.related-grid span { color: var(--muted); font-size: 14px; }
.related-grid a:hover span { color: rgba(255,255,255,.72); }

.faq-shell { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(40px, 8vw, 110px); }
.faq-shell h2 { position: sticky; top: 120px; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq article { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.faq button { width: 100%; min-height: 78px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; color: var(--ink); background: transparent; font-weight: 800; text-align: left; cursor: pointer; }
.faq button:hover { background: #f9faff; }
.faq button span { flex: 0 0 auto; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--violet); font-size: 23px; font-weight: 400; }
.faq article p { display: none; margin: 0; padding: 0 72px 24px 22px; color: var(--muted); }
.faq article.open { border-color: rgba(108,76,255,.4); box-shadow: 0 12px 35px rgba(56,52,135,.08); }
.faq article.open p { display: block; }

.final { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 150px); color: #fff; text-align: center; background: linear-gradient(135deg, #6c4cff, #245cff 58%, #05a9ca); }
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% -30%, rgba(255,255,255,.34), transparent 48%); }
.final .shell { position: relative; }
.final h2 { max-width: 860px; margin: 0 auto; font-family: Unbounded, sans-serif; font-size: clamp(35px, 5vw, 62px); line-height: 1.05; letter-spacing: -.06em; }
.final p { max-width: 650px; margin: 22px auto 32px; color: #e6eaff; font-size: 19px; line-height: 1.6; }
.button-light { color: var(--night); background: var(--lime); box-shadow: 0 16px 40px rgba(20,26,60,.2); }
.final small { display: block; margin-top: 17px; color: rgba(255,255,255,.7); }

.footer { padding: 64px 0 24px; color: #c5ccdf; background: #060819; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer p { max-width: 280px; color: #79839f; line-height: 1.6; }
.footer nav { display: flex; flex-direction: column; gap: 12px; }
.footer nav a { color: #9ea8c0; font-size: 14px; text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #69738d; font-size: 13px; }
.legal, .not-found { min-height: 68vh; padding-block: 100px; }
.legal h1, .not-found h1 { max-width: 900px; font-family: Unbounded, sans-serif; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.06em; }
.legal p, .not-found p { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.legal .button, .not-found .button { margin-top: 24px; }

@media (max-width: 980px) {
  .header-inner { min-height: 68px; }
  .header > .shell { width: min(100% - 32px, 1180px); }
  .header .button { display: none; }
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 16px; right: 16px; padding: 12px; display: none; flex-direction: column; align-items: stretch; border: 1px solid rgba(255,255,255,.12); border-radius: 0 0 20px 20px; background: rgba(8,11,32,.98); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .main-nav.open { display: flex; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .product-visual { width: min(640px, 100%); min-height: 390px; }
  .card { grid-column: span 6 !important; }
  .split { grid-template-columns: 1fr; }
  .abstract-flow { min-height: 360px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-action { min-height: 200px; }
  .proof-grid article span { margin-bottom: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .hero-grid { padding-block: 60px 82px; gap: 50px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .lead { font-size: 17px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .text-link { text-align: center; }
  .product-visual { min-height: 330px; padding: 12px; border-radius: 25px; transform: none; }
  .product-visual::before { inset: 12px -10px -12px 10px; }
  .visual-prompt { margin-left: 18px; padding: 18px; font-size: 14px; }
  .visual-response { margin: 12px 18px 0 0; padding: 18px; }
  .section { padding-block: 72px; }
  .section h2 { margin-bottom: 34px; }
  .cards, .use-grid, .audience-grid, .steps, .related-grid, .faq-shell { grid-template-columns: 1fr; }
  .card { grid-column: auto !important; min-height: 230px; padding: 24px; }
  .card-icon { margin-bottom: 40px; }
  .steps article { min-height: auto; }
  .steps article:not(:last-child)::after { content: '↓'; top: auto; right: 24px; bottom: -17px; }
  .steps i { margin-bottom: 32px; }
  .abstract-flow { min-height: 300px; border-radius: 26px; }
  .use-grid article { min-height: 230px; padding: 25px; }
  .audience-grid article { padding: 24px 4px; }
  .audience-grid i { margin-bottom: 40px; }
  .info-copy { padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 0; }
  .faq-shell h2 { position: static; }
  .faq button { min-height: 72px; padding: 18px; }
  .faq article p { padding: 0 58px 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .shell { width: min(100% - 24px, 1180px); }
  .hero h1 { font-size: 36px; }
  .button { padding-inline: 16px; }
  .product-visual { min-height: 310px; }
  .visual-prompt { margin-left: 8px; }
  .visual-response { margin-right: 8px; }
}
