/* ============================================================
   WORKLIO — MARKETING WEBSITE STYLESHEET
   Professional SaaS Design System
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --indigo-50:  #EEF2FF;
  --indigo-100: #E0E7FF;
  --indigo-200: #C7D2FE;
  --indigo-400: #818CF8;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;
  --indigo-800: #3730A3;
  --indigo-900: #312E81;

  --emerald-400: #34D399;
  --emerald-500: #10B981;
  --emerald-600: #059669;

  /* Hero Dark */
  --hero-bg:    #0A0818;
  --hero-mid:   #110E2B;
  --hero-card:  rgba(255,255,255,0.05);
  --hero-border:rgba(255,255,255,0.10);

  /* Neutrals */
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-300:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1E293B;
  --gray-900:   #0F172A;

  /* Typography */
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --max-w:      1200px;
  --section-py: 96px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.16);
  --shadow-indigo: 0 8px 32px rgba(79,70,229,.25);

  /* Transitions */
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 580px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Scroll Animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }
.fade-up.delay-5 { transition-delay: .5s; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(10,8,24,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(79,70,229,.3);
}

.nav__logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(10,8,24,.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--indigo-600);
  color: var(--white);
  box-shadow: var(--shadow-indigo);
}

.btn--primary:hover {
  background: var(--indigo-700);
  box-shadow: 0 10px 40px rgba(79,70,229,.35);
  transform: translateY(-1px);
}

.btn--ghost {
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.15);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}

.btn--lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: var(--radius-full);
}

.btn--outline {
  background: transparent;
  color: var(--indigo-600);
  border: 1.5px solid var(--indigo-200);
}

.btn--outline:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-400);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 24px 80px;
}

/* Gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(79,70,229,.28) 0%, rgba(79,70,229,.06) 50%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(16,185,129,.12) 0%, transparent 65%);
  pointer-events: none;
}

/* Dot grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(79,70,229,.15);
  border: 1px solid rgba(79,70,229,.3);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(52,211,153,.25);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(52,211,153,.1);  }
}

.hero__badge span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
}

.hero__title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.hero__title .highlight {
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 40%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 38px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.hero__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

.hero__divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.12);
}

/* Feature graphic image */
.hero__image-wrap {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(79,70,229,.5), rgba(16,185,129,.3));
  z-index: -1;
}

.hero__image-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.06);
}

/* ================================================================
   PROBLEM SECTION
   ================================================================ */
.problem {
  padding: var(--section-py) 24px;
  background: var(--white);
}

.problem__header {
  text-align: center;
  margin-bottom: 56px;
}

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

.problem__card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.problem__card:hover {
  border-color: var(--indigo-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.problem__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.problem__icon--red   { background: #FEF2F2; }
.problem__icon--amber { background: #FFFBEB; }
.problem__icon--slate { background: var(--gray-100); }

.problem__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.problem__card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ================================================================
   HOW IT WORKS  (Role Cards)
   ================================================================ */
.how {
  padding: var(--section-py) 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.how__header {
  text-align: center;
  margin-bottom: 56px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.role-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.role-card__header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.role-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.role-card--employee .role-card__icon-wrap  { background: #D1FAE5; }
.role-card--manager  .role-card__icon-wrap  { background: var(--indigo-50); }
.role-card--owner    .role-card__icon-wrap  { background: linear-gradient(135deg, var(--indigo-50), #D1FAE5); }

.role-card__role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.role-card--employee .role-card__role { color: var(--emerald-600); }
.role-card--manager  .role-card__role { color: var(--indigo-600);   }
.role-card--owner    .role-card__role { color: var(--indigo-700);   }

.role-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.role-card__desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.55;
}

.role-card__features {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.role-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.role-feature__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

.role-card--employee .role-feature__icon { background: #D1FAE5; color: var(--emerald-600); }
.role-card--manager  .role-feature__icon { background: var(--indigo-50); color: var(--indigo-600); }
.role-card--owner    .role-feature__icon { background: var(--indigo-50); color: var(--indigo-700); }

.role-feature__text {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ================================================================
   FEATURE HIGHLIGHTS (Alternating rows)
   ================================================================ */
.features {
  padding: var(--section-py) 24px;
  background: var(--white);
}

.features__header {
  text-align: center;
  margin-bottom: 80px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-text { order: 2; }
.feature-row--reverse .feature-visual { order: 1; }

.feature-text__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 14px;
}

.feature-text h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo-600);
  flex-shrink: 0;
}

/* ── CSS UI Mockups ── */
.feature-visual {
  position: relative;
}

/* Schedule Grid Mockup */
.mockup-schedule {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  font-size: 11px;
}

.mockup-schedule__bar {
  background: var(--indigo-600);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.mockup-schedule__bar-title { font-weight: 700; font-size: 13px; }
.mockup-schedule__bar-week  { font-size: 11px; opacity: .8; }

.mockup-schedule__nav {
  background: var(--gray-50);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
}

.mockup-schedule__nav-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
}

.mockup-table th {
  background: var(--gray-50);
  padding: 7px 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-400);
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  letter-spacing: .04em;
}

.mockup-table th:first-child { text-align: left; padding-left: 14px; }

.mockup-table td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
  vertical-align: middle;
}

.mockup-table td:first-child {
  text-align: left;
  padding-left: 14px;
  font-weight: 600;
  font-size: 11px;
  color: var(--gray-700);
  white-space: nowrap;
}

.mockup-shift {
  background: var(--indigo-50);
  color: var(--indigo-700);
  border-left: 2.5px solid var(--indigo-600);
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mockup-shift--today {
  background: #FFFBEB;
  color: #92400E;
  border-left-color: #F59E0B;
}

.mockup-table .today-col { background: #FFFBEB20; }

.mockup-table .total-row td {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-700);
  font-size: 10px;
  border-top: 2px solid var(--gray-200);
}

.mockup-table .emp-hours {
  font-size: 9px;
  color: var(--indigo-600);
  font-weight: 500;
}

/* Open Shifts Mockup */
.mockup-openshift {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.mockup-openshift__header {
  background: var(--indigo-600);
  padding: 14px 18px;
  color: white;
}

.mockup-openshift__header h4 { font-size: 14px; font-weight: 700; }
.mockup-openshift__header p  { font-size: 11px; opacity: .75; margin-top: 2px; }

.open-shift-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.open-shift-item:last-child { border-bottom: none; }

.open-shift-info h5 { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.open-shift-info p  { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

.open-shift-badge {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.open-shift-badge--claim  { background: var(--indigo-600); color: white; }
.open-shift-badge--claimed { background: #D1FAE5; color: var(--emerald-600); }

/* Hours Summary Mockup */
.mockup-summary {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.mockup-summary__header {
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-800));
  padding: 20px 20px;
  color: white;
}

.mockup-summary__header h4 { font-size: 13px; font-weight: 700; opacity: .8; margin-bottom: 4px; }
.mockup-summary__header p  { font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.mockup-summary__header span { font-size: 11px; opacity: .65; margin-top: 2px; display: block; }

.mockup-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.mockup-summary__row:last-child { border-bottom: none; }

.mockup-summary__name { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.mockup-summary__hrs  { font-size: 13px; font-weight: 700; color: var(--indigo-600); }

.mockup-summary__bar-wrap {
  flex: 1;
  margin: 0 12px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  height: 5px;
  overflow: hidden;
}

.mockup-summary__bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--indigo-500);
}

/* ================================================================
   DEPARTMENT SECTION
   ================================================================ */
.departments {
  padding: var(--section-py) 24px;
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
}

.departments::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79,70,229,.2) 0%, transparent 70%);
  pointer-events: none;
}

.departments__inner {
  position: relative;
  z-index: 1;
}

.departments__header {
  text-align: center;
  margin-bottom: 56px;
}

.departments__header .section-label {
  background: rgba(79,70,229,.15);
  border-color: rgba(79,70,229,.35);
  color: var(--indigo-400);
}

.departments__header .section-title { color: var(--white); }
.departments__header .section-subtitle { color: rgba(255,255,255,.55); }

.dept-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.dept-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  cursor: pointer;
  transition: all var(--transition);
}

.dept-tab:hover,
.dept-tab.active {
  background: var(--indigo-600);
  border-color: var(--indigo-600);
  color: var(--white);
  box-shadow: var(--shadow-indigo);
}

.dept-tab--all {
  background: rgba(79,70,229,.15);
  border-color: rgba(79,70,229,.35);
  color: var(--indigo-400);
}

.dept-tab--all.active,
.dept-tab--all:hover {
  background: var(--indigo-600);
  color: var(--white);
}

.dept-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dept-card {
  background: var(--hero-card);
  border: 1px solid var(--hero-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), background var(--transition);
}

.dept-card:hover {
  border-color: rgba(79,70,229,.4);
  background: rgba(79,70,229,.08);
}

.dept-card__emoji { font-size: 28px; margin-bottom: 12px; }

.dept-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.dept-card__count {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

.dept-card__hours {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--indigo-400);
}

.dept-card__hours-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}

/* ================================================================
   INDUSTRIES SECTION
   ================================================================ */
.industries {
  padding: var(--section-py) 24px;
  background: var(--white);
}

.industries__header {
  text-align: center;
  margin-bottom: 52px;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.industry-card:hover {
  border-color: var(--indigo-200);
  background: var(--indigo-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.industry-card__emoji { font-size: 32px; margin-bottom: 10px; }
.industry-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.industry-card:hover .industry-card__name { color: var(--indigo-700); }

/* ================================================================
   FAQ PREVIEW
   ================================================================ */
.faq-preview {
  padding: var(--section-py) 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.faq-preview__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.faq-preview__left h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.faq-preview__left p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 10px; }

.accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion-item.open {
  border-color: var(--indigo-200);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  gap: 12px;
}

.accordion-trigger__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.accordion-trigger__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.accordion-item.open .accordion-trigger__icon {
  background: var(--indigo-600);
  transform: rotate(45deg);
}

.accordion-trigger__icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--gray-500);
  transition: stroke var(--transition);
}

.accordion-item.open .accordion-trigger__icon svg { stroke: white; }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.accordion-body__inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: var(--section-py) 24px;
  background: var(--white);
}

.cta-section__inner {
  background: linear-gradient(135deg, var(--indigo-600) 0%, var(--indigo-800) 60%, var(--hero-bg) 100%);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section__inner .section-label {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
}

.cta-section__inner .section-title { color: var(--white); }

.cta-section__sub {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  margin: 16px auto 36px;
  max-width: 520px;
  line-height: 1.6;
}

.btn--cta-white {
  background: var(--white);
  color: var(--indigo-700);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: all var(--transition);
}

.btn--cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--gray-900);
  padding: 56px 24px 32px;
  color: rgba(255,255,255,.55);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer__brand-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer__brand-logo span {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 16px;
}

.footer__contact {
  font-size: 13px;
}

.footer__contact a {
  color: var(--indigo-400);
  transition: color var(--transition);
}

.footer__contact a:hover { color: var(--indigo-300); }

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

.footer__col ul a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy { font-size: 13px; }

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer__legal a:hover { color: rgba(255,255,255,.8); }

/* ================================================================
   LEGAL / FAQ PAGES
   ================================================================ */
.page-hero {
  background: var(--hero-bg);
  padding: 120px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79,70,229,.2) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.55);
  position: relative;
  z-index: 1;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal-content .effective {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-600);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

.legal-content ul li::before {
  content: '•';
  color: var(--indigo-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-content .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo-700);
  margin-top: 6px;
}

/* Full FAQ page */
.faq-full {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .problem__grid    { grid-template-columns: 1fr 1fr; }
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .dept-showcase    { grid-template-columns: 1fr 1fr; }
  .footer__top      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 120px 20px 64px; }

  .problem__grid { grid-template-columns: 1fr; }
  .how__grid     { grid-template-columns: 1fr; }

  .feature-row            { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse .feature-text  { order: 0; }
  .feature-row--reverse .feature-visual { order: 1; }

  .dept-showcase    { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }

  .faq-preview__inner { grid-template-columns: 1fr; gap: 40px; }

  .cta-section__inner { padding: 48px 28px; border-radius: 20px; }

  .footer__top    { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero__social-proof { gap: 16px; }
}

@media (max-width: 480px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title      { font-size: 34px; }
}

/* ============================================================
   CONTACT / SIGN-UP SECTION
   ============================================================ */
.contact {
  background: var(--gray-50);
  padding: 96px 0;
  border-top: 1px solid var(--gray-100);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contact__copy .section-title {
  margin-bottom: 16px;
}

.contact__sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 500;
}

.perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo-600);
  flex-shrink: 0;
}

/* ── Form ── */
.contact__form {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-group input,
.form-group select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
  background: #fff;
}

.form-note {
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
  margin: 0;
}

.form-note a {
  color: var(--indigo-600);
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

/* ── Validation states ── */
.form-group input.input--error,
.form-group select.input--error {
  border-color: #EF4444;
  background: #FFF5F5;
}

.form-group input.input--error:focus,
.form-group select.input--error:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}

.field-error {
  font-size: 12px;
  font-weight: 500;
  color: #EF4444;
  margin: 0;
}

/* ── Success state ── */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 48px 24px;
  min-height: 240px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.form-success p {
  font-size: 15px;
  color: var(--gray-500);
  margin: 0;
  max-width: 300px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
