@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #050913;
  --bg-soft: #0b1324;
  --panel: #101c34;
  --panel-soft: #152442;
  --text: #edf3ff;
  --muted: #9db0cd;
  --line: rgba(157, 176, 205, 0.24);
  --primary: #39c3ff;
  --primary-strong: #0891d8;
  --accent: #5ef0c3;
  --danger: #ff6b7a;
  --success: #6ee7b7;
  --radius-lg: 24px;
  --radius-md: 14px;
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(57, 195, 255, 0.16), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(94, 240, 195, 0.11), transparent 34%),
    linear-gradient(180deg, #050913 0%, #070e1b 36%, #050913 100%);
}

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

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

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

.section {
  padding: 86px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(16, 28, 52, 0.82), rgba(8, 15, 30, 0.86));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 9, 19, 0.76);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(157, 176, 205, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  transition: color 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.cta,
.light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.cta {
  color: #031423;
  background: linear-gradient(130deg, var(--accent), var(--primary));
}

.cta:hover,
.light-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.light-btn {
  color: #03243d;
  background: #f2fbff;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.hero {
  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 38px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 20px;
  color: #adf2ff;
  background: rgba(57, 195, 255, 0.15);
  border: 1px solid rgba(57, 195, 255, 0.25);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.15;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);
}

h2 {
  font-size: clamp(1.72rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.legal-hero-title {
  font-size: clamp(1.95rem, 2.9vw, 2.75rem);
}

p {
  margin: 0 0 14px;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--text);
  background: rgba(16, 28, 52, 0.68);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(157, 176, 205, 0.28);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.stat-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(21, 36, 66, 0.9), rgba(11, 19, 36, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #d9f7ff;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cards,
.feature-list,
.step-wrap {
  display: grid;
  gap: 18px;
}

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

.step-wrap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature-item,
.step,
.legal-card,
.form-card,
.info-card,
.download-card,
.system-card {
  background: linear-gradient(180deg, rgba(16, 28, 52, 0.9), rgba(10, 16, 30, 0.96));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.card p,
.feature-item p,
.step p,
.legal-card p,
.system-card p,
.download-card p,
.info-card p {
  color: var(--muted);
}

.card .badge {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.93rem;
  color: #cff8ea;
  background: rgba(94, 240, 195, 0.18);
  border: 1px solid rgba(94, 240, 195, 0.3);
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--primary), var(--accent));
  color: #03253f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-band {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(94, 240, 195, 0.17), transparent 45%),
    linear-gradient(120deg, #0d223f 0%, #10325c 60%, #0f2748 100%);
  border: 1px solid rgba(94, 240, 195, 0.28);
  padding: clamp(30px, 3.5vw, 46px);
  display: grid;
  gap: 12px;
  text-align: center;
}

.cta-band p {
  margin: 0 auto;
  max-width: 760px;
  color: #c6ddf8;
}

.download-grid,
.policy-wrap,
.contact-wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.legal-card ul,
.legal-card ol,
.system-card ul,
.system-card ol,
.download-card ul,
.download-card ol {
  padding-left: 20px;
  margin: 10px 0 16px;
  color: var(--muted);
}

.legal-card li,
.system-card li,
.download-card li {
  margin-bottom: 8px;
}

.last-update {
  margin-top: 14px;
  color: #9de8ff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list .item {
  background: rgba(57, 195, 255, 0.08);
  border: 1px solid rgba(57, 195, 255, 0.18);
  border-radius: 12px;
  padding: 12px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.form-row label,
.check-row label {
  color: #dcecff;
  font-weight: 600;
}

input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: rgba(8, 15, 29, 0.8);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(57, 195, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(57, 195, 255, 0.16);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.check-row input {
  margin-top: 5px;
}

.form-feedback {
  min-height: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

.form-feedback.error {
  color: var(--danger);
}

.form-feedback.success {
  color: var(--success);
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-info .line {
  border: 1px solid rgba(157, 176, 205, 0.23);
  background: rgba(8, 15, 29, 0.8);
  border-radius: 12px;
  padding: 13px;
}

.contact-info strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 19, 0.9);
  padding: 42px 0 24px;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-note {
  margin: 0 auto 16px;
  max-width: 740px;
  text-align: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.h5-shell {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 16px 36px;
}

.h5-shell .head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.h5-shell .head img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.h5-shell section {
  background: linear-gradient(180deg, rgba(16, 28, 52, 0.94), rgba(9, 15, 29, 0.96));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.h5-shell ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero-grid,
  .download-grid,
  .policy-wrap,
  .contact-wrap,
  .cards,
  .feature-list,
  .step-wrap,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 74px;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 74px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: rgba(7, 14, 27, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .header-action.open {
    display: block;
    position: absolute;
    right: 4%;
    top: 258px;
  }

  .section {
    padding: 64px 0;
  }
}
