/* Features & reports — color-forward marketing sections */

.features-section,
.reports-section {
  --fx-blue: #0b4fd4;
  --fx-blue-light: #dbeafe;
  --fx-emerald: #059669;
  --fx-emerald-light: #d1fae5;
  --fx-violet: #6d28d9;
  --fx-violet-light: #ede9fe;
  --fx-amber: #d97706;
  --fx-amber-light: #fef3c7;
  --fx-cyan: #0891b2;
  --fx-cyan-light: #cffafe;
  --fx-rose: #e11d48;
  --fx-rose-light: #ffe4e6;
  position: relative;
  overflow: hidden;
}

/* —— Features —— */
.features-section {
  background: linear-gradient(165deg, #eef2ff 0%, #f8fafc 35%, #ecfdf5 100%);
}

.features-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 0% 0%, rgba(79, 70, 229, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 15%, rgba(5, 150, 105, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 50% at 50% 100%, rgba(11, 79, 212, 0.1), transparent 60%);
}

.features-section__container {
  position: relative;
  z-index: 1;
}

.features-section__head {
  max-width: 44rem;
}

.features-section__head .section-kicker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  color: var(--fx-blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 79, 212, 0.2);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(11, 79, 212, 0.08);
}

.features-section__head h2 {
  background: linear-gradient(120deg, #0f172a 0%, #1e3a8a 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features-section__lede {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}

.features-section__highlights {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 1100px) {
  .features-section__highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .features-section__highlights {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

.feature-highlight {
  --card-accent: var(--fx-blue);
  --card-tint: rgba(219, 234, 254, 0.65);
  position: relative;
  padding: 1.15rem 1rem 1.1rem;
  background: linear-gradient(160deg, #fff 0%, var(--card-tint) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 55%, white));
}

.feature-highlight:nth-child(1) { --card-accent: #4f46e5; --card-tint: rgba(237, 233, 254, 0.9); }
.feature-highlight:nth-child(2) { --card-accent: #0b4fd4; --card-tint: rgba(219, 234, 254, 0.85); }
.feature-highlight:nth-child(3) { --card-accent: #0891b2; --card-tint: rgba(207, 250, 254, 0.85); }
.feature-highlight:nth-child(4) { --card-accent: #059669; --card-tint: rgba(209, 250, 229, 0.85); }
.feature-highlight:nth-child(5) { --card-accent: #d97706; --card-tint: rgba(254, 243, 199, 0.9); }
.feature-highlight:nth-child(6) { --card-accent: #db2777; --card-tint: rgba(252, 231, 243, 0.9); }

@media (hover: hover) {
  .feature-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  }
}

.feature-highlight__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  color: var(--card-accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--card-accent) 18%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%234f46e5' stroke-width='1.8' stroke-linecap='round' d='M4 19h16M6 16V8l4-3 4 3v8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.25rem;
}

.feature-highlight:nth-child(2) .feature-highlight__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%230b4fd4' stroke-width='1.8'/%3E%3Cpath stroke='%230b4fd4' stroke-width='1.8' stroke-linecap='round' d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.feature-highlight:nth-child(3) .feature-highlight__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='5' y='5' width='6' height='6' rx='1' stroke='%230891b2' stroke-width='1.8'/%3E%3Cpath stroke='%230891b2' stroke-width='1.8' d='M5 17h6M14 8h5M14 16h5'/%3E%3C/svg%3E"); }
.feature-highlight:nth-child(4) .feature-highlight__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23059669' stroke-width='1.8' stroke-linecap='round' d='M4 18h16M7 14l3-4 3 2 4-6'/%3E%3C/svg%3E"); }
.feature-highlight:nth-child(5) .feature-highlight__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4' y='6' width='16' height='14' rx='2' stroke='%23d97706' stroke-width='1.8'/%3E%3Cpath stroke='%23d97706' stroke-width='1.8' stroke-linecap='round' d='M8 4v4M16 4v4'/%3E%3C/svg%3E"); }
.feature-highlight:nth-child(6) .feature-highlight__icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='7' y='3' width='10' height='18' rx='2' stroke='%23db2777' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='17' r='1' fill='%23db2777'/%3E%3C/svg%3E"); }

.feature-highlight h3 {
  margin: 0 0 0.4rem;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.feature-highlight p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.48;
  color: #64748b;
}

/* Tabs */
.feature-tabs {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 24px 56px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.feature-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0b4fd4 48%, #059669 100%);
  border-bottom: none;
}

.feature-tabs__tab {
  padding: 0.48rem 0.9rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.feature-tabs__tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.feature-tabs__tab.is-active {
  color: #1e3a8a;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.feature-tabs__panel {
  --panel-accent: var(--fx-blue);
  --panel-bg: rgba(239, 246, 255, 0.65);
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.2rem, 2.5vw, 1.85rem) clamp(1.4rem, 2.5vw, 2rem);
  background: linear-gradient(180deg, var(--panel-bg) 0%, #fff 85%);
}

.feature-tabs__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--panel-accent), color-mix(in srgb, var(--panel-accent) 40%, white));
}

.feature-tabs__panel[data-feature-panel="workforce"] { --panel-accent: #4f46e5; --panel-bg: rgba(237, 233, 254, 0.55); }
.feature-tabs__panel[data-feature-panel="attendance"] { --panel-accent: #0b4fd4; --panel-bg: rgba(219, 234, 254, 0.55); }
.feature-tabs__panel[data-feature-panel="capture"] { --panel-accent: #0891b2; --panel-bg: rgba(207, 250, 254, 0.5); }
.feature-tabs__panel[data-feature-panel="live"] { --panel-accent: #059669; --panel-bg: rgba(209, 250, 229, 0.5); }
.feature-tabs__panel[data-feature-panel="location"] { --panel-accent: #0d9488; --panel-bg: rgba(204, 251, 241, 0.5); }
.feature-tabs__panel[data-feature-panel="shifts"] { --panel-accent: #7c3aed; --panel-bg: rgba(237, 233, 254, 0.5); }
.feature-tabs__panel[data-feature-panel="leave"] { --panel-accent: #d97706; --panel-bg: rgba(254, 243, 199, 0.45); }
.feature-tabs__panel[data-feature-panel="overtime"] { --panel-accent: #ea580c; --panel-bg: rgba(255, 237, 213, 0.5); }
.feature-tabs__panel[data-feature-panel="corrections"] { --panel-accent: #db2777; --panel-bg: rgba(252, 231, 243, 0.5); }
.feature-tabs__panel[data-feature-panel="approvals"] { --panel-accent: #2563eb; --panel-bg: rgba(219, 234, 254, 0.45); }
.feature-tabs__panel[data-feature-panel="mobile"] { --panel-accent: #e11d48; --panel-bg: rgba(255, 228, 230, 0.5); }
.feature-tabs__panel[data-feature-panel="security"] { --panel-accent: #334155; --panel-bg: rgba(241, 245, 249, 0.8); }

.feature-tabs__summary {
  margin: 0 0 1.1rem;
  padding-left: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
}

.feature-tabs__list {
  margin: 0;
  padding: 0.5rem 0.35rem 0.25rem 0.75rem;
  list-style: none;
  columns: 2;
  column-gap: 1.75rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}

@media (max-width: 720px) {
  .feature-tabs__list {
    columns: 1;
  }
}

.feature-tabs__list li {
  position: relative;
  break-inside: avoid;
  padding: 0.38rem 0.5rem 0.38rem 1.5rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #1e293b;
}

.feature-tabs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--panel-accent) 12%, white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E")
    center / 0.65rem no-repeat;
}

/* —— Reports —— */
.reports-section {
  background: linear-gradient(180deg, #fff 0%, #f0f9ff 45%, #f8fafc 100%);
}

.reports-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 35% at 90% 20%, rgba(14, 165, 233, 0.15), transparent 55%),
    radial-gradient(ellipse 35% 30% at 5% 60%, rgba(16, 185, 129, 0.12), transparent 50%);
}

.reports-section__container {
  position: relative;
  z-index: 1;
}

.reports-section__head {
  max-width: 40rem;
}

.reports-section__head .section-kicker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  color: #0369a1;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 999px;
}

.reports-section__head h2 {
  color: #0c4a6e;
}

.reports-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 900px) {
  .reports-catalog {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }
}

.reports-catalog__card {
  --report-accent: var(--fx-blue);
  --report-soft: #eff6ff;
  position: relative;
  padding: 1.35rem 1.25rem 1.3rem;
  overflow: hidden;
  background: linear-gradient(155deg, #fff 0%, var(--report-soft) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.reports-catalog__card::after {
  content: "";
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--report-accent) 22%, transparent);
  pointer-events: none;
}

.reports-catalog__card:nth-child(1) { --report-accent: #0b4fd4; --report-soft: #eff6ff; }
.reports-catalog__card:nth-child(2) { --report-accent: #059669; --report-soft: #ecfdf5; }
.reports-catalog__card:nth-child(3) { --report-accent: #7c3aed; --report-soft: #f5f3ff; }

.reports-catalog__card h3 {
  position: relative;
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--report-accent);
  border-bottom: 2px solid color-mix(in srgb, var(--report-accent) 25%, transparent);
}

.reports-catalog__card ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reports-catalog__card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.86rem;
  line-height: 1.48;
  color: #475569;
}

.reports-catalog__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--report-accent);
  transform: rotate(45deg);
}

.reports-section__live {
  padding: 0.35rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b4fd4, #059669, #7c3aed);
  box-shadow: 0 20px 50px rgba(11, 79, 212, 0.22);
}

.reports-section__live-inner {
  padding: 1.25rem 1.25rem 0.5rem;
  border-radius: 15px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
}

.reports-section__live-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.15rem;
}

.reports-section__live-head h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}

.reports-section__live-head p {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}

.reports-section__live .live-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
