﻿:root {
  --bg0: #070a12;
  --bg1: #0a1224;

  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.1);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --muted2: rgba(255, 255, 255, 0.55);

  --accent: #2b8cff;
  --accent2: #00f0ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow2: 0 12px 28px rgba(2, 6, 23, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: #001223;
  overflow-x: hidden;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  filter: blur(60px);
  opacity: 0.55;
  border-radius: 50%;
}
.blob-a {
  left: -140px;
  top: -160px;
  background: rgba(43, 140, 255, 0.45);
}
.blob-b {
  right: -180px;
  top: 120px;
  background: rgba(0, 240, 255, 0.28);
}
.blob-c {
  left: 15%;
  bottom: -220px;
  background: rgba(184, 108, 255, 0.2);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.25;
  mask-image: radial-gradient(circle at 30% 10%, black 10%, transparent 60%);
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* Navbar (как на главной) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(7, 10, 16, 0.35);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.navbar.scrolled {
  background: rgba(7, 10, 16, 0.62);
  box-shadow: var(--shadow2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 100px;
  height: auto;
  object-fit: contain;
}
.brand-name {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.menu {
  display: flex;
  gap: 26px;
  margin-left: auto;
  margin-right: auto;
}
.menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.menu a:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(43, 140, 255, 0.35);
}
.menu a.is-active {
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-auth-link {
  text-decoration: none;
}

/* Buttons */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}
.btn-sm {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13px;
}
.btn-md {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
}
.btn-lg {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: #0b1220;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.btn-accent {
  background: linear-gradient(
    90deg,
    rgba(43, 140, 255, 1),
    rgba(0, 240, 255, 0.85)
  );
  color: #061019;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 40px rgba(43, 140, 255, 0.18);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(43, 140, 255, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 240, 255, 0.3);
}

.w-100 {
  width: 100%;
}

/* Burger + Mobile menu */
.burger {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  right: 16px;
  top: 68px;
  width: min(340px, 92vw);
  background: rgba(7, 10, 16, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
  display: none;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 10px;
}
.mobile-title {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.mobile-close {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  cursor: pointer;
}
.mobile-menu a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.mobile-menu a.is-active {
  background: rgba(255, 255, 255, 0.06);
}
.mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* Auth UI */
.auth-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.profile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: block;
}
.profile-avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.18);
  border-color: rgba(0, 240, 255, 0.35);
}
.logout-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.logout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 240, 255, 0.22);
}

/* Hero */
.hero {
  padding: 64px 0 34px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  min-height: 520px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  margin-bottom: 16px;
}
.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.hero-title {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.grad {
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad2 {
  background: linear-gradient(90deg, rgba(184, 108, 255, 1), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Right card */
.hero-right {
  position: relative;
}
.hero-glow {
  position: absolute;
  inset: -30px -20px -30px -20px;
  background: radial-gradient(
    550px 350px at 50% 40%,
    rgba(43, 140, 255, 0.18),
    transparent 55%
  );
  filter: blur(18px);
  z-index: -1;
}
.mock-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
}
.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mock-pill {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.mock-status {
  color: rgba(16, 185, 129, 0.95);
  font-weight: 700;
  font-size: 13px;
}
.mini {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
}
.mini-ico {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.12),
    rgba(43, 140, 255, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
}
.mini-t {
  font-weight: 800;
}
.mini-d {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
}

.mock-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.kpi-n {
  font-size: 20px;
  font-weight: 900;
}
.kpi-l {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 18px 0 10px;
}
.section-head {
  text-align: center;
  margin: 30px 0 18px;
}
.h2 {
  font-size: 26px;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
.h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.p {
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}
.muted {
  color: var(--muted);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.panel {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
  padding: 18px;
}
.panel-soft {
  background: rgba(255, 255, 255, 0.05);
}

.bullets {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: 0 0 0 6px rgba(43, 140, 255, 0.1);
}
.bullet-t {
  font-weight: 800;
}
.bullet-d {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.45;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.tl {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.tl-k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.tl-t {
  font-weight: 800;
  margin-top: 3px;
}
.tl-d {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.45;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.value-ico {
  font-size: 18px;
}
.value-t {
  font-weight: 900;
}
.value-d {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.person {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ava {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    rgba(184, 108, 255, 0.18),
    rgba(0, 240, 255, 0.12)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.person-n {
  font-weight: 900;
}
.person-r {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* Footer */
.footer {
  padding: 34px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 16, 0.35);
  backdrop-filter: blur(14px);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand {
  font-weight: 900;
}
.footer-sub {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
  font-size: 13px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.footer-nav a:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(43, 140, 255, 0.35);
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.error {
  border-left: 4px solid #2b8cff;
}
.toast.success {
  border-left: 4px solid #22c55e;
}

/* Responsive */
@media (max-width: 980px) {
  .menu {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .grid4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 52px;
  }
  .hero-title {
    font-size: 34px;
  }
  .btn-lg {
    width: 100%;
  }
  .hero-actions {
    width: 100%;
  }
  .grid4 {
    grid-template-columns: 1fr;
  }
}
