/* ============================================================
   WROK LANDING PAGE — style.css
   ============================================================ */

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

:root {
  --primary: #0D7C66;
  --primary-light: #14A085;
  --primary-dark: #095E4E;
  --primary-10: rgba(13,124,102,0.1);
  --primary-20: rgba(13,124,102,0.2);
  --charcoal: #3C3C3C;
  --charcoal-light: #555;
  --charcoal-muted: #777;
  --blue: #1976D2;
  --teal: #0A8A8A;
  --bg: #F4F7F9;
  --white: #FFFFFF;
  --morning: #FF9800;
  --afternoon: #1E88E5;
  --night: #5C6BC0;
  --off: #E8EAED;
  --gradient: linear-gradient(135deg, #2C3C3C 0%, #1A7A5A 30%, #0A8A8A 60%, #1976D2 100%);
  --radius-card: 16px;
  --radius-btn: 100px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Roboto', sans-serif;
  color: var(--charcoal);
  background: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== FLOATING SHAPES (reusable) ===== */
.section-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.07;
}

.section-bg-shapes.subtle .shape {
  background: var(--primary);
  opacity: 0.03;
}

.section-bg-shapes.dark-shapes .shape {
  background: white;
  opacity: 0.025;
}

.sh-1 { width: 420px; height: 420px; top: -150px; right: -80px; animation: float-slow 18s ease-in-out infinite; }
.sh-2 { width: 280px; height: 280px; bottom: -100px; left: -60px; animation: float-slow 14s ease-in-out infinite reverse; }
.sh-3 { width: 120px; height: 120px; top: 40%; left: 10%; opacity: 0.05 !important; animation: float-slow 10s ease-in-out infinite 2s; }
.sh-4 { width: 80px; height: 80px; top: 15%; right: 25%; opacity: 0.05 !important; animation: float-slow 12s ease-in-out infinite 3s; }
.sh-5 { width: 200px; height: 200px; bottom: 15%; right: 10%; opacity: 0.04 !important; animation: float-slow 16s ease-in-out infinite 1s; }
.sh-6 { width: 60px; height: 60px; top: 60%; left: 30%; opacity: 0.06 !important; animation: float-slow 9s ease-in-out infinite 4s; }
.sh-a { width: 300px; height: 300px; top: -100px; left: -80px; animation: float-slow 16s ease-in-out infinite; }
.sh-b { width: 180px; height: 180px; bottom: -60px; right: -40px; animation: float-slow 12s ease-in-out infinite reverse; }
.sh-c { width: 250px; height: 250px; top: 20%; right: -60px; animation: float-slow 14s ease-in-out infinite 1s; }
.sh-d { width: 150px; height: 150px; bottom: 10%; left: -30px; animation: float-slow 11s ease-in-out infinite 3s; }

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.03); }
  66% { transform: translate(-10px, 10px) scale(0.97); }
}

/* Gradient divider between dark sections */
.gradient-divider {
  height: 1px; border: none; margin: 0;
  background: var(--gradient); opacity: 0.3;
}


/* ===== SECTION SHARED ===== */
.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-10);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}

/* On gradient sections */
.section-label.light {
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}

/* On dark sections */
.section-header.dark .section-title { color: var(--white); }
.section-header.dark .section-subtitle { color: rgba(255,255,255,0.55); }
.section-label.dark {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--charcoal);
}

/* Gradient text on section titles in light sections */
.section-title-gradient {
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-header.light .section-title { color: var(--white); }

.section-subtitle {
  color: var(--charcoal-muted); font-size: 1.1rem;
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}

.section-header.light .section-subtitle { color: rgba(255,255,255,0.8); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.3); background: rgba(20,20,20,0.95); }

.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 84px;
}

.nav-brand { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.nav-logo { height: 136px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.6);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-cta {
  background: var(--primary) !important; color: var(--white) !important;
  padding: 9px 22px !important; border-radius: var(--radius-btn) !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
  box-shadow: 0 2px 8px rgba(13,124,102,0.25);
}

.nav-cta:hover {
  background: var(--primary-dark) !important; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,124,102,0.35) !important;
}

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }

.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}

.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }
.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active .hamburger::after  { transform: rotate(-45deg); top: 0; }


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: var(--radius-btn);
  font-size: 1rem; font-weight: 600; cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center; justify-content: center;
}

.btn:hover { transform: translateY(-2px); }
.btn-icon, .btn-icon-right { width: 18px; height: 18px; flex-shrink: 0; }

.btn-hero-primary {
  background: var(--white); color: var(--primary-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15); font-size: 1.05rem; padding: 16px 36px;
}
.btn-hero-primary:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); background: #f8fffe; }

.btn-hero-secondary {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(4px);
  font-size: 1.05rem; padding: 15px 32px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }

.btn-download {
  background: var(--white); color: var(--primary-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15); font-size: 1.1rem; padding: 18px 40px;
}
.btn-download:hover { box-shadow: 0 8px 36px rgba(0,0,0,0.2); background: #f8fffe; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 160px 0 120px;
  background: var(--gradient); color: var(--white); overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-bg-shapes .shape {
  position: absolute; border-radius: 50%; opacity: 0.08; background: white;
}

.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; animation: float-slow 20s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; animation: float-slow 16s ease-in-out infinite reverse; }
.shape-3 { width: 150px; height: 150px; top: 30%; left: 15%; opacity: 0.05; animation: float-slow 12s ease-in-out infinite 2s; }
.shape-4 { width: 80px; height: 80px; top: 20%; right: 30%; opacity: 0.06; animation: float-slow 10s ease-in-out infinite 4s; }
.shape-5 { width: 200px; height: 200px; bottom: 10%; right: 15%; opacity: 0.04; animation: float-slow 18s ease-in-out infinite 1s; }

.hero-container {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 60px; position: relative; z-index: 1;
}

.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 24px; backdrop-filter: blur(4px);
}

.hero-title { margin-bottom: 20px; }

.hero-title-line {
  display: block; font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em;
}

.hero-title-accent {
  background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,0.7));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem; font-weight: 300; opacity: 0.9;
  margin-bottom: 36px; max-width: 480px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; opacity: 0.6; }
.hero-visual { flex: 0 0 auto; position: relative; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

.section-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; }
.section-wave svg { display: block; width: 100%; height: 60px; }
.section-wave-top { bottom: auto; top: -1px; }

/* ===== PHONE MOCKUP ===== */
.hero-visual { perspective: 900px; }
.phone-float {
  animation: phone-bob 6s ease-in-out infinite;
  cursor: grab;
}
.phone-float.dragging { animation: none; cursor: grabbing; }
@keyframes phone-bob { 0%, 100% { transform: translateY(0) rotateY(-6deg); } 50% { transform: translateY(-12px) rotateY(-6deg); } }
.phone-float.phone-fixed { position: fixed !important; z-index: 1000; animation: none; cursor: default; }
.hero-visual.phone-away { min-width: 280px; min-height: 500px; }

.phone-mockup { width: 280px; position: relative; }

.phone-frame {
  background: #1a1a2e; border-radius: 36px; padding: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1) inset, 0 0 40px rgba(13,124,102,0.15);
}

.phone-notch { width: 90px; height: 5px; background: #2a2a3e; border-radius: 3px; margin: 6px auto 8px; }

.phone-screen {
  background: var(--white); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
}

.mock-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px 4px; font-size: 0.7rem; font-weight: 600; color: var(--charcoal);
}
.mock-status-icons { display: flex; gap: 4px; align-items: center; }
.mock-signal, .mock-wifi, .mock-battery { height: 8px; border-radius: 2px; }
.mock-signal { width: 14px; background: var(--charcoal); opacity: 0.6; }
.mock-wifi { width: 12px; height: 10px; border-radius: 50%; background: var(--charcoal); opacity: 0.6; }
.mock-battery { width: 18px; background: var(--charcoal); opacity: 0.6; border-radius: 3px; }

.mock-app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid #f0f0f0;
}
.mock-app-bar.compact { padding: 8px 14px; }
.mock-app-title { font-size: 0.9rem; font-weight: 700; color: var(--charcoal); }
.mock-menu-icon, .mock-bell-icon { width: 18px; height: 18px; }

.mock-week-nav {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 12px; font-size: 0.75rem; font-weight: 600; color: var(--charcoal-light);
}
.mock-week-nav.compact { padding: 6px 10px; }
.mock-week-nav svg { width: 14px; height: 14px; }

.mock-schedule { display: flex; flex-direction: column; gap: 4px; padding: 4px 12px 12px; flex: 1; }
.mock-day { display: flex; align-items: center; gap: 8px; }
.mock-day-label { width: 32px; font-size: 0.6rem; font-weight: 600; color: var(--charcoal-muted); text-align: center; line-height: 1.2; }
.mock-day-num { font-size: 0.75rem; font-weight: 700; color: var(--charcoal); }

.mock-shift {
  flex: 1; padding: 6px 10px; border-radius: 8px; color: var(--white);
  display: flex; justify-content: space-between; align-items: center;
}
.mock-shift-name { font-size: 0.65rem; font-weight: 600; }
.mock-shift-time { font-size: 0.55rem; opacity: 0.85; }
.mock-shift.morning   { background: var(--morning); }
.mock-shift.afternoon { background: var(--afternoon); }
.mock-shift.night     { background: var(--night); }
.mock-shift.off       { background: var(--off); color: var(--charcoal-muted); }

.mock-bottom-nav { display: flex; border-top: 1px solid #f0f0f0; padding: 6px 0 8px; }
.mock-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #aaa; font-size: 0.55rem; font-weight: 500; }
.mock-nav-item svg { width: 16px; height: 16px; }
.mock-nav-item.active { color: var(--primary); }

/* ===== SLOGAN BAR ===== */
.slogan-bar {
  padding: 64px 0;
  background: #1a1a1a;
  text-align: center;
}

.slogan-content { max-width: 700px; margin: 0 auto; }

.slogan-text {
  font-size: 2.6rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.03em;
  color: var(--white);
}
.slogan-highlight {
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.slogan-dot {
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== FEATURES (gradient bg + carousel) ===== */
.features {
  position: relative; padding: 100px 0 80px;
  background: var(--gradient); overflow: hidden;
}

/* Feature nav pills */
.feature-nav-wrap {
  margin-bottom: 32px;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  text-align: center;
}
.feature-nav-wrap::-webkit-scrollbar { display: none; }

.feature-nav {
  display: inline-flex; gap: 8px; flex-wrap: nowrap;
  padding: 4px 36px;
}

.feature-pill {
  padding: 10px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; white-space: nowrap;
  transition: all var(--transition);
}

.feature-pill:hover { background: rgba(255,255,255,0.18); color: var(--white); }

.feature-pill.active {
  background: var(--white); color: var(--primary-dark);
  border-color: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Feature showcase */
.feature-showcase {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.15);
  position: relative; overflow: hidden;
  min-height: 420px; /* fallback before JS measures */
}


/* Slide transitions */
.feature-slide {
  display: flex; gap: 40px; padding: 48px; padding-bottom: 80px;
  opacity: 0; transform: translateX(40px);
  position: absolute; top: 0; left: 0; right: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-slide.active {
  opacity: 1; transform: translateX(0);
  position: absolute; pointer-events: auto;
}

.feature-slide.exit-left {
  opacity: 0; transform: translateX(-40px); position: absolute;
}

.feature-slide.exit-right {
  opacity: 0; transform: translateX(40px); position: absolute;
}

.feature-slide.enter-right { transform: translateX(40px); opacity: 0; }
.feature-slide.enter-left  { transform: translateX(-40px); opacity: 0; }

/* Slide text */
.fs-text { flex: 1; min-width: 0; }

.fs-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  color: var(--primary); background: var(--primary-10);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
  letter-spacing: 0.03em; text-transform: uppercase;
}

.fs-text h3 {
  font-size: 1.5rem; font-weight: 800; color: var(--charcoal);
  margin-bottom: 12px; line-height: 1.25;
}

.fs-text p {
  font-size: 0.92rem; color: var(--charcoal-muted);
  line-height: 1.7; margin-bottom: 20px;
}

.fs-points { display: flex; flex-direction: column; gap: 8px; }

.fs-points li {
  font-size: 0.88rem; color: var(--charcoal-light);
  padding-left: 22px; position: relative; line-height: 1.5;
}

.fs-points li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary-10); border: 2px solid var(--primary);
}

/* Slide visual */
.fs-visual { flex: 0 0 340px; display: flex; align-items: center; justify-content: center; }

.fv-card {
  width: 320px; min-height: 260px; position: relative;
  background: linear-gradient(135deg, rgba(13,124,102,0.06) 0%, rgba(10,138,138,0.1) 50%, rgba(25,118,210,0.06) 100%);
  border: 1px solid rgba(13,124,102,0.1);
  border-radius: 20px; padding: 24px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}

.fv-dot {
  position: absolute; border-radius: 50%; background: var(--primary); opacity: 0.06;
}
.fv-dot-1 { width: 120px; height: 120px; top: -30px; right: -20px; animation: float-slow 10s ease-in-out infinite; }
.fv-dot-2 { width: 80px; height: 80px; bottom: -20px; left: -15px; animation: float-slow 8s ease-in-out infinite reverse; }
.fv-dot-3 { width: 60px; height: 60px; top: 50%; left: -10px; animation: float-slow 12s ease-in-out infinite 2s; }

/* Feature Visual: Mini Grid */
.fv-mini-grid, .fv-calendar { display: flex; flex-direction: column; gap: 3px; }

.fv-grid-head, .fv-cal-head {
  display: grid; gap: 3px; margin-bottom: 3px;
}
.fv-grid-head { grid-template-columns: 42px repeat(5, 1fr); }
.fv-cal-head  { grid-template-columns: 42px repeat(7, 1fr); }

.fv-grid-head span, .fv-cal-head span {
  font-size: 0.6rem; font-weight: 700; color: var(--charcoal-muted); text-align: center;
}

.fv-grid-row, .fv-cal-row {
  display: grid; gap: 3px;
}
.fv-grid-row { grid-template-columns: 42px repeat(5, 1fr); }
.fv-cal-row  { grid-template-columns: 42px repeat(7, 1fr); }

.fv-grid-row span:first-child, .fv-cal-row span:first-child {
  font-size: 0.6rem; font-weight: 600; color: var(--charcoal); display: flex; align-items: center;
}

.fv-c { height: 24px; border-radius: 5px; }
.fv-c.m   { background: var(--morning); }
.fv-c.a   { background: var(--afternoon); }
.fv-c.n   { background: var(--night); }
.fv-c.off { background: var(--off); }

.fv-badge {
  margin-top: 12px; padding: 6px 12px; border-radius: 8px;
  background: rgba(13,124,102,0.1); color: var(--primary);
  font-size: 0.7rem; font-weight: 600; text-align: center;
}

.fv-badge.green {
  background: rgba(255,152,0,0.1); color: #EF6C00;
}

.fv-cal-legend {
  display: flex; gap: 12px; margin-top: 10px; justify-content: center;
}
.fv-cal-legend span { font-size: 0.6rem; color: var(--charcoal-muted); display: flex; align-items: center; gap: 4px; }
.fv-cal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Feature Visual: Shift Stack */
.fv-shift-stack { display: flex; flex-direction: column; gap: 10px; }

.fv-shift-type {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--sc);
}

.fv-shift-color { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.fv-shift-info { display: flex; flex-direction: column; }
.fv-shift-info strong { font-size: 0.8rem; color: var(--charcoal); }
.fv-shift-info span { font-size: 0.65rem; color: var(--charcoal-muted); }

/* Feature Visual: Roles */
.fv-roles { display: flex; flex-direction: column; gap: 10px; }

.fv-role {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fv-role-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; flex-shrink: 0;
}

.fv-role-info { flex: 1; display: flex; flex-direction: column; }
.fv-role-info strong { font-size: 0.78rem; color: var(--charcoal); }
.fv-role-info span { font-size: 0.6rem; color: var(--charcoal-muted); }
.fv-role-count { font-size: 0.65rem; font-weight: 600; color: var(--primary); }

/* Feature Visual: Swap */
.fv-swap {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
}

.fv-swap-person { text-align: center; flex: 1; }

.fv-swap-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem; font-weight: 700; margin: 0 auto 6px;
}

.fv-swap-person strong { display: block; font-size: 0.75rem; color: var(--charcoal); margin-bottom: 6px; }

.fv-swap-shift {
  display: inline-block; padding: 5px 10px; border-radius: 8px;
  color: white; font-size: 0.6rem; font-weight: 600;
}

.fv-swap-arrows { flex: 0 0 48px; }
.fv-swap-arrows svg { width: 48px; height: 24px; }

/* Feature Visual: Time Off */
.fv-timeoff { display: flex; flex-direction: column; gap: 8px; }

.fv-to-req {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 10px; padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.fv-to-badge {
  padding: 3px 8px; border-radius: 6px; font-size: 0.55rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; flex-shrink: 0;
}
.fv-to-badge.approved { background: rgba(46,125,50,0.12); color: #2E7D32; }
.fv-to-badge.pending  { background: rgba(239,108,0,0.12); color: #EF6C00; }

.fv-to-req div { display: flex; flex-direction: column; }
.fv-to-req strong { font-size: 0.72rem; color: var(--charcoal); }
.fv-to-req span { font-size: 0.6rem; color: var(--charcoal-muted); }

.fv-to-bar-wrap { margin-top: 4px; }
.fv-to-bar-label { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--charcoal-light); margin-bottom: 4px; }
.fv-to-bar { height: 6px; background: #e0e0e0; border-radius: 3px; overflow: hidden; }
.fv-to-bar-fill { height: 100%; background: var(--primary); border-radius: 3px; }

/* Feature Visual: Chat */
.fv-chat { display: flex; flex-direction: column; gap: 8px; }

.fv-bubble {
  max-width: 85%; padding: 10px 14px; border-radius: 14px;
  font-size: 0.72rem; line-height: 1.5; color: var(--charcoal);
}

.fv-bubble.received { background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.06); border-bottom-left-radius: 4px; align-self: flex-start; }
.fv-bubble.sent { background: var(--primary-10); border: 1px solid var(--primary-20); border-bottom-right-radius: 4px; align-self: flex-end; }
.fv-time { display: block; font-size: 0.55rem; color: var(--charcoal-muted); margin-top: 3px; }

.fv-typing {
  display: flex; gap: 4px; align-self: flex-start; padding: 10px 16px;
  background: var(--white); border-radius: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.fv-typing span {
  width: 6px; height: 6px; background: var(--charcoal-muted); border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}

.fv-typing span:nth-child(2) { animation-delay: 0.2s; }
.fv-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Feature Visual: Export */
.fv-export { display: flex; gap: 16px; justify-content: center; }

.fv-doc {
  background: var(--white); border-radius: 14px; padding: 20px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06); text-align: center; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.fv-doc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: white;
}
.fv-doc-icon.pdf { background: #E53935; }
.fv-doc-icon.xls { background: #2E7D32; }

.fv-doc-lines { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.fv-doc-lines div { height: 4px; background: #e8eaed; border-radius: 2px; }
.fv-doc-label { font-size: 0.6rem; color: var(--charcoal-muted); font-weight: 500; }

/* Feature Visual: Tracking */
.fv-tracking { display: flex; flex-direction: column; gap: 8px; }

.fv-tr-row {
  background: var(--white); border-radius: 10px; padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fv-tr-info {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}

.fv-tr-info strong { font-size: 0.72rem; color: var(--charcoal); }

.fv-tr-badges { display: flex; gap: 6px; }

.fv-tr-badge {
  padding: 2px 8px; border-radius: 6px; font-size: 0.55rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
}
.fv-tr-badge.sick { background: rgba(255,152,0,0.12); color: #EF6C00; }
.fv-tr-badge.vac { background: rgba(13,124,102,0.12); color: var(--primary); }

.fv-tr-bar {
  height: 5px; background: #e8eaed; border-radius: 3px; overflow: hidden;
}

.fv-tr-bar-fill {
  height: 100%; border-radius: 3px;
  background: var(--gradient);
  width: var(--w, 0%);
}

/* Feature Visual: Analytics Bottom Stats */
.fv-an-bottom {
  display: flex; gap: 8px; justify-content: center;
}

.fv-an-stat-sm {
  flex: 1; text-align: center;
  padding: 6px 10px;
  background: rgba(13,124,102,0.06);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(8px);
}

.fv-an-stat-sm strong {
  display: block; font-size: 0.75rem; font-weight: 800;
  color: var(--primary);
}

.fv-an-stat-sm span {
  font-size: 0.5rem; color: var(--charcoal-muted);
}

/* Feature Visual: Attendance */
.fv-attendance { display: flex; flex-direction: column; gap: 6px; }

.fv-att-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 10px; padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.fv-att-name { flex: 1; font-size: 0.72rem; font-weight: 600; color: var(--charcoal); }

.fv-att-status {
  padding: 3px 8px; border-radius: 6px; font-size: 0.55rem;
  font-weight: 700; text-transform: uppercase;
}
.fv-att-status.present { background: rgba(46,125,50,0.12); color: #2E7D32; }
.fv-att-status.absent  { background: rgba(198,40,40,0.12); color: #C62828; }

.fv-att-hrs { font-size: 0.7rem; font-weight: 600; color: var(--charcoal-light); min-width: 32px; text-align: right; }

/* Feature controls */
.feature-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 20px 48px 28px;
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: linear-gradient(to top, var(--white) 60%, transparent);
}

.feature-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
  color: var(--charcoal);
}

.feature-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.feature-arrow svg { width: 18px; height: 18px; }

.feature-dots { display: flex; gap: 8px; }

.feature-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d0d0d0; border: none; cursor: pointer;
  transition: all var(--transition);
}

.feature-dot.active {
  background: var(--primary); width: 28px; border-radius: 5px;
}

/* ===== HOW IT WORKS (dark) ===== */
.how-it-works { position: relative; padding: 100px 0; background: #141414; overflow: hidden; }

.steps { max-width: 700px; margin: 0 auto; position: relative; display: flex; flex-direction: column; gap: 0; }

.steps-line {
  position: absolute; left: 27px; top: 56px; bottom: 28px; width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--teal));
  border-radius: 2px; opacity: 0.6;
}

.step { display: flex; gap: 28px; padding: 28px 0; position: relative; }

.step-number {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(13,124,102,0.3);
}

.step-content { flex: 1; padding-top: 4px; }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: rgba(255,255,255,0.9); }
.step-desc { font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 12px; }
.step-details { display: flex; flex-direction: column; gap: 6px; }

.step-details li { font-size: 0.85rem; color: rgba(255,255,255,0.45); padding-left: 20px; position: relative; }
.step-details li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(13,124,102,0.3); border: 2px solid var(--primary);
}

/* ===== SPOTLIGHT (dark) ===== */
.spotlight { position: relative; padding: 100px 0; background: #1a1a1a; overflow: hidden; }

.spotlight-row { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.spotlight-row:last-child { margin-bottom: 0; }
.spotlight-row.reverse { flex-direction: row-reverse; }

.spotlight-text { flex: 1; }

.spotlight-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary-light); margin-bottom: 12px;
}

.spotlight-text h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; color: rgba(255,255,255,0.9); line-height: 1.25; }
.spotlight-text p { font-size: 0.95rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }

.spotlight-bullets { display: flex; flex-direction: column; gap: 10px; }
.spotlight-bullets li { font-size: 0.9rem; color: rgba(255,255,255,0.45); padding-left: 24px; position: relative; line-height: 1.5; }
.spotlight-bullets li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(13,124,102,0.25); border: 2.5px solid var(--primary);
}

.spotlight-visual { flex: 0 0 auto; }

/* Spotlight flat cards (glassmorphism) */
.spotlight-card {
  max-width: 440px; width: 100%; padding: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.spotlight-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); border-radius: 20px 20px 0 0;
}

/* Card title bar */
.sc-title-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sc-title { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.sc-subtitle { font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.35); }

/* ---- Spotlight Grid (schedule) ---- */
.sc-grid { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; }
.sc-grid-header { display: grid; grid-template-columns: 58px repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.sc-grid-header span { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.3); text-align: center; }
.sc-grid-row { display: grid; grid-template-columns: 58px repeat(7, 1fr); gap: 4px; }
.sc-worker { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.55); display: flex; align-items: center; }
.sc-cell { height: 32px; border-radius: 5px; }
.sc-cell.morning   { background: var(--morning); }
.sc-cell.afternoon { background: var(--afternoon); }
.sc-cell.night     { background: var(--night); }
.sc-cell.off       { background: rgba(255,255,255,0.04); }

.sc-legend { display: flex; gap: 16px; padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.06); }
.sc-legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.62rem; color: rgba(255,255,255,0.35); }
.sc-legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.sc-legend-dot.morning   { background: var(--morning); }
.sc-legend-dot.afternoon { background: var(--afternoon); }
.sc-legend-dot.night     { background: var(--night); }

/* ---- Spotlight Chat ---- */
.sc-chat { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; max-height: 320px; overflow-y: auto; scroll-behavior: smooth; }
.sc-bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 0.72rem; line-height: 1.5; }
.sc-bubble p { margin-bottom: 4px; }
.sc-chat-time { font-size: 0.55rem; color: rgba(255,255,255,0.3); display: block; }
.sc-chat-read { color: var(--primary-light); font-weight: 700; }
.sc-bubble.received {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.sc-bubble.sent {
  background: rgba(13,124,102,0.15); border: 1px solid rgba(13,124,102,0.25);
  color: rgba(255,255,255,0.8); border-bottom-right-radius: 4px; align-self: flex-end;
}

.sc-swap-card {
  background: rgba(255,255,255,0.04); border-radius: 12px; padding: 10px 12px;
  border: 1.5px solid rgba(13,124,102,0.3); align-self: center; width: 100%;
}
.sc-swap-header { font-size: 0.6rem; font-weight: 700; color: var(--primary-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.sc-swap-detail { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.sc-swap-from, .sc-swap-to { flex: 1; text-align: center; }
.sc-swap-label { display: block; font-size: 0.5rem; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.sc-swap-shift { display: inline-block; padding: 4px 8px; border-radius: 6px; font-size: 0.55rem; font-weight: 600; color: var(--white); }
.sc-swap-shift.morning { background: var(--morning); }
.sc-swap-shift.afternoon { background: var(--afternoon); }
.sc-swap-arrow { flex: 0 0 28px; display: flex; align-items: center; justify-content: center; }
.sc-swap-arrow svg { width: 20px; height: 20px; }
.sc-swap-actions { display: flex; gap: 6px; }
.sc-swap-btn { flex: 1; padding: 5px 0; border-radius: 6px; font-size: 0.6rem; font-weight: 600; border: none; cursor: pointer; }
.sc-swap-btn.accept { background: var(--primary); color: var(--white); }
.sc-swap-btn.decline { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

/* ---- Spotlight Time Off ---- */
.sc-timeoff { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.sc-timeoff-card {
  background: rgba(255,255,255,0.04); border-radius: 12px; padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  gap: 3px 14px; align-items: center;
}
.sc-timeoff-badge { grid-row: 1/3; padding: 5px 10px; border-radius: 6px; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.sc-timeoff-badge.approved { background: rgba(46,125,50,0.2); color: #66BB6A; }
.sc-timeoff-badge.pending { background: rgba(239,108,0,0.2); color: #FFB74D; }
.sc-timeoff-type { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.sc-timeoff-dates { font-size: 0.68rem; color: rgba(255,255,255,0.35); }
.sc-timeoff-days { grid-row: 1/3; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.45); }
.sc-timeoff-summary { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 14px 16px; margin-top: 4px; }
.sc-timeoff-summary-row { display: flex; justify-content: space-between; font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-bottom: 5px; }
.sc-timeoff-val { font-weight: 600; color: rgba(255,255,255,0.55); }
.sc-timeoff-bar { height: 7px; background: rgba(255,255,255,0.08); border-radius: 3px; margin-bottom: 10px; overflow: hidden; }
.sc-timeoff-bar:last-child { margin-bottom: 0; }
.sc-timeoff-bar-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 1s ease; }
.sc-timeoff-bar-fill.sick { background: var(--morning); }

/* ---- Spotlight Interactive States ---- */

/* Generate button */
.sc-generate-btn {
  padding: 5px 14px; border-radius: 20px; font-size: 0.62rem; font-weight: 700;
  background: var(--primary); color: var(--white); border: none; cursor: pointer;
  letter-spacing: 0.03em; transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.sc-generate-btn:hover { background: var(--primary-light); transform: scale(1.05); }
.sc-generate-btn:active { transform: scale(0.97); }

/* Clickable cells */
.sc-cell {
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.sc-cell:hover { filter: brightness(1.25); }

/* Cell pop animation (used during generate) */
@keyframes cell-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.sc-cell.cell-pop {
  animation: cell-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Hint text below cards */
.sc-hint {
  padding: 8px 20px 12px; font-size: 0.58rem; color: rgba(255,255,255,0.25);
  text-align: center; letter-spacing: 0.02em;
}

/* ---- Chat input bar ---- */
.sc-chat-input {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.sc-chat-field {
  flex: 1; padding: 8px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8); font-size: 0.68rem; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}
.sc-chat-field::placeholder { color: rgba(255,255,255,0.25); }
.sc-chat-field:focus { border-color: rgba(13,124,102,0.5); }
.sc-chat-send {
  flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: var(--primary); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.sc-chat-send svg { width: 14px; height: 14px; color: var(--white); }
.sc-chat-send:hover { background: var(--primary-light); transform: scale(1.08); }
.sc-chat-send:active { transform: scale(0.95); }

/* Bubble slide-in animation */
@keyframes bubble-enter {
  0%   { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.sc-bubble.bubble-enter {
  animation: bubble-enter 0.3s ease-out both;
}

/* ---- Time off badge interactive ---- */
.sc-timeoff-badge {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  user-select: none;
}
.sc-timeoff-badge:hover { filter: brightness(1.2); }
.sc-timeoff-badge.denied { background: rgba(211,47,47,0.2); color: #EF5350; }

@keyframes badge-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.sc-timeoff-badge.badge-pop {
  animation: badge-pop 0.3s ease;
}

/* ===== FOR TEAMS ===== */
.for-teams { padding: 100px 0; background: #141414; position: relative; overflow: hidden; }

.teams-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 960px; margin: 0 auto; }

.team-col {
  background: rgba(255,255,255,0.04); border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform var(--transition), background var(--transition);
}
.team-col:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); }

.team-header {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 32px 0;
}

.team-header-body { padding: 16px 32px 32px; }

.team-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.team-col.managers .team-icon-wrap { background: rgba(13,124,102,0.2); color: var(--primary-light); }
.team-col.workers .team-icon-wrap { background: rgba(25,118,210,0.2); color: #5ba3e0; }
.team-icon-wrap svg { width: 24px; height: 24px; }

.team-col h3 {
  font-size: 1.2rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.team-intro { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-bottom: 20px; line-height: 1.6; }
.team-col ul { display: flex; flex-direction: column; gap: 14px; }
.team-col li { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; position: relative; }
.team-col li::before { content: ''; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; }
.team-col.managers li::before { background: rgba(13,124,102,0.3); border: 2px solid var(--primary); }
.team-col.workers li::before { background: rgba(25,118,210,0.25); border: 2px solid var(--blue); }
.team-col li strong { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.team-col li span { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ===== USE CASES (gradient) ===== */
.use-cases { position: relative; padding: 100px 0; background: var(--gradient); overflow: hidden; }

.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.use-case-card {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-card); padding: 32px 28px; text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.use-case-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.2); }

.use-case-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15); border-radius: 14px;
  color: rgba(255,255,255,0.9);
}
.use-case-icon svg { width: 28px; height: 28px; }
.use-case-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.use-case-card p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* ===== PRICING (gradient) ===== */
.pricing {
  position: relative; padding: 100px 0; overflow: hidden;
  background: var(--gradient);
}

.pricing-free-trial-badge {
  display: inline-block; margin-top: 20px; padding: 10px 28px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50px;
  font-size: 0.95rem; font-weight: 600; color: var(--white);
  letter-spacing: 0.02em;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1060px; margin: 0 auto;
}
.pricing-grid-5 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}
.pricing-card-free {
  border-color: rgba(255,255,255,0.25);
}

.pricing-card {
  position: relative;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  display: flex; flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.14);
}

/* Popular card accent */
.pricing-card.popular {
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  transform: scale(1.04);
}
.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.pricing-popular-badge {
  background: var(--white); color: var(--primary-dark);
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  text-align: center; padding: 6px 0;
}

.pricing-card-header {
  text-align: center; padding: 28px 20px 20px; color: var(--white);
}

.pricing-tier-name {
  display: block; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7); margin-bottom: 12px;
}

.pricing-price {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
  line-height: 1; margin-bottom: 12px;
}
.pricing-currency {
  font-size: 1.3rem; font-weight: 700; color: rgba(255,255,255,0.8);
  margin-top: 6px;
}
.pricing-amount {
  font-size: 3.2rem; font-weight: 900; color: var(--white);
}
.pricing-cents {
  font-size: 1.3rem; font-weight: 700; color: rgba(255,255,255,0.8);
  margin-top: 6px;
}
.pricing-period {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.5);
  margin-top: auto; margin-bottom: 4px; margin-left: 4px;
  align-self: flex-end;
}

.pricing-worker-count {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--white); background: rgba(255,255,255,0.15);
  padding: 5px 14px; border-radius: 100px;
}

.pricing-card-body {
  padding: 4px 24px 28px; flex: 1; display: flex; flex-direction: column;
}

.pricing-features {
  list-style: none; margin: 0 0 auto; padding: 0;
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px;
}
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
}
.pricing-features svg {
  width: 16px; height: 16px; flex-shrink: 0;
  color: rgba(255,255,255,0.6);
}

.pricing-cta {
  display: block; text-align: center; padding: 12px 24px;
  background: rgba(255,255,255,0.15); color: var(--white);
  font-size: 0.9rem; font-weight: 700; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.pricing-cta:hover {
  background: rgba(255,255,255,0.25); transform: translateY(-1px);
}
.pricing-card.popular .pricing-cta {
  background: var(--white); color: var(--primary-dark);
  border-color: var(--white); font-weight: 800;
}
.pricing-card.popular .pricing-cta:hover {
  background: rgba(255,255,255,0.9); box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}

/* Custom / 100+ banner */
.pricing-custom {
  max-width: 1060px; margin: 32px auto 0;
}
.pricing-custom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px;
  padding: 28px 36px;
}
.pricing-custom-text h3 {
  font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 4px;
}
.pricing-custom-text p {
  font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 560px;
}
.pricing-cta.custom {
  flex-shrink: 0; padding: 14px 32px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
}

.pricing-note {
  text-align: center; margin-top: 36px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.pricing-note strong { color: rgba(255,255,255,0.75); }

/* Pricing responsive */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-6px); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .pricing-custom-inner { flex-direction: column; text-align: center; padding: 24px 20px; }
  .pricing-custom-text p { max-width: 100%; }
}

/* ===== FAQ (dark) ===== */
.faq { position: relative; padding: 100px 0; background: #141414; overflow: hidden; }

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: rgba(255,255,255,0.04); border-radius: 14px; border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden; transition: background var(--transition);
}
.faq-item.open { background: rgba(255,255,255,0.06); }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary-light); }

.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; color: rgba(255,255,255,0.3); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary-light); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ===== DOWNLOAD ===== */
.download {
  position: relative; padding: 120px 0;
  background: var(--gradient); text-align: center; color: var(--white); overflow: hidden;
}

.download-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape-dl-1 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: white; opacity: 0.05; top: -150px; left: -100px; animation: float-slow 15s ease-in-out infinite; }
.shape-dl-2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: white; opacity: 0.04; bottom: -100px; right: -50px; animation: float-slow 12s ease-in-out infinite reverse; }
.shape-dl-3 { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: white; opacity: 0.06; top: 30%; right: 20%; animation: float-slow 10s ease-in-out infinite 2s; }
.shape-dl-4 { position: absolute; width: 80px; height: 80px; border-radius: 50%; background: white; opacity: 0.05; bottom: 25%; left: 15%; animation: float-slow 9s ease-in-out infinite 3s; }

.download-content { position: relative; z-index: 1; }
.download-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 16px; letter-spacing: -0.02em; }
.download-subtitle { font-size: 1.1rem; font-weight: 300; opacity: 0.9; max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.download-actions { margin-bottom: 16px; }
.download-note { font-size: 0.85rem; opacity: 0.6; }

/* ===== FOOTER ===== */
.footer { background: #1a1a1a; color: rgba(255,255,255,0.7); }
.footer-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { height: 128px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.85rem; line-height: 1.6; margin-top: 14px; color: rgba(255,255,255,0.5); max-width: 300px; }
.footer-links-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links-col a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; font-size: 0.82rem; color: rgba(255,255,255,0.35); text-align: center; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--primary); color: var(--white);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(13,124,102,0.3);
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900; pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ===== GENERATE BUTTON ===== */
.fv-gen-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; margin-bottom: 12px;
  background: var(--primary); color: var(--white);
  font-size: 0.65rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 8px rgba(13,124,102,0.3);
  transition: transform 0.15s ease;
}
.fv-gen-btn svg { flex-shrink: 0; }

/* ===== ANALYTICS VISUAL ===== */
.fv-analytics { display: flex; flex-direction: column; gap: 10px; }

.fv-an-title {
  font-size: 0.75rem; font-weight: 700; color: var(--charcoal);
  text-align: center;
}

.fv-an-chart {
  display: flex; gap: 6px; align-items: flex-end;
  height: 80px; padding: 0 4px;
}

.fv-an-col {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 6px; height: 100%;
  justify-content: flex-end;
}

.fv-an-bar {
  width: 100%; border-radius: 5px 5px 2px 2px;
  background: var(--gradient);
  height: var(--h, 50%);
  transform-origin: bottom;
  transform: scaleY(0);
}

.fv-an-col span {
  font-size: 0.55rem; font-weight: 600;
  color: var(--charcoal-muted);
}

.fv-an-stats {
  display: flex; gap: 8px; justify-content: center;
}

.fv-an-stat {
  flex: 1; text-align: center;
  background: var(--white); border-radius: 10px;
  padding: 10px 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(8px);
}

.fv-an-stat strong {
  display: block; font-size: 0.95rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.fv-an-stat span {
  font-size: 0.55rem; color: var(--charcoal-muted);
}

/* ============================================================
   FEATURE VISUAL ANIMATIONS
   Triggered when .feature-slide.active — each slide gets unique
   entrance animations for its visual elements.
   ============================================================ */

/* Reset: hide animated elements when slide is NOT active */
.feature-slide:not(.active) .fv-grid-row .fv-c,
.feature-slide:not(.active) .fv-cal-row .fv-c { opacity: 0; transform: scale(0); }
.feature-slide:not(.active) .fv-shift-type,
.feature-slide:not(.active) .fv-role,
.feature-slide:not(.active) .fv-to-req,
.feature-slide:not(.active) .fv-to-bar-wrap,
.feature-slide:not(.active) .fv-bubble,
.feature-slide:not(.active) .fv-typing,
.feature-slide:not(.active) .fv-doc,
.feature-slide:not(.active) .fv-att-row,
.feature-slide:not(.active) .fv-cal-legend,
.feature-slide:not(.active) .fv-an-title,
.feature-slide:not(.active) .fv-an-stat,
.feature-slide:not(.active) .fv-an-stat-sm,
.feature-slide:not(.active) .fv-tr-row { opacity: 0; }
.feature-slide:not(.active) .fv-an-bar { transform: scaleY(0); }
.feature-slide:not(.active) .fv-swap-person,
.feature-slide:not(.active) .fv-swap-arrows { opacity: 0; }
.feature-slide:not(.active) .fv-badge { opacity: 0; }
.feature-slide:not(.active) .fv-to-bar-fill { width: 0; }
.feature-slide:not(.active) .fv-tr-bar-fill { width: 0; }

/* --- Shared keyframes --- */
@keyframes fv-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fv-scale-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fv-slide-left {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fv-slide-right {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fv-bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes fv-btn-press {
  0%   { transform: scale(1); }
  20%  { transform: scale(0.92); }
  40%  { transform: scale(1.02); }
  60%  { transform: scale(1); }
  100% { transform: scale(1); }
}

@keyframes fv-fill-cell {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fv-swap-arrows {
  0%   { opacity: 0; transform: scaleX(0.3); }
  50%  { opacity: 1; transform: scaleX(1.05); }
  100% { opacity: 1; transform: scaleX(1); }
}

@keyframes fv-bar-fill {
  from { width: 0; }
  to   { width: var(--w, 33%); }
}

@keyframes fv-bounce-in {
  0%   { opacity: 0; transform: translateY(12px) scale(0.9); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Slide 0: Auto-Scheduling --- */
/* Button press, then grid cells fill in with stagger */
.feature-slide.active[data-slide="0"] .fv-gen-btn {
  animation: fv-btn-press 0.6s ease forwards;
}

.feature-slide.active[data-slide="0"] .fv-grid-row .fv-c {
  opacity: 0; transform: scale(0);
  animation: fv-fill-cell 0.35s ease forwards;
}

/* Row delays (--rd) + column stagger via nth-child */
.feature-slide.active[data-slide="0"] .fv-grid-row:nth-child(1) .fv-c { --rd: 0.5s; }
.feature-slide.active[data-slide="0"] .fv-grid-row:nth-child(2) .fv-c { --rd: 0.7s; }
.feature-slide.active[data-slide="0"] .fv-grid-row:nth-child(3) .fv-c { --rd: 0.9s; }
.feature-slide.active[data-slide="0"] .fv-grid-row:nth-child(4) .fv-c { --rd: 1.1s; }

.feature-slide.active[data-slide="0"] .fv-grid-row .fv-c:nth-child(2) { animation-delay: calc(var(--rd, 0.5s) + 0.00s); }
.feature-slide.active[data-slide="0"] .fv-grid-row .fv-c:nth-child(3) { animation-delay: calc(var(--rd, 0.5s) + 0.08s); }
.feature-slide.active[data-slide="0"] .fv-grid-row .fv-c:nth-child(4) { animation-delay: calc(var(--rd, 0.5s) + 0.16s); }
.feature-slide.active[data-slide="0"] .fv-grid-row .fv-c:nth-child(5) { animation-delay: calc(var(--rd, 0.5s) + 0.24s); }
.feature-slide.active[data-slide="0"] .fv-grid-row .fv-c:nth-child(6) { animation-delay: calc(var(--rd, 0.5s) + 0.32s); }

.feature-slide.active[data-slide="0"] .fv-badge {
  opacity: 0;
  animation: fv-fade-up 0.4s ease 1.8s forwards;
}

/* --- Slide 1: Calendar --- */
/* Rows fill in staggered, legend fades in */
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c {
  opacity: 0; transform: scale(0);
  animation: fv-fill-cell 0.3s ease forwards;
}

.feature-slide.active[data-slide="1"] .fv-cal-row:nth-child(1) .fv-c { --rd: 0.15s; }
.feature-slide.active[data-slide="1"] .fv-cal-row:nth-child(2) .fv-c { --rd: 0.3s; }
.feature-slide.active[data-slide="1"] .fv-cal-row:nth-child(3) .fv-c { --rd: 0.45s; }
.feature-slide.active[data-slide="1"] .fv-cal-row:nth-child(4) .fv-c { --rd: 0.6s; }
.feature-slide.active[data-slide="1"] .fv-cal-row:nth-child(5) .fv-c { --rd: 0.75s; }

.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(2) { animation-delay: calc(var(--rd, 0.15s) + 0.00s); }
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(3) { animation-delay: calc(var(--rd, 0.15s) + 0.06s); }
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(4) { animation-delay: calc(var(--rd, 0.15s) + 0.12s); }
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(5) { animation-delay: calc(var(--rd, 0.15s) + 0.18s); }
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(6) { animation-delay: calc(var(--rd, 0.15s) + 0.24s); }
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(7) { animation-delay: calc(var(--rd, 0.15s) + 0.30s); }
.feature-slide.active[data-slide="1"] .fv-cal-row .fv-c:nth-child(8) { animation-delay: calc(var(--rd, 0.15s) + 0.36s); }

.feature-slide.active[data-slide="1"] .fv-cal-legend {
  opacity: 0;
  animation: fv-fade-up 0.4s ease 1.2s forwards;
}

/* --- Slide 2: Shift Swaps --- */
/* Persons slide in from sides, arrows animate, badge appears */
.feature-slide.active[data-slide="2"] .fv-swap-person:first-child {
  opacity: 0;
  animation: fv-slide-left 0.5s ease 0.1s forwards;
}
.feature-slide.active[data-slide="2"] .fv-swap-person:last-child {
  opacity: 0;
  animation: fv-slide-right 0.5s ease 0.1s forwards;
}
.feature-slide.active[data-slide="2"] .fv-swap-arrows {
  opacity: 0;
  animation: fv-swap-arrows 0.5s ease 0.5s forwards;
}
.feature-slide.active[data-slide="2"] .fv-badge {
  opacity: 0;
  animation: fv-fade-up 0.4s ease 0.9s forwards;
}

/* --- Slide 3: Time Off --- */
/* Request cards stagger in, bar fills */
.feature-slide.active[data-slide="3"] .fv-to-req {
  opacity: 0;
  animation: fv-bounce-in 0.45s ease forwards;
}
.feature-slide.active[data-slide="3"] .fv-to-req:nth-child(1) { animation-delay: 0.1s; }
.feature-slide.active[data-slide="3"] .fv-to-req:nth-child(2) { animation-delay: 0.3s; }
.feature-slide.active[data-slide="3"] .fv-to-req:nth-child(3) { animation-delay: 0.5s; }

.feature-slide.active[data-slide="3"] .fv-to-bar-wrap {
  opacity: 0;
  animation: fv-fade-up 0.4s ease 0.7s forwards;
}
.feature-slide.active[data-slide="3"] .fv-to-bar-fill {
  width: 0;
  animation: fv-bar-fill 0.8s ease 1.0s forwards;
  --w: 33%;
}

/* --- Slide 4: Chat --- */
/* Bubbles appear one by one */
.feature-slide.active[data-slide="4"] .fv-bubble,
.feature-slide.active[data-slide="4"] .fv-typing {
  opacity: 0;
  animation: fv-bounce-in 0.4s ease forwards;
}
.feature-slide.active[data-slide="4"] .fv-bubble:nth-child(1) { animation-delay: 0.15s; }
.feature-slide.active[data-slide="4"] .fv-bubble:nth-child(2) { animation-delay: 0.55s; }
.feature-slide.active[data-slide="4"] .fv-bubble:nth-child(3) { animation-delay: 0.95s; }
.feature-slide.active[data-slide="4"] .fv-typing { animation-delay: 1.35s; }

/* --- Slide 5: Tracking --- */
/* Worker rows stagger in, progress bars fill */
.feature-slide.active[data-slide="5"] .fv-tr-row {
  opacity: 0;
  animation: fv-fade-up 0.4s ease forwards;
}
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(1) { animation-delay: 0.1s; }
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(2) { animation-delay: 0.25s; }
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(3) { animation-delay: 0.4s; }
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(4) { animation-delay: 0.55s; }

.feature-slide.active[data-slide="5"] .fv-tr-bar-fill {
  width: 0;
  animation: fv-bar-fill 0.6s ease forwards;
}
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(1) .fv-tr-bar-fill { animation-delay: 0.3s; }
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(2) .fv-tr-bar-fill { animation-delay: 0.45s; }
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(3) .fv-tr-bar-fill { animation-delay: 0.6s; }
.feature-slide.active[data-slide="5"] .fv-tr-row:nth-child(4) .fv-tr-bar-fill { animation-delay: 0.75s; }

/* --- Slide 6: Attendance --- */
/* Rows stagger in, badge appears */
.feature-slide.active[data-slide="6"] .fv-att-row {
  opacity: 0;
  animation: fv-slide-left 0.4s ease forwards;
}
.feature-slide.active[data-slide="6"] .fv-att-row:nth-child(1) { animation-delay: 0.1s; }
.feature-slide.active[data-slide="6"] .fv-att-row:nth-child(2) { animation-delay: 0.25s; }
.feature-slide.active[data-slide="6"] .fv-att-row:nth-child(3) { animation-delay: 0.4s; }
.feature-slide.active[data-slide="6"] .fv-att-row:nth-child(4) { animation-delay: 0.55s; }
.feature-slide.active[data-slide="6"] .fv-badge {
  opacity: 0;
  animation: fv-fade-up 0.4s ease 0.8s forwards;
}

/* --- Slide 7: Roles --- */
/* Role rows slide in staggered */
.feature-slide.active[data-slide="7"] .fv-role {
  opacity: 0;
  animation: fv-slide-left 0.45s ease forwards;
}
.feature-slide.active[data-slide="7"] .fv-role:nth-child(1) { animation-delay: 0.15s; }
.feature-slide.active[data-slide="7"] .fv-role:nth-child(2) { animation-delay: 0.35s; }
.feature-slide.active[data-slide="7"] .fv-role:nth-child(3) { animation-delay: 0.55s; }

/* --- Slide 8: Custom Shifts --- */
/* Cards slide up staggered */
.feature-slide.active[data-slide="8"] .fv-shift-type {
  opacity: 0;
  animation: fv-fade-up 0.45s ease forwards;
}
.feature-slide.active[data-slide="8"] .fv-shift-type:nth-child(1) { animation-delay: 0.15s; }
.feature-slide.active[data-slide="8"] .fv-shift-type:nth-child(2) { animation-delay: 0.3s; }
.feature-slide.active[data-slide="8"] .fv-shift-type:nth-child(3) { animation-delay: 0.45s; }
.feature-slide.active[data-slide="8"] .fv-shift-type:nth-child(4) { animation-delay: 0.6s; }

/* --- Slide 9: Analytics --- */
/* Stats appear first, bars grow fast, bottom stats last */
.feature-slide.active[data-slide="9"] .fv-an-title {
  opacity: 0;
  animation: fv-fade-up 0.3s ease 0.05s forwards;
}

.feature-slide.active[data-slide="9"] .fv-an-stat {
  animation: fv-fade-up 0.35s ease forwards;
}
.feature-slide.active[data-slide="9"] .fv-an-stat:nth-child(1) { animation-delay: 0.1s; }
.feature-slide.active[data-slide="9"] .fv-an-stat:nth-child(2) { animation-delay: 0.2s; }
.feature-slide.active[data-slide="9"] .fv-an-stat:nth-child(3) { animation-delay: 0.3s; }

.feature-slide.active[data-slide="9"] .fv-an-bar {
  animation: fv-bar-grow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(1) .fv-an-bar { animation-delay: 0.15s; }
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(2) .fv-an-bar { animation-delay: 0.2s; }
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(3) .fv-an-bar { animation-delay: 0.25s; }
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(4) .fv-an-bar { animation-delay: 0.3s; }
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(5) .fv-an-bar { animation-delay: 0.35s; }
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(6) .fv-an-bar { animation-delay: 0.4s; }
.feature-slide.active[data-slide="9"] .fv-an-col:nth-child(7) .fv-an-bar { animation-delay: 0.45s; }

.feature-slide.active[data-slide="9"] .fv-an-stat-sm {
  opacity: 0;
  animation: fv-fade-up 0.35s ease forwards;
}
.feature-slide.active[data-slide="9"] .fv-an-stat-sm:nth-child(1) { animation-delay: 0.4s; }
.feature-slide.active[data-slide="9"] .fv-an-stat-sm:nth-child(2) { animation-delay: 0.5s; }

/* --- Slide 10: Export --- */
/* Documents slide up staggered */
.feature-slide.active[data-slide="10"] .fv-doc {
  opacity: 0;
  animation: fv-fade-up 0.5s ease forwards;
}
.feature-slide.active[data-slide="10"] .fv-doc:nth-child(1) { animation-delay: 0.15s; }
.feature-slide.active[data-slide="10"] .fv-doc:nth-child(2) { animation-delay: 0.4s; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }

/* ===== MOBILE TOUCH TARGETS ===== */
@media (pointer: coarse) {
  .btn, .sc-swap-btn, .feature-arrow, .faq-question,
  .sc-generate-btn, .sc-chat-send, .feature-pill { min-height: 44px; }
  .sc-cell { min-height: 28px; }
  .sc-timeoff-badge { min-height: 32px; display: flex; align-items: center; justify-content: center; }
}

/* ===== FEATURE NAV SCROLL FADE (edge hints) ===== */
.feature-nav-wrap {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 32px, black calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 32px, black calc(100% - 32px), transparent 100%);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }

  .spotlight-row, .spotlight-row.reverse { flex-direction: column; gap: 40px; }
  .spotlight-text { text-align: center; }
  .spotlight-bullets { align-items: center; }
  .spotlight-visual { width: 100%; display: flex; justify-content: center; }
  .spotlight-card { max-width: 480px; }

  .feature-slide { flex-direction: column; gap: 28px; padding: 36px 32px 80px; }
  .fs-visual { flex: none; }
  .fv-card { width: 100%; max-width: 380px; margin: 0 auto; }

  .feature-nav { flex-wrap: nowrap; justify-content: flex-start; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* ---- Mobile landscape / small tablet ---- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero-container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .footer-container { padding: 0 20px; }

  /* Hide decorative shapes on mobile — cleaner look & better perf */
  .section-bg-shapes .shape,
  .hero-bg-shapes .shape,
  .download-bg-shapes [class*="shape-dl"] { display: none; }

  .section-header { margin-bottom: 40px; }
  .section-subtitle { font-size: 1rem; }

  .nav-toggle { display: block; }

  /* Hide nav links by default on mobile */
  .nav-links {
    position: fixed !important;
    top: 68px !important; left: 0 !important; right: 0 !important;
    flex-direction: column !important;
    background: #141414 !important;
    z-index: 998 !important;
    padding: 0 !important;
    gap: 0 !important;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
  }
  body.mobile-nav-open .nav-links {
    max-height: 400px;
    padding: 8px 0 12px !important;
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  /* Hide Download from the dropdown — it's in the navbar already */
  .nav-links li:last-child { display: none !important; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block !important;
    font-size: 0.95rem !important; padding: 14px 24px !important;
    color: rgba(255,255,255,0.7) !important; border-radius: 0 !important;
    background: none !important;
  }
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255,255,255,0.06) !important; color: #fff !important;
  }

  .hero { padding: 130px 0 100px; }
  .hero-container { flex-direction: column; text-align: center; gap: 48px; }
  .hero-title-line { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtitle { margin-left: auto; margin-right: auto; font-size: 1.05rem; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }
  .hero-wave svg { height: 50px; }

  .slogan-text { font-size: 2rem; }

  .feature-slide { padding: 28px 20px 76px; }
  .feature-controls { padding: 16px 20px 22px; }
  .feature-showcase { border-radius: 18px; }
  .fs-text h3 { font-size: 1.3rem; }
  .fs-text p { font-size: 0.88rem; }
  .fs-points li { font-size: 0.84rem; }

  .use-cases-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .use-case-card { padding: 28px 24px; }

  .teams-split { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .team-header { padding: 20px 24px 0; }
  .team-header-body { padding: 14px 24px 28px; }

  .steps { max-width: 100%; }
  .step { gap: 20px; padding: 24px 0; }
  .step-number { width: 48px; height: 48px; min-width: 48px; font-size: 1.1rem; }
  .steps-line { left: 23px; top: 48px; }
  .step-title { font-size: 1.1rem; }
  .step-desc { font-size: 0.88rem; }
  .step-details li { font-size: 0.82rem; }

  .phone-mockup { width: 240px; }

  .features, .how-it-works, .spotlight, .for-teams, .use-cases, .faq { padding: 64px 0; }
  .spotlight-row { margin-bottom: 56px; }
  .spotlight-text h3 { font-size: 1.35rem; }
  .spotlight-text p { font-size: 0.9rem; }
  .spotlight-bullets li { font-size: 0.85rem; }

  .faq-question { font-size: 0.92rem; padding: 18px 20px; }
  .faq-chevron { width: 18px; height: 18px; }
  .faq-answer p { font-size: 0.88rem; }

  .download { padding: 80px 0; }
  .download-subtitle { font-size: 1rem; }

  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer-tagline { margin-left: auto; margin-right: auto; }

  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ---- Mobile portrait ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .footer-container { padding: 0 16px; }

  .section-header { margin-bottom: 32px; }
  .section-label { font-size: 0.72rem; padding: 5px 14px; }

  /* -- Hero: hide phone mockup, focus on copy + CTA -- */
  .hero { padding: 110px 0 72px; }
  .hero-container { gap: 36px; }
  .hero-visual { display: none; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; margin-bottom: 18px; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 300px; font-size: 0.95rem; padding: 14px 28px; }
  .hero-note { font-size: 0.78rem; }
  .hero-wave svg { height: 36px; }

  /* -- Slogan -- */
  .slogan-text { font-size: 1.6rem; }
  .slogan-bar { padding: 44px 0; }

  /* -- Features: visual-first — show card, compact text -- */
  .feature-nav-wrap { margin-bottom: 24px; }
  .feature-pill { padding: 8px 14px; font-size: 0.75rem; }
  .feature-showcase { border-radius: 14px; }
  .feature-slide { padding: 20px 18px 72px; gap: 16px; }
  /* Flip order: visual on top, text summary below */
  .feature-slide { flex-direction: column-reverse; }
  .fs-visual { order: -1; }
  .fv-card { padding: 16px; min-height: auto; border-radius: 14px; max-width: 100%; }
  /* Trim text: keep tag + heading + description, hide bullets */
  .fs-points { display: none; }
  .fs-tag { font-size: 0.62rem; padding: 3px 10px; margin-bottom: 6px; }
  .fs-text h3 { font-size: 1.05rem; margin-bottom: 6px; text-align: center; }
  .fs-text p { font-size: 0.82rem; margin-bottom: 0; text-align: center; line-height: 1.5; }
  .fs-text { text-align: center; }
  /* Compact visual card internals */
  .fv-mini-grid, .fv-calendar { gap: 2px; }
  .fv-grid-head { grid-template-columns: 36px repeat(5, 1fr); }
  .fv-grid-row { grid-template-columns: 36px repeat(5, 1fr); }
  .fv-cal-head { grid-template-columns: 32px repeat(7, 1fr); }
  .fv-cal-row { grid-template-columns: 32px repeat(7, 1fr); }
  .fv-grid-head span, .fv-cal-head span { font-size: 0.52rem; }
  .fv-grid-row span:first-child, .fv-cal-row span:first-child { font-size: 0.52rem; }
  .fv-c { height: 20px; border-radius: 4px; }
  .fv-badge { font-size: 0.62rem; padding: 5px 10px; margin-top: 8px; }
  .fv-gen-btn { font-size: 0.58rem; padding: 5px 10px; margin-bottom: 8px; }
  .fv-shift-stack { gap: 7px; }
  .fv-shift-type { padding: 10px 12px; gap: 10px; }
  .fv-shift-color { width: 26px; height: 26px; border-radius: 6px; }
  .fv-shift-info strong { font-size: 0.72rem; }
  .fv-shift-info span { font-size: 0.58rem; }
  .fv-role { padding: 8px 12px; gap: 8px; }
  .fv-role-icon { width: 30px; height: 30px; font-size: 0.75rem; border-radius: 8px; }
  .fv-role-info strong { font-size: 0.7rem; }
  .fv-role-info span { font-size: 0.55rem; }
  .fv-role-count { font-size: 0.58rem; }
  .fv-swap-avatar { width: 34px; height: 34px; font-size: 0.78rem; }
  .fv-swap-person strong { font-size: 0.68rem; margin-bottom: 4px; }
  .fv-swap-shift { font-size: 0.52rem; padding: 4px 8px; }
  .fv-swap-arrows { flex: 0 0 36px; }
  .fv-swap-arrows svg { width: 36px; height: 18px; }
  .fv-bubble { font-size: 0.65rem; padding: 8px 12px; }
  .fv-time { font-size: 0.5rem; }
  .fv-typing span { width: 5px; height: 5px; }
  .fv-doc { padding: 14px 12px; border-radius: 12px; }
  .fv-doc-icon { width: 40px; height: 40px; font-size: 0.72rem; border-radius: 10px; }
  .fv-doc-label { font-size: 0.55rem; }
  .fv-att-row { padding: 8px 10px; }
  .fv-att-name { font-size: 0.65rem; }
  .fv-att-status { font-size: 0.5rem; }
  .fv-att-hrs { font-size: 0.62rem; }
  .fv-to-req { padding: 8px 10px; gap: 8px; }
  .fv-to-badge { font-size: 0.5rem; }
  .fv-to-req strong { font-size: 0.65rem; }
  .fv-to-req span { font-size: 0.55rem; }
  .fv-to-bar-label { font-size: 0.55rem; }
  .fv-tr-row { padding: 8px 10px; }
  .fv-tr-info strong { font-size: 0.65rem; }
  .fv-tr-badge { font-size: 0.5rem; padding: 2px 6px; }
  .fv-tr-bar { height: 4px; }
  .fv-an-bottom { gap: 6px; }
  .fv-an-stat-sm { padding: 5px 8px; }
  .fv-an-stat-sm strong { font-size: 0.65rem; }
  .fv-an-stat-sm span { font-size: 0.45rem; }
  .fv-an-chart { height: 60px; }
  .fv-dot { display: none; }
  .feature-controls { padding: 10px 16px 16px; gap: 16px; }
  .feature-arrow { width: 36px; height: 36px; }
  .feature-arrow svg { width: 16px; height: 16px; }
  .feature-dot { width: 8px; height: 8px; }
  .feature-dot.active { width: 22px; }

  /* -- Section padding: tighter for less scrolling -- */
  .features, .how-it-works, .spotlight, .for-teams, .use-cases, .faq { padding: 52px 0; }

  /* -- How It Works: hide bullet details, keep title + desc -- */
  .step { gap: 16px; padding: 20px 0; }
  .step-number { width: 42px; height: 42px; min-width: 42px; font-size: 1rem; }
  .steps-line { left: 20px; top: 42px; }
  .step-title { font-size: 1rem; }
  .step-desc { font-size: 0.84rem; margin-bottom: 0; }
  .step-details { display: none; }

  /* -- Spotlight: keep interactive cards (they're the star) -- */
  .spotlight-row { margin-bottom: 44px; gap: 28px; }
  .spotlight-text h3 { font-size: 1.2rem; }
  .spotlight-text p { font-size: 0.85rem; margin-bottom: 14px; }
  /* hide bullet lists — the interactive card IS the demo */
  .spotlight-bullets { display: none; }

  .spotlight-card { max-width: 100%; border-radius: 16px; }
  .sc-title-bar { padding: 12px 14px 10px; }
  .sc-title { font-size: 0.82rem; }
  .sc-subtitle { font-size: 0.68rem; }
  .sc-grid { padding: 10px 12px; gap: 4px; }
  .sc-grid-header { grid-template-columns: 46px repeat(7, 1fr); gap: 3px; }
  .sc-grid-row { grid-template-columns: 46px repeat(7, 1fr); gap: 3px; }
  .sc-grid-header span, .sc-worker { font-size: 0.52rem; }
  .sc-cell { height: 24px; border-radius: 4px; }
  .sc-legend { padding: 10px 14px; gap: 12px; }
  .sc-legend-item { font-size: 0.58rem; }
  .sc-legend-dot { width: 8px; height: 8px; }
  .sc-hint { font-size: 0.54rem; padding: 6px 14px 10px; }
  .sc-generate-btn { font-size: 0.56rem; padding: 4px 10px; }

  .sc-chat { padding: 10px 12px; gap: 8px; max-height: 260px; }
  .sc-bubble { font-size: 0.68rem; padding: 8px 11px; max-width: 88%; }
  .sc-chat-time { font-size: 0.5rem; }
  .sc-swap-card { padding: 8px 10px; }
  .sc-swap-header { font-size: 0.55rem; margin-bottom: 6px; }
  .sc-swap-shift { font-size: 0.5rem; padding: 3px 6px; }
  .sc-swap-label { font-size: 0.45rem; }
  .sc-swap-btn { font-size: 0.55rem; padding: 4px 0; }
  .sc-chat-input { padding: 8px 10px; }
  .sc-chat-field { font-size: 0.68rem; padding: 7px 12px; }
  .sc-chat-send { flex: 0 0 30px; height: 30px; }

  .sc-timeoff { padding: 12px 14px; gap: 8px; }
  .sc-timeoff-card { padding: 12px 14px; gap: 3px 10px; }
  .sc-timeoff-badge { font-size: 0.52rem; padding: 4px 8px; }
  .sc-timeoff-type { font-size: 0.75rem; }
  .sc-timeoff-dates { font-size: 0.62rem; }
  .sc-timeoff-days { font-size: 0.68rem; }
  .sc-timeoff-summary { padding: 12px 14px; }
  .sc-timeoff-summary-row { font-size: 0.64rem; }

  /* -- For Teams: hide description spans, show titles only -- */
  .team-header { padding: 18px 20px 0; gap: 12px; }
  .team-header-body { padding: 12px 20px 24px; }
  .team-icon-wrap { width: 38px; height: 38px; border-radius: 10px; }
  .team-icon-wrap svg { width: 20px; height: 20px; }
  .team-col h3 { font-size: 1.05rem; }
  .team-intro { font-size: 0.84rem; margin-bottom: 16px; }
  .team-col li strong { font-size: 0.85rem; }
  .team-col li span { display: none; }
  .team-col ul { gap: 10px; }
  /* hide last 2 items per card (keep 4 of 6) */
  .team-col li:nth-child(n+5) { display: none; }

  /* -- Use Cases: show top 3 only -- */
  .use-case-card { padding: 24px 20px; }
  .use-case-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
  .use-case-icon svg { width: 24px; height: 24px; }
  .use-case-card h4 { font-size: 0.95rem; }
  .use-case-card p { font-size: 0.82rem; }
  .use-case-card:nth-child(n+4) { display: none; }

  /* -- FAQ -- */
  .faq-list { max-width: 100%; }
  .faq-item { border-radius: 12px; }
  .faq-question { font-size: 0.88rem; padding: 16px 18px; gap: 10px; }
  .faq-chevron { width: 16px; height: 16px; }
  .faq-answer p { padding: 0 18px 16px; font-size: 0.84rem; }

  /* -- Download -- */
  .download { padding: 64px 0; }
  .download-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
  .btn-download { font-size: 0.95rem; padding: 14px 28px; }
  .download-note { font-size: 0.78rem; }

  /* -- Footer -- */
  .footer-top { padding: 40px 0 32px; gap: 24px; }
  .footer-links-col h4 { font-size: 0.75rem; margin-bottom: 12px; }
  .footer-links-col a { font-size: 0.82rem; }
  .footer-bottom { padding: 16px 0; font-size: 0.78rem; }

  .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
  .back-to-top svg { width: 18px; height: 18px; }
}

/* ---- Ultra-small phones (iPhone SE, Galaxy A series) ---- */
@media (max-width: 375px) {
  .container { padding: 0 14px; }
  .hero-container { padding: 0 14px; }
  .nav-container { padding: 0 14px; }
  .footer-container { padding: 0 14px; }

  .hero { padding: 100px 0 64px; }
  .hero-container { gap: 28px; }
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 14px; }
  .hero-subtitle { font-size: 0.9rem; }
  .btn-hero-primary, .btn-hero-secondary { font-size: 0.9rem; padding: 13px 24px; }

  .slogan-text { font-size: 1.4rem; }
  .slogan-bar { padding: 36px 0; }

  .feature-pill { padding: 7px 12px; font-size: 0.7rem; }
  .feature-slide { padding: 16px 14px 68px; gap: 12px; }
  .fv-card { padding: 14px; border-radius: 12px; }
  .fs-text h3 { font-size: 0.98rem; }
  .feature-controls { padding: 10px 14px 16px; }

  .features, .how-it-works, .spotlight, .for-teams, .use-cases, .faq { padding: 44px 0; }
  .section-header { margin-bottom: 28px; }

  .step { gap: 12px; padding: 16px 0; }
  .step-number { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; }
  .steps-line { left: 17px; top: 36px; }
  .step-title { font-size: 0.95rem; }
  .step-desc { font-size: 0.8rem; }

  .spotlight-row { margin-bottom: 36px; gap: 20px; }
  .spotlight-text h3 { font-size: 1.08rem; }
  .spotlight-text p { font-size: 0.82rem; }

  .sc-title-bar { padding: 10px 12px 8px; }
  .sc-grid { padding: 8px 10px; gap: 3px; }
  .sc-grid-header { grid-template-columns: 38px repeat(7, 1fr); gap: 2px; margin-bottom: 2px; }
  .sc-grid-row { grid-template-columns: 38px repeat(7, 1fr); gap: 2px; }
  .sc-grid-header span, .sc-worker { font-size: 0.48rem; }
  .sc-cell { height: 20px; border-radius: 3px; }
  .sc-legend { padding: 8px 10px; gap: 8px; }
  .sc-legend-item { font-size: 0.52rem; gap: 4px; }
  .sc-legend-dot { width: 7px; height: 7px; }

  .sc-chat { max-height: 220px; }
  .sc-bubble { font-size: 0.64rem; padding: 7px 10px; }
  .sc-chat-field { font-size: 0.64rem; }
  .sc-chat-send { flex: 0 0 28px; height: 28px; }
  .sc-chat-send svg { width: 12px; height: 12px; }

  .sc-timeoff-card { padding: 10px 12px; }
  .sc-timeoff-type { font-size: 0.7rem; }
  /* hide progress bars on smallest screens — just show cards */
  .sc-timeoff-summary { display: none; }

  /* -- For Teams: keep only 3 items per card -- */
  .team-header { padding: 16px 16px 0; }
  .team-header-body { padding: 10px 16px 20px; }
  .team-col h3 { font-size: 0.98rem; }
  .team-intro { font-size: 0.8rem; }
  .team-col li strong { font-size: 0.82rem; }
  .team-col li:nth-child(n+4) { display: none; }

  /* -- Use Cases: compact horizontal cards -- */
  .use-cases-grid { gap: 12px; }
  .use-case-card {
    padding: 16px; text-align: left;
    display: flex; align-items: center; gap: 14px;
  }
  .use-case-icon { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
  .use-case-icon svg { width: 22px; height: 22px; }
  .use-case-card h4 { font-size: 0.88rem; margin-bottom: 2px; }
  .use-case-card p { font-size: 0.75rem; line-height: 1.4; }

  .faq-question { font-size: 0.84rem; padding: 14px 16px; }
  .faq-answer p { padding: 0 16px 14px; font-size: 0.8rem; }

  .download { padding: 52px 0; }
  .download-subtitle { font-size: 0.88rem; }
  .btn-download { font-size: 0.9rem; padding: 13px 24px; }

  /* -- Footer: collapse link columns into 2-col grid -- */
  .footer-top { gap: 20px; }
  .footer-links-col { text-align: left; }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col { grid-column: 1 / -1; text-align: center; }
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: #111;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 0 40px;
}
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-left: 4px;
}
.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }
  .stat-number { font-size: 2.2rem; }
}

/* ========== COMPARISON ========== */
.comparison {
  background: #f8f9fa;
  padding: 80px 0;
}
.comparison .section-header { text-align: center; margin-bottom: 48px; }
.comparison .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}
.comparison .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.comparison .section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}
.comparison-table th {
  background: #fafafa;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #444;
}
.comp-highlight {
  background: rgba(13,124,102,0.04) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}
.comparison-table th.comp-highlight {
  background: var(--primary) !important;
  color: #fff !important;
  font-size: 1rem;
}
.comp-check {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.comp-check.dim {
  color: #aaa;
}
.comp-no {
  color: #999;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .comparison { padding: 60px 0; }
  .comparison .section-title { font-size: 1.5rem; }
  .comparison-table th,
  .comparison-table td { padding: 12px 14px; font-size: 0.85rem; }
}
