/* ShadowTagAI — Indigo-Tinted Brand Design System */
/* Google Brand-Permeation Technique: Every neutral carries the indigo brand hue (240°) */
/* No pure black. No pure white. No pure gray. Brand DNA in every pixel. */

:root {
  /* Backgrounds — deep indigo-blacks */
  --bg: #08081a; /* HSL(240, 38%, 7%) — indigo-black */
  --bg-elevated: #0e0e28; /* HSL(240, 46%, 10%) — raised indigo */
  --bg-card: rgba(120, 120, 220, 0.03); /* indigo-tinted glass */
  --bg-card-hover: rgba(120, 120, 220, 0.06); /* indigo-tinted glass hover */

  /* Borders — indigo-tinted */
  --border: rgba(130, 130, 210, 0.08); /* indigo-tinted border */
  --border-accent: rgba(212, 175, 55, 0.2);

  /* Text — light indigo tints, never pure white */
  --text: #e2e2f0; /* HSL(240, 30%, 91%) — indigo cream */
  --text-muted: #7474a0; /* HSL(240, 19%, 54%) — indigo mid */
  --text-dim: #3e3e60; /* HSL(240, 22%, 31%) — indigo dim */

  /* Accent palette */
  --accent: #d4af37; /* Legal gold — high contrast pop */
  --accent-2: #10b981; /* Trust emerald */
  --danger: #ef4444;
  --safe: #10b981;

  /* Glows & gradients */
  --glow: rgba(212, 175, 55, 0.15);
  --gradient: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(16, 185, 129, 0.05));

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", monospace;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.text-accent {
  color: var(--accent);
}
.text-danger {
  color: var(--danger);
}
strong {
  color: var(--text);
}
em {
  font-style: italic;
  color: var(--text-muted);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 26, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
}
.nav-logo strong {
  color: var(--accent);
}
.logo-shield {
  font-size: 1.4rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.btn-nav {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 32px 100px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(120, 120, 220, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(100, 100, 240, 0.06) 0%,
    rgba(212, 175, 55, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 28px;
}
.hero-line {
  display: block;
}
.hero-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--glow);
}
.btn-glow {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover {
  color: var(--accent);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Proof Bar */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-item {
  text-align: center;
  padding: 0 32px;
}
.proof-value {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Sections */
.section {
  padding: 120px 32px;
}
.section-dark {
  background: var(--bg-elevated);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-eyebrow.center {
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Split Layout (Problem Section) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}
.split-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* Danger/Safe Cards */
.danger-card,
.safe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.danger-card:hover {
  border-color: rgba(239, 68, 68, 0.2);
  transform: translateX(4px);
}
.safe-card {
  border-color: rgba(16, 185, 129, 0.15);
  background: rgba(16, 185, 129, 0.03);
}
.safe-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(4px);
}
.danger-icon,
.safe-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.danger-card h3,
.safe-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.danger-card p,
.safe-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mechanism Grid */
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.mech-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.mech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.mech-card:hover::before {
  opacity: 1;
}
.mech-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.mech-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mech-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Shield Grid */
.shield-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.shield-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.shield-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.shield-before {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 8px;
}
.shield-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.shield-after {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--safe);
  margin-bottom: 12px;
}
.shield-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* S.E.U. Grid */
.seu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.seu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.seu-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.seu-letter {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.seu-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.seu-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Guardrails */
.guardrails-content {
  max-width: 700px;
  margin: 0 auto;
}
.guardrail-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.guardrail-item:last-child {
  border-bottom: none;
}
.guardrail-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  flex-shrink: 0;
  width: 40px;
}
.guardrail-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.guardrail-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}
.price-featured {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.02);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}
.price-tier {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 28px;
}
.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.price-features {
  list-style: none;
  margin-bottom: 32px;
}
.price-features li {
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child {
  border-bottom: none;
}
.price-features li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 10px;
  font-weight: 800;
}

/* CTA */
.section-cta {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.02) 0%, var(--bg) 100%);
}
.pilot-form {
  max-width: 520px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.pilot-form input,
.pilot-form select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 16px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.pilot-form input:focus,
.pilot-form select:focus {
  border-color: var(--accent);
}
.pilot-form select {
  appearance: none;
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 32px 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo strong {
  color: var(--accent);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
  .mechanism-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-proof {
    flex-direction: column;
    gap: 16px;
  }
  .proof-divider {
    width: 40px;
    height: 1px;
  }
  .mechanism-grid,
  .shield-grid,
  .seu-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 80px 20px;
  }
}
