/*
 * Landing shell: base reset, sticky nav and hero.
 *
 * Extracted from an inline <style> element in index.html so the site-wide
 * CSP (`style-src 'self'` in netlify.toml) does not block it: a <style>
 * ELEMENT is not covered by that directive, a same-origin stylesheet is.
 *
 * Split from the section styles to stay under the 500-line file-size gate; landing-sections.css carries features, pricing and footer.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
body {
  min-height: 100vh;
  background-color: #020617; /* slate-950 */
  color: #e2e8f0; /* slate-200 */
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#root-static {
  display: block;
}

/* Nav */
.ssg-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4); /* slate-700/40 */
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  padding: 0 1.5rem;
}
.ssg-nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}
.ssg-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.ssg-logo-icon {
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ssg-logo-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ssg-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ssg-nav-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}
.ssg-nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  background: #4f46e5;
  padding: 0.4rem 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

/* Hero */
.ssg-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}
.ssg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: rgba(30, 27, 75, 0.6);
  border: 1px solid rgba(67, 56, 202, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 2rem;
}
.ssg-logo-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.ssg-logo-mark-inner {
  padding: 1rem;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.3);
}
.ssg-logo-mark-inner svg {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ssg-h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.ssg-h1-gradient {
  background: linear-gradient(90deg, #818cf8, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ssg-hero-p {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.75;
}
.ssg-hero-p strong {
  color: #e2e8f0;
  font-weight: 600;
}
.ssg-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.ssg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #4f46e5;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.25);
  text-decoration: none;
  transition: background 0.15s;
}
.ssg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: border-color 0.15s;
}

/* Hide the static shell once React mounts */
#root:not(:empty) + #root-static {
  display: none;
}

/* Responsive nav links */
@media (max-width: 640px) {
  .ssg-nav-links {
    display: none;
  }
  .ssg-hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
}
