/* ============================================================
   Superior Workflows — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base:        #0c0c0e;
  --bg-surface:     #0f0f11;
  --bg-deep:        #080809;
  --border:         rgba(255, 255, 255, 0.08);
  --border-mid:     rgba(255, 255, 255, 0.13);
  --text-primary:   #f0ece4;
  --text-muted:     rgba(240, 236, 228, 0.45);
  --text-faint:     rgba(240, 236, 228, 0.25);
  --red:            #E8311A;
  --red-dim:        rgba(232, 49, 26, 0.12);
  --red-border:     rgba(232, 49, 26, 0.25);
  --amber:          #F5A623;
  --amber-dim:      rgba(245, 166, 35, 0.10);
  --amber-border:   rgba(245, 166, 35, 0.20);
  --teal:           #3ECFAA;
  --teal-dim:       rgba(62, 207, 170, 0.10);
  --teal-border:    rgba(62, 207, 170, 0.20);
  --magenta:        #e060c8;
  --magenta-dim:    rgba(224, 96, 200, 0.10);
  --magenta-border: rgba(224, 96, 200, 0.20);
  --serif:          'Instrument Serif', Georgia, serif;
  --sans:           'Outfit', system-ui, sans-serif;
  --max-width:      1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ── Navigation ── */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem 0.25rem;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-base);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img {
  width: 100px; height: 100px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 16px;
  font-weight: 500;
  background: var(--red);
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 14px 30px;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(240,236,228,0.18);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(240,236,228,0.4); }

/* ── Pills / Tags ── */
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.pill-red    { background: var(--red-dim);     color: var(--red);     border: 0.5px solid var(--red-border); }
.pill-amber  { background: var(--amber-dim);   color: var(--amber);   border: 0.5px solid var(--amber-border); }
.pill-teal   { background: var(--teal-dim);    color: var(--teal);    border: 0.5px solid var(--teal-border); }
.pill-magenta{ background: var(--magenta-dim); color: var(--magenta); border: 0.5px solid var(--magenta-border); }

/* ── Section Labels ── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title-serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--text-primary);
}

/* ── Footer ── */
.site-footer {
  padding: 1.75rem 2rem;
  background: var(--bg-deep);
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-links a { font-size: 12px; color: var(--text-faint); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-faint); }

/* ── Fade-in animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.45s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { padding: 1rem; }
  .nav-links { display: none; }
  .container { padding: 0 1rem; }
}
