/* ══════════════════════════════════════
   TaskBlocking.AI — Shared Stylesheet v2
   ══════════════════════════════════════ */

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

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

:root {
  --blue-900: #0a1628;
  --blue-800: #0d1f3c;
  --blue-700: #112a4e;
  --blue-600: #1a3a6e;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --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;
  --green-500: #22c55e;
  --red-500: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── ICON CIRCLES ── */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.icon-circle.blue {
  background: var(--blue-50);
  color: var(--blue-500);
  border: 1px solid var(--blue-100);
}
.icon-circle.dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--blue-300);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.icon-circle.white {
  background: var(--white);
  color: var(--blue-500);
  border: 1px solid var(--gray-200);
}
.icon-circle.sm {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}
.icon-circle.lg {
  width: 60px;
  height: 60px;
  font-size: 1.4rem;
}

.icon-square {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--blue-50);
  color: var(--blue-500);
  border: 1px solid var(--blue-100);
}
.icon-square.sm {
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--blue-400);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    border-color 0.2s,
    background 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.btn-outline {
  background: transparent;
  color: var(--blue-500);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--blue-500);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--blue-500);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

/* ── NAVIGATION ── */
.nav {
  background: var(--blue-900);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a3a6e, #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--white);
  font-size: 1.1rem;
}
.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-text span {
  color: var(--blue-400);
}
.nav-tagline {
  font-size: 0.6rem;
  color: var(--gray-300);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a.active {
  color: var(--blue-400);
}
.nav-cta {
  background: var(--blue-500) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--blue-400) !important;
}
.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ── HERO ── */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--blue-900) 0%,
    var(--blue-800) 40%,
    var(--blue-700) 100%
  );
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--blue-300);
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.page-hero h1 .accent {
  color: var(--blue-400);
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 650px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--blue-300);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.card-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
}
.card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── CHECK LIST ── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.check-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--blue-500);
  font-size: 0.85rem;
  min-width: 18px;
  margin-top: 2px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding: 3.5rem 2rem;
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item .icon-circle {
  margin: 0 auto 0.75rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding: 3.5rem 2rem;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.cta-inner p {
  color: var(--blue-300);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ── FOOTER ── */
footer {
  background: var(--blue-900);
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p {
  color: var(--gray-500);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 280px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gray-300);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.75rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 0.75rem;
}

/* ── PRICING CARD ── */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--blue-500);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.12);
}
.pricing-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-500);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}
.pricing-card .price-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.pricing-card .divider {
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 1rem;
}
.pricing-card .features-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.pricing-card .features li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.pricing-card .features li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--blue-500);
  font-size: 0.7rem;
  min-width: 14px;
  margin-top: 2px;
}
.pricing-card .ideal {
  background: var(--blue-50);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: auto;
}
.pricing-card .ideal h5 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.pricing-card .ideal p {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ── INDUSTRY CARD ── */
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.industry-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.industry-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}
.industry-card p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.faq-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 0;
}

/* ── JOB CARD ── */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}
.job-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.job-card > div:first-child {
  flex: 1;
  min-width: 0;
}
.job-card > a {
  flex-shrink: 0;
  margin-top: 0.75rem;
}
.job-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 0.35rem;
}
.job-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}
.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.job-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── TWO COLUMN ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── INVESTMENT BOX ── */
.investment-box {
  background: var(--blue-50);
  border: 2px solid var(--blue-200);
  border-radius: 16px;
  padding: 2rem;
}
.investment-box h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.investment-box .price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--blue-200);
}
.investment-box .price-line:last-of-type {
  border-bottom: none;
}
.investment-box .price-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}
.investment-box .price-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-800);
}

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}
.process-step .step-num {
  width: 44px;
  height: 44px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 0.75rem;
}
.process-step h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.35rem;
}
.process-step p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .page-hero h1 {
    font-size: 2.25rem;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ── WHITE NAV ── */
.nav-white {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.nav-white .nav-links a {
  color: var(--gray-700);
}
.nav-white .nav-links a:hover {
  color: var(--blue-500);
}
.nav-white .nav-links a.active {
  color: var(--blue-500);
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
