:root {
  --bg: #09111a;
  --bg-soft: #101c2a;
  --panel: rgba(12, 24, 37, 0.82);
  --panel-strong: rgba(18, 34, 49, 0.95);
  --line: rgba(148, 196, 217, 0.18);
  --text: #edf6fb;
  --muted: #98b7c8;
  --accent: #63d2ff;
  --accent-strong: #0ea5b7;
  --accent-warm: #ffb84d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 183, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 184, 77, 0.12), transparent 28%),
    linear-gradient(180deg, #071019 0%, #09111a 35%, #0b1520 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar,
.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #082331;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 40px rgba(14, 165, 183, 0.24);
}

.brand h1,
.hero-copy h2,
.section-heading h3,
.feature-card h4,
.timeline h4,
.download-card h4,
.faq summary,
.spotlight-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand h1 {
  margin: 2px 0 0;
  font-size: 1.35rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.badge-new {
  font-size: 0.65rem;
  background: var(--accent-warm);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
}

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

.topbar-links a,
.footer-links a {
  color: var(--muted);
}

.topbar-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  padding: 12px 0 24px;
}

.hero-grid,
.spotlight,
.download-grid,
.pricing-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy h2 {
  margin: 14px 0 16px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.97;
  max-width: 11ch;
}

.hero-text,
.feature-card p,
.timeline p,
.download-card p,
.faq p,
.spotlight-copy p,
.footer p,
.plain-list li,
.hero-points li,
.check-list li,
small {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.button-primary:hover {
  box-shadow: 0 20px 40px rgba(99, 210, 255, 0.35);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #84e1ff 100%);
  color: #062332;
  box-shadow: 0 16px 34px rgba(99, 210, 255, 0.22);
}

.button-secondary {
  border-color: rgba(99, 210, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
}

.hero-points,
.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.check-list li,
.plain-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 12px;
}

.hero-points li::before,
.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.screen-card,
.metric-strip article,
.feature-card,
.download-card,
.code-card,
.faq-list details,
.timeline article,
.footer,
.section {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.screen-card {
  overflow: hidden;
  border-radius: 28px;
}

.screen-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
}

.screen-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-strip article,
.feature-card,
.download-card,
.timeline article,
.code-card,
.faq-list details,
.price-card {
  border-radius: 22px;
  padding: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.metric-strip article:hover,
.feature-card:hover,
.download-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  border-color: rgba(99, 210, 255, 0.25);
  z-index: 2;
  position: relative;
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.section {
  margin-top: 26px;
  border-radius: 30px;
  padding: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h3 {
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card h4,
.timeline h4,
.download-card h4 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
  color: #0c2332;
  font-weight: 800;
}

.spotlight {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.spotlight-box {
  display: grid;
}

.code-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel-strong);
}

.code-label,
.code-note {
  margin: 0;
}

.code-card pre {
  margin: 16px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #071019;
  border: 1px solid rgba(99, 210, 255, 0.16);
  color: var(--accent);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  overflow-x: auto;
}

.download-grid {
  grid-template-columns: 1.1fr 1fr 0.9fr;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 24px 20px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(99, 210, 255, 0.16), rgba(12, 24, 37, 0.94));
  border-color: rgba(99, 210, 255, 0.38);
}

.price-label {
  margin: 0 0 10px;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.price-card h4 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.price-subline {
  margin: 10px 0 0;
  color: var(--muted);
}

.download-card.primary {
  background:
    radial-gradient(circle at top right, rgba(255, 184, 77, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(99, 210, 255, 0.11), rgba(12, 24, 37, 0.88));
}

.download-card.primary small {
  display: block;
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  margin-top: 26px;
  border-radius: 28px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
}

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

.legal-page h1 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-note {
  margin: 0 0 24px;
  color: var(--accent-warm);
  line-height: 1.6;
}

.legal-block + .legal-block {
  margin-top: 22px;
}

.legal-block h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.legal-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .hero-grid,
  .spotlight,
  .download-grid,
  .feature-grid,
  .pricing-grid,
  .timeline,
  .metric-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .spotlight,
  .download-grid,
  .feature-grid,
  .pricing-grid,
  .timeline,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hero-copy h2 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* Animations */
.fade-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.fade-animate.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}
