/* Enlight Lab — shared marketing shell (from accelerator/css/marketing.css) */

:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --teal: #14b8a6;
  --navy: #0f172a;
  --slate: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.finops-page {
  font-family: var(--font-body);
  color: #1e293b;
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
}

h1, h2, h3, .btn { font-family: var(--font-display); }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(37, 99, 235, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 50% at 95% 5%, rgba(20, 184, 166, 0.1), transparent 45%),
    var(--bg);
  pointer-events: none;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); }
.container-wide { max-width: 1140px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.site-header-el {
  padding: 0;
}

.site-header-accent {
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #14b8a6 45%, #7c3aed 100%);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px clamp(24px, 5vw, 64px);
  width: 100%;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-lockup-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-line {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.2;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-trust-pill {
  display: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .header-trust-pill {
    display: inline-block;
  }
}

.btn-header-cta {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0d9488 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.btn-header-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-header-ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-header-ghost:hover {
  color: var(--navy);
  border-color: #93c5fd;
  background: #f8fafc;
}

body:not(.view-home) .btn-header-cta,
body:not(.view-home) .header-trust-pill {
  display: none;
}

body:not(.view-home) #btn-header-home {
  display: inline-flex !important;
}

body.view-home #btn-header-home {
  display: none !important;
}

.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-link-active {
  color: var(--blue);
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: inset 0 -2px 0 var(--blue);
}

.nav-link-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -13px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
}

.brand-logo {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.brand-logo svg,
svg.brand-logo {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.brand-co { color: var(--navy); font-weight: 800; }
.brand-product { color: var(--navy); font-weight: 700; }
.brand-sep { color: #94a3b8; font-weight: 500; margin: 0 0.4em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.nav-link:hover { color: var(--blue); border-color: #93c5fd; }

.nav-link.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.nav-link.primary:hover { background: var(--blue-dark); }

.finops-hero {
  padding: 32px 0 20px;
  text-align: center;
}

.dashboard-rule {
  max-width: 1280px;
  margin: 0 auto 4px;
  padding: 0 clamp(32px, 5vw, 64px);
}

.dashboard-rule::after {
  content: "";
  display: block;
  height: 1px;
  background: #dbe3ef;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

main.container-wide {
  padding-top: 0;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.home-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 16px;
}

.title-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-sub {
  font-size: 1.02rem;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.65;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 24px;
}

.site-footer code {
  font-family: ui-monospace, monospace;
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .site-header-inner { padding: 0 20px; height: 64px; }
  .site-nav .nav-link:not(.primary) { display: none; }
}
