/* Base reset & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: #e5e7eb;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main.page {
  flex: 1;
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.05), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.06), transparent 55%);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.section-header p {
  margin: 0;
  color: #9ca3af;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.8));
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.55);
}

.logo-mark {
  background: linear-gradient(135deg, #22c55e, #22d3ee, #3b82f6);
  color: #020617;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.logo-text {
  font-size: 1rem;
  text-transform: uppercase;
}

.nav {
  position: relative;
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 2px 0;
  background: #e5e7eb;
  border-radius: 999px;
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.75rem;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.nav-list a:hover {
  background: rgba(148, 163, 184, 0.16);
  transform: translateY(-1px);
}

.nav-list a.active {
  background: linear-gradient(135deg, #22c55e, #22d3ee);
  color: #020617;
  font-weight: 600;
}

/* Hero */
.page-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  padding: 3.5rem 1.25rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.5rem);
  margin: 0 0 0.75rem;
}

.hero-tagline {
  margin: 0 0 1.75rem;
  color: #9ca3af;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.hero-meta span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-image {
  width: 100%;
  max-width: 340px;
  border-radius: 1.25rem;
  align-self: flex-end;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.glow-card {
  position: relative;
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.9);
}

.glow-card .badge {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.7);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  color: #bbf7d0;
}

.glow-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.glow-card p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat {
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.stat-number {
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
}

.stat-label {
  display: block;
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #22d3ee);
  color: #020617;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.55);
  text-decoration: none;
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
}

.btn-outline:hover {
  background: rgba(31, 41, 55, 0.9);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Grids and layout helpers */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card {
  padding: 1.2rem 1.3rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.95rem;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
}

.feature-card p {
  margin: 0;
  color: #9ca3af;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
}

.steps-number {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.cta {
  padding: 0 1.25rem 3.5rem;
}

.cta-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.6rem 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.95));
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* Download page */
.page-download .section {
  max-width: 1120px;
  margin: 0 auto;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}

.download-card {
  padding: 1.4rem 1.5rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.9rem;
  margin-bottom: 0.55rem;
  object-fit: cover;
  background: rgba(15, 23, 42, 0.8);
}

.download-card h2 {
  margin: 0 0 0.4rem;
}

.download-card p {
  margin: 0 0 0.9rem;
  color: #9ca3af;
}

.download-notes {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.two-column {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.section-illustration {
  width: 100%;
  max-width: 360px;
  border-radius: 1rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.ordered-list,
.bullet-list {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* Contact page */
.page-contact .section {
  max-width: 1120px;
  margin: 0 auto;
}

.contact-illustration {
  width: 100%;
  max-width: 320px;
  border-radius: 1rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.contact-form {
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.23);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.55);
}

.alert {
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.65);
  color: #bbf7d0;
}

.alert-error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.8);
  color: #fecaca;
}

.alert-error ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}

/* Legal pages */
.page-legal .section {
  max-width: 980px;
  margin: 0 auto;
}

.legal-text h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.legal-text p,
.legal-text ul {
  color: #9ca3af;
  font-size: 0.95rem;
}

.legal-text ul {
  padding-left: 1.25rem;
}

/* FAQ */
.page-faq .section {
  max-width: 980px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.faq-illustration-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.faq-illustration {
  width: 100%;
  max-width: 320px;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.faq-item {
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.7rem 0.95rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.4rem;
  color: #9ca3af;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(2, 6, 23, 0.95));
  padding: 1.5rem 1.25rem 1.75rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-copy {
  margin: 0;
  width: 100%;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 120%;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.5rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    min-width: 10rem;
    display: none;
  }

  .nav-list.nav-open {
    display: flex;
  }

  .cta-inner {
    align-items: flex-start;
  }
}


