:root {
  --ink-950: #05080f;
  --ink-900: #0a1220;
  --ink-800: #111c31;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --text: #e8eef7;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 1.25rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 480px at 8% -8%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(900px 420px at 92% 0%, rgba(99, 102, 241, 0.14), transparent 50%),
    linear-gradient(180deg, #05080f 0%, #070b14 45%, #05080f 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(18px);
}
.header-inner, .footer-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header-inner { padding: 12px 0; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #67e8f9, #6366f1);
  box-shadow: 0 0 40px -8px rgba(34, 211, 238, 0.7);
}
.logo strong { display: block; font-family: Syne, sans-serif; letter-spacing: 0.08em; font-size: 14px; }
.logo small { display: block; color: var(--cyan-2); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }

.nav { display: flex; gap: 28px; }
.nav a { color: #cbd5e1; font-size: 14px; }
.nav a:hover, .nav a.active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; border: 1px solid var(--line); background: transparent; color: #fff;
  border-radius: 12px; padding: 8px 10px; cursor: pointer;
}

.lang {
  display: inline-flex; padding: 4px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(10, 18, 32, 0.85);
}
.lang button {
  border: 0; background: transparent; color: #cbd5e1; cursor: pointer;
  border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700;
}
.lang button.active { background: var(--cyan); color: #05080f; }

.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 700; cursor: pointer; border: 0;
}
.btn {
  color: #05080f;
  background: linear-gradient(90deg, #22d3ee, #38bdf8);
  box-shadow: 0 0 50px -16px rgba(34, 211, 238, 0.7);
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  color: #fff; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.5); }
.btn.full, .btn-ghost.full { width: 100%; }

.hero { position: relative; padding: 72px 0 32px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; border: 1px solid rgba(34,211,238,0.3); background: rgba(34,211,238,0.1);
  color: #a5f3fc; border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
h1, h2, .display { font-family: Syne, sans-serif; }
h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; margin-top: 16px; }
h2 { font-size: clamp(26px, 3vw, 34px); }
.lead { margin-top: 18px; font-size: 18px; color: #cbd5e1; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge { margin-top: 16px; color: var(--muted); font-size: 14px; }

.panel {
  position: relative; border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); border-radius: 28px; padding: 22px;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.65);
}
.panel::before {
  content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 36px;
  background: rgba(34,211,238,0.1); filter: blur(28px);
}
.panel-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.online { background: rgba(52,211,153,0.15); color: #6ee7b7; border-radius: 999px; padding: 4px 8px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini {
  border: 1px solid var(--line); background: rgba(5,8,15,0.5); border-radius: 16px; padding: 14px;
}
.mini span { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--cyan); text-transform: uppercase; }
.mini strong { display: block; margin-top: 8px; font-size: 14px; }
.term {
  margin-top: 14px; height: 96px; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(5,8,15,0.7); padding: 12px;
  font-family: ui-monospace, Consolas, monospace; font-size: 11px; line-height: 1.7; color: #a5f3fc;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 28px 0 40px; }
.stat { border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: 18px; padding: 18px; }
.stat b { display: block; font-family: Syne, sans-serif; font-size: 30px; }
.stat span { color: var(--muted); font-size: 14px; }

.section { padding: 48px 0; }
.section-head { margin-bottom: 28px; }
.section-head p, .muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 24px; padding: 22px;
}
.card h3 { margin: 12px 0 8px; font-size: 18px; }
.card p, .spec { color: #94a3b8; font-size: 14px; line-height: 1.65; }
.step { font-family: Syne, sans-serif; color: var(--cyan); font-size: 24px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 28px; padding: 24px; min-height: 100%;
}
.product.featured {
  border-color: rgba(34,211,238,0.45);
  background: linear-gradient(180deg, rgba(34,211,238,0.12), rgba(255,255,255,0.03));
}
.tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--cyan); color: #05080f; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px;
}
.product .type { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }
.product h3 { margin: 8px 0; font-family: Syne, sans-serif; font-size: 24px; }
.price { margin: 14px 0 18px; font-family: Syne, sans-serif; font-size: 36px; }
.price small { font-size: 15px; color: var(--muted); font-family: "Plus Jakarta Sans", sans-serif; }
.specs { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.specs li { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: 14px; }
.specs span { color: var(--muted); }
.product .btn, .product .btn-ghost { margin-top: auto; }

.empty {
  grid-column: 1 / -1; text-align: center; padding: 36px;
  border: 1px dashed var(--line); border-radius: 20px; color: var(--muted);
}

.faq details {
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 16px; padding: 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.footer { margin-top: 64px; border-top: 1px solid var(--line); background: rgba(10,18,32,0.4); }
.footer-grid { align-items: flex-start; padding: 40px 0; }
.footer p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.copy { border-top: 1px solid rgba(255,255,255,0.05); padding: 16px 0; text-align: center; color: #64748b; font-size: 12px; }

.page { padding: 56px 0 24px; }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; color: #cbd5e1; }
input, select, textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(10,18,32,0.85); color: #fff; padding: 11px 12px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(34,211,238,0.45); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.hint { font-size: 12px; color: #64748b; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-link {
  display: flex; gap: 12px; align-items: center; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); border-radius: 16px; padding: 14px; margin-top: 12px;
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.admin-table th { color: #94a3b8; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.pill { display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
.ok { background: rgba(52,211,153,0.15); color: #6ee7b7; }
.warn { background: rgba(251,191,36,0.15); color: #fbbf24; }
.row-actions { display: flex; gap: 8px; }
.row-actions button { padding: 6px 10px; font-size: 12px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; place-items: center; z-index: 50; padding: 20px;
}
.modal-bg.open { display: grid; }
.modal { width: min(720px, 100%); max-height: 90vh; overflow: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.span-2 { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
.error { color: #fda4af; font-size: 13px; min-height: 18px; }
.login-box { width: min(420px, 100%); margin: 80px auto; }

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .lang button span { display: none; }
}

@media (max-width: 900px) {
  .nav, .header-actions .admin-link { display: none; }
  .header.open .nav {
    display: grid; position: absolute; left: 16px; right: 16px; top: 64px;
    background: #0a1220; border: 1px solid var(--line); border-radius: 16px; padding: 14px;
  }
  .menu-btn { display: inline-flex; }
  .hero-grid, .grid-2, .grid-3, .products, .stats, .contact-grid, .form-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
}
