@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Theme variables - override in html.dark or html.light */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #4b5563;
  --border-color: #e5e7eb;
  --bg-overlay: rgba(0, 0, 0, 0.06);
  --bg-hover: rgba(0, 0, 0, 0.06);
  --navbar-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.93),
    rgba(255, 255, 255, 0.97)
  );
  --navbar-border: #e5e7eb;
  --card-bg: #f9fafb;
  --card-border: #e5e7eb;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --button-border: rgba(0, 0, 0, 0.1);
  --button-bg: rgba(0, 0, 0, 0.03);
  --button-hover: rgba(0, 0, 0, 0.06);
  --pill-bg: rgba(0, 0, 0, 0.06);
  --pill-border: rgba(0, 0, 0, 0.12);
  --accordion-border: #e5e7eb;
  --accordion-header-bg: rgba(0, 0, 0, 0.03);
  --accordion-content-bg: #ffffff;
  --menu-bg: #ffffff;
  --menu-border: #e5e7eb;
  --menu-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  --backdrop-bg: rgba(0, 0, 0, 0.2);
  --lang-menu-bg: #ffffff;
  --kpi-bg: rgba(0, 0, 0, 0.03);
  --kpi-border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
}

p {
  font-family: 'Inter', sans-serif;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

section {
  padding: 20px 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid.gap-1 {
  gap: 1rem;
}

.row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.center {
  text-align: center;
}

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mt-3 {
  margin-top: 0.75rem;
}

.small-top {
  margin-top: 8px;
}

.title-2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  border-radius: 2px;
  margin: 1rem auto 2rem auto;
}

.pill {
  display: inline-block;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 300;
}

.btn.primary {
  border: 0;
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  color: white;
}

.btn.primary:hover {
  background: #1f2937 !important;
}

.btn.secondary {
  border: 0;
  background: var(--bg-overlay);
  color: var(--text-primary);
}

.btn.secondary:hover {
  background: var(--button-hover);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  font-size: 0.8rem;
  color: var(--text-primary);
}

.badge.badge-new {
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.33);
  color: #fde68a;
}

.badge.badge-ok {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.badge.badge-popular {
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  color: white;
  font-weight: 700;
  border: 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--navbar-border);
  background: var(--navbar-bg);
  backdrop-filter: blur(8px);
}

.navbar .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.navbar .brand-logo {
  height: 28px;
  display: block;
}

.navbar .nav-links #themeToggle {
  padding: 0.35rem 0.5rem;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar .nav-links a {
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
}

.navbar .nav-links a:hover {
  background: var(--button-hover);
}

.navbar .nav-links .no-underline {
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero .hero-container {
  padding: 84px 0;
}

.hero .blob1,
.hero .blob2 {
  position: absolute;
  pointer-events: none;
  filter: blur(50px);
}

.hero .blob1 {
  inset: -20% -20% auto -20%;
  opacity: 0.6;
  background: radial-gradient(
    60% 60% at 50% 0%,
    rgba(111, 108, 247, 0.35),
    rgba(23, 194, 245, 0) 60%
  );
}

.hero .blob2 {
  top: -80px;
  right: -80px;
  width: 560px;
  height: 560px;
  opacity: 0.25;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(23, 194, 245, 0.25),
    rgba(23, 194, 245, 0)
  );
}

.hero .grid-two {
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .hero .grid-two {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero .grid-two {
  align-items: center;
}

.hero .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0.6rem 0 1rem 0;
  margin-top: 2rem;
  font-weight: 800;
}

.hero .text-gradient {
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .hero-subtext {
  font-size: 1.1rem;
  max-width: 48ch;
  line-height: 2rem;
  margin-bottom: 2rem;
}

.hero .actions {
  margin-top: 16px;
}

.hero .fine-print {
  margin-top: 8px;
  font-size: 0.9rem;
}

.hero .status-row {
  align-items: center;
  justify-content: space-between;
}

.hero .status-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.hero .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f6cf7, #17c2f5);
  display: inline-block;
}

.center .muted {
  color: var(--text-muted);
  margin: auto;
  line-height: 1.5rem !important;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.card .muted {
  line-height: 1.5rem !important;
  margin-top: 1rem;
}

.card.pad {
  padding: 1.25rem;
}

.card.feature-card .feature-title {
  font-size: 1.6rem;
}

.card.feature-card .muted {
  margin-bottom: 1.5rem;
}

.card.feature-card:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  color: white;
}

.card.feature-card:hover .muted {
  color: white;
}

.muted {
  color: var(--text-secondary);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.kpis-top {
  margin-top: 12px;
}

.kpi {
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.kpi .kpi-value {
  font-weight: 800;
  font-size: 1.3rem;
}

.kpi .kpi-label {
  font-size: 0.9rem;
}

.kpi.purple {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.kpi.cyan {
  background: rgba(23, 194, 245, 0.12);
  border: 1px solid rgba(23, 194, 245, 0.35);
}

.kpi.green {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.telemetry-note {
  margin-top: 10px;
  font-size: 0.85rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-grid {
  margin-top: 5rem;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1.4rem;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  border: 1px solid var(--pill-border);
  padding: 0.35rem;
  border-radius: 12px;
  background: var(--pill-bg);
  width: max-content;
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--bg-overlay);
}

.tab-panel {
  margin-top: 12px;
}

pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 12px;
  overflow: auto;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-grid {
  margin-top: 4rem !important;
}

.cards-top {
  margin-top: 18px;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.price .price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.price .amount {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.price .price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
}

.price.highlighted {
  outline: 1px solid rgba(139, 92, 246, 0.2);
}

.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.accordion .acc-item {
  border-top: 1px solid var(--accordion-border);
}

.accordion .acc-header {
  width: 100%;
  text-align: left;
  background: var(--accordion-header-bg);
  border: 0;
  color: var(--text-primary);
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.accordion .acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1rem;
  background: var(--accordion-content-bg);
  color: var(--text-primary);
}

.accordion .acc-content.open {
  padding: 1rem;
}

.faq-wrap {
  max-width: 900px;
}

.faq-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 12px 0;
}

#cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(90deg, #6f6cf7, #17c2f5);
  padding: 2rem;
  border-radius: 16px;
  color: white;
}

#cta-banner .card {
  width: 100%;
  background: none;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#cta-banner .card .left {
  text-align: left;
}

#cta-banner .card .left h2 {
  color: white !important;
}

#cta-banner .card .left .cta-sub {
  color: white !important;
  margin-top: 0 !important;
}

.footer {
  border-top: 1px solid var(--border-color);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
  color: var(--text-primary);
  flex-wrap: wrap;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
  position: relative;
}

.logos:hover {
  animation-play-state: paused;
}

.logos:before,
.logos:after {
  content: '';
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos-slide {
  display: inline-block;
  animation: slide 100s linear infinite;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
  filter: grayscale(100) !important;
}

/* Benefits section */

.benefits {
  padding: 56px 0;
}

.benefits .title-2 {
  margin-bottom: 0.25rem;
}

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

.benefit-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.benefit-card .benefit-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.benefit-card .benefit-desc {
  margin: 0;
}

.benefit-card .benefit-kpis {
  margin-top: 0.25rem;
  gap: 0.75rem;
  display: flex;
  flex-direction: column;
}

.benefit-card .benefit-kpis .kpi {
  background: var(--kpi-bg);
  border: 1px solid var(--kpi-border);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
}

.benefit-card .benefit-kpis .kpi .kpi-value {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.benefit-card .benefit-kpis .kpi .kpi-label {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

/* small screens: stack KPIs 2x2 if needed */
@media (max-width: 420px) {
  .benefit-card .benefit-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 465px) {
  #mobile-nav {
    display: none;
  }
}

@media screen and (max-width: 465px) {
  #desktop-nav {
    display: none;
  }

  #mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* Mobile menu dialog (sheet) */

.mobile-menu {
  padding: 0;
  border: 0;
  width: min(92vw, 420px);
  max-height: 92vh;
  margin: 0;
  inset: auto 0 0 auto;
  background: transparent;
  overscroll-behavior: contain;
}

.mobile-menu::backdrop {
  background: var(--backdrop-bg);
}

.mobile-menu .menu-surface {
  animation: slide-up 0.18s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu .menu-surface {
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mobile-menu::backdrop {
    background: rgba(0, 0, 0, 0.6);
  }

  html.light .mobile-menu::backdrop {
    background: rgba(0, 0, 0, 0.3);
  }
}

@keyframes slide-up {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.menu-surface {
  background: var(--menu-bg);
  color: var(--text-primary);
  border: 1px solid var(--menu-border);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: var(--menu-shadow);
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  min-height: 50vh;
  width: 100%;
  will-change: transform;
}

/* Header */

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--menu-border);
}

.menu-header .brand-logo {
  height: 24px;
}

.menu-header .close-btn {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--text-primary);
  display: inline-grid;
  place-items: center;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.menu-header .close-btn:hover {
  background: var(--button-hover);
}

.menu-header .close-btn:focus-visible {
  outline: 2px solid transparent;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.1),
    0 0 0 4px #4397f6;
}

/* Links */

.menu-links {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.75rem;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.75rem;
  border-radius: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.menu-link:hover {
  background: var(--button-hover);
}

.menu-link:active {
  transform: translateY(1px);
}

.menu-link:focus-visible {
  outline: 2px solid transparent;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.1),
    0 0 0 4px #4397f6;
}

html.dark .menu-link:focus-visible {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.24),
    0 0 0 4px #4397f6;
}

/* Actions */

.menu-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.menu-actions .btn,
.menu-actions .btn.primary {
  width: 100%;
  justify-content: center;
}

.menu-actions .btn {
  transition:
    background 0.15s ease,
    filter 0.15s ease;
}

.menu-actions .btn:hover {
  background: var(--button-hover);
}

/* Ensure [hidden] really hides */

[hidden] {
  display: none !important;
}

.lang-switch {
  position: relative;
}

.lang-switch .lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--lang-menu-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0.35rem;
  gap: 0.35rem;
  min-width: 120px;
  z-index: 50;
}

.lang-switch .lang-menu .lang-item {
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: inherit;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.lang-switch .lang-menu .lang-item:hover {
  background: var(--button-hover);
}

.lang-switch.is-open .lang-menu {
  display: grid;
}

.lang-switch #langToggle[aria-expanded='true'] + .lang-menu {
  display: grid;
}

.benefit-kpis {
  display: none !important;
}

/*# sourceMappingURL=main.css.map */
