﻿:root {
  --bg-main: #071530;
  --bg-soft: #0d2558;
  --surface: rgba(10, 24, 58, 0.75);
  --surface-strong: rgba(8, 20, 50, 0.95);
  --surface-alt: rgba(19, 41, 94, 0.75);
  --text-main: #f1f5ff;
  --text-soft: #bfcef8;
  --primary: #4f8cff;
  --primary-strong: #2f6fee;
  --indigo: #7a8cff;
  --ok: #89beff;
  --danger: #ff8fa3;
  --line: rgba(154, 182, 255, 0.24);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 18px 42px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, 0.28);
}

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

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  color: var(--text-main);
  background:
    radial-gradient(120% 120% at 12% 6%, #1a3e91 0%, transparent 56%),
    radial-gradient(110% 120% at 92% 14%, #413ca7 0%, transparent 61%),
    linear-gradient(165deg, #050d20 0%, var(--bg-main) 43%, #071a3f 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  color: #fff;
}

p,
li {
  color: var(--text-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.background-shape {
  position: fixed;
  z-index: -1;
  filter: blur(22px);
  opacity: 0.34;
}

.shape-1 {
  width: 280px;
  height: 280px;
  border-radius: 45% 55% 62% 38%;
  background: #3487ff;
  top: -84px;
  left: -52px;
}

.shape-2 {
  width: 230px;
  height: 230px;
  border-radius: 52% 48% 36% 64%;
  background: #6e7dff;
  right: -60px;
  top: 34%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(5, 14, 36, 0.88);
  border-bottom: 1px solid rgba(158, 184, 255, 0.2);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.79rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2f6fee, #7f92ff);
}

.brand-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 53vw;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(102, 136, 224, 0.17);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.topnav {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 18, 46, 0.96);
  box-shadow: var(--shadow-md);
}

.topnav.open {
  display: flex;
}

.topnav a {
  color: var(--text-soft);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.topnav a:hover,
.topnav a.active {
  background: rgba(105, 137, 223, 0.22);
  color: #fff;
}

.site-footer {
  padding: 34px 0 40px;
  border-top: 1px solid rgba(154, 182, 255, 0.14);
  background: rgba(5, 14, 35, 0.65);
}

.footer-grid {
  display: grid;
  gap: 14px;
}

.footer-title {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ok);
  font-size: 0.9rem;
  font-weight: 700;
}

.noscript-note {
  background: #101f48;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.page {
  padding: 46px 0 72px;
}

.section {
  padding: 62px 0;
}

.section-soft {
  background: linear-gradient(180deg, transparent, rgba(11, 27, 63, 0.34));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(131, 167, 255, 0.42);
  color: var(--ok);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.7rem);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.45rem, 5.3vw, 2.5rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.06rem;
  margin-bottom: 7px;
}

h4 {
  font-size: 0.97rem;
}

.lead {
  max-width: 68ch;
}

.stack {
  display: grid;
  gap: 16px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grid {
  display: grid;
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.card-alt {
  background: var(--surface-alt);
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--indigo));
  color: #fff;
  box-shadow: 0 10px 22px rgba(73, 133, 255, 0.45);
}

.btn-secondary {
  background: rgba(104, 138, 224, 0.15);
  border: 1px solid rgba(150, 180, 255, 0.36);
  color: #fff;
}

.btn-danger {
  background: rgba(198, 58, 86, 0.28);
  border: 1px solid rgba(255, 150, 170, 0.45);
  color: #fff;
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--indigo));
  color: #fff !important;
}

.btn[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
}

.hero-kpis,
.cards-3,
.cards-2,
.download-grid,
.feature-grid,
.partner-grid,
.legal-grid,
.admin-layout,
.category-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.kpi-card .kpi-number {
  font-family: "Sora", sans-serif;
  font-size: 1.95rem;
  color: #fff;
  font-weight: 800;
}

.kpi-card .kpi-label {
  font-size: 0.9rem;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
  background: var(--surface-strong);
  margin-top: 18px;
}

.table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(151, 181, 255, 0.18);
  text-align: left;
}

.table-wrap th {
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  color: #fff;
}

.table-wrap td {
  font-size: 0.92rem;
}

.table-wrap td:nth-child(2),
.table-wrap td:nth-child(3),
.table-wrap th:nth-child(2),
.table-wrap th:nth-child(3) {
  text-align: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(145, 175, 255, 0.35);
  background: rgba(78, 113, 198, 0.19);
  color: #dbe7ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-founder {
  background: rgba(255, 204, 86, 0.14);
  color: #ffdb85;
  border-color: rgba(255, 210, 116, 0.4);
}

.banner-slot {
  border: 1px dashed rgba(162, 189, 255, 0.5);
  border-radius: 12px;
  padding: 14px;
  background: rgba(44, 74, 148, 0.14);
}

.banner-slot strong {
  color: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips a {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(145, 175, 255, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  color: #dbe7ff;
}

.chips a.active {
  background: rgba(94, 133, 232, 0.23);
  color: #fff;
}

.notice,
.disclaimer {
  border: 1px solid rgba(144, 174, 255, 0.32);
  border-radius: 14px;
  background: rgba(15, 34, 77, 0.72);
  padding: 14px;
}

.notice strong,
.disclaimer strong {
  color: #fff;
}

.disclaimer-fixed {
  position: sticky;
  bottom: 10px;
  margin-top: 16px;
  backdrop-filter: blur(8px);
}

.disclaimer ul {
  list-style: none;
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.partner-card {
  display: grid;
  gap: 10px;
}

.partner-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ok);
}

.partner-photo {
  border-radius: 12px;
  border: 1px solid rgba(150, 180, 255, 0.25);
  background: rgba(56, 84, 147, 0.3);
  min-height: 130px;
  object-fit: cover;
}

.qr-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.qr-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.qr-card img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  border: 1px solid rgba(148, 176, 255, 0.36);
  background: #fff;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(149, 179, 255, 0.37);
  background: rgba(11, 29, 68, 0.85);
  color: #fff;
  padding: 10px 11px;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: 2px solid rgba(100, 146, 255, 0.4);
  outline-offset: 1px;
}

.textarea {
  min-height: 100px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-fields {
  display: grid;
  gap: 10px;
}

.message {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(144, 173, 255, 0.33);
  background: rgba(20, 40, 87, 0.82);
  font-size: 0.88rem;
}

.message.error {
  border-color: rgba(255, 146, 166, 0.42);
  background: rgba(94, 25, 39, 0.62);
  color: #ffd7e0;
}

.message.success {
  border-color: rgba(132, 205, 255, 0.45);
  background: rgba(16, 67, 93, 0.62);
  color: #dbf5ff;
}

.checklist-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(16, 37, 84, 0.7);
}

.checklist-item input {
  margin-top: 4px;
}

.progress-wrap {
  margin-top: 12px;
  border-radius: 999px;
  height: 10px;
  background: rgba(118, 152, 233, 0.2);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4d8cff, #7f8fff);
  transition: width 0.25s ease;
}

.auth-cards {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.auth-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 15px;
}

.sponsored {
  border: 1px solid rgba(255, 206, 91, 0.42);
  background: rgba(139, 104, 26, 0.16);
}

.empty-state {
  border: 1px dashed rgba(154, 184, 255, 0.42);
  border-radius: 12px;
  padding: 15px;
  background: rgba(17, 35, 75, 0.56);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .topbar {
    padding-inline: 4vw;
  }

  .brand-text {
    max-width: none;
    font-size: 0.94rem;
  }

  .nav-toggle {
    display: none;
  }

  .topnav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    right: auto;
    left: auto;
  }

  .hero-kpis,
  .cards-3,
  .download-grid,
  .partner-grid,
  .category-grid,
  .legal-grid,
  .admin-layout,
  .auth-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-2,
  .feature-grid,
  .qr-grid,
  .inline-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .section {
    padding: 80px 0;
  }

  .cards-3,
  .download-grid,
  .partner-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .admin-layout,
  .legal-grid,
  .auth-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
}
