:root {
  --bg: #0b0f1a;
  --bg-alt: #0f1424;
  --surface: #141a2e;
  --surface-2: #1a2240;
  --border: rgba(255, 255, 255, .08);
  --text: #e8ecf6;
  --muted: #9aa4c0;
  --primary: #6c5ce7;
  --primary-2: #00d1ff;
  --accent: #22d3a6;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --grad: linear-gradient(135deg, var(--primary), var(--primary-2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font-family: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .6rem 1.3rem; border-radius: 12px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: .25s ease;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(108, 92, 231, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108, 92, 231, .5); }
.btn--outline { border-color: var(--border); background: rgba(255,255,255,.03); color: var(--text); }
.btn--outline:hover { border-color: var(--primary-2); color: var(--primary-2); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.btn--lg { padding: .85rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, .75);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; }
.logo__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad); color: #fff; font-size: .85rem; direction: ltr; font-family: monospace;
}
.logo__text { font-size: 1.25rem; direction: ltr; letter-spacing: .3px; }
.logo__text span { color: var(--primary-2); }

.nav { display: flex; gap: 1.8rem; }
.nav a { color: var(--muted); font-weight: 500; transition: color .2s; position: relative; }
.nav a:hover { color: var(--text); }

.header__actions { display: flex; align-items: center; gap: .5rem; }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.burger span { height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); z-index: -1; opacity: .35;
}
.hero::before { width: 480px; height: 480px; background: var(--primary); top: -120px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: var(--primary-2); bottom: -160px; left: -100px; }

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.badge {
  display: inline-block; padding: .3rem 1rem; border-radius: 999px; font-size: .85rem;
  background: rgba(34, 211, 166, .1); color: var(--accent); border: 1px solid rgba(34, 211, 166, .3);
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.5; margin: 1rem 0; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero__stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; line-height: 1.5; }
.hero__stats strong { font-size: 1.6rem; color: var(--text); }
.hero__stats span { color: var(--muted); font-size: .85rem; }

.terminal {
  background: #0a0e1a; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; direction: ltr;
}
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; background: #11172b; border-bottom: 1px solid var(--border); }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: auto; color: var(--muted); font: .8rem monospace; }
.terminal__body { padding: 1.2rem; min-height: 280px; font: .88rem/1.8 "Courier New", monospace; color: #b8f7d4; white-space: pre-wrap; text-align: left; }
.terminal__body .dim { color: #7a86a8; }
.terminal__body .hl { color: var(--primary-2); }
.cursor { display: inline-block; width: 8px; height: 1em; background: #b8f7d4; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.section__head p { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(108, 92, 231, .5); box-shadow: var(--shadow); }
.card__icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; background: var(--surface-2); border-radius: 14px; margin-bottom: 1rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Plans ---------- */
.toggle { display: inline-flex; margin-top: 1.5rem; padding: 5px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.toggle__btn {
  background: none; border: 0; color: var(--muted); padding: .5rem 1.4rem; border-radius: 10px;
  cursor: pointer; font-weight: 600; transition: .25s;
}
.toggle__btn small { color: var(--accent); font-weight: 500; margin-inline-start: .3rem; font-size: .75rem; }
.toggle__btn.is-active { background: var(--grad); color: #fff; }
.toggle__btn.is-active small { color: #fff; }

.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; transition: .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--popular { border-color: var(--primary); background: linear-gradient(180deg, rgba(108,92,231,.18), var(--surface) 55%); }
.plan__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .78rem; padding: .15rem 1rem; border-radius: 999px; font-weight: 700;
}
.plan h3 { font-size: 1.2rem; }
.plan__price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.plan__price .price { font-size: 1.9rem; font-weight: 800; }
.plan__price small { color: var(--muted); }
.plan ul { display: grid; gap: .5rem; flex: 1; }
.plan li { color: var(--muted); padding-inline-start: 1.6rem; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 800; }
.note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2rem; }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.loc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1rem; text-align: center; display: flex; flex-direction: column; gap: .1rem; transition: .3s;
}
.loc:hover { border-color: var(--primary-2); transform: translateY(-4px); }
.loc .flag { font-size: 2.2rem; }
.loc small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq__q {
  width: 100%; background: none; border: 0; color: var(--text); text-align: start; cursor: pointer;
  padding: 1.1rem 1.4rem; font-size: 1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q span { position: relative; width: 14px; height: 14px; flex: none; }
.faq__q span::before, .faq__q span::after {
  content: ""; position: absolute; background: var(--primary-2); border-radius: 2px; transition: .3s;
}
.faq__q span::before { inset: 6px 0 auto 0; height: 2px; }
.faq__q span::after { inset: 0 6px 0 auto; width: 2px; }
.faq__q[aria-expanded="true"] span::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  padding: 3rem; border-radius: 24px; border: 1px solid var(--border);
  background: radial-gradient(circle at 10% 0%, rgba(108,92,231,.3), transparent 55%), var(--surface);
}
.cta h2 { font-size: 1.9rem; margin-bottom: .4rem; }
.cta p { color: var(--muted); }
.cta__form { display: grid; gap: .8rem; }
.cta__form input {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: .85rem 1rem; border-radius: 12px; font-size: 1rem; outline: none; transition: .2s;
}
.cta__form input:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(0, 209, 255, .15); }
.cta__form input.error { border-color: #ff5d73; }
.form__msg { min-height: 1.4em; font-size: .9rem; }
.form__msg.ok { color: var(--accent); }
.form__msg.err { color: #ff7b8e; }

/* ---------- Footer ---------- */
.footer { background: #070a13; border-top: 1px solid var(--border); padding-top: 60px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand p { color: var(--muted); margin-top: 1rem; font-size: .92rem; max-width: 320px; }
.footer__col h4 { margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--muted); margin-bottom: .5rem; font-size: .93rem; transition: .2s; }
.footer__col a:hover { color: var(--primary-2); }

/* Enamad slot */
.trust { display: flex; flex-wrap: wrap; gap: .8rem; }
.trust__slot {
  width: 120px; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; text-align: center; padding: .6rem;
  background: #fff; color: #333; border-radius: 12px; border: 2px dashed #b9c0d4;
  font-size: .75rem; line-height: 1.5;
}
.trust__icon { font-size: 2rem; }
.trust__slot img { max-width: 100%; height: auto; cursor: pointer; }
.trust__slot.has-badge { border: 0; padding: 0; background: #fff; }

.footer__bottom { border-top: 1px solid var(--border); padding: 1.4rem 0; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .locations { grid-template-columns: repeat(3, 1fr); }
  .hero__inner, .cta { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .header__actions .btn--ghost { padding: .6rem .5rem; font-size: .88rem; }
  .nav {
    position: absolute; top: 70px; inset-inline: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 1rem 5%; border-top: 1px solid var(--border); }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .locations { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .cta { padding: 2rem 1.4rem; }
  .section { padding: 64px 0; }
  .hero { padding-top: 60px; }
}

/* ---------- Footer contact strip ---------- */
.footer__contact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding: 1.6rem 0; border-top: 1px solid var(--border);
}
.fc {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: .25s;
}
a.fc:hover { border-color: var(--primary-2); transform: translateY(-2px); }
.fc__icon { font-size: 1.5rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; flex: none; }
.fc small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.fc b { display: block; font-size: 1rem; text-align: start; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 70px 0 30px; text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--primary); filter: blur(120px); opacity: .25; top: -200px; left: 50%; transform: translateX(-50%); z-index: -1;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .4rem; }
.page-hero p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.crumbs { display: inline-flex; gap: .5rem; color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--primary-2); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center; transition: .3s; display: block;
}
a.contact-card:hover { transform: translateY(-5px); border-color: var(--primary-2); box-shadow: var(--shadow); }
.contact-card .card__icon { margin-inline: auto; }
.contact-card h3 { margin-bottom: .2rem; }
.contact-card p { color: var(--muted); font-size: .92rem; }
.contact-card b { display: block; margin-top: .4rem; font-size: 1.1rem; color: var(--primary-2); }

.form-box {
  max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 2.2rem;
}
.form-box h2 { margin-bottom: .3rem; }
.form-box > p { color: var(--muted); margin-bottom: 1.2rem; }
.cta__form textarea {
  background: var(--bg); border: 1px solid var(--border); color: var(--text); resize: vertical;
  padding: .85rem 1rem; border-radius: 12px; font-size: 1rem; outline: none; min-height: 120px; font-family: inherit;
}
.cta__form textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(0, 209, 255, .15); }

.legal { max-width: 860px; margin-inline: auto; }
.legal__meta { color: var(--muted); font-size: .88rem; text-align: center; margin-bottom: 2rem; }
.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.8rem; margin-bottom: 2.5rem;
}
.toc h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.toc ol { columns: 2; column-gap: 2rem; padding-inline-start: 1.2rem; color: var(--muted); }
.toc a:hover { color: var(--primary-2); }
.legal section { margin-bottom: 2.2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.legal section:last-of-type { border-bottom: 0; }
.legal h2 { font-size: 1.25rem; margin-bottom: .7rem; color: var(--primary-2); }
.legal p { color: var(--muted); margin-bottom: .7rem; }
.legal ul { list-style: disc; padding-inline-start: 1.5rem; color: var(--muted); display: grid; gap: .3rem; margin-bottom: .7rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--primary-2); }

@media (max-width: 1000px) {
  .footer__contact, .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .toc ol { columns: 1; }
  .form-box { padding: 1.5rem 1.2rem; }
}

/* ---------- Order / Payment ---------- */
[hidden] { display: none !important; }

.stepper { display: flex; max-width: 640px; margin: 0 auto 2.2rem; }
.stepper__item {
  flex: 1; position: relative; display: flex; flex-direction: column; align-items: center;
  gap: .45rem; color: var(--muted); font-size: .88rem; text-align: center;
}
.stepper__item::before {
  content: attr(data-n); position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); font-weight: 700;
}
.stepper__item::after {
  content: ""; position: absolute; top: 19px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--border);
}
.stepper__item:last-child::after { display: none; }
.stepper__item.is-active { color: var(--text); }
.stepper__item.is-active::before { background: var(--grad); border-color: transparent; color: #fff; }
.stepper__item.is-done { color: var(--text); }
.stepper__item.is-done::before { content: "✓"; background: var(--accent); border-color: transparent; color: #05261d; }
.stepper__item.is-done::after { background: var(--accent); }

.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 1.6rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.panel__title { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin-bottom: 1.5rem; }
.panel__title span {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
  background: var(--grad); font-size: .95rem; color: #fff; flex: none;
}
.block { margin-bottom: 1.8rem; }
.block h3 { font-size: 1rem; margin-bottom: .8rem; }

.opt-grid { display: grid; gap: .8rem; }
.opt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.opt__body {
  position: relative; display: flex; flex-direction: column; gap: .15rem; height: 100%;
  padding: .95rem 1.1rem; border: 1.5px solid var(--border); border-radius: 14px; background: var(--bg); transition: .2s;
}
.opt:hover .opt__body { border-color: rgba(108, 92, 231, .6); }
.opt input:checked + .opt__body { border-color: var(--primary); background: rgba(108, 92, 231, .13); box-shadow: 0 0 0 3px rgba(108, 92, 231, .18); }
.opt input:focus-visible + .opt__body { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.opt input:disabled { cursor: not-allowed; }
.opt input:disabled + .opt__body { opacity: .45; }
.opt__body small { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.opt__price { margin-top: .3rem; font-weight: 700; color: var(--primary-2); }
.opt__price i { font-style: normal; font-weight: 400; color: var(--muted); font-size: .78rem; }
.opt__tag {
  position: absolute; top: -10px; inset-inline-end: 12px; font-style: normal; font-size: .72rem; font-weight: 700;
  background: var(--grad); color: #fff; padding: .05rem .7rem; border-radius: 999px;
}
.opt--check .opt__body { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
.opt--check .opt__body > span:first-child { display: grid; }
.opt--check .opt__price { margin: 0; white-space: nowrap; }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field > label { font-size: .9rem; font-weight: 600; }
.field input[type="text"], .field input[type="password"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: .8rem 1rem; border-radius: 12px; font-size: 1rem; outline: none; transition: .2s; font-family: inherit;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(0, 209, 255, .15); }
.field input[dir="ltr"] { text-align: left; }
.field.has-error input, .field.has-error textarea { border-color: #ff5d73; }
.field__err { display: none; color: #ff7b8e; font-size: .82rem; }
.field.has-error .field__err { display: block; }
.hint { color: var(--muted); font-size: .8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.input-group { display: flex; gap: .5rem; }
.input-group input { flex: 1; min-width: 0; }
.btn-sm { padding: .5rem .9rem; font-size: .85rem; white-space: nowrap; }
.strength { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; transition: .3s; background: #ff5d73; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .92rem; cursor: pointer; }
.checkbox input { margin-top: .5rem; accent-color: var(--primary); }
.checkbox a { color: var(--primary-2); }
.panel__actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }

.summary {
  position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.summary h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.sum-specs { display: grid; gap: .55rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--border); }
.sum-specs li, .sum-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.sum-specs span, .sum-row span { color: var(--muted); }
.sum-specs b { text-align: end; font-weight: 600; }
.sum-lines { display: grid; gap: .55rem; padding: 1rem 0; border-bottom: 1px dashed var(--border); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.sum-total b { font-size: 1.35rem; color: var(--primary-2); }
.sum-vat { padding-top: 1rem; }

.overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(7, 10, 19, .85); backdrop-filter: blur(6px);
}
.overlay__box { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2.2rem 2.6rem; text-align: center; min-width: 280px; }
.spinner {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 1rem;
  border: 4px solid var(--surface-2); border-top-color: var(--primary-2); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.alert { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px; border: 1px solid; margin-bottom: 1.2rem; line-height: 1.9; font-size: .95rem; }
.alert__icon { font-size: 1.4rem; line-height: 1.6; }
.alert--warn { background: rgba(254, 188, 46, .1); border-color: rgba(254, 188, 46, .4); color: #ffd57a; }
.alert--err { background: rgba(255, 93, 115, .1); border-color: rgba(255, 93, 115, .4); color: #ff9aa9; }
.alert a { text-decoration: underline; }
.order-no { display: inline-block; direction: ltr; background: var(--surface-2); padding: .1rem .8rem; border-radius: 8px; font-weight: 700; }

@media (max-width: 1000px) {
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .opt-grid--2, .opt-grid--3, .row2 { grid-template-columns: 1fr; }
  .panel { padding: 1.2rem; }
  .stepper__item { font-size: .76rem; }
}

/* ---------- Login / Register ---------- */
.auth-wrap { display: grid; place-items: center; padding: 60px 0 90px; }
.auth-card {
  width: min(460px, 92%); background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 2rem; box-shadow: var(--shadow);
}
.auth-card__head { text-align: center; margin-bottom: 1.4rem; }
.auth-card__head h1 { font-size: 1.5rem; margin-bottom: .2rem; }
.auth-card__head p { color: var(--muted); font-size: .92rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 1.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.tabs__btn { background: none; border: 0; color: var(--muted); padding: .6rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; transition: .25s; }
.tabs__btn.is-active { background: var(--grad); color: #fff; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; font-size: .9rem; }
.auth-row a { color: var(--primary-2); }
.auth-row .checkbox input { margin-top: .45rem; }
.auth-alt { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }
.auth-alt button { background: none; border: 0; color: var(--primary-2); cursor: pointer; font: inherit; font-weight: 600; }
.alert--ok { background: rgba(34, 211, 166, .1); border-color: rgba(34, 211, 166, .4); color: #7ff0cf; }
.auth-card .btn--block { padding: .8rem; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
