:root {
  --bg: #0a1320;
  --bg-elevated: #101d30;
  --bg-card: #14233a;
  --border: #223349;
  --text: #eef3f8;
  --text-dim: #9fb1c4;
  --accent: #3fa9ff;
  --accent-hover: #63bcff;
  --accent-text: #04101c;
  --success: #34d399;
  --radius: 14px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 19, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand:hover {
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero .icon-badge {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(63, 169, 255, 0.25);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-disabled {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-disabled:hover {
  transform: none;
}

.btn-block {
  width: 100%;
}

/* Sections */
section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 10px;
}

.section-head p {
  color: var(--text-dim);
  margin: 0;
}

/* App grid (homepage) */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.app-card.is-live:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.app-card.is-soon {
  opacity: 0.55;
}

.app-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.app-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.app-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  flex-grow: 1;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(63, 169, 255, 0.15);
  color: var(--accent);
  width: fit-content;
}

.badge-soon {
  background: rgba(159, 177, 196, 0.15);
  color: var(--text-dim);
}

/* Feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Platform download rows */
.platform-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.platform-row .platform-name {
  font-weight: 600;
}

.platform-row .platform-note {
  display: block;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 400;
  margin-top: 2px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card.is-pro {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 700;
}

.price-card .price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.price-card li {
  padding-left: 26px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

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

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-note {
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* Legal pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 32px;
}

.legal-content p,
.legal-content li {
  color: var(--text-dim);
  font-size: 0.96rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .platform-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-row .btn {
    width: 100%;
  }
}
