@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --bg: #0a0b0f;
  --bg-grad: radial-gradient(1200px 500px at 10% -10%, #1a2236 0%, #0a0b0f 55%);
  --surface-1: #10131b;
  --surface-2: #0d1118;
  --surface-3: #151a24;
  --section-a: #141a26;
  --section-b: #101621;
  --card-surface: #1a2333;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent: #5bd4ff;
  --accent-strong: #24b7ff;
  --accent-soft: rgba(91, 212, 255, 0.12);
  --text-main: #f5f6f8;
  --text-muted: #a9b0bf;
  --text-dim: #7f8696;

  --container: 1040px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 36px;
  --space-7: 48px;
  --space-8: 64px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 16px 38px rgba(0, 0, 0, 0.55);
  --shadow-float: 0 24px 60px rgba(0, 0, 0, 0.6);

  --h1: clamp(2.2rem, 3.1vw, 3rem);
  --h2: clamp(1.5rem, 2.2vw, 2rem);
  --h3: 1.15rem;
  --body: 1rem;
  --small: 0.92rem;
  --section-pad-mobile: 24px;
  --section-pad-desktop: 48px;
  --section-gap-mobile: 18px;
  --section-gap-desktop: 32px;
  --section-inset-mobile: 12px;
  --section-inset-desktop: 24px;
  --section-radius: 22px;
}

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

html,
body {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", system-ui, -apple-system,
    sans-serif;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(40, 120, 160, 0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #0f1b2a 0%,
      #08121c 50%,
      #050a14 100%
    );
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 14, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.openbeta-banner {
  width: 100%;
  background: linear-gradient(90deg, #38e6b0, #63f0ff);
  color: #003320;
  text-align: center;
  padding: 12px 10px;
  font-size: 0.98rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.openbeta-banner a {
  color: #004d2a;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 700;
}

.openbeta-banner a:hover {
  opacity: 0.85;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.brand-text {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 30% 0, #263043, #11141c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f5f6f8;
}

.site-nav {
  position: absolute;
  top: 56px;
  right: 6px;
  transform: translateX(0);
  background: #0c1016;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 12px 14px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}

.site-nav.open {
  display: flex;
}

.site-nav a {
  font-size: 0.95rem;
  padding: 4px 2px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

/* SECTIONS */

main {
  padding-bottom: var(--space-8);
}

.section {
  position: relative;
  padding: var(--section-pad-mobile) 0;
  margin: var(--section-gap-mobile) 0;
  --section-surface: var(--section-a);
  --section-border: rgba(255, 255, 255, 0.12);
  --section-glow: radial-gradient(
      circle at 15% 0%,
      rgba(91, 212, 255, 0),
      rgba(91, 212, 255, 0) 55%
    );
}

.section--alt {
  --section-surface: var(--section-b);
}

.section::before {
  content: none;
}

.section::after {
  content: none;
}

.section > * {
  position: relative;
  z-index: 2;
}

.section--glow {
  --section-glow: radial-gradient(
      circle at 18% 0%,
      rgba(91, 212, 255, 0),
      rgba(91, 212, 255, 0) 70%
    );
}

.section--noframe::before {
  display: none;
}

.section--noframe {
  background: transparent;
  box-shadow: none;
}

.section--noframe.section--glow {
  background: var(--section-glow);
}

.section--noframe::after {
  inset: 0;
  border-radius: 0;
}

.section--hero {
  background: transparent;
}

.section--video::before {
  content: none;
}

.section--video .container {
  position: relative;
}

.section--video .container::before {
  content: "";
  position: absolute;
  inset: -12px 0;
  border-radius: var(--section-radius);
  background: linear-gradient(140deg, rgba(22, 30, 44, 0.96), rgba(12, 16, 24, 0.96)),
    linear-gradient(120deg, rgba(91, 212, 255, 0.22), rgba(80, 150, 255, 0.12));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1px solid rgba(91, 212, 255, 0.22);
  box-shadow: var(--shadow-card);
  z-index: 0;
}

.section--video .container > * {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: var(--h2);
  text-align: center;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.98rem;
}

/* HERO */

.hero {
  text-align: center;
  padding-top: calc(var(--section-pad-mobile) + 16px);
  padding-bottom: var(--section-pad-mobile);
  background: none;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-4);
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.75));
}

.hero-title {
  font-size: var(--h1);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: var(--space-5);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #1aa9ff, #6bd8ff);
  color: #041520;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 18px 32px rgba(35, 160, 236, 0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    filter 0.12s ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(35, 160, 236, 0.55);
  filter: brightness(1.02);
}

.hero-cta span {
  font-size: 1.1rem;
}

/* ABOUT */

.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-screenshot {
  margin: var(--space-5) auto 0;
  max-width: 440px;
  padding: 0 16px;
}

.about-screenshot img,
.about-screenshot video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-caption {
  margin-top: var(--space-2);
  text-align: center;
  color: var(--text-dim);
  font-size: var(--small);
}

/* NETWORKS */

.pill-row {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(28, 35, 49, 0.9), rgba(12, 16, 24, 0.95));
  color: var(--text-main);
  font-size: 0.96rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
  cursor: pointer;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
}

/* SECURITY */

.bullet-list {
  max-width: 560px;
  margin: var(--space-3) auto 0;
  list-style: none;
  padding-left: 0;
  color: var(--text-main);
  font-size: 0.98rem;
}

.bullet-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(26, 34, 50, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bullet-list li span.icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.wc-box {
  margin: var(--space-5) auto 0;
  padding: 14px 20px;
  max-width: 360px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(28, 35, 49, 0.95), rgba(14, 18, 26, 0.98));
  color: var(--text-main);
  text-align: center;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wc-box img {
  width: 250px;
  margin: 0 auto;
  opacity: 0.95;
}

/* HOW IT WORKS */

.step-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) auto 0;
  max-width: 480px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(24, 30, 44, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, #37e6a5, #4fffcf);
  color: #00331d;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item > div:last-child {
  text-align: left;
}

/* PRICING */

.pricing-text {
  text-align: center;
  color: var(--text-main);
  font-size: 0.98rem;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-block {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-4);
}

.pricing-block > div {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--card-surface);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6);
}

.pricing-heading {
  font-size: var(--h3);
  margin-top: 6px;
}

.pricing-lead {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.pricing-table {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 11, 16, 0.9);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-row:first-child {
  border-top: none;
}

.pricing-price {
  font-weight: 600;
  color: #37e6a5;
  white-space: nowrap;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(63, 212, 109, 0.35);
  color: #3fd46d;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.pricing-link a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pricing-price {
    text-align: left;
  }
}

/* REFERRAL */

.referral-text {
  text-align: center;
  color: var(--text-main);
  font-size: 0.98rem;
  margin-bottom: var(--space-2);
}

.referral-link {
  text-align: center;
  font-size: 0.95rem;
}

.referral-link a {
  color: var(--accent);
  text-decoration: underline;
}

/* DOCUMENTS */

.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  max-width: 700px;
  margin: var(--space-3) auto 0;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(30, 40, 56, 0.98), rgba(16, 22, 32, 0.98));
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.doc-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.65);
}

.doc-icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0 26px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: #0a0c11;
}

footer .container > div:first-child {
  font-size: 0.95rem;
  color: var(--text-main);
}

footer .footer-note {
  margin-top: 6px;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* RESPONSIVE */

@media (min-width: 720px) {
  .section {
    padding: var(--section-pad-desktop) 0;
    margin: var(--section-gap-desktop) 0;
  }

  .section::before,
  .section::after {
    inset: 0 var(--section-inset-desktop);
  }

  .section--noframe::after {
    inset: 0;
  }

  .hero {
    padding-top: calc(var(--section-pad-desktop) + 10px);
    padding-bottom: var(--section-pad-desktop);
  }

  .hero-title {
    font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  }

  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 0;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .site-nav a {
    padding: 6px 0;
  }
}
