:root {
  --bg: #07080d;
  --surface: #0e1018;
  --surface2: #141622;
  --border: rgba(255, 255, 255, 0.07);
  --accent: #00c993;
  --accent2: #5b6fff;
  --accent3: #ff6b6b;
  --text: #e8eaf0;
  --muted: #6b7280;
  --card-bg: rgba(255, 255, 255, 0.03);
  --font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  bottom: 10%;
  left: -200px;
  animation-delay: -7s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--accent3);
  top: 50%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 30px) scale(1.08);
  }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 32px;
  display: block;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #07080d;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 201, 147, 0.1);
  border: 1px solid rgba(0, 201, 147, 0.25);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 880px;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-title .line-accent {
  color: var(--accent);
}

.hero-title .line-dim {
  color: var(--muted);
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  margin-top: 24px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.btn-primary {
  background: var(--accent);
  color: #07080d;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(0, 201, 147, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 201, 147, 0.38);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 40px;
  margin-bottom: 100px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 56px;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.stat-item:not(:last-child) {
  border-right: none;
}

.stat-item:first-child {
  border-radius: 12px 0 0 12px;
}

.stat-item:last-child {
  border-radius: 0 12px 12px 0;
}

.stat-num {
  font-family: var(--font);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

section,
.how-section,
.modules-section,
.risk-section {
  position: relative;
  z-index: 1;
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 400;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 38px 34px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--surface2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.icon-green { background: rgba(0, 201, 147, 0.12); }
.icon-blue { background: rgba(91, 111, 255, 0.12); }
.icon-red { background: rgba(255, 107, 107, 0.12); }
.icon-yellow { background: rgba(255, 193, 7, 0.12); }

.feature-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}

.feature-desc {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.module-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 80% 20%, var(--card-glow, rgba(0, 201, 147, 0.06)) 0%, transparent 70%);
  pointer-events: none;
}

.module-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.module-card.accent-green { --card-glow: rgba(0, 201, 147, 0.08); }
.module-card.accent-blue { --card-glow: rgba(91, 111, 255, 0.08); }
.module-card.accent-red { --card-glow: rgba(255, 107, 107, 0.08); }
.module-card.accent-yellow { --card-glow: rgba(255, 193, 7, 0.08); }

.module-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.tag-green { background: rgba(0, 201, 147, 0.1); color: var(--accent); }
.tag-blue { background: rgba(91, 111, 255, 0.12); color: #8b9fff; }
.tag-red { background: rgba(255, 107, 107, 0.1); color: #ff8f8f; }
.tag-yellow { background: rgba(255, 193, 7, 0.1); color: #ffd54f; }

.module-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.module-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.module-points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.module-points li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.78rem;
  margin-top: 1px;
}

.module-card.accent-blue .module-points li::before { color: #8b9fff; }
.module-card.accent-red .module-points li::before { color: #ff8f8f; }
.module-card.accent-yellow .module-points li::before { color: #ffd54f; }

.steps-container {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 780px;
}

.steps-container::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 44px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
  opacity: 0.28;
}

.step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent);
}

.step-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 7px;
}

.step-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.risk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  transition: border-color 0.3s;
}

.risk-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.risk-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.risk-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 7px;
}

.risk-desc {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.cta-section {
  padding: 80px 40px 120px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 68px 58px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 201, 147, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-sub {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 38px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-width: 0;
  width: auto;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.contact-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-logo svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.contact-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

.contact-value {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.contact-telegram {
  border-color: rgba(0, 201, 147, 0.35);
  background: rgba(0, 201, 147, 0.08);
}

.contact-telegram .contact-logo {
  background: rgba(0, 201, 147, 0.22);
  color: #eafff8;
}

.contact-teams {
  border-color: rgba(91, 111, 255, 0.35);
  background: rgba(91, 111, 255, 0.08);
}

.contact-teams .contact-logo {
  background: rgba(91, 111, 255, 0.22);
  color: #f1f4ff;
}

.contact-card.is-disabled {
  opacity: 0.65;
  pointer-events: none;
  transform: none;
}

.form-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 22px 0 18px;
}

.contact-form {
  width: 100%;
  text-align: left;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 11px 13px;
  font-size: 0.92rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(232, 234, 240, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(0, 201, 147, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-submit {
  padding: 12px 22px;
  font-size: 0.9rem;
  box-shadow: 0 0 28px rgba(0, 201, 147, 0.2);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.form-status {
  min-height: 22px;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #64f0c6;
}

.form-status[data-state="error"] {
  color: #ff9d9d;
}

.form-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 38px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 26px;
  display: block;
  opacity: 0.85;
  width: auto;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.8rem;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

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

.full-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
  z-index: 1;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 900px) {
  nav {
    padding: 14px 22px;
  }

  .nav-links {
    display: none;
  }

  section,
  .how-section,
  .modules-section,
  .risk-section {
    padding: 60px 22px;
  }

  .features-grid,
  .modules-grid,
  .risk-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    border-radius: 0 !important;
    width: 100%;
    max-width: 300px;
    border-right: 1px solid var(--border) !important;
  }

  .stat-item:first-child {
    border-radius: 12px 12px 0 0 !important;
  }

  .stat-item:last-child {
    border-radius: 0 0 12px 12px !important;
  }

  footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 30px 22px;
  }

  .cta-box {
    padding: 44px 26px;
  }

  .hero {
    padding: 96px 22px 56px;
  }
}
