:root {
  --bg: #050712;
  --bg-elevated: rgba(13, 18, 39, 0.96);
  --bg-glass: rgba(13, 18, 39, 0.8);
  --border-glass: rgba(132, 207, 255, 0.18);
  --accent: #41aaff;
  --accent-soft: rgba(65, 170, 255, 0.14);
  --accent-2: #8b5cff;
  --danger: #ff5c7a;
  --text-main: #f8f9ff;
  --text-muted: #a0a5c5;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
  --container-width: 1120px;
  --transition-fast: 0.18s ease-out;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151a40 0, #050712 55%, #02020a 100%);
  color: var(--text-main);
}

.theme-dark {
  color: var(--text-main);
}

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

.section {
  padding: 72px 0;
}

.section.alt {
  background: radial-gradient(circle at top left, #141731 0, #050712 60%);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2,
.section-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

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

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid.two,
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(3, 5, 20, 0.9),
    rgba(3, 5, 20, 0.6),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0, #ffffff 0, #41aaff 40%, #8b5cff 80%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 16px rgba(65, 170, 255, 0.7);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), border var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #41aaff, #8b5cff);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(65, 170, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(65, 170, 255, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
  padding: 10px 22px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(65, 170, 255, 0.28) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(139, 92, 255, 0.26) 0, transparent 50%),
    rgba(3, 5, 15, 0.95);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  padding: 80px 20px 60px;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.hero-text .accent {
  display: block;
  background: linear-gradient(90deg, #41aaff, #8b5cff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 460px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(5, 8, 30, 0.8);
}

.hero-card {
  background: var(--bg-glass);
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-title {
  font-weight: 600;
}

.hero-card-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(65, 170, 255, 0.14);
  color: #cde7ff;
}

.hero-card-body {
  display: grid;
  gap: 8px;
}

.hero-metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

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

.metric-value {
  font-weight: 600;
}

.metric-warning {
  color: var(--danger);
}

.hero-timeline {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.timeline-item {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.timeline-title {
  font-weight: 500;
}

.timeline-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 5px;
}

/* Cards / glass */

.card {
  border-radius: var(--radius-lg);
  padding: 20px 18px;
}

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

/* Steps */

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Icon list */

.icon-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 6px;
  background: var(--accent);
}

/* Holo cards */

.holo-card {
  border-radius: 20px;
  border: 1px solid rgba(152, 214, 255, 0.25);
  background: radial-gradient(circle at top left, rgba(65, 170, 255, 0.12), transparent 60%),
    rgba(5, 8, 26, 0.96);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.7);
  padding: 18px 16px 14px;
  font-size: 0.9rem;
}

.holo-header {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cde7ff;
  margin-bottom: 10px;
}

.holo-body {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  background: rgba(3, 6, 20, 0.8);
}

.holo-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.holo-row.warning span:last-child {
  color: var(--danger);
}

.holo-footer {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* CTA */

.cta {
  padding: 64px 0 80px;
}

.cta-inner {
  background: linear-gradient(90deg, rgba(65, 170, 255, 0.16), rgba(139, 92, 255, 0.16));
  border-radius: 26px;
  border: 1px solid rgba(152, 214, 255, 0.4);
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

/* Pricing */

.pricing-grid {
  margin-top: 24px;
}

.pricing-card {
  position: relative;
}

.pricing-featured {
  transform: translateY(-8px);
  border-color: rgba(65, 170, 255, 0.6);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #41aaff, #8b5cff);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-price {
  font-size: 1.6rem;
  margin: 4px 0;
}

.pricing-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Panel page */

.panel-layout {
  align-items: flex-start;
}

.panel-login h1 {
  margin-top: 0;
}

.panel-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.panel-form label {
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
}

.panel-form input {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 6, 20, 0.9);
  color: var(--text-main);
  outline: none;
}

.panel-form input:focus {
  border-color: var(--accent);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.panel-preview {
  margin-top: 18px;
}

.panel-preview-faux {
  border-radius: 16px;
  border: 1px solid rgba(152, 214, 255, 0.3);
  background: radial-gradient(circle at top left, rgba(65, 170, 255, 0.18), rgba(3, 5, 15, 0.95));
  padding: 10px 10px 12px;
}

.panel-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.panel-tabs span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(3, 6, 20, 0.9);
  color: var(--text-muted);
}

.panel-tabs .active {
  background: rgba(65, 170, 255, 0.26);
  color: #e7f3ff;
}

.panel-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 0.8rem;
}

.panel-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-body li {
  margin-bottom: 4px;
}

/* Downloads */

.download-card {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0 30px;
  background: rgba(3, 5, 15, 0.96);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 600;
}

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

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

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

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

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

/* Responsive tweaks */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 72px;
  }

  .hero-card {
    order: -1;
  }

  .nav-links {
    display: none;
  }

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