﻿:root {
  --bg-0: #050916;
  --bg-1: #0a1227;
  --bg-2: #091a32;
  --card: rgba(16, 27, 54, 0.72);
  --card-soft: rgba(14, 24, 46, 0.48);
  --line: rgba(139, 181, 255, 0.25);
  --line-strong: rgba(155, 207, 255, 0.45);
  --ink: #eef4ff;
  --muted: #a9bbda;
  --teal: #3de0dc;
  --blue: #67a4ff;
  --purple: #7d7eff;
  --danger: #ff808d;
  --success: #49d8aa;
  --radius: 18px;
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 10px 22px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(96, 140, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(61, 224, 220, 0.12), transparent 30%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1) 44%, var(--bg-2));
}

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 70%, rgba(125, 126, 255, 0.14), transparent 38%),
    radial-gradient(circle at 80% 76%, rgba(87, 178, 255, 0.16), transparent 40%);
  opacity: 0.8;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.05);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--teal), var(--blue));
  box-shadow: 0 0 10px rgba(61, 224, 220, 0.35);
}

h1,
h2,
h3,
strong {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 4px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1220px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 13, 29, 0.68);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(153, 221, 255, 0.55);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav > a {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: #d7e7ff;
}

nav > a:hover {
  background: rgba(112, 158, 255, 0.13);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 54px 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  padding-top: 46px;
}

.hero-copy,
.hero-panel,
.flow,
.modules,
.demo-selector,
.faq,
.stat-card,
.steps article,
.module-detail-card,
.demo-choice-btn,
.demo-form,
.demo-panel,
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.hero-copy,
.hero-panel {
  padding: 26px;
}

.eyebrow {
  margin: 0;
  color: #89dbff;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.hero-copy h1 {
  margin-top: 8px;
  font-size: clamp(1.85rem, 3.2vw, 3.05rem);
  line-height: 1.1;
  text-wrap: balance;
}

.lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.62;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  color: #d5e5ff;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.hero-proof i {
  color: var(--teal);
}

.hero-panel {
  background:
    radial-gradient(circle at 84% 14%, rgba(127, 163, 255, 0.24), transparent 36%),
    linear-gradient(165deg, rgba(21, 34, 67, 0.88), rgba(11, 22, 45, 0.94));
  overflow: hidden;
}

.wallet-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.wallet-head small {
  color: #a8c2e9;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.71rem;
  letter-spacing: 0.08em;
}

.wallet-head strong {
  font-size: 1.28rem;
}

.wallet-cards {
  display: grid;
  gap: 10px;
}

.wallet-cards article {
  border: 1px solid rgba(148, 200, 255, 0.28);
  border-radius: 14px;
  padding: 12px;
  background: rgba(8, 15, 32, 0.55);
  display: grid;
  gap: 4px;
}

.wallet-cards article span {
  color: #84b8ff;
  font-weight: 700;
  font-size: 0.86rem;
}

.wallet-cards article strong {
  font-size: 1rem;
}

.wallet-cards article small {
  color: #a8bbdd;
  font-weight: 600;
}

.wallet-foot {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #b7ceee;
  font-size: 0.9rem;
}

.wallet-foot i {
  color: var(--teal);
  margin-right: 6px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 6px;
}

.stat-card {
  padding: 16px;
  background: var(--card-soft);
}

.stat-card small {
  display: block;
  color: #b9c9e5;
  font-weight: 700;
}

.stat-card strong {
  margin-top: 5px;
  display: block;
  font-size: 1.58rem;
  color: #ecf3ff;
}

.flow,
.modules,
.demo-selector,
.faq {
  padding: 24px;
}

.flow h2,
.modules h2,
.demo-selector h2,
.faq h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  margin-bottom: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.steps article {
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.steps article:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.steps span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #031020;
  background: linear-gradient(145deg, var(--teal), #9be9ff);
  font-weight: 800;
}

.steps h3 {
  margin: 10px 0 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.module-showcase {
  display: grid;
  gap: 14px;
}

.module-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0a1831;
}

.module-carousel-viewport {
  overflow: hidden;
}

.module-carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.module-slide {
  min-width: 100%;
  opacity: 0.88;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.module-slide.is-active,
.module-slide:hover {
  opacity: 1;
}

.module-slide img {
  width: 100%;
  height: clamp(200px, 30vw, 350px);
  object-fit: cover;
  display: block;
}

.module-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(184, 223, 255, 0.6);
  border-radius: 50%;
  background: rgba(4, 14, 34, 0.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.module-carousel-nav:hover {
  background: rgba(10, 28, 62, 0.84);
}

.module-carousel-nav.prev {
  left: 12px;
}

.module-carousel-nav.next {
  right: 12px;
}

.module-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.module-chip {
  border: 1px solid rgba(146, 184, 255, 0.3);
  border-radius: 12px;
  min-height: 42px;
  padding: 8px 10px;
  color: #dce9ff;
  background: rgba(15, 28, 55, 0.8);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-chip:hover {
  transform: translateY(-2px);
}

.module-chip.is-active {
  border-color: rgba(142, 245, 255, 0.9);
  box-shadow: 0 10px 20px rgba(61, 224, 220, 0.22);
  background: linear-gradient(145deg, rgba(24, 58, 95, 0.95), rgba(22, 50, 83, 0.95));
}

.module-detail-card {
  padding: 18px;
  background: rgba(11, 23, 47, 0.84);
}

.module-detail-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.module-detail-card ul {
  margin: 12px 0 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #d4e5ff;
}

.demo-selector-head {
  max-width: 760px;
}

.demo-choice-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.demo-choice-btn {
  padding: 15px;
  text-align: left;
  color: #d7e6ff;
  background: rgba(13, 24, 47, 0.75);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.demo-choice-btn:hover {
  transform: translateY(-2px);
}

.demo-choice-btn.is-active {
  border-color: rgba(132, 244, 255, 0.9);
  box-shadow: 0 14px 26px rgba(61, 224, 220, 0.16);
}

.demo-choice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  color: #98b9e6;
}

.demo-choice-top small {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.demo-choice-btn strong {
  font-size: 1.03rem;
}

.demo-choice-btn span {
  color: var(--muted);
}

.demo-panel {
  margin-top: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.demo-panel.is-open {
  max-height: 2400px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.demo-panel-content {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-panel-content p {
  color: var(--muted);
  line-height: 1.62;
  margin-top: 0;
}

.demo-panel-content ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #d7e5fc;
}

.demo-form {
  padding: 18px;
  background: rgba(9, 18, 37, 0.82);
  display: grid;
  gap: 10px;
}

.demo-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid rgba(131, 166, 227, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  color: #eef5ff;
  background: rgba(5, 12, 28, 0.75);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form input:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: rgba(116, 239, 241, 0.95);
  box-shadow: 0 0 0 4px rgba(61, 224, 220, 0.16);
}

.demo-form textarea {
  min-height: 90px;
  resize: vertical;
}

.feedback {
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.93rem;
  margin-top: 12px;
}

.feedback.ok {
  border: 1px solid rgba(73, 216, 170, 0.5);
  background: rgba(28, 67, 57, 0.75);
  color: #b8ffd9;
}

.feedback.error {
  border: 1px solid rgba(255, 128, 141, 0.58);
  background: rgba(74, 22, 33, 0.72);
  color: #ffd3d8;
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #87d8ff;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.58;
}

.site-footer {
  max-width: 1220px;
  margin: 14px auto 36px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(6, 12, 26, 0.86);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
  color: #d8e9ff;
}

.site-footer a {
  color: #8fefff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-solid,
.btn-ghost {
  min-height: 42px;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  border: 1px solid rgba(146, 250, 255, 0.85);
  color: #041126;
  background: linear-gradient(145deg, #96f5ff, #58c7ff);
  box-shadow: 0 12px 24px rgba(65, 190, 255, 0.32);
}

.btn-solid:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(148, 184, 255, 0.48);
  background: rgba(11, 22, 43, 0.86);
  color: #d7e7ff;
}

.btn-ghost:hover {
  border-color: rgba(154, 241, 255, 0.88);
  box-shadow: 0 12px 24px rgba(61, 224, 220, 0.14);
}

.wide {
  width: 100%;
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .hero,
  .steps,
  .demo-panel-content {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    backdrop-filter: none;
  }

  .ambient-bg {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 42px 14px;
  }

  .site-header {
    margin: 10px 10px 0;
    padding: 10px;
  }

  nav {
    gap: 6px;
  }

  nav > a {
    padding: 7px 10px;
    font-size: 0.92rem;
  }

  .stat-strip,
  .module-chip-grid,
  .demo-choice-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .flow,
  .modules,
  .demo-selector,
  .faq {
    padding: 18px;
  }

  .btn-solid,
  .btn-ghost {
    width: 100%;
  }

  .scroll-progress {
    height: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
