/**
 * Seamless Outcomes - Design System
 * Clean, modern, high-performance styling for seamlessoutcomes.com
 */

:root {
  --bg: #06080d;
  --bg-subtle: #0b0f19;
  --card-bg: #0f1523;
  --card-border: #1b253b;
  --card-hover: #162035;
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.25);
  --success: #10b981;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e1b4b, #312e81);
  color: #c7d2fe;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
}
.announcement-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.4rem;
}

/* Header & Navigation */
header.site-header {
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  background: rgba(6, 8, 13, 0.9);
  backdrop-filter: blur(16px);
  z-index: 1000;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 0 15px var(--accent-glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.badge-nav {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #22d3ee;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.25rem;
}
.btn-nav {
  background: linear-gradient(135deg, var(--primary), #4338ca);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--card-border);
}
.mobile-menu.open {
  display: flex;
}

/* Typography & Badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent-gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4338ca);
  color: #fff;
  padding: 0.95rem 2rem;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5);
  transition: var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.6);
}
.btn-secondary {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 0.95rem 1.85rem;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  background: var(--card-hover);
  border-color: #374151;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #fff;
  padding: 0.95rem 2rem;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
  transition: var(--transition);
  display: inline-block;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(6, 182, 212, 0.5);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2.25rem;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
}

/* Metrics Bar */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 2.5rem 0;
  margin: 4rem 0;
}
.metric-box { text-align: center; }
.metric-num {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}
.metric-title {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 3rem;
  background: #040609;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2 { grid-template-columns: 1fr; }
}
