/* Магазин Soft SolEdge IT — темна тема в стилі softsoledgeit.com */
:root {
  --bg: #080B1A; --bg-2: #0B0F22; --card: #10142B; --card-2: rgba(23,28,58,.7);
  --ink: #E8ECF8; --muted: #9AA3C4; --dim: #7C87AD; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16);
  --cyan: #6EC6F2; --cyan-2: #8FD6F7; --cyan-3: #BFE9FF; --violet: #7C6BD6; --violet-2: #A99CF0; --rose: #F2A0A0;
  --grad: linear-gradient(120deg, #6EC6F2, #7C6BD6); --grad-text: linear-gradient(120deg, #8FD6F7, #7C6BD6);
  --accent: var(--cyan); --accent-2: var(--cyan-2); --accent-soft: rgba(110,198,242,.15); --accent-line: rgba(110,198,242,.35);
  --ok: #5fd39a; --danger: #F2A0A0; --warn-bg: rgba(242,190,110,.1); --warn-line: rgba(242,190,110,.35); --warn-ink: #f2cf94;
  --radius: 20px; --head: Montserrat, Manrope, system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
a { color: var(--cyan-2); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.015em; font-weight: 700; }
h3 { font-weight: 600; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 12px; font-weight: 600; }
::selection { background: rgba(124,107,214,.45); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ── шапка ── */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(8,11,26,.82); border-bottom: 1px solid rgba(255,255,255,.07); }
.top-in { display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo img { height: 42px; width: auto; border-radius: 6px; display: block; }
.logo span { font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-2); }
.topnav { display: flex; gap: clamp(4px, 1.4vw, 10px); margin-left: auto; }
.topnav a { color: var(--ink); text-decoration: none; padding: 10px 12px 7px; border-radius: 8px; font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; }
.topnav a:hover { background: rgba(255,255,255,.06); }
.topnav a.on { border-image: var(--grad) 1; border-bottom: 2px solid; }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: .18s; white-space: nowrap; }
.btn:hover { background: rgba(255,255,255,.1); }
.btn.primary { background: var(--grad); border: 0; color: #080B1A; font-weight: 700; }
.btn.primary:hover { filter: brightness(1.12); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--cyan-2); padding-left: 10px; padding-right: 10px; }
.btn.ghost:hover { background: rgba(110,198,242,.08); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.block { width: 100%; margin-top: auto; }
.btn:disabled { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── космос: глобус, орбіти, планети, зірки ── */
.space { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.space .stars { position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 72%, #cfe9ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 38%, #bfe9ff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 82%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 26%, #d9d2ff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 40%, #bfe9ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 8%, #fff 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate; }
.space .globe { position: absolute; top: -18%; right: -12%; width: min(760px, 66vw); aspect-ratio: 1; background: url(../assets/globe.jpg) center / contain no-repeat; opacity: .42; border-radius: 50%; }
.space .veil { position: absolute; inset: 0; background: radial-gradient(110% 85% at 12% 30%, rgba(8,11,26,.92) 0%, rgba(8,11,26,.72) 45%, rgba(8,11,26,.3) 100%), linear-gradient(180deg, rgba(8,11,26,0) 55%, var(--bg) 100%); }
.orbit { position: absolute; border: 1px dashed rgba(143,214,247,.18); border-radius: 50%; animation: spin linear infinite; }
.orbit.o1 { width: min(560px, 52vw); aspect-ratio: 1; top: 2%; right: 4%; animation-duration: 60s; }
.orbit.o2 { width: min(900px, 84vw); aspect-ratio: 1; top: -26%; right: -18%; animation-duration: 110s; animation-direction: reverse; border-color: rgba(124,107,214,.16); }
.planet { position: absolute; border-radius: 50%; }
.orbit.o1 .planet { width: 18px; height: 18px; top: 50%; left: -9px; background: radial-gradient(circle at 35% 35%, #BFE9FF, #6EC6F2 55%, #2a5d8f); box-shadow: 0 0 22px rgba(110,198,242,.7); }
.orbit.o2 .planet { width: 30px; height: 30px; top: 14%; left: 14%; background: radial-gradient(circle at 35% 35%, #d9d2ff, #7C6BD6 55%, #3b2f7a); box-shadow: 0 0 30px rgba(124,107,214,.6); }
.orbit.o2 .planet::after { content: ''; position: absolute; inset: -7px -14px; border: 2px solid rgba(169,156,240,.45); border-radius: 50%; transform: rotate(-20deg) scaleY(.35); }
.moon { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #F2A0A0; box-shadow: 0 0 12px rgba(242,160,160,.7); top: 22%; left: 58%; animation: float 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: .7; } }
@keyframes float { 50% { transform: translate(-14px, 10px); } }
@media (prefers-reduced-motion: reduce) { .orbit, .space .stars, .moon { animation: none; } html { scroll-behavior: auto; } }

/* ── головний екран ── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.07); }
.hero-in { position: relative; padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(96px, 11vw, 150px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(110,198,242,.35); border-radius: 999px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-2); margin-bottom: 28px; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -.02em; max-width: 900px; margin-bottom: 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.hero-steps { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-steps div { background: var(--card-2); border: 1px solid var(--line); backdrop-filter: blur(8px); padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 14px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.hero-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #080B1A; display: grid; place-items: center; font-size: 13px; }

/* ── картки продуктів ── */
.products { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: -72px; }
.pcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; transition: .2s; overflow: hidden; }
.pcard::before { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.pcard:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.accent-teal { --accent: #6EC6F2; --accent-2: #8FD6F7; --accent-soft: rgba(110,198,242,.18); --accent-line: rgba(110,198,242,.5); }
.accent-navy { --accent: #A99CF0; --accent-2: #C3B9F7; --accent-soft: rgba(124,107,214,.22); --accent-line: rgba(124,107,214,.55); }
.accent-violet { --accent: #F2A0A0; --accent-2: #F7C1C1; --accent-soft: rgba(242,160,160,.16); --accent-line: rgba(242,160,160,.5); }
.pcard-top { position: relative; }
.badge { display: inline-block; font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--accent-line); margin-bottom: 16px; white-space: nowrap; }
.pcard h2 { font-size: 26px; margin: 0; }
.kind { color: var(--muted); font-weight: 500; margin: 4px 0 0; }
.tagline { margin: 16px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.mini { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.mini li { font-size: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; color: var(--ink); }
.mini li.more { color: var(--dim); }
.from { margin: auto 0 18px; color: var(--muted); }
.from b { font-family: var(--head); color: var(--ink); font-size: 22px; }

.how { margin: clamp(72px, 9vw, 120px) auto; }
.how > h2 { font-size: clamp(26px, 3.2vw, 40px); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 28px; }
.how-grid div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.how-grid h3 { font-size: 17px; }
.how-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.how-grid .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(110,198,242,.12); border: 1px solid rgba(110,198,242,.3); color: var(--cyan-2); font-weight: 700; margin-bottom: 16px; font-family: var(--head); padding: 0; }

/* ── сторінка продукту ── */
.phero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 40px; }
.phero .space .globe { opacity: .22; width: min(620px, 55vw); }
.phero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.phero h1 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 4px; }
.phero .lead { margin: 16px 0 28px; }
.back { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--cyan-2); }
.shot { width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px var(--line); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { background: var(--card-2); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 48px; position: relative; color: var(--ink); }
.facts li::before { content: '✓'; position: absolute; left: 18px; color: var(--accent); font-weight: 700; }
.facts.inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 22px; }
.sec { font-size: clamp(24px, 3vw, 36px); margin: 48px 0 20px; }
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.module { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.module h3 { font-size: 16px; color: var(--accent-2); }
.module p { margin: 0; font-size: 14.5px; color: var(--muted); }
.note { color: var(--dim); font-size: 14px; margin: 16px 0 72px; }

/* ── тарифи ── */
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tariff { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; position: relative; transition: .18s; }
label.tariff { cursor: pointer; }
label.tariff:hover { border-color: var(--accent-line); }
.tariff input { position: absolute; opacity: 0; }
.tariff.rec { border-color: var(--accent-line); }
.tariff.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 40px var(--accent-soft); }
.tariff.sel::after { content: '✓'; position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #080B1A; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.tariff:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.rec-tag { position: absolute; top: -12px; left: 20px; background: var(--grad); color: #080B1A; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tariff h3 { font-size: 21px; margin: 0; }
.fit { color: var(--muted); font-size: 14px; margin: 6px 0 14px; min-height: 2.9em; }
.price { margin: 0 0 14px; }
.price b { font-family: var(--head); font-size: 28px; }
.price span { color: var(--muted); font-size: 14px; }
.tariff ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14.5px; color: var(--ink); }
.tariff li { padding: 4px 0 4px 24px; position: relative; }
.tariff li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── майстер покупки ── */
.wizard { position: relative; max-width: 1040px; padding-top: 32px; padding-bottom: 80px; }
.wizard > h1 { font-size: clamp(28px, 3.4vw, 40px); }
.stepper { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stepper li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); font-weight: 600; padding-top: 12px; border-top: 2px solid var(--line-2); }
.stepper span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; flex: none; }
.stepper .done, .stepper .cur { color: var(--ink); border-top-color: var(--cyan); }
.stepper .done span, .stepper .cur span { background: var(--grad); color: #080B1A; border: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.intro { font-size: 17px; margin: 0 0 20px; color: var(--ink); }
.panel h3 { font-size: 17px; margin: 22px 0 10px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; }
.grid2 .full, .grid2 > h3, .grid2 > .intro { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.f input, .f select, .f textarea { min-width: 0; font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.04); color: var(--ink); width: 100%; }
.f select option { background: var(--card); color: var(--ink); }
.f input::placeholder, .f textarea::placeholder { color: #5F6788; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(110,198,242,.18); }
.f input:user-invalid { border-color: var(--danger); }
.f input[type=file] { padding: 10px; }
.f input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 14px; border-radius: 999px; border: 0; background: var(--grad); color: #080B1A; cursor: pointer; }
.f input[type=date] { color-scheme: dark; }
.f small { font-weight: 400; color: var(--dim); font-size: 12.5px; }
.f small b { color: var(--muted); }
.nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.terms { border: 0; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.terms legend { font-weight: 700; margin-bottom: 10px; padding: 0; font-family: var(--head); }
.term { position: relative; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 14.5px; display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.03); }
.term input { position: absolute; opacity: 0; }
.term.sel { border-color: var(--cyan); background: rgba(110,198,242,.12); color: var(--cyan-3); }
.term em { font-style: normal; font-size: 12px; background: rgba(95,211,154,.18); color: var(--ok); border: 1px solid rgba(95,211,154,.35); padding: 1px 8px; border-radius: 999px; }
.sum { margin-top: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--muted); }
.sum b { color: var(--ink); }
.sum .tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; color: var(--ink); }
.sum .tot b { font-family: var(--head); }
.sum p { margin: 0; color: var(--muted); }
.done-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; flex-wrap: wrap; }
.done-head h2 { font-size: 24px; margin: 0; }
.done-head p { margin: 4px 0 0; color: var(--muted); }
.done-head .eyebrow { margin: 0 0 6px; }
.total { text-align: right; display: flex; flex-direction: column; }
.total span, .total small { color: var(--dim); font-size: 13px; }
.total b { font-family: var(--head); font-size: 30px; }
.docs { display: grid; gap: 10px; margin-bottom: 14px; }
.doc { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 16px; padding: 12px 14px; }
.doc > div:nth-child(2) { flex: 1; min-width: 0; }
.doc b { display: block; }
.doc small { color: var(--muted); }
.doc-ic { width: 42px; height: 50px; border-radius: 8px; background: rgba(242,160,160,.12); border: 1px solid rgba(242,160,160,.35); color: var(--rose); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.ok { color: var(--ok); }
.err { color: var(--danger); margin: 0; font-size: 14px; }
.err:empty { display: none; }
.warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); padding: 12px 16px; border-radius: 14px; font-size: 14px; margin: 16px 0 0; }

/* ── підвал ── */
.foot { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); padding: 44px 0; font-size: 14px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--cyan-2); }
.foot b { color: var(--ink); font-family: var(--head); }
.foot-in { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 28px; }
.foot img { height: 34px; width: auto; border-radius: 5px; margin-bottom: 12px; display: block; }
.foot .muted { color: var(--dim); }

@media (max-width: 820px) {
  .phero-grid, .foot-in { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .topnav, .hide-sm, .logo span { display: none; }
  .top-in { justify-content: space-between; }
  .logo img { height: 36px; }
  .space .globe { width: 110vw; right: -45%; top: -8%; opacity: .3; }
  .orbit.o1 { width: 80vw; right: -20%; }
  .orbit.o2 { display: none; }
  .stepper li { font-size: 0; gap: 0; }
  .stepper li.cur { font-size: 13px; gap: 8px; }
  .doc { flex-wrap: wrap; }
  .doc > div:nth-child(2) { flex: 1 1 calc(100% - 60px); }
  .doc .btn { flex: 1; }
  .total { text-align: left; }
  .nav { flex-wrap: wrap; }
  .nav .btn { flex: 1 1 auto; white-space: normal; }
}

/* згода, пастка для ботів, фокус строку */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.term:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.foot-links { margin-top: 10px; }
@media (max-width: 820px) { .hide-sm.tel-sm { display: inline-flex; padding: 8px 12px; font-size: 13px; } }

/* сторінка політики конфіденційності */
.legal { max-width: 860px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: 80px; }
.legal h1 { font-size: clamp(28px, 3.6vw, 40px); }
.legal h2 { font-size: 20px; margin: 36px 0 12px; color: var(--cyan-3); }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--dim); font-size: 14px; margin-bottom: 28px; }
