:root {
  --ink: #0b0e17;
  --text: #c8d0e0;
  --muted: #7b8aa8;
  --paper: #131826;
  --surface: #1a2135;
  --line: #28304a;
  --accent: #00d4ff;
  --accent-2: #a855f7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 212, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
    linear-gradient(160deg, #070a12 0%, #0e1525 50%, #0a0f1c 100%);
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  opacity: 0.18;
  filter: blur(72px);
  pointer-events: none;
}

.bg-shape-a {
  width: 400px;
  height: 400px;
  left: -120px;
  top: 20%;
  background: var(--accent);
}

.bg-shape-b {
  width: 350px;
  height: 350px;
  right: -100px;
  top: 55%;
  background: var(--accent-2);
}

.site-shell {
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
}

.hero,
.panel,
.footer {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(19, 24, 38, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero {
  padding: 2rem;
  margin-bottom: 2.5rem;
  animation: rise 600ms ease-out both;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.logo-text {
  font: 700 1.6rem/1 "Sora", sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.eyebrow {
  margin: 0;
  font: 600 0.78rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 850px;
}

.lede {
  margin: 1rem 0 0;
  max-width: 820px;
  line-height: 1.65;
  color: var(--muted);
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  font: 600 0.9rem/1 "JetBrains Mono", monospace;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-notice {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.btn-primary {
  color: #0b0e17;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
  box-shadow: 0 10px 22px rgba(0, 212, 255, 0.3);
}

.btn-ghost {
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent);
}

.panel {
  margin-top: 1.2rem;
  padding: 1.2rem;
}

.panel-head h2,
.note h2 {
  margin: 0;
  color: #fff;
}

.panel-head p,
.note p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(8px);
  opacity: 0;
  animation: stagger 540ms ease-out forwards;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.08);
}

.card:nth-child(2) { animation-delay: 80ms; }
.card:nth-child(3) { animation-delay: 120ms; }
.card:nth-child(4) { animation-delay: 160ms; }
.card:nth-child(5) { animation-delay: 200ms; }
.card:nth-child(6) { animation-delay: 240ms; }

.tag {
  font: 600 0.72rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card h3 {
  margin: 0.55rem 0 0;
  color: #fff;
  font-size: 1.1rem;
}

.card p {
  margin: 0.5rem 0 0;
  min-height: 3.1em;
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  font: 600 0.84rem/1.3 "JetBrains Mono", monospace;
}

.card a:hover {
  text-decoration: underline;
}

.tech-stack .split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.note {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0.95rem;
}

.note h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1rem;
}

.note p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.note small {
  color: var(--muted);
  opacity: 0.7;
}

.footer {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 0.8rem/1 "JetBrains Mono", monospace;
  color: var(--muted);
}

.footer-ecosystem {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  font: 600 0.8rem/1 "JetBrains Mono", monospace;
  opacity: 0.6;
  transition: opacity 180ms ease;
}

.footer-ecosystem img {
  vertical-align: middle;
}

.footer-ecosystem:hover {
  opacity: 1;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font: 400 0.95rem/1.6 "Sora", sans-serif;
  color: var(--text);
}

.compare thead th {
  padding: 1rem 1.25rem;
  font: 600 0.78rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 2px solid var(--line);
}

.compare thead th:first-child {
  text-align: left;
}

.compare thead th:nth-child(2),
.compare thead th:nth-child(3) {
  text-align: center;
}

.compare tbody td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cell-center {
  text-align: center;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.compare tbody td:first-child {
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.trial-end td {
  font-style: italic;
  color: var(--muted);
}

.trial-end .cell-center {
  font-size: 0.85rem;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font: 600 0.72rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}

.pill-coming {
  color: #0b0e17;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.pill-free {
  color: #0b0e17;
  background: var(--accent);
}

.pill-paid {
  color: #fff;
  background: var(--accent-2);
}

.tag-yes {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font: 600 0.72rem/1.4 "JetBrains Mono", monospace;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
}

.tag-no {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font: 600 0.72rem/1.4 "JetBrains Mono", monospace;
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-2);
}

.tag-na {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font: 600 0.72rem/1.4 "JetBrains Mono", monospace;
  color: var(--muted);
}

.price-free {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.price-paid {
  font-weight: 600;
  color: var(--accent-2);
}

.license-stream {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.license-stream .tag {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.license-stream p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-brand {
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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


/* --- Carousel --- */
.carousel-section {
  padding: 0 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 8px;
  z-index: 2;
  line-height: 1;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0 0.75rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active { background: #00E5FF; }@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 640px) {
  .site-shell {
    width: min(1120px, calc(100% - 1rem));
    padding-top: 1rem;
  }

  .hero,
  .panel,
  .footer {
    border-radius: 18px;
  }

  .hero,
  .panel {
    padding: 1rem;
  }

  .cards,
  .tech-stack .split {
    grid-template-columns: 1fr;
  }

  .card p {
    min-height: 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* --- Platform badges --- */
.badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-all {
  background: rgba(0,229,255,0.15);
  color: #00E5FF;
  border: 1px solid rgba(0,229,255,0.3);
}
.badge-android {
  background: rgba(108,99,255,0.15);
  color: #a78bfa;
  border: 1px solid rgba(108,99,255,0.3);
}

/* --- Platform license notes --- */
.platform-license-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.platform-license-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Windows pill in table --- */
.pill-win {
  background: rgba(0,200,83,0.2);
  color: #00c853;
}
.col-win {
  min-width: 110px;
}

/* --- Store badge row --- */
.store-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-block;
  transition: opacity 180ms ease;
  line-height: 0;
}
.store-badge:hover {
  opacity: 0.85;
}

