:root {
  --bg0: #050712;
  --bg1: #090f1f;
  --card: #0e1731de;
  --card2: #0b1328cf;
  --stroke: rgba(122, 198, 255, .18);
  --stroke2: rgba(122, 198, 255, .3);
  --text: #e8f1ff;
  --muted: rgba(226, 240, 255, .74);
  --muted2: rgba(226, 240, 255, .56);
  --accent: #5cf2ff;
  --accent2: #ff6bd8;
  --good: #42e796;
  --max: 1160px;
  --r: 20px;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "JetBrains Mono", "IBM Plex Mono", "Space Mono", "SF Mono", monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, #060b1a, #070d1d);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 900px at 50% 0%, rgba(85, 115, 190, .06), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, .02) 0px,
    rgba(255, 255, 255, .02) 1px,
    transparent 2px,
    transparent 4px
  );
  opacity: .12;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 60;
  animation: scanline 10s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(-2%); }
  100% { transform: translateY(2%); }
}

#stars-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  opacity: .95;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -120px;
  z-index: 100;
  border-radius: 12px;
  border: 1px solid var(--stroke2);
  padding: 10px 12px;
  background: #0b1230;
  color: #fff;
  transition: top .2s ease;
}

.skip-link:focus-visible { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
a { color: inherit; text-decoration: none; }

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6, 8, 20, .55), rgba(6, 8, 20, .32));
}

.topbar { background: rgba(95, 234, 255, .03); }
.topbar-inner {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(197, 220, 255, .72);
  font-size: 12px;
  letter-spacing: .02em;
}

.status { display: inline-flex; align-items: center; gap: 8px; }
.status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 210px;
  height: 90px;
  border-radius: 14px;
  background: url('https://plazzma.cloud/logo-plazzma.png') center/contain no-repeat;
  flex-shrink: 0;
}

.brand strong,
.brand small,
.brand .brand-text,
.brand span:not(.logo) {
  display: none;
}

.navlinks { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.navlinks a {
  font-size: 13px;
  color: rgba(204, 224, 255, .78);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  background: rgba(95, 234, 255, .08);
  border-color: rgba(122, 198, 255, .24);
  color: var(--text);
}

.navlinks .open-link {
  border-color: rgba(122, 198, 255, .24);
  background: rgba(95, 234, 255, .08);
}

main { padding: 30px 0 42px; }
section { scroll-margin-top: 96px; }

.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(10, 15, 28, .88), rgba(8, 12, 22, .76));
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(800px 280px at 20% 0%, rgba(95, 234, 255, .08), transparent 55%),
    radial-gradient(700px 260px at 90% 10%, rgba(176, 140, 255, .06), transparent 58%);
  pointer-events: none;
}

.panel > * { position: relative; z-index: 1; }

.hero {
  padding: 34px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 198, 255, .24);
  background: rgba(95, 234, 255, .07);
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

.billing-toggle {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bill-btn {
  border: 1px solid rgba(122, 198, 255, .24);
  background: rgba(10, 15, 28, .9);
  color: var(--muted);
  border-radius: 8px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.bill-btn.active {
  background: linear-gradient(135deg, rgba(95, 234, 255, .92), rgba(176, 140, 255, .82));
  color: #081320;
  border-color: rgba(122, 198, 255, .35);
}

.save-note { font-size: 12px; color: var(--muted2); }

.product-toggle {
  display: inline-flex;
  gap: 8px;
  margin: 14px 0 6px;
  align-items: center;
}
.product-btn {
  border: 1px solid rgba(122, 198, 255, .24);
  background: rgba(10, 15, 28, .9);
  color: var(--muted);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.product-btn.active {
  background: linear-gradient(135deg, rgba(95, 234, 255, .92), rgba(176, 140, 255, .82));
  color: #081320;
  border-color: rgba(122, 198, 255, .35);
}

#plans {
  margin-top: 14px;
}

.plan-set {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.plan-set:not(.active) {
  display: none;
}

.plan { padding: 18px; }
.plan-head h2 { margin: 0; font-size: 20px; }
.plan-head p { margin: 8px 0 0; color: var(--muted2); font-size: 13px; line-height: 1.45; }

.featured {
  border-color: rgba(122, 198, 255, .34);
}

.flag {
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid rgba(122, 198, 255, .3);
  border-radius: 999px;
  background: rgba(95, 234, 255, .12);
  color: rgba(233, 243, 255, .95);
  padding: 5px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.price-row { margin-top: 16px; display: flex; align-items: flex-end; gap: 8px; }
.price { font-size: 42px; line-height: 1; letter-spacing: -.02em; font-weight: 700; }
.price.custom { font-size: 28px; }
.period { color: var(--muted2); font-size: 13px; padding-bottom: 6px; }

.features {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}
.features li {
  border: 1px solid rgba(122, 198, 255, .16);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(95, 234, 255, .04);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(122, 198, 255, .24);
  border-radius: 8px;
  background: rgba(10, 15, 28, .9);
  color: var(--text);
  font-weight: 640;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(95, 234, 255, .96), rgba(176, 140, 255, .84));
  color: #071323;
}

.compare { margin-top: 12px; padding: 16px; }
.compare h3,
.faq h3 { margin: 0 0 12px; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 740px; }
th, td {
  text-align: left;
  border: 1px solid rgba(122, 198, 255, .16);
  padding: 10px 12px;
  font-size: 13px;
}
th { color: rgba(226, 240, 255, .92); background: rgba(95, 234, 255, .07); }
td { color: var(--muted); }

.faq { margin-top: 12px; padding: 16px; }
details {
  border: 1px solid rgba(122, 198, 255, .16);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(95, 234, 255, .04);
}
details + details { margin-top: 10px; }
summary { cursor: pointer; font-size: 14px; color: rgba(233, 243, 255, .95); }
details p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

footer { border-top: 1px solid rgba(122, 198, 255, .12); padding: 20px 0 24px; color: var(--muted2); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot small { font-size: 12px; }
.foot nav { display: flex; gap: 10px; flex-wrap: wrap; }
.foot nav a {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.foot nav a:hover { border-color: rgba(122, 198, 255, .2); background: rgba(95, 234, 255, .08); color: var(--text); }

:focus-visible {
  outline: 2px solid rgba(95, 234, 255, .78);
  outline-offset: 3px;
  border-radius: 8px;
}

.lang-switch {
  display:flex;
  gap:6px;
  align-items:center;
}
.lang-switch a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border:1px solid rgba(122,198,255,.25);
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.lang-switch a.active {
  background: rgba(95,234,255,.12);
  color: var(--text);
  border-color: rgba(122,198,255,.35);
}
.flag-az {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  background: url('/assets/brand/flag-az.svg') center/cover no-repeat;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}

@media (max-width: 1040px) {
  .plan-set { grid-template-columns: 1fr 1fr; }
  .plan-set .plan:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 26px)); }
  .topbar-inner { font-size: 11px; }
  .hero { padding: 24px 20px; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
  .plan-set { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .navlinks { justify-content: flex-start; }
  .product-toggle { width: 100%; }
  .product-btn { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  #stars-bg { animation: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
