:root {
  --bg: #05060d;
  --bg-soft: #0c0f1a;
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.72);
  --accent: #66f6c1;
  --accent-2: #788bff;
  --accent-3: #ff8ec0;
  --card: rgba(12, 15, 26, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  font-size: clamp(15px, 1.05vw, 18px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #141936 0%, #05060d 50%);
  color: var(--text);
  font-family: "Poppins", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 5rem);
  background: rgba(5, 6, 13, 0.85);
  backdrop-filter: blur(24px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(5, 6, 13, 0.65);
}

.logo span {
  white-space: nowrap;
}

.logo-footer {
  margin-bottom: 0.3rem;
}

.desktop-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.desktop-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-cta {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(102, 246, 193, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: clamp(1.5rem, 4vw, 5rem);
  left: clamp(1.5rem, 4vw, 5rem);
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  background: rgba(5, 6, 13, 0.95);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.2rem;
}

main {
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 6rem) 5rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 6rem);
  padding: clamp(2rem, 4vw, 5rem);
  background: linear-gradient(125deg, rgba(120, 139, 255, 0.12), rgba(102, 246, 193, 0.08));
  border-radius: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 1rem 0;
  line-height: 1.2;
}

.hero-lead {
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #05060d;
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.outline {
  border: 1px solid var(--accent-2);
  color: var(--text);
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.metric {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.metric i {
  font-size: 1.8rem;
  color: var(--accent);
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 600;
  display: block;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-mockup {
  position: relative;
  width: clamp(260px, 60vw, 360px);
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(10, 17, 38, 0.9), rgba(10, 17, 24, 0.9));
  box-shadow: 0 35px 60px rgba(5, 6, 13, 0.8);
  overflow: hidden;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.status-icons span {
  display: inline-block;
  width: 4px;
  height: 12px;
  margin-left: 3px;
  border-radius: 999px;
  background: var(--muted);
  opacity: 0.5;
}

.mockup-screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  padding: 1rem;
  background: radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.15), transparent 55%);
  overflow: hidden;
}

.card {
  padding: 1.2rem;
  border-radius: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.card p {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.card-primary {
  background: linear-gradient(140deg, rgba(120, 139, 255, 0.8), rgba(102, 246, 193, 0.6));
}

.card-secondary {
  background: rgba(5, 6, 13, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.glow {
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(circle, rgba(102, 246, 193, 0.6), transparent 70%);
  filter: blur(35px);
  opacity: 0.4;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 760px;
  margin-inline: auto;
}

.section-heading p {
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.features {
  margin-top: 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.8rem;
  border-radius: 1.6rem;
  border: 1px solid var(--border);
  background: var(--card);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(120, 139, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text);
}

.feature-icon i {
  font-size: 1.6rem;
}

.concept {
  margin: 5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: 2rem;
  background: linear-gradient(110deg, rgba(102, 246, 193, 0.05), rgba(255, 142, 192, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.concept-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.concept-content li + li {
  margin-top: 0.4rem;
}

.concept-visual {
  display: grid;
  gap: 1.5rem;
}

.concept-card {
  padding: 1.4rem;
  border-radius: 1.5rem;
}

.concept-card h3 {
  margin: 0.4rem 0 0;
}

.concept-card.glass {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 13, 0.45);
  backdrop-filter: blur(12px);
}

.concept-card.gradient {
  background: linear-gradient(135deg, rgba(102, 246, 193, 0.35), rgba(120, 139, 255, 0.3));
}

.concept-card.outline {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background: transparent;
}

.testimonials {
  padding: 4rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-grid article {
  padding: 1.6rem;
  border-radius: 1.4rem;
  background: rgba(5, 6, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 220px;
}

.testimonial-grid span {
  display: block;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.download {
  padding: 4rem 0;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.download-card {
  padding: 1.8rem;
  border-radius: 1.6rem;
  background: rgba(5, 6, 13, 0.7);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.download-actions .btn {
  width: 100%;
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #05060d;
}

.download-icon.android {
  background: linear-gradient(135deg, #80ffce, #3bd38b);
}

.download-icon.ios {
  background: linear-gradient(135deg, #b2b8ff, #5c6cff);
}

.download-icon i {
  font-size: 1.8rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2rem clamp(1.5rem, 4vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 6, 13, 0.9);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .site-header {
    position: sticky;
  }

  .concept {
    padding: 2rem;
  }
}

/* Privacy / legal pages */
.legal-page {
  padding: 2rem clamp(1.5rem, 4vw, 5rem) 4rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.4rem, 3vw, 2.8rem);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: linear-gradient(
    160deg,
    rgba(20, 25, 54, 0.72),
    rgba(8, 10, 22, 0.92)
  );
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.legal-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.legal-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.35;
}

.legal-meta {
  margin: 0 0 1.6rem;
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content h2 {
  margin: 2.2rem 0 0.9rem;
  font-size: 1.25rem;
  color: var(--text);
}

.legal-content h3 {
  margin: 1.4rem 0 0.7rem;
  font-size: 1.05rem;
  color: #d7dcff;
}

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

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.legal-toc {
  margin: 1.8rem 0;
  padding: 1.2rem 1.3rem;
  border-radius: 1rem;
  background: rgba(102, 246, 193, 0.06);
  border: 1px solid rgba(102, 246, 193, 0.18);
}

.legal-toc h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
}

.legal-table td {
  color: var(--muted);
}

.legal-end {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact page */
.contact-content {
  max-width: 760px;
}

.contact-lead {
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(102, 246, 193, 0.2);
  background: rgba(102, 246, 193, 0.06);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(102, 246, 193, 0.45);
  background: rgba(102, 246, 193, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05060d;
}

.contact-icon i {
  font-size: 1.5rem;
}

.contact-label {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.contact-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.contact-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-note {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-note h2 {
  margin-top: 0;
}

@media (max-width: 640px) {
  main {
    padding: 1.5rem 1rem 4rem;
  }

  .hero {
    padding: 1.8rem;
    border-radius: 1.8rem;
  }

  .legal-page {
    padding: 1.2rem 1rem 3rem;
  }

  .legal-content {
    padding: 1.5rem 1.1rem;
    border-radius: 1.2rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
