/* Slater Security — Marketing Landing Page */
:root {
  --bg: #0a0c10;
  --bg-elevated: #12151c;
  --bg-card: #161a24;
  --text: #e8eaef;
  --text-muted: #8b92a3;
  --accent: #00c9a7;
  --accent-dim: rgba(0, 201, 167, 0.15);
  --border: #252a36;
  --radius: 12px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.logo:hover { text-decoration: none; color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: #00e0b8;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.correlation-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  width: 100%;
  max-width: 320px;
}
.correlation-demo .signal {
  padding: 0.5rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.correlation-demo .signal:last-of-type { border-bottom: none; }
.correlation-demo .correlation-result {
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--accent);
  font-weight: 500;
  border-top: 1px dashed var(--border);
}

/* Features */
.features {
  padding: 5rem 1.5rem;
  background: var(--bg-elevated);
}
.features h2 {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
}
.pillars {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.pillar:hover { border-color: var(--accent); }
.pillar-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Differentiator */
.differentiator {
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.differentiator h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
}
.differentiator p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.differentiator .highlight {
  padding: 1.25rem;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.differentiator .highlight strong { color: var(--accent); }
.differentiator .tagline {
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
}

/* Terms section */
.terms-section {
  padding: 5rem 1.5rem;
  background: var(--bg);
}
.terms-content {
  max-width: 720px;
  margin: 0 auto;
}
.terms-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
}
.terms-intro {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.terms-summary {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.terms-summary li {
  margin-bottom: 0.75rem;
}
.terms-summary li:last-child {
  margin-bottom: 0;
}
.terms-cta {
  margin: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.terms-cta .btn {
  text-decoration: none;
}
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}
.terms-checkbox input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.terms-checkbox a {
  color: var(--accent);
}

/* CTA */
.cta {
  padding: 5rem 1.5rem;
  background: var(--bg-elevated);
  text-align: center;
}
.cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
}
.cta p {
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.signup-form input::placeholder { color: var(--text-muted); opacity: 0.8; }
.signup-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.cta-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-legal {
  margin-top: 0.75rem !important;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--accent);
}
.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem 4rem;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .correlation-demo { max-width: 100%; }
}
