:root {
  --bg: #0f0f0f;
  --panel: #151515;
  --panel-2: #1b1b1b;
  --text: #f3f4f6;
  --muted: #b4b4b4;
  --accent: #5dd4ff;
  --accent-2: #79f2c0;
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(circle at 12% 18%, rgba(93, 212, 255, 0.18), transparent 55%),
    radial-gradient(circle at 86% 12%, rgba(121, 242, 192, 0.12), transparent 55%),
    radial-gradient(circle at 88% 80%, rgba(93, 212, 255, 0.12), transparent 60%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

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

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

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 24px;
  background: var(--accent);
  color: #0f0f0f;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(15, 15, 15, 0.78);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

.logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(93, 212, 255, 0.6);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

main {
  display: block;
}

section {
  padding: 96px 0;
}

.hero {
  padding-top: 120px;
}

.hero-tight {
  padding-top: 96px;
}

body.home section {
  padding: 64px 0;
}

body.home .hero {
  padding: 84px 0 48px;
}

body.home .products {
  padding: 48px 0 56px;
}

body.home .section-head {
  margin-bottom: 24px;
}

body.home .hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

body.home .subtitle {
  margin-bottom: 16px;
}

body.home .hero-actions {
  margin-bottom: 12px;
}

body.home .feature-grid,
body.home .tools-grid {
  gap: 20px;
}

body.home .card {
  padding: 20px;
}

.hero-grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
  align-items: center;
}

.hero h1,
.product-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--muted);
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f0f0f;
  box-shadow: 0 18px 40px rgba(93, 212, 255, 0.2);
}

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

.btn-small {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(93, 212, 255, 0.4);
  box-shadow: var(--shadow);
}

.feature-grid,
.tools-grid,
.steps,
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(93, 212, 255, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}

.icon {
  width: 26px;
  height: 26px;
}

.icon path,
.icon rect,
.icon circle,
.icon polyline,
.icon line {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.tool-card h3,
.value-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature-card p,
.tool-card p,
.value-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(93, 212, 255, 0.15);
}

.hero-visual {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(93, 212, 255, 0.18), rgba(15, 15, 15, 0.9));
  box-shadow: var(--shadow);
  min-height: 320px;
}

.visual-panel {
  display: grid;
  gap: 18px;
}

.visual-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
}

.visual-card {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  padding: 16px;
  background: rgba(12, 12, 12, 0.7);
}

.visual-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.visual-row:last-child {
  margin-bottom: 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 6px;
  box-shadow: 0 0 12px rgba(93, 212, 255, 0.6);
}

.visual-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.visual-subtitle {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.visual-bar {
  margin-top: 16px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.visual-bar span {
  display: block;
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.product-hero {
  padding-top: 110px;
}

.screenshot {
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(93, 212, 255, 0.18), rgba(15, 15, 15, 0.9));
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(93, 212, 255, 0.5);
}

.steps .step-card {
  background: var(--panel-2);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(93, 212, 255, 0.2);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.download-cta {
  padding-bottom: 120px;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: linear-gradient(140deg, rgba(93, 212, 255, 0.18), rgba(12, 12, 12, 0.95));
}

.cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.cta-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--stroke);
  background: rgba(8, 8, 8, 0.7);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: start;
}

.footer-links a,
.footer-social a {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

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

.footer-brand p {
  color: var(--muted);
  margin: 12px 0 0;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.85rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 0;
  }

  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 96px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .tool-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
