/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #faf8f0;
  --slate: #0f1c2e;
  --slate-mid: #1e3249;
  --teal: #00c896;
  --teal-dark: #00a87a;
  --text: #2c3e50;
  --text-muted: #6b7c93;
  --border: rgba(15,28,46,0.10);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

/* === NAV === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--slate);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,28,46,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(15,28,46,0.06);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--slate);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* === SHIFT MONITOR === */
.shift-monitor {
  background: var(--slate);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,28,46,0.25), 0 4px 12px rgba(15,28,46,0.15);
}
.monitor-header {
  background: var(--slate-mid);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.monitor-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.monitor-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.5s infinite;
}
.monitor-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.shift-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.shift-unit {
  font-size: 0.8rem;
  color: rgba(250,248,240,0.75);
  font-weight: 400;
}
.shift-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.shift-badge.filling { background: rgba(0,200,150,0.15); color: var(--teal); }
.shift-badge.filled  { background: rgba(0,200,150,0.08); color: #4dffc0; }
.shift-badge.queued  { background: rgba(255,255,255,0.08); color: rgba(250,248,240,0.5); }
.monitor-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.9rem 0.25rem;
  font-size: 0.72rem;
  color: rgba(250,248,240,0.4);
}
.teal-text { color: var(--teal); }

/* === STATS === */
.stats {
  background: var(--slate);
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.stat-item {
  text-align: center;
  flex: 1;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(250,248,240,0.5);
  font-weight: 400;
  line-height: 1.4;
  max-width: 140px;
  margin: 0 auto;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

/* === SECTIONS SHARED === */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}
.section-headline {
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* === HOW === */
.how { padding: 5rem 2rem; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.step {
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: background 0.2s;
}
.step:hover { background: rgba(0,200,150,0.04); }
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--teal-dark);
  background: rgba(0,200,150,0.1);
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  min-width: 2.2rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-body h3 {
  color: var(--slate);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}
.step-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* === FEATURES === */
.features {
  background: var(--slate);
  padding: 5rem 2rem;
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features .section-label { color: rgba(0,200,150,0.6); }
.features .section-headline { color: var(--cream); }
.features .section-sub { color: rgba(250,248,240,0.5); }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,200,150,0.3); }
.feature-visual {
  height: 80px;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

/* CSS-only feature visuals */
.feature-visual--shift {
  background: linear-gradient(135deg, #0a1628 0%, #0d2035 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 0.5rem;
}
.feature-visual--shift::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  width: 100px;
  height: 40px;
  background: repeating-linear-gradient(90deg, var(--teal) 0px, var(--teal) 18px, transparent 18px, transparent 26px);
  opacity: 0.25;
  border-radius: 4px;
}
.feature-visual--cred {
  background: linear-gradient(135deg, #0d2035 0%, #0f1c2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual--cred::before {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 3px solid var(--teal);
  border-radius: 50%;
  opacity: 0.3;
}
.feature-visual--cred::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 7px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg) translateY(-2px);
  opacity: 0.5;
}
.feature-visual--notify {
  background: linear-gradient(135deg, #0d2035 0%, #0f1c2e 100%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  overflow: hidden;
}
.feature-visual--notify::before {
  content: '';
  display: block;
  width: 18px;
  height: 28px;
  background: var(--teal);
  opacity: 0.2;
  border-radius: 4px;
}
.feature-visual--notify::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--teal);
  opacity: 0.5;
  border-radius: 50%;
}
.feature-visual--predict {
  background: linear-gradient(135deg, #0d2035 0%, #0f1c2e 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 1rem 1.5rem;
}
.bar {
  width: 16px;
  background: var(--teal);
  border-radius: 3px 3px 0 0;
  opacity: 0.25;
}
.bar:nth-child(1) { height: 30px; }
.bar:nth-child(2) { height: 50px; opacity: 0.4; }
.bar:nth-child(3) { height: 35px; }
.bar:nth-child(4) { height: 65px; opacity: 0.5; }
.bar:nth-child(5) { height: 45px; }
.bar:nth-child(6) { height: 58px; opacity: 0.35; }
.bar:nth-child(7) { height: 40px; }

.feature-card h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: rgba(250,248,240,0.5);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* === OUTCOMES === */
.outcomes { padding: 4rem 2rem; }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.outcome-card {
  background: var(--slate);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.outcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  opacity: 0.6;
}
.outcome-stat {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.outcome-desc {
  color: rgba(250,248,240,0.5);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  background: var(--slate);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 60px solid rgba(0,200,150,0.06);
  pointer-events: none;
}
.closing-inner { max-width: 780px; margin: 0 auto; position: relative; }
.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-body {
  color: rgba(250,248,240,0.6);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.closing-signoff {
  color: rgba(250,248,240,0.35);
  font-size: 0.85rem;
  font-style: italic;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--slate);
  letter-spacing: -0.5px;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-links {
  font-size: 0.8rem;
  color: var(--teal-dark);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* === SIGNUP FORM === */
.signup-form {
  padding: 4rem 2rem;
  background: var(--cream);
  text-align: center;
}
.signup-inner {
  max-width: 580px;
  margin: 0 auto;
}
.form-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.form-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
}
.form-input {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--teal);
}
.form-submit {
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--slate);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover {
  background: var(--slate-mid);
}
.form-success {
  color: var(--teal);
  margin-top: 1rem;
  font-weight: 500;
}
.form-error {
  color: #c0392b;
  margin-top: 1rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .signup-form {
    padding: 3rem 1.25rem;
  }
  .form-input {
    width: 100%;
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-headline { font-size: 2.2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 60px; height: 1px; }
  .nav-tagline { display: none; }
  .footer-inner { align-items: flex-start; text-align: left; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 3rem; }
  .how, .features, .closing { padding: 3.5rem 1.25rem; }
  .stats { padding: 2rem 1.25rem; }
  .outcomes { padding: 2.5rem 1.25rem; }
  .step { padding: 1.5rem 1.25rem; }
  .shift-monitor { margin: 0 -0.5rem; }
}