/* Base theme */
:root {
  --bg: #0f1115;
  --card: #161a23;
  --card-strong: #1d2230;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --primary: #0d6bff;
  --primary-2: #53e3ff;
  --accent-dark: #0048ff;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-title,
h1 {
  background: radial-gradient(circle at 0% 50%, #bde8ff 0%, #0048ff 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 24;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 21, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(13, 107, 255, 0.75);
}

.logo img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 500;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid transparent;
}

.menu a:hover {
  color: var(--text);
  background: linear-gradient(120deg, rgba(13, 107, 255, 0.16), rgba(83, 227, 255, 0.12));
  box-shadow: 0 6px 18px rgba(13, 107, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.cta-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(13, 107, 255, 0.5), 0 0 20px rgba(83, 227, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(13, 107, 255, 0.65), 0 0 24px rgba(83, 227, 255, 0.45);
  filter: saturate(1.08);
  opacity: 0.95;
}

.cta-btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.cta-btn.secondary:hover {
  background: linear-gradient(120deg, rgba(13, 107, 255, 0.14), rgba(83, 227, 255, 0.12));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.header-cta {
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(13, 107, 255, 0.38), 0 0 16px rgba(0, 72, 255, 0.32);
}

.menu-toggle,
.menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  position: relative;
}

.menu-close {
  padding: 8px 10px;
}

.menu-toggle:hover,
.menu-close:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 22;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 82vw;
  max-width: 360px;
  background: var(--card-strong);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-110%);
  transition: transform 0.3s ease;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 23;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar__menu {
  display: grid;
  gap: 10px;
}

.sidebar__menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sidebar__menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
  color: #fff;
}

.sidebar__footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .sidebar {
  transform: translateX(0);
}

body.menu-open .overlay {
  opacity: 1;
  pointer-events: auto;
}

main {
  padding-top: 98px;
}

section {
  padding: 80px 0;
}

section h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 14px;
}

section .subtitle {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 760px;
}

.hero {
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  margin-bottom: 18px;
  display: inline-block;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #003ec7;
  border: 1px solid rgba(0, 72, 255, 0.45);
  border-radius: 999px;
  color: #e6f0ff;
  margin-bottom: 14px;
  font-weight: 500;
  font-size: 13px;
  box-shadow: 0 6px 22px rgba(0, 72, 255, 0.42), 0 0 0 1px rgba(0, 72, 255, 0.35);
}

.hero-card {
  background: var(--card-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.meter {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin: 12px 0 6px;
  z-index: 1;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  width: 78%;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(13, 107, 255, 0.55);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.metric {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.metric strong {
  color: var(--text);
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(13, 107, 255, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 24px rgba(83, 227, 255, 0.22);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 107, 255, 0.5), rgba(83, 227, 255, 0.3));
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(13, 107, 255, 0.35);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.stat-card {
  background: var(--card-strong);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card .number {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-card .label {
  color: var(--muted);
}

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

.plan-card {
  background: var(--card-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
}

.plan-card.popular {
  background: #142037;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 26px rgba(0, 72, 255, 0.28);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(13, 107, 255, 0.6), rgba(83, 227, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(13, 107, 255, 0.4);
}

.price {
  font-size: 28px;
  font-weight: 700;
}

.price small {
  color: var(--muted);
  font-weight: 500;
}

.plan-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.plan-actions {
  margin-top: auto;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(140deg, rgba(13, 107, 255, 0.12), rgba(83, 227, 255, 0.12));
  color: var(--muted);
  border-radius: 12px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 14px;
  width: 3px;
  height: 32px;
  background: #0048ff;
  border-radius: 999px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  padding-left: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.faq-item button span {
  font-size: 20px;
}

.faq-answer {
  color: var(--muted);
  margin-top: 10px;
  padding-left: 18px;
}

.faq-item.open {
  border-color: rgba(255, 255, 255, 0.24);
}

.app-preview {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(13, 107, 255, 0.25);
  padding: 14px;
}

.app-preview img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

.app-caption {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}

.cta-section {
  background: linear-gradient(150deg, rgba(13, 107, 255, 0.22), rgba(83, 227, 255, 0.18));
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55), 0 0 28px rgba(13, 107, 255, 0.3);
  text-align: center;
}

.cta-section p {
  color: var(--muted);
  margin: 8px 0 18px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

footer {
  padding: 48px 0 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: var(--muted);
  transition: color 0.18s ease;
}

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

.page-main {
  padding-top: 112px;
  padding-bottom: 80px;
}

.page-section {
  display: grid;
  gap: 16px;
  padding: 48px 0;
}

@media (max-width: 1180px) {
  .nav {
    padding: 12px 0;
  }
}

@media (max-width: 1024px) {
  .menu {
    display: none;
  }

  .menu-toggle,
  .menu-close {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }

  .nav {
    gap: 10px;
  }

  .nav-actions {
    margin-left: 0;
  }

  main {
    padding-top: 88px;
  }

  .hero {
    padding: 82px 0 72px;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .status-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(30px, 7vw, 44px);
  }

  .hero p {
    font-size: 16px;
  }

  .cta-section {
    padding: 28px;
  }

  .faq-grid,
  .features-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(700px, 94vw);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }

  .chips {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    padding: 74px 0 64px;
  }

  .plan-card,
  .feature-card,
  .cta-section {
    padding: 18px;
  }

  .logo span:last-child {
    font-size: 15px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 13px;
  }
}
