:root {
  --bg: #04050a;
  --bg-alt: #0c0d14;
  --card: rgba(255, 255, 255, 0.04);
  --primary: #ff5f5f;
  --primary-dark: #d94d4d;
  --text: #f4f6fb;
  --muted: #99a0b5;
  --accent: #5f89ff;
  --shadow: 0 25px 45px rgba(5, 5, 15, 0.4);
  --page-background: linear-gradient(135deg, #05060d, #101327);
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text);
  min-height: 100vh;
}

body.theme-light {
  --bg: #f3f5ff;
  --bg-alt: #ffffff;
  --card: rgba(15, 24, 42, 0.06);
  --text: #0f172a;
  --muted: #616d8c;
  --accent: #4767ff;
  --shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
  --page-background: linear-gradient(135deg, #ffffff, #dfe7ff);
  color: var(--text);
}

.page-background {
  position: fixed;
  inset: 0;
  background: var(--page-background);
  z-index: -2;
}

.page-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: blur(0.5px);
  z-index: -1;
}

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

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4rem;
}

.site-header {
  padding: 1.5rem 0 4rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  z-index: 100;
  padding: 0.65rem 1.25rem;
  backdrop-filter: blur(14px);
  background: rgba(4, 5, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

body.theme-light .nav-bar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
}

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

.logo span:first-child {
  color: var(--primary);
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.site-nav ul li {
  display: flex;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text);
}

.site-nav a.active {
  color: var(--text);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.pill {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill.pill-ghost,
.site-nav a.pill {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

body.theme-light .site-nav a.pill {
  border-color: rgba(15, 23, 42, 0.2);
}

.nav-cta .pill,
.pill.pill-primary {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle .line {
  height: 2px;
  width: 100%;
  background: var(--text);
  display: block;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 0 0 1rem;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

.btn {
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), #ff8f5f);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

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

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

.metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.4rem;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 60px rgba(5, 10, 30, 0.5);
}

.glass-card.highlight {
  font-size: 0.95rem;
  color: var(--muted);
}

.glass-card.highlight span {
  display: block;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
}

.card-header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: var(--muted);
}

.dot.green {
  background: #32d296;
}

.dot.alert {
  background: #ff5f5f;
}

.progress span {
  font-size: 0.85rem;
  color: var(--muted);
}

.bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.value {
  height: 100%;
  background: linear-gradient(90deg, #32d296, var(--accent));
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.checks li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-radius: 32px;
  padding-left: clamp(1.2rem, 5vw, 3rem);
  padding-right: clamp(1.2rem, 5vw, 3rem);
  margin: 2rem 0;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.section-heading p {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading code {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.85em;
  color: var(--text);
}

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

.features-grid article,
.quotes figure {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid h3 {
  margin-top: 0;
}

.features-grid p,
.quotes blockquote {
  color: var(--muted);
  line-height: 1.5;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.chip-list span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}

.function-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.function-list article {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
}

.function-list h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.function-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 18, 0.8);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

body.theme-light .slider {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

.slider-track.dragging {
  cursor: grabbing;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 1.5rem;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide img {
  border-radius: 18px;
  width: 100%;
  max-width: 900px;
  height: auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  margin: 0 auto 1rem;
  cursor: pointer;
}

.slide figcaption {
  color: var(--muted);
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.slider-control:hover,
.slider-control:focus-visible {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.7);
}

.slider-control.prev {
  left: 1rem;
}

.slider-control.next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--primary);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 9, 18, 0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-content {
  position: relative;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 20px;
  padding: 1rem 1rem 1.5rem;
  width: min(960px, 92vw);
  max-height: 90vh;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-light .lightbox-content {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: calc(90vh - 160px);
  border-radius: 16px;
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.theme-light .lightbox-close {
  background: rgba(15, 23, 42, 0.6);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.lightbox-nav.prev {
  left: 1.5rem;
}

.lightbox-nav.next {
  right: 1.5rem;
}

body.lightbox-open {
  overflow: hidden;
}

.screen {
  background: #050912;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

body.theme-light .screen {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

.screen-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.screen ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.screen li span {
  font-size: 0.85rem;
  color: var(--muted);
}

.screen li strong {
  display: block;
  color: var(--text);
}

.showcase-copy ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--muted);
}

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

.timeline article {
  padding: 1.5rem;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cards.pricing.single {
  grid-template-columns: minmax(260px, 420px);
  justify-content: center;
}

.cards article {
  padding: 1.75rem;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cards article ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: var(--muted);
  line-height: 1.6;
}

.cards article .price {
  font-size: 2rem;
  margin: 0.5rem 0 0;
}

.cards article .price span {
  font-size: 0.9rem;
  color: var(--muted);
}

.cards article.featured {
  background: linear-gradient(160deg, rgba(255, 95, 95, 0.9), rgba(95, 137, 255, 0.9));
  border: none;
  color: #fff;
}

.cards article.featured p,
.cards article.featured ul,
.cards article.featured li {
  color: rgba(255, 255, 255, 0.92);
}

.quotes figure {
  margin: 0;
}

.quotes blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
}

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

.contact-grid.solo {
  justify-items: center;
}

.contact-info article {
  margin-bottom: 1.2rem;
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
}


.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

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

.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-links,
.footer-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a,
.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta p {
    text-align: left;
  }
  .site-nav ul {
    position: absolute;
    right: 1.5rem;
    top: 70px;
    flex-direction: column;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(4, 5, 11, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }

  .site-nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: relative;
  }

  .nav-cta {
    display: none;
  }

  .nav-actions {
    gap: 0.4rem;
  }
}

@media (max-width: 600px) {
  .slide {
    padding: 0 1.25rem;
  }

  .slider-control {
    display: none;
  }
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

body.theme-light .theme-toggle {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

.theme-toggle-icon {
  font-size: 0.95rem;
}
