:root {
  --bg: #070318;
  --purple-deep: #1a0c5a;
  --electric: #4db8ff;
  --violet: #a855f7;
  --white-soft: #f5f7ff;
  --gray-soft: #b7bed3;
  --glass: rgba(245, 247, 255, 0.08);
  --glass-strong: rgba(245, 247, 255, 0.12);
  --border: rgba(77, 184, 255, 0.34);
  --border-soft: rgba(168, 85, 247, 0.26);
  --shadow-glow: 0 0 40px rgba(77, 184, 255, 0.18);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 12% 0%, rgba(77, 184, 255, 0.12), transparent 34%),
              radial-gradient(circle at 88% 10%, rgba(168, 85, 247, 0.14), transparent 36%),
              var(--bg);
  color: var(--white-soft);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  background-image:
    radial-gradient(2px 2px at 10% 18%, rgba(245, 247, 255, 0.5), transparent 65%),
    radial-gradient(2px 2px at 24% 72%, rgba(245, 247, 255, 0.42), transparent 65%),
    radial-gradient(1px 1px at 48% 38%, rgba(245, 247, 255, 0.38), transparent 70%),
    radial-gradient(1px 1px at 66% 16%, rgba(245, 247, 255, 0.34), transparent 70%),
    radial-gradient(2px 2px at 82% 62%, rgba(245, 247, 255, 0.4), transparent 65%),
    radial-gradient(1px 1px at 92% 86%, rgba(245, 247, 255, 0.33), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.glass {
  background: linear-gradient(180deg, var(--glass), rgba(245, 247, 255, 0.03));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(8px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(183, 190, 211, 0.14);
  background: rgba(7, 3, 24, 0.76);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gray-soft);
  font-size: 14px;
}

.nav-link {
  position: relative;
  font-weight: 600;
}

.nav-link:hover { color: var(--white-soft); }

.legal-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 9, 35, 0.96);
  box-shadow: 0 18px 44px rgba(3, 9, 34, 0.4);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.legal-dropdown:hover .dropdown-menu,
.legal-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--gray-soft);
  font-size: 14px;
}

.dropdown-item:hover {
  color: var(--white-soft);
  background: rgba(77, 184, 255, 0.14);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(77, 184, 255, 0.22), rgba(168, 85, 247, 0.26));
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  animation: pulseGlow 2.4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(77, 184, 255, 0.15); }
  50% { box-shadow: 0 0 22px rgba(77, 184, 255, 0.38); }
}

.section {
  padding: 92px 0;
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--gray-soft);
  line-height: 1.7;
  font-size: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(77, 184, 255, 0.08);
  color: #d2e9ff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero {
  padding: 48px 0 0;
}

.hero-top {
  border-radius: var(--radius-xl);
  padding: 38px;
  background:
    radial-gradient(100% 110% at 0% 0%, rgba(77, 184, 255, 0.16), transparent 62%),
    radial-gradient(100% 120% at 100% 100%, rgba(168, 85, 247, 0.2), transparent 62%),
    linear-gradient(135deg, rgba(26, 12, 90, 0.68), rgba(10, 11, 48, 0.66));
  border: 1px solid rgba(119, 143, 255, 0.38);
  box-shadow: 0 0 34px rgba(77, 184, 255, 0.16), inset 0 1px 0 rgba(245, 247, 255, 0.08);
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.9vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.5px;
}

.hero p {
  margin: 0;
  color: var(--gray-soft);
  max-width: 780px;
  line-height: 1.7;
}

.hero-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(120deg, rgba(77, 184, 255, 0.88), rgba(168, 85, 247, 0.94));
  border: 1px solid rgba(245, 247, 255, 0.3);
  color: #070318;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(77, 184, 255, 0.08);
  color: var(--white-soft);
}

.trust-strip {
  margin-top: 24px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(183, 190, 211, 0.2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-pill {
  border-radius: 12px;
  background: rgba(7, 3, 24, 0.46);
  border: 1px solid rgba(77, 184, 255, 0.2);
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  color: #dbe9ff;
}

.hero-image-wrap {
  margin-top: 18px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  border: 1px solid rgba(183, 190, 211, 0.2);
  border-bottom: 0;
}

.hero-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.cards-grid {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.cards-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 184, 255, 0.46);
  box-shadow: 0 10px 28px rgba(77, 184, 255, 0.16);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: var(--font-display);
}

.card p {
  margin: 0;
  color: var(--gray-soft);
  line-height: 1.65;
}

.community-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(183, 190, 211, 0.2);
  background: linear-gradient(160deg, rgba(26, 12, 90, 0.35), rgba(77, 184, 255, 0.05));
  overflow: hidden;
}

.community-block.reverse .community-media {
  order: -1;
}

.community-media img {
  width: 100%;
  display: block;
}

.community-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: clamp(188px, 22vw, 232px);
  border-radius: 28px;
  padding: 10px 8px 12px;
  background: linear-gradient(180deg, rgba(17, 25, 71, 0.96), rgba(9, 13, 40, 0.96));
  border: 1px solid rgba(118, 136, 223, 0.4);
  box-shadow:
    0 24px 42px rgba(3, 8, 28, 0.55),
    0 0 20px rgba(77, 184, 255, 0.18);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 74px;
  height: 11px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(2, 7, 24, 0.92);
  border: 1px solid rgba(124, 142, 223, 0.24);
  z-index: 2;
}

.phone-mockup::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 88px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(215, 228, 255, 0.58);
  z-index: 2;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(183, 190, 211, 0.2);
  aspect-ratio: 440 / 978;
  object-fit: cover;
}

.phone-mockup.size-compact {
  width: clamp(180px, 20vw, 220px);
}

.phone-mockup.size-tall {
  width: clamp(190px, 21vw, 228px);
}

.kicker {
  font-size: 12px;
  color: #d0dbf8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.community-content h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-family: var(--font-display);
}

.community-content p {
  margin: 0;
  color: var(--gray-soft);
  line-height: 1.7;
}

.feature-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-list li {
  border-radius: 999px;
  border: 1px solid rgba(77, 184, 255, 0.36);
  padding: 7px 11px;
  font-size: 13px;
  color: #dbe9ff;
  background: rgba(77, 184, 255, 0.08);
}

.safety-wrap {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.safety-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: rgba(168, 85, 247, 0.08);
  padding: 14px;
  font-weight: 600;
  color: #d8dfff;
}

.link-card:hover { border-color: rgba(77, 184, 255, 0.5); }

.faq-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white-soft);
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: "+";
  color: var(--electric);
  font-size: 22px;
  line-height: 1;
}

.faq-item.open .faq-q::after { content: "-"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 18px 16px;
  color: var(--gray-soft);
  line-height: 1.65;
}

.contact-box {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  padding: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(77, 184, 255, 0.16), rgba(168, 85, 247, 0.15));
}

.contact-mail {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  color: #d9ecff;
  border-bottom: 1px solid rgba(217, 236, 255, 0.65);
}

.footer {
  margin-top: 76px;
  border-top: 1px solid rgba(183, 190, 211, 0.2);
  background: rgba(3, 6, 26, 0.6);
}

.footer-inner {
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #d8dcf7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--gray-soft);
  font-size: 14px;
}

.footer-links a:hover { color: var(--white-soft); }

.copyright {
  border-top: 1px solid rgba(183, 190, 211, 0.16);
  padding: 12px 0 22px;
  color: #8f99b3;
  font-size: 13px;
}

.copyright-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.copyright-left {
  color: #7f8cab;
  font-size: 13px;
  white-space: nowrap;
}

.copyright-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.copyright-links a {
  color: #93a2c8;
  font-size: 13px;
}

.brand-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  border-radius: 999px;
  border: 1px solid rgba(74, 101, 188, 0.45);
  background: rgba(10, 18, 45, 0.78);
  color: #88a5de;
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(4, 9, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.brand-signature-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(103, 121, 202, 0.42);
  color: #5e79b9;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  line-height: 1;
}

.brand-signature strong {
  color: #7d72f2;
  font-weight: 800;
}

[data-reveal] { opacity: 1; }

[data-parallax] {
  transform: translateY(var(--parallax-y, 0));
  transition: transform 0.15s linear;
}

.legal-page {
  padding: 32px 0 80px;
}

.breadcrumb {
  color: #9aa8cc;
  font-size: 13px;
}

.legal-hero {
  margin-top: 16px;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.legal-title {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
}

.legal-updated {
  color: var(--gray-soft);
  font-size: 14px;
}

.legal-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-tab {
  border-radius: 999px;
  border: 1px solid rgba(183, 190, 211, 0.22);
  padding: 8px 12px;
  color: var(--gray-soft);
  font-size: 13px;
  font-weight: 600;
}

.legal-tab.active,
.legal-tab:hover {
  color: var(--white-soft);
  border-color: var(--border);
  background: rgba(77, 184, 255, 0.12);
}

.legal-content {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(183, 190, 211, 0.2);
  background: rgba(255, 255, 255, 0.04);
  padding: 26px;
  line-height: 1.72;
}

.legal-content h2 {
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
}

.legal-content h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  font-family: var(--font-display);
}

.legal-content p,
.legal-content li {
  color: var(--gray-soft);
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.legal-contact {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 18px;
  background: rgba(77, 184, 255, 0.1);
}

@supports (content-visibility: auto) {
  .section,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

@media (max-width: 980px) {
  .cards-grid.cols-3,
  .cards-grid.cols-4,
  .community-block,
  .safety-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .community-block.reverse .community-media {
    order: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .copyright-row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .copyright-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .phone-mockup,
  .phone-mockup.size-compact,
  .phone-mockup.size-tall {
    width: min(220px, 75vw);
  }

  body::before {
    display: none;
  }

  .glass,
  .site-header {
    backdrop-filter: none;
  }

  .header-cta {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html, body {
    scroll-behavior: auto;
  }

  .card,
  .faq-a,
  [data-parallax] {
    transition: none;
  }

  .header-cta {
    animation: none;
  }
}
/* External font loading disabled to improve LCP.
