:root {
  --bg: #0a0f1f;
  --bg-soft: #10162a;
  --bg-card: rgba(19, 27, 48, 0.85);
  --accent: #ff784f;
  --accent-2: #f8c35b;
  --text: #f5f7ff;
  --text-soft: #b8c0da;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(49, 72, 149, 0.25), transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(255, 120, 79, 0.2), transparent 40%),
    linear-gradient(160deg, #060a16, #0c1325 45%, #0a0f1f 70%);
  min-height: 100vh;
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(10, 15, 31, 0.8);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.logo-mark {
  width: 42px;
  height: 46px;
  display: inline-block;
  background: center / contain no-repeat url("images/SPOGLOGO.png");
  color: transparent;
  font-size: 0;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f1d;
  box-shadow: 0 12px 30px rgba(255, 120, 79, 0.35);
}

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

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-soft);
  background: transparent;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 90px 0 40px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 14ch;
}

.lead {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 28px;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-metrics {
  display: grid;
  gap: 14px;
}

.metric {
  display: block;
  font-weight: 600;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-metrics > div {
  padding-left: 14px;
  border-left: 2px solid rgba(248, 195, 91, 0.35);
}

.hero-card {
  position: relative;
}

.hero-shot .screenshot-frame {
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

.hero-shot img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: contain;
}

.hero-shot .caption {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

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

.card.glass {
  backdrop-filter: blur(18px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.activity {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.activity li {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

.dot.success { background: #66f0b6; }
.dot.warn { background: #f6d25b; }
.dot.info { background: #8fc7ff; }

.tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  font-size: 0.9rem;
}

.mini-grid h3 {
  font-size: 1.4rem;
}

.marquee {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.marquee-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-soft);
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: rgba(11, 16, 34, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
  max-width: 22ch;
}

.section-subtitle {
  color: var(--text-soft);
  max-width: 700px;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.platform-card,
.security-item {
  background: rgba(15, 22, 44, 0.7);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.platform-card::before,
.security-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(248, 195, 91, 0.8), rgba(255, 120, 79, 0.65));
}

.feature-card h3,
.platform-card h3,
.security-item h3 {
  margin-bottom: 10px;
}

.feature-card ul,
.platform-card ul {
  list-style: none;
  margin-top: 16px;
  color: var(--text-soft);
  display: grid;
  gap: 10px;
}

.feature-card ul li::before,
.platform-card ul li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.feature-actions {
  margin-top: 18px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.feature-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.feature-link:hover::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.split-panel {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.callout {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 120, 79, 0.1);
  color: var(--accent-2);
  font-weight: 500;
}

.platform-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.security-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#dashboard .security-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-grid details {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(15, 22, 44, 0.7);
  border: 1px solid var(--border);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
}

.contact {
  background: linear-gradient(130deg, rgba(255, 120, 79, 0.08), rgba(15, 22, 44, 0.9));
}

.impact-band {
  padding: 26px 0 34px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 10% 40%, rgba(248, 195, 91, 0.08), transparent 35%),
    linear-gradient(135deg, rgba(10, 15, 31, 0.75), rgba(13, 20, 39, 0.9));
}

.impact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-item {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(11, 18, 36, 0.65);
}

.impact-title {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.impact-copy {
  color: var(--text-soft);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-info .label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-soft);
}

.contact-info .value {
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: rgba(12, 18, 35, 0.8);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.contact-form label {
  display: block;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  width: 100%;
  display: block;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 18, 0.9);
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

.footer-meta {
  color: var(--text-soft);
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.screenshot-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screenshot-card {
  background: rgba(15, 22, 44, 0.7);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.screenshot-frame {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-soft);
}

.screenshot-frame img[data-lightbox] {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 22, 0.88);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

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

.lightbox img {
  width: min(1000px, 90vw);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.screenshot-card p {
  padding: 16px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

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

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .feature-grid,
  .split,
  .platform-grid,
  .security-grid,
  .screenshot-grid,
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #dashboard .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 5%;
    background: rgba(10, 15, 31, 0.95);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .feature-grid,
  .split,
  .platform-grid,
  .security-grid,
  .screenshot-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  #dashboard .security-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .marquee-inner {
    gap: 10px;
  }
}
