:root {
  --bg: #0d1b2a; /* dark navy */
  --bg-elev: #0f2436;
  --text: #e6edf3;
  --muted: #9fb3c8;
  --accent: #00eaff; /* neon cyan */
  --accent-2: #23a7d8;
  --danger: #ff6b6b;
  --ok: #3ce4a0;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: radial-gradient(
      1200px 800px at 80% -10%,
      rgba(0, 234, 255, 0.12),
      transparent 60%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(150%) blur(8px);
  background: rgba(13, 27, 42, 0.75);
  border-bottom: 1px solid rgba(0, 234, 255, 0.15);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}
.main-nav a:hover {
  color: var(--accent);
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(0, 234, 255, 0.15);
  padding: 24px 0;
  background: linear-gradient(
    0deg,
    rgba(0, 234, 255, 0.05),
    rgba(0, 234, 255, 0)
  );
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
  margin-right: 16px;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.25;
}
h1 {
  font-size: 40px;
  margin: 24px 0 8px;
}
h2 {
  font-size: 28px;
  margin: 32px 0 12px;
}
p {
  margin: 12px 0;
}

.grid {
  display: grid;
  gap: 20px;
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(0, 234, 255, 0.18);
  border-radius: 14px;
  padding: 18px;
}
.card:hover {
  border-color: rgba(0, 234, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 234, 255, 0.12) inset,
    0 8px 30px rgba(0, 234, 255, 0.06);
}
.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.35);
  background: rgba(0, 234, 255, 0.08);
  color: var(--text);
  text-decoration: none;
}
.btn:hover {
  background: rgba(0, 234, 255, 0.16);
  border-color: var(--accent);
}
.btn.primary {
  background: linear-gradient(
    90deg,
    rgba(0, 234, 255, 0.25),
    rgba(0, 234, 255, 0.1)
  );
  border-color: var(--accent);
}

.hero {
  padding: 32px 0 8px;
}
.section {
  margin: 36px 0;
}
.section.accent {
  background: linear-gradient(
    180deg,
    rgba(0, 234, 255, 0.06),
    rgba(0, 234, 255, 0)
  );
  border: 1px solid rgba(0, 234, 255, 0.14);
  border-radius: 16px;
  padding: 20px;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 8px;
}
.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 234, 255, 0.15);
  text-align: left;
}
.table th {
  color: var(--accent);
}

.search {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.search input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.accordion {
  border: 1px solid rgba(0, 234, 255, 0.2);
  border-radius: 14px;
}
.accordion-item + .accordion-item {
  border-top: 1px solid rgba(0, 234, 255, 0.15);
}
.accordion-header {
  cursor: pointer;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
}
.accordion-content {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-content {
  padding: 14px 16px;
  max-height: 1200px;
}

form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
form input,
form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
form .error {
  color: var(--danger);
  font-size: 14px;
}

.meta {
  font-size: 14px;
  color: var(--muted);
}

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f17;
  --text: #e7e7f7;
  --muted: #a9a9c6;
  --neon: #cf55ff;
  --elec: #00eaff;
  --card: #121223;
  --line: #1d1d2e;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: radial-gradient(
      1200px 800px at 80% -20%,
      rgba(207, 85, 255, 0.15),
      transparent
    ),
    radial-gradient(
      1000px 700px at 0% 120%,
      rgba(0, 234, 255, 0.1),
      transparent
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: var(--elec);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.95),
    rgba(10, 10, 15, 0.8)
  );
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
}
.main-nav a {
  margin-left: 18px;
  color: var(--text);
  opacity: 0.9;
}
.main-nav a:hover {
  color: #fff;
}

.hero {
  padding: 64px 0 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(207, 85, 255, 0.08), transparent);
}
.hero-inner h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 10px;
  background: linear-gradient(90deg, var(--neon), var(--elec));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-inner p {
  color: var(--muted);
  max-width: 720px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neon);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--neon), var(--elec));
  border: none;
}
.btn-ghost {
  background: transparent;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(207, 85, 255, 0.25);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.icons figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px; /* было 12px */
  padding: 18px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 10, 0.05);
}

.icons figure:hover {
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.18);
}

.icons img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px; /* ЗАКРУГЛЯЮ изображение */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  background: #111;
}
.icons figcaption {
  margin-top: 8px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  margin: 20px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card img {
  display: block;
  width: 100%;
  height: auto;
}
.card-body {
  padding: 14px;
}
.card h3 {
  margin: 6px 0 6px;
}
.card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.preview {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d1a;
}
.preview span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.reasons li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.reasons strong {
  display: block;
  color: #fff;
}
.reasons span {
  color: var(--muted);
}

.cta {
  padding: 36px 0;
  background: linear-gradient(180deg, transparent, rgba(0, 234, 255, 0.08));
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: var(--bg-2);
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.footer-nav a {
  margin-right: 14px;
  color: var(--muted);
}
.footer-nav a:hover {
  color: #fff;
}

/* Sayfa: oyunlar */
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}
.filters input,
.filters select {
  background: #0d0d1a;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
}
.badge-vr {
  border-color: var(--neon);
  color: #fff;
}
.badge-ar {
  border-color: var(--elec);
  color: #fff;
}

/* Sayfa: cihazlar */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.logo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.logo:hover {
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.12);
}
.logo img {
  border-radius: 12px;
  background: #181825;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.schema {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.schema .box {
  background: #0d0d1a;
  border: 1px dashed var(--elec);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.table thead th {
  color: #cfd0ff;
  text-align: left;
  font-weight: 600;
}
.table tbody tr {
  background: var(--card);
}
.table td,
.table th {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Sayfa: deneyimler */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.poster {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.tips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.tip {
  background: #1a1a2b;
  border-radius: 14px;
  margin: 34px 0;
  padding: 24px 18px;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.06);
}
.tip ul {
  padding-left: 22px;
  margin: 0;
}
.tip li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Sayfa: abonelikler */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.price {
  font-size: 28px;
  font-weight: 800;
}
.timer {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
}
.timer .unit {
  background: #0d0d1a;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  min-width: 64px;
  text-align: center;
}
.trust {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.trust .seal {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
}
.faq details {
  background: #0d0d1a;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 10px;
  margin-top: 8px;
}

/* Animasyonlar */
[data-animate] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in {
  opacity: 1;
  transform: none;
}
.pulse .btn-primary {
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(207, 85, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(207, 85, 255, 0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4,
  .card-grid,
  .preview-grid,
  .reasons,
  .steps,
  .poster-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-4,
  .card-grid,
  .preview-grid,
  .reasons,
  .steps,
  .poster-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner h1 {
    font-size: 32px;
  }
}
@media (max-width: 1150px) {
  .site-header .container,
  .site-header .nav-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 12px;
    margin-bottom: 2px;
  }
  .footer-nav a {
    margin: 0 !important;
    font-size: 1.09em;
  }
}

section:first-of-type {
  margin-top: 0;
}

main .container:not(:first-child) {
  margin-top: 32px;
}

body[data-page="iletisim"] .contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
body[data-page="iletisim"] .contact-form .row {
  display: grid;
  gap: 8px;
}
body[data-page="iletisim"] .contact-form input,
body[data-page="iletisim"] .contact-form textarea,
body[data-page="iletisim"] .contact-form select {
  background: #0d0d1a;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}
body[data-page="iletisim"] .contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
body[data-page="iletisim"] .contact-aside {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
body[data-page="iletisim"] .contact-form button {
  margin: 18px 0;
}
body[data-page="iletisim"] .contact-form .consent-row {
  margin: 10px 0;
}

@media (max-width: 800px) {
  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    margin-left: 6px;
    z-index: 105;
  }
  /* Hide burger when overlay is open */
  .nav-menu-open .burger { display: none; }
  .burger span {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    display: block;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-menu-wrap {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: #101019;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.13);
    z-index: 100;
    padding-top: 70px;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
  .nav-menu-open .nav-menu-wrap {
    transform: translateY(0);
    opacity: 1;
    height: 100vh;
    pointer-events: auto;
  }
  .nav-menu-open .nav-menu-wrap .menu {
    display: flex;
  }
  .nav-menu-wrap .menu {
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 18px;
    background: none;
    font-size: 1.16em;
    padding-bottom: 22px;
  }
  .menu a {
    margin: 0 !important;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(100, 100, 130, 0.08);
  }
  /* Close button hidden by default; shown only when overlay is open */
  .nav-menu-wrap .menu-close { display: none; }
  .menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 110;
  }
  .nav-menu-open .nav-menu-wrap .menu-close { display: inline-flex; }
}
@media (max-width: 800px) {
  .nav .menu {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}
@media (min-width: 801px) {
  .burger {
    display: none !important;
  }
  .nav-menu-wrap {
    display: block !important;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .menu-close { display: none !important; }
}
body.nav-menu-open {
  overflow-y: hidden;
}

.container.footer-flex {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 540px) {
  .filters {
    flex-wrap: wrap;
    gap: 10px 8px;
  }
  .filters input[type="search"] {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
    display: block;
    margin-top: 4px;
    order: 2; /* на всякий случай вынести вниз если flex-row */
  }
  .filters label,
  .filters select {
    flex: 0 1 auto;
    min-width: 90px;
  }
}

:root {
  --bg: #0c0c11;
  --bg-secondary: #0f1220;
  --text: #e7e9ee;
  --muted: #a7adbb;
  --primary: var(--accent-blue);
  --accent-red: #ff304a;
  --accent-blue: #3da9ff;
  --card: #12131a;
  --border: #1c1e27;
  --focus: #3da9ff55;
}

/* Global Reset */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.65;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 56px 0;
}
section + section {
  border-top: 1px solid var(--border);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0c0c11 0%, rgba(12, 12, 17, 0.92) 100%);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: radial-gradient(
      65% 65% at 30% 30%,
      var(--accent-red),
      transparent
    ),
    radial-gradient(65% 65% at 70% 70%, var(--accent-blue), transparent),
    #181a23;
  border: 1px solid var(--border);
  box-shadow: 0 0 24px -6px var(--accent-red),
    0 0 24px -6px var(--accent-blue) inset;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.menu a:hover {
  color: var(--text);
  background: #141620;
}
.menu a.active {
  color: var(--text);
  background: #141620;
  box-shadow: 0 0 0 1px var(--border), 0 0 18px -8px var(--accent-blue);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer a {
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

/* Typography */
.h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}
.h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
}

/* Card sections */
.block {
  background: linear-gradient(180deg, #12141c, #0e1017);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.block + .block {
  margin-top: 18px;
}

/* Media */
.media-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.media-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: white;
  text-decoration: none;
  background: linear-gradient(180deg, #1a1c27, #131520);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px var(--accent-blue);
}
.btn-primary {
  background: radial-gradient(
      80% 60% at 30% 30%,
      rgba(255, 48, 74, 0.35),
      transparent
    ),
    radial-gradient(80% 60% at 70% 30%, rgba(61, 169, 255, 0.35), transparent),
    linear-gradient(180deg, #1f2130, #151826);
  border-color: #23263a;
}
.btn-ghost {
  background: #121523;
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Lists */
.kv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.kv div {
  background: #12131a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.kv div strong {
  color: var(--accent-blue);
}

/* Accordion */
.accordion {
  display: grid;
  gap: 10px;
}
.ac-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #11131b;
}
.ac-header {
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ac-header h3 {
  margin: 0;
  font-size: 18px;
}
.ac-chevron {
  color: var(--muted);
  transition: transform 0.2s ease;
}
.ac-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border-top: 1px solid transparent;
}
.ac-content-inner {
  padding: 0 16px 16px;
  color: var(--muted);
}
.ac-item.open .ac-content {
  border-top-color: var(--border);
}
.ac-item.open .ac-chevron {
  transform: rotate(180deg);
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}
.input,
.textarea,
.select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f1220;
  color: var(--text);
}
.textarea {
  min-height: 140px;
  resize: vertical;
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
}
.field {
  display: grid;
  gap: 8px;
}
.field small {
  color: var(--muted);
}
.error {
  color: var(--accent-red);
  font-size: 13px;
  display: none;
}
.invalid .error {
  display: block;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: white;
  background: #1b1e2c;
  border: 1px solid var(--border);
}
.badge-red {
  background: #2a0f16;
  color: #ff8793;
  border-color: #3a1b22;
}
.badge-blue {
  background: #0f2231;
  color: #9cd3ff;
  border-color: #193041;
}

/* Helpers */
.m0 {
  margin: 0;
}
.mt8 {
  margin-top: 8px;
}
.mt12 {
  margin-top: 12px;
}
.mt18 {
  margin-top: 18px;
}
.mt24 {
  margin-top: 24px;
}
.mt32 {
  margin-top: 32px;
}
.center {
  text-align: center;
}

/* Images */
.figure {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.figure figcaption {
  padding: 10px 12px;
  color: var(--muted);
  background: #10121a;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

/* Links */
.link {
  color: var(--accent-blue);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

/* Tables (if needed) */
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  border: 1px solid var(--border);
  padding: 10px;
}
.table th {
  background: #12131a;
  text-align: left;
}

/* Card components */
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}
.card-secondary {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-top: 18px;
  background: var(--bg-secondary);
}
.card-warning {
  border: 2px solid #ff4444;
  border-radius: 10px;
  padding: 18px;
  margin-top: 18px;
  background: rgba(255, 68, 68, 0.1);
}

/* Card headings */
.card-title {
  margin-top: 0;
}
.card-title-primary {
  margin-top: 0;
  color: var(--primary);
}
.card-title-warning {
  margin-top: 0;
  color: #ff4444;
}

/* Lists in cards */
.card-list {
  margin: 12px 0;
  padding-left: 20px;
}
.card-list-small {
  margin: 8px 0;
  padding-left: 20px;
}

/* Tables in cards */
.card-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.card-table-row {
  border-bottom: 1px solid var(--border);
}
.card-table-cell {
  padding: 8px 0;
}

/* Text styles */
.text-small-muted {
  margin-top: 12px;
  font-size: 0.9em;
  color: var(--muted);
}
.text-muted-inline {
  margin: 8px 0;
  color: var(--muted);
}
.text-bold {
  font-weight: bold;
}

/* Grid spacing */
.grid-gap-lg {
  gap: 18px;
  margin-top: 12px;
}

/* Border separators */
.border-top-sep {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.border-top-sep-muted {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* Brand logo */
.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

/* Full width image */
.img-full {
  width: 100%;
  height: auto;
  display: block;
}

/* Link styles */
.link-primary {
  color: var(--primary);
}

/* Responsive fine-tuning */
@media (max-width: 420px) {
  .h1 {
    font-size: 30px;
  }
  .h2 {
    font-size: 22px;
  }
}
.thankspage {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}