/* MAGIC site concept — local review build. Not yet published. */
:root {
  color-scheme: dark;
  --bg: #080d18;
  --panel: #0d1423;
  --panel-2: #101a2b;
  --line: rgba(177, 198, 226, .13);
  --text: #f4f7fb;
  --muted: #a0aec2;
  --dim: #68778d;
  --cyan: #7cebd7;
  --violet: #a99bff;
  --orange: #ffb37d;
  --green: #91e8bd;
  --max: 1160px;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.65 "Manrope", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { color: #071018; background: var(--cyan); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 999; background: var(--cyan); color: #06111a; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.ambient { position: absolute; pointer-events: none; z-index: -1; filter: blur(70px); opacity: .17; border-radius: 50%; }
.ambient-a { width: 470px; height: 470px; background: #4c58bf; top: 80px; left: -240px; }
.ambient-b { width: 440px; height: 440px; background: #168e89; top: 380px; right: -240px; opacity: .12; }
.top-progress { position: fixed; z-index: 200; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--orange)); }
.section-wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8,13,24,.82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-shell { width: min(var(--max), calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid rgba(124,235,215,.4); border-radius: 11px; background: linear-gradient(145deg, rgba(124,235,215,.16), rgba(169,155,255,.08)); }
.brand-mark span { display: block; width: 3px; border-radius: 4px; background: var(--cyan); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 13px; opacity: .8; }
.brand b { display: block; font-size: 13px; letter-spacing: .15em; line-height: 1.2; }
.brand small { display: block; margin-top: 4px; font: 9px "DM Mono", monospace; letter-spacing: .14em; color: var(--dim); }
.primary-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.primary-nav a { color: var(--muted); font-size: 12px; font-weight: 700; transition: color .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.language-switch { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 9px; }
.language-switch button { border: 0; border-radius: 6px; padding: 4px 6px; background: transparent; color: var(--dim); font: 10px "DM Mono", monospace; cursor: pointer; }
.language-switch button.active { background: rgba(124,235,215,.13); color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 12px; padding: 13px 17px; font-size: 12px; font-weight: 800; letter-spacing: -.01em; transition: transform .2s, border-color .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button-primary { background: var(--cyan); color: #07141a; box-shadow: 0 8px 26px rgba(124,235,215,.13); }
.button-primary:hover { background: #a3f5e7; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--text); }
.button-secondary:hover { border-color: rgba(124,235,215,.4); background: rgba(124,235,215,.04); }
.button-small { padding: 10px 13px; border-radius: 10px; font-size: 11px; }
.button-light { background: #f2f6fc; color: #0b1320; margin-top: 18px; }
.button-large { padding: 16px 22px; font-size: 13px; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(35px, 6vw, 82px); align-items: center; padding-top: 94px; padding-bottom: 78px; min-height: 650px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--cyan); font: 10px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(145,232,189,.08); }
.eyebrow-city { color: var(--dim); }
.hero h1 { margin: 25px 0 22px; max-width: 670px; font-size: clamp(42px, 5.6vw, 70px); line-height: 1.07; letter-spacing: -.065em; font-weight: 800; }
.gradient-text { color: transparent; background: linear-gradient(95deg, #8cebd8 3%, #a8a4ff 55%, #f2b8a2 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 590px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 29px; }
.telegram-icon { font-size: 14px; }
.trust-line { margin-top: 22px; color: var(--dim); font-size: 11px; display: flex; align-items: flex-start; gap: 8px; }
.trust-check { color: var(--green); font-weight: 800; }
.hero-visual { position: relative; min-width: 0; padding: 20px; border: 1px solid rgba(169,155,255,.22); border-radius: 23px; background: linear-gradient(150deg, rgba(17,28,48,.97), rgba(10,17,30,.96)); box-shadow: 0 30px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(173,190,221,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(173,190,221,.035) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom right, black, transparent 80%); pointer-events: none; }
.visual-topline, .visual-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 12px; color: var(--dim); font: 9px "DM Mono", monospace; letter-spacing: .06em; }
.visual-topline i { display: inline-block; width: 5px; height: 5px; background: var(--green); border-radius: 50%; margin: 0 6px 1px 0; }
.mono { color: #8795ac; }
.workflow { position: relative; z-index: 2; max-width: 420px; margin: 30px auto 28px; }
.flow-node { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(167,184,214,.16); background: rgba(14,24,41,.91); border-radius: 13px; box-shadow: 0 8px 25px rgba(0,0,0,.13); }
.flow-source { border-color: rgba(169,155,255,.3); }
.flow-ai { border-color: rgba(124,235,215,.36); box-shadow: 0 0 28px rgba(124,235,215,.06); }
.node-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 10px; background: rgba(169,155,255,.13); color: #b6adff; font-size: 18px; }
.ai-icon { background: rgba(124,235,215,.12); color: var(--cyan); }
.flow-node b { display: block; font-size: 11px; font-weight: 800; }
.flow-node small { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; }
.node-state { margin-left: auto; color: var(--dim); font: 9px "DM Mono", monospace; }
.flow-connector { height: 27px; margin-left: 31px; width: 1px; background: linear-gradient(var(--violet), var(--cyan)); position: relative; }
.flow-connector span { position: absolute; left: -2px; bottom: 1px; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }
.flow-output-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flow-output { padding: 12px 10px; gap: 8px; }
.mini-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: rgba(145,232,189,.1); color: var(--green); }
.flow-output b { font-size: 10px; }
.flow-output small { font-size: 8px; }
.visual-foot { border-top: 1px solid var(--line); padding-top: 15px; font-size: 8px; letter-spacing: .03em; }
.visual-foot > span:first-child { color: #a5b6c9; }
.visual-orbit { position: absolute; border: 1px solid rgba(124,235,215,.08); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 380px; height: 380px; right: -230px; top: -220px; }
.orbit-two { width: 250px; height: 250px; left: -180px; bottom: -170px; border-color: rgba(169,155,255,.12); }
.proof-strip { display: grid; grid-template-columns: repeat(4,1fr); padding: 20px 0 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip > div { padding: 6px 20px; border-right: 1px solid var(--line); }
.proof-strip > div:first-child { padding-left: 0; }
.proof-strip > div:last-child { border-right: 0; }
.strip-index { display: block; margin-bottom: 8px; color: var(--cyan); font: 10px "DM Mono", monospace; }
.proof-strip b { display: block; font-size: 12px; }
.proof-strip small { display: block; margin-top: 3px; color: var(--dim); font-size: 10px; }

.section-block { padding-top: 110px; padding-bottom: 110px; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; margin-bottom: 36px; }
.eyebrow-num { color: var(--dim); }
.section-heading h2 { margin: 18px 0 0; font-size: clamp(32px, 4vw, 47px); line-height: 1.16; letter-spacing: -.055em; }
.muted-heading { color: #75839a; }
.section-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.service-card { min-height: 280px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,29,48,.82), rgba(11,18,31,.88)); transition: transform .22s, border-color .22s, background .22s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(124,235,215,.3); background: linear-gradient(145deg, rgba(21,37,56,.94), rgba(11,18,31,.95)); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }
.icon-purple { color: #b6a9ff; background: rgba(169,155,255,.12); }
.icon-green { color: var(--green); background: rgba(145,232,189,.1); }
.icon-orange { color: var(--orange); background: rgba(255,179,125,.1); }
.icon-blue { color: #8dc9ff; background: rgba(141,201,255,.1); }
.icon-pink { color: #ffb4d2; background: rgba(255,180,210,.1); }
.icon-white { color: #101827; background: #f2f6fc; }
.card-number { color: #65748b; font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.service-card h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: -.025em; }
.service-card p { min-height: 59px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.tag-row span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: #95a5bb; font: 9px "DM Mono", monospace; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--cyan); font-size: 10px; font-weight: 800; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px,-3px); }
.service-card-cta { background: linear-gradient(145deg, rgba(124,235,215,.1), rgba(169,155,255,.08)); border-color: rgba(124,235,215,.23); }
.service-card-cta p { min-height: 0; }

.product-section { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008)); border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.035); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.product-card { min-height: 255px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,20,34,.8); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(169,155,255,.35); }
.product-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; font-size: 16px; }
.symbol-job { color: #b4aaff; background: rgba(169,155,255,.13); }
.symbol-sell { color: var(--green); background: rgba(145,232,189,.12); }
.symbol-office { color: var(--orange); background: rgba(255,179,125,.12); }
.symbol-media { color: #91d2ff; background: rgba(145,210,255,.12); }
.status { border-radius: 6px; padding: 4px 7px; font-size: 8px; font-weight: 800; }
.status-prototype { color: #c2baff; background: rgba(169,155,255,.11); }
.status-build { color: #f4c18d; background: rgba(255,179,125,.1); }
.product-card h3 { margin: 23px 0 8px; font-size: 16px; letter-spacing: -.02em; }
.product-card p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.85; }
.product-meta { display: flex; justify-content: space-between; margin-top: auto; padding-top: 25px; color: #65748b; font: 8px "DM Mono", monospace; letter-spacing: .06em; }

.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 75px 1fr 30px; gap: 20px; align-items: center; padding: 22px 10px; border-bottom: 1px solid var(--line); transition: background .2s; }
.process-item:hover { background: rgba(255,255,255,.018); }
.process-no { color: var(--cyan); font: 12px "DM Mono", monospace; }
.process-item h3 { margin: 0 0 4px; font-size: 14px; }
.process-item p { margin: 0; color: var(--muted); font-size: 11px; }
.process-mark { color: var(--dim); text-align: right; }

.pricing-section { background: linear-gradient(180deg, rgba(169,155,255,.035), rgba(8,13,24,0)); border-top: 1px solid rgba(255,255,255,.04); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; align-items: stretch; }
.price-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,20,34,.76); display: flex; flex-direction: column; }
.price-featured { border-color: rgba(124,235,215,.4); background: linear-gradient(160deg, rgba(124,235,215,.08), rgba(12,20,34,.9) 45%); box-shadow: 0 16px 45px rgba(0,0,0,.14); }
.price-label { display: flex; justify-content: space-between; color: var(--cyan); font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.price-label span { color: var(--green); }
.price-card h3 { margin: 21px 0 6px; font-size: 19px; }
.price-description { min-height: 45px; margin: 0; color: var(--muted); font-size: 11px; }
.price { margin-top: 21px; font-size: 37px; font-weight: 800; letter-spacing: -.06em; }
.price small { font-size: 19px; color: var(--cyan); }
.price-card ul { list-style: none; margin: 12px 0 24px; padding: 0; flex: 1; }
.price-card li { position: relative; padding: 8px 0 8px 19px; color: #b5c0d0; font-size: 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.full-button { width: 100%; }
.pricing-note { color: var(--dim); font-size: 10px; margin: 16px 0 0; }

.final-cta { position: relative; overflow: hidden; text-align: center; margin-top: 60px; margin-bottom: 70px; padding: 75px 24px; border: 1px solid rgba(124,235,215,.18); border-radius: 26px; background: radial-gradient(ellipse at 50% 0%, rgba(124,235,215,.09), transparent 55%), linear-gradient(135deg, rgba(16,26,44,.96), rgba(10,17,30,.97)); }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { position: relative; margin: 20px 0 14px; font-size: clamp(35px, 5vw, 54px); line-height: 1.1; letter-spacing: -.06em; }
.final-cta p { max-width: 560px; margin: 0 auto 25px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.cta-orb { position: absolute; width: 300px; height: 300px; left: calc(50% - 150px); top: -230px; border: 1px solid rgba(124,235,215,.18); border-radius: 50%; box-shadow: 0 0 0 35px rgba(124,235,215,.02), 0 0 0 75px rgba(124,235,215,.018); }
.contact-row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; color: var(--dim); font-size: 10px; }
.contact-row a:hover { color: var(--cyan); }
.site-footer { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }
.footer-brand { color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.footer-brand span { color: var(--dim); font: 9px "DM Mono", monospace; }
.back-top { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .nav-shell { gap: 18px; }
  .primary-nav { gap: 15px; }
  .nav-actions { gap: 9px; }
  .nav-actions .button { display: none; }
  .hero { grid-template-columns: 1fr .9fr; gap: 30px; padding-top: 70px; }
  .hero h1 { font-size: clamp(39px, 5.5vw, 58px); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .service-card { padding: 19px; }
}
@media (max-width: 720px) {
  .section-wrap, .nav-shell { width: min(100% - 34px, var(--max)); }
  .nav-shell { min-height: 68px; justify-content: space-between; }
  .menu-toggle { display: flex; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 6px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); cursor: pointer; }
  .menu-toggle span { height: 1.5px; width: 100%; background: var(--text); }
  .primary-nav { display: none; position: absolute; left: 17px; right: 17px; top: 61px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(9,15,27,.98); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav a { padding: 13px 12px; border-radius: 8px; font-size: 13px; }
  .primary-nav a:hover { background: rgba(255,255,255,.04); }
  .nav-actions { margin-left: auto; }
  .nav-actions .button { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 34px; min-height: auto; padding-top: 67px; padding-bottom: 48px; }
  .hero h1 { margin-top: 20px; font-size: clamp(40px, 11vw, 58px); }
  .hero-lead { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-visual { padding: 15px; }
  .visual-foot { font-size: 7px; }
  .proof-strip { grid-template-columns: repeat(2,1fr); padding: 14px 0; }
  .proof-strip > div { padding: 12px 12px; border-right: 0; }
  .proof-strip > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .proof-strip > div:nth-child(even) { padding-right: 0; padding-left: 20px; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-block { padding-top: 75px; padding-bottom: 75px; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 26px; }
  .section-heading h2 { font-size: 35px; }
  .section-heading > p { font-size: 11px; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { min-height: 0; padding: 20px; }
  .service-card p { min-height: 0; }
  .card-top { margin-bottom: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-meta { padding-top: 20px; }
  .process-item { grid-template-columns: 38px 1fr 18px; gap: 10px; padding: 19px 2px; }
  .process-item p { font-size: 10px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-description { min-height: 0; }
  .final-cta { width: calc(100% - 34px); margin-top: 15px; margin-bottom: 35px; padding: 55px 20px; }
  .final-cta h2 { font-size: 39px; }
  .contact-row { gap: 8px; font-size: 9px; }
  .site-footer { min-height: 100px; flex-wrap: wrap; padding: 20px 0; }
  .site-footer > span { order: 3; width: 100%; }
}
@media (max-width: 380px) {
  .language-switch { display: none; }
  .eyebrow { font-size: 8px; letter-spacing: .08em; }
  .hero h1 { font-size: 38px; }
  .flow-node { padding: 11px 9px; }
  .flow-output-row { gap: 6px; }
  .flow-output { gap: 6px; }
}


/* FAQ: native details/summary keeps answers available to users and crawlers without JavaScript. */
.faq-section { padding-top: 70px; }
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: rgba(12,20,34,.38); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 21px 54px 21px 20px; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.55; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 21px; top: 50%; transform: translateY(-50%); color: var(--cyan); font: 24px "DM Mono", monospace; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; border-radius: 8px; }
.faq-answer { padding: 0 54px 21px 20px; }
.faq-answer p { margin: 0; max-width: 760px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.faq-answer a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .faq-section { padding-top: 55px; }
  .faq-item summary { padding: 18px 44px 18px 14px; font-size: 13px; }
  .faq-item summary::after { right: 14px; }
  .faq-answer { padding: 0 16px 19px 14px; }
  .faq-answer p { font-size: 12px; }
}
