:root {
  color-scheme: light;
  --bg: #050918;
  --bg-alt: #080d20;
  --surface: rgba(14, 19, 32, 0.85);
  --surface-strong: rgba(18, 25, 42, 0.95);
  --surface-light: rgba(255, 255, 255, 0.04);
  --accent: #5d5dff;
  --accent-strong: #7c5dfa;
  --accent-soft: rgba(124, 93, 250, 0.2);
  --text: #f5f7ff;
  --text-muted: rgba(245, 247, 255, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --pill: rgba(93, 93, 255, 0.16);
  --shadow: 0 40px 80px rgba(10, 10, 45, 0.35);
  --shadow-soft: 0 24px 48px rgba(22, 22, 60, 0.28);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 20%, rgba(93, 93, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(0, 217, 255, 0.18), transparent 45%),
    var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100%;
}

a {
  color: inherit;
}

a:hover {
  opacity: 0.85;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem clamp(1.5rem, 5vw, 3.5rem) 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5, 9, 24, 0.9) 0%, rgba(5, 9, 24, 0.1) 100%);
}

.brand {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--surface-light);
  color: var(--text);
}

.hero {
  padding: 0 clamp(1.5rem, 5vw, 3.5rem) 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 140%;
  background: radial-gradient(ellipse at top, rgba(124, 93, 250, 0.55), transparent 65%);
  filter: blur(60px);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 32rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--pill);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.hero-cta .primary,
.hero-cta .secondary {
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-cta .primary {
  background: linear-gradient(148deg, var(--accent) 0%, #31add6 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-cta .primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 42px rgba(49, 173, 214, 0.35);
}

.hero-cta .secondary {
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-cta .secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.75rem;
}

.hero-stats strong {
  display: block;
  font-size: 2rem;
}

.hero-stats span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.floating-card {
  width: clamp(280px, 38vw, 360px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transform: rotate(-3deg);
  animation: float 8s ease-in-out infinite;
}

.floating-card__header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.55);
  display: inline-block;
}

.floating-card__body {
  padding: 1.6rem 1.8rem 2.4rem;
  position: relative;
}

.floating-card__line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.floating-card__line--wide {
  width: 80%;
}

.holo-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: radial-gradient(circle at 50% 115%, rgba(93, 93, 255, 0.45), transparent 65%);
  filter: blur(18px);
}

.hero-glow {
  position: absolute;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.26), transparent 70%);
  filter: blur(30px);
  opacity: 0.6;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.05);
  }
}

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

section {
  margin-top: 6rem;
}

section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.section-tagline {
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border 0.25s ease;
  min-height: 200px;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 93, 250, 0.4);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
  margin-top: 7rem;
}

.preview-copy p {
  color: var(--text-muted);
  line-height: 1.7;
}

.preview-highlights {
  margin: 1.5rem 0 2.5rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.preview-actions {
  display: flex;
  gap: 0.75rem;
}

.tab-toggle {
  border: 1px solid var(--border);
  background: var(--surface-light);
  color: var(--text-muted);
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-toggle.active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 30px rgba(93, 93, 255, 0.35);
}

.preview-panel {
  position: relative;
  display: flex;
  justify-content: center;
}

.popup-shell {
  width: clamp(320px, 36vw, 420px);
  background: rgba(14, 19, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 12, 28, 0.55);
  backdrop-filter: blur(18px);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  background: rgba(93, 93, 255, 0.14);
}

.popup-title {
  font-weight: 600;
}

.popup-version {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.popup-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.popup-tab {
  background: transparent;
  border: none;
  padding: 0.9rem 0;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.popup-tab::after {
  content: "";
  position: absolute;
  inset: auto 20% 0 20%;
  height: 3px;
  background: transparent;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.popup-tab.active {
  color: var(--text);
}

.popup-tab.active::after {
  background: linear-gradient(90deg, var(--accent) 0%, #31add6 100%);
}

.popup-body {
  padding: 1.4rem;
  background: rgba(3, 6, 14, 0.55);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.field--options {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.field--options input {
  margin-right: 0.4rem;
}

.cta-button {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, rgba(93, 93, 255, 0.9), rgba(49, 173, 214, 0.9));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-bottom: 1rem;
  box-shadow: 0 16px 30px rgba(93, 93, 255, 0.35);
}

.results-counter {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-list li {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  transition: border 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.result-list li.highlight {
  border-color: rgba(124, 93, 250, 0.5);
  background: linear-gradient(135deg, rgba(93, 93, 255, 0.16), rgba(49, 173, 214, 0.12));
  box-shadow: 0 0 0 1px rgba(124, 93, 250, 0.35), 0 18px 28px rgba(10, 12, 28, 0.38);
}

.result-path {
  color: #c7d2ff;
  text-transform: lowercase;
}

.result-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.settings-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.secondary-cta {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.workflow {
  margin-top: 7rem;
}

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

.step {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93, 93, 255, 0.18), rgba(0, 217, 255, 0.12));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.step:hover::before {
  opacity: 1;
}

.step-number {
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.step h3 {
  margin: 0.8rem 0 0.6rem;
  position: relative;
  z-index: 1;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 6rem;
}

.quote-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.quote-card::before {
  content: "\201C";
  font-size: 5rem;
  color: rgba(124, 93, 250, 0.22);
  position: absolute;
  top: -0.8rem;
  left: 1rem;
}

.quote-card blockquote {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.quote-card cite {
  display: block;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
  font-size: 0.9rem;
}

.install {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin-top: 7rem;
  background: rgba(9, 14, 32, 0.75);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.8rem clamp(1.5rem, 5vw, 3.2rem);
}

.install h2 {
  margin-bottom: 1rem;
}

.install ol {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 1.35rem;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.install-actions .primary,
.install-actions .secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.install-actions .primary {
  background: linear-gradient(135deg, #31add6, var(--accent));
  color: #fff;
  box-shadow: 0 18px 32px rgba(49, 173, 214, 0.32);
}

.install-actions .primary:hover {
  transform: translateY(-4px);
}

.install-actions .secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.install-actions .secondary:hover {
  transform: translateY(-3px);
}

.stat-card {
  background: linear-gradient(160deg, rgba(93, 93, 255, 0.45), rgba(49, 173, 214, 0.35));
  border-radius: 18px;
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-heading {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.stat-metric {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 800;
  margin: 1rem 0;
}

.stat-metric span {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.stat-caption {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

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

.footer-links {
  display: flex;
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy p,
  .hero-cta,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    max-width: 360px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 4rem;
  }

  main {
    padding-bottom: 4rem;
  }

  .features,
  .preview,
  .workflow,
  .quotes,
  .install {
    margin-top: 4rem;
  }

  .install-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .tab-toggle {
    width: 100%;
    text-align: center;
  }
}
