:root {
  --purple-900: #2e1345;
  --purple-800: #3c1a58;
  --purple-700: #52247a;
  --purple-600: #6a3899;
  --purple-500: #8452ad;
  --lavender-400: #9c84b4;
  --lavender-300: #b8a2cf;
  --lavender-200: #d9cde7;
  --lavender-100: #f0eaf6;
  --bg-light: #f8f6fb;
  --text-dark: #241934;
  --text-muted: #5c4f6b;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 10px 30px rgba(46, 19, 69, 0.12);
  --shadow-lg: 0 24px 60px rgba(24, 8, 41, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Comfortaa", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 400;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(46, 19, 69, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-700);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--purple-700);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--lavender-400);
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--purple-600) 0%, var(--purple-800) 45%, var(--purple-900) 100%);
  color: var(--white);
  padding: 108px 24px 150px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 40%, transparent 80%);
  z-index: -2;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.55;
  animation: float 9s ease-in-out infinite alternate;
}

.blob-a {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--lavender-300), transparent 70%);
  top: -120px;
  right: -80px;
}

.blob-b {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--purple-500), transparent 70%);
  bottom: -100px;
  left: 8%;
  animation-delay: 1.5s;
}

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(18px, 26px); }
}

@keyframes floatCard {
  from { transform: translateY(0) rotate(-3deg); }
  to { transform: translateY(-14px) rotate(-1deg); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender-200);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender-300);
  box-shadow: 0 0 10px 2px var(--lavender-300);
}

.hero h1 {
  color: var(--white);
  max-width: 620px;
}

.hero h3 {
  color: var(--lavender-200);
  font-weight: 400;
  max-width: 560px;
  margin: 0 0 2em;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(120deg, var(--lavender-400), var(--purple-500));
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 12px 26px rgba(84, 36, 122, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(84, 36, 122, 0.5);
}

/* Wallet card mockup */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.wallet-card {
  width: 320px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--purple-600), var(--purple-800) 70%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  animation: floatCard 7s ease-in-out infinite alternate;
}

.wallet-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.wallet-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.wallet-chip {
  width: 34px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--lavender-200), var(--lavender-400));
  position: relative;
  overflow: hidden;
}

.wallet-chip::before,
.wallet-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(46, 19, 69, 0.35);
}

.wallet-chip::before { top: 8px; }
.wallet-chip::after { top: 16px; }

.wallet-balance-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender-200);
  margin-bottom: 4px;
}

.wallet-balance {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.wallet-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--lavender-200);
}

.badge-orb {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 24px rgba(20, 6, 36, 0.3);
  color: var(--lavender-100);
}

.badge-orb svg {
  width: 24px;
  height: 24px;
}

.badge-orb-a {
  top: 6%;
  left: -6%;
  animation: float 6s ease-in-out infinite alternate;
}

.badge-orb-b {
  bottom: 10%;
  right: -8%;
  animation: float 8s ease-in-out infinite alternate-reverse;
}

/* Sections */
section {
  padding: 96px 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-light);
  background-image:
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.75) 46%, rgba(156, 132, 180, 0.16) 52%, transparent 72%),
    repeating-radial-gradient(circle at 82% 12%, rgba(82, 36, 122, 0.08) 0px, rgba(82, 36, 122, 0.08) 1px, transparent 1px, transparent 24px);
}

.section-dark {
  background: linear-gradient(180deg, var(--purple-800), var(--purple-900));
  color: var(--white);
  overflow: hidden;
}

.section-dark h1,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  color: var(--purple-700);
}

.section-lede {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.4em;
  color: var(--text-muted);
}

.section-dark .section-lede {
  color: var(--lavender-200);
}

.divider {
  height: 1px;
  background: var(--lavender-200);
  border: none;
  max-width: 760px;
  margin: 2.4em auto;
}

.section-dark .divider {
  background: rgba(255, 255, 255, 0.2);
}

/* Browser-chrome dashboard mockup */
.browser-frame {
  max-width: 860px;
  margin: 0 auto 3.5em;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border: 1px solid var(--lavender-100);
}

.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--lavender-100);
}

.browser-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lavender-300);
}

.browser-frame-bar span:nth-child(1) { background: #e59a9a; }
.browser-frame-bar span:nth-child(2) { background: #e9c98a; }
.browser-frame-bar span:nth-child(3) { background: #9ad0a6; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 20px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(154, 132, 180, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(46, 19, 69, 0.18);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--purple-600), var(--lavender-400));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(84, 36, 122, 0.3);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  color: var(--purple-700);
  margin: 0;
}

.platform-band {
  text-align: center;
}

.platform-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 320px at 20% 20%, rgba(156, 132, 180, 0.35), transparent 70%),
    radial-gradient(420px 300px at 85% 80%, rgba(132, 82, 173, 0.4), transparent 70%);
  z-index: 0;
}

.platform-band .container {
  max-width: 820px;
  z-index: 1;
}

.about-section .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.about-block {
  text-align: left;
}

.about-block h1 {
  color: var(--purple-700);
}

.about-block h3 {
  color: var(--purple-700);
  font-weight: 400;
}

.about-block .divider {
  margin-left: 0;
}

.about-callout {
  text-align: left;
  max-width: 480px;
  margin: 2em 0 0;
  padding: 22px 28px;
  background: var(--lavender-100);
  border-left: 4px solid var(--lavender-400);
  border-radius: 8px;
  color: var(--purple-700);
}

.network-graphic {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: block;
}

/* Contact */
.contact-section {
  background: radial-gradient(120% 140% at 85% 100%, var(--purple-600) 0%, var(--purple-900) 55%, #1c0a2c 100%);
  color: var(--white);
}

.contact-section .blob {
  opacity: 0.4;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-inner h1 {
  color: var(--white);
}

.contact-lede {
  font-style: italic;
  color: var(--lavender-200);
}

.contact-email a {
  color: var(--lavender-200);
  text-decoration: none;
  font-weight: 700;
}

.contact-form {
  text-align: left;
  margin-top: 2.4em;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--lavender-200);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--lavender-400);
  background: rgba(255, 255, 255, 0.1);
}

.form-footer {
  text-align: right;
}

.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.form-status.success {
  color: #b9f0c8;
}

.form-status.error {
  color: #f5b8b8;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--bg-light);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--lavender-100);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

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

/* Legal pages */
.legal-page {
  padding: 64px 0 96px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-page h1 {
  color: var(--purple-700);
}

.legal-page h2 {
  color: var(--purple-700);
  font-size: 1.2rem;
  margin-top: 2em;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.legal-updated {
  color: var(--lavender-400);
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero h3 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    margin-top: 24px;
  }

  .about-section .container {
    grid-template-columns: 1fr;
  }

  .about-block {
    text-align: center;
  }

  .about-block .divider,
  .about-callout {
    margin-left: auto;
    margin-right: auto;
  }

  .network-graphic {
    margin-top: 32px;
  }
}

@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 20px rgba(46, 19, 69, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .main-nav li {
    padding: 10px 0;
    border-bottom: 1px solid var(--lavender-100);
  }

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

  .hero {
    padding: 64px 20px 72px;
  }

  .wallet-card {
    width: 100%;
    max-width: 320px;
  }

  section {
    padding: 56px 0;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}
