:root {
  --bg: #050913;
  --bg-deep: #02040a;
  --card: rgba(16, 27, 49, 0.58);
  --card-border: rgba(236, 195, 110, 0.32);
  --text: #e8eefc;
  --muted: #9eb0d0;
  --gold: #f0c26b;
  --gold-soft: rgba(240, 194, 107, 0.24);
  --cyan: #58d7ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #102145 0%, var(--bg) 34%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

.bg-layer {
  position: fixed;
  inset: -20vh -20vw;
  pointer-events: none;
  z-index: -3;
  will-change: transform;
}

.bg-layer-a {
  background: radial-gradient(circle at 70% 30%, rgba(80, 148, 255, 0.28), transparent 40%),
    radial-gradient(circle at 22% 75%, rgba(255, 214, 128, 0.16), transparent 35%);
}

.bg-layer-b {
  background: radial-gradient(circle at 50% 110%, rgba(98, 71, 255, 0.2), transparent 42%);
  z-index: -4;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.4px, transparent 0.4px);
  background-size: 3px 3px;
}

.cursor-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(58px);
  opacity: 0.32;
  background: radial-gradient(circle at center, rgba(240, 194, 107, 0.45), rgba(88, 215, 255, 0.05) 60%, transparent);
  transform: translate(-50%, -50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to right, rgba(7, 12, 22, 0.86), rgba(7, 12, 22, 0.6));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(14px, 4vw, 42px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

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

.btn-gold {
  color: #1d1200;
  background: linear-gradient(135deg, #f6ce84, #d9a84a);
  box-shadow: 0 8px 24px rgba(240, 194, 107, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

main {
  width: min(var(--max), 100% - 34px);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 80px);
  padding: clamp(58px, 10vh, 120px) 0 56px;
  position: relative;
  display: grid;
  align-content: start;
}

.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  pointer-events: none;
}

.orb-a {
  width: 420px;
  height: 420px;
  right: -70px;
  top: 30px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 210, 130, 0.58), rgba(255, 210, 130, 0.04) 65%, transparent);
}

.orb-b {
  width: 300px;
  height: 300px;
  left: -80px;
  bottom: 50px;
  background: radial-gradient(circle at 55% 50%, rgba(88, 215, 255, 0.36), rgba(88, 215, 255, 0.02) 70%, transparent);
}

.orb-c {
  width: 230px;
  height: 230px;
  right: 26%;
  top: 58%;
  background: radial-gradient(circle at 45% 45%, rgba(130, 114, 255, 0.35), rgba(130, 114, 255, 0.04) 70%, transparent);
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.45;
  max-width: 850px;
}

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

.hero-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats article {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 15px;
}

.stat-value {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 68px 0;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.features-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.card {
  background: linear-gradient(160deg, rgba(13, 23, 43, 0.92), rgba(8, 14, 28, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.36), 0 0 24px var(--gold-soft);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.timeline {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.75);
  padding: 14px;
}

.timeline-item span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #201000;
  background: linear-gradient(130deg, #ffd78e, #dfa94c);
}

.timeline-item h3 {
  margin: 0 0 6px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.legal-box {
  margin-top: 20px;
  background: linear-gradient(160deg, rgba(16, 27, 49, 0.92), rgba(9, 16, 30, 0.92));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
}

.legal-box p,
.legal-box li {
  color: var(--muted);
  line-height: 1.5;
}

.legal-box ul {
  margin: 14px 0;
  padding-left: 18px;
}

.contacts-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.76);
  padding: 16px;
}

.contact-card h3 {
  margin: 0 0 10px;
}

.contact-card a {
  color: var(--cyan);
  font-weight: 700;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  width: min(var(--max), 100% - 34px);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0 34px;
}

.site-footer a {
  color: var(--text);
  font-weight: 600;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
}
