/* InzuHub theme — custom styles layered on top of theme.json presets. */

:root {
  --inzu-radius-card: 16px;
  --inzu-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --inzu-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --inzu-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --inzu-transition: 250ms ease-in-out;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: #004AAD;
  color: #fff;
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
  transition: transform var(--inzu-transition), background-color var(--inzu-transition), box-shadow var(--inzu-transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--inzu-shadow-md);
}

/* Ghost / secondary button */
.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent;
  color: #101828;
  border: 1px solid #e4e7ec;
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
  background: #f9fafb;
  color: #004AAD;
  border-color: #cedef3;
}

/* Accent (orange) button */
.wp-block-button.is-style-accent .wp-block-button__link {
  background: #fd853a;
  color: #ffffff;
}
.wp-block-button.is-style-accent .wp-block-button__link:hover {
  background: #e76f25;
}

/* Solid white (on dark backgrounds) */
.wp-block-button.is-style-solid-white .wp-block-button__link {
  background: #ffffff;
  color: #004AAD;
}
.wp-block-button.is-style-solid-white .wp-block-button__link:hover {
  background: #F7F9FC;
}

/* White outline (on dark backgrounds) */
.wp-block-button.is-style-outline-white .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.wp-block-button.is-style-outline-white .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* ---------- Cards ---------- */
.wp-block-group.is-style-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: var(--inzu-radius-card);
  box-shadow: var(--inzu-shadow-sm);
  transition: box-shadow var(--inzu-transition), transform var(--inzu-transition);
}
.wp-block-group.is-style-card:hover {
  box-shadow: var(--inzu-shadow-lg);
  transform: translateY(-4px);
}
.wp-block-group.is-style-card-feature {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: var(--inzu-radius-card);
  box-shadow: var(--inzu-shadow-sm);
  transition: box-shadow var(--inzu-transition), transform var(--inzu-transition);
}
.wp-block-group.is-style-card-feature:hover {
  box-shadow: var(--inzu-shadow-md);
  transform: translateY(-4px);
  border-color: #004AAD;
}

/* ---------- Eyebrow / badge pill ---------- */
.inzu-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #e7eef9;
  color: #004AAD;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* Green "included" ticks list */
.inzu-checklist { padding-left: 0 !important; }
.inzu-checklist li {
  list-style: none;
  position: relative;
  padding-left: 1.9rem;
}
.inzu-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #12b76a;
  font-weight: 800;
}

/* Trust chips */
.inzu-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e4e7ec;
  box-shadow: var(--inzu-shadow-sm);
  font-weight: 600;
  color: #101828;
}

/* Comparison table polish */
.inzu-compare table { border-collapse: collapse; width: 100%; }
.inzu-compare td, .inzu-compare th { border: 1px solid #e4e7ec; padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.inzu-compare thead th { background: #f3f7fc; color: #101828; }
.inzu-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
}
.inzu-pill-light {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  color: #0F172A;
  font-weight: 600;
  box-shadow: var(--inzu-shadow-sm);
}

/* "Most popular" ribbon on pricing card */
.inzu-popular {
  position: relative;
  border: 2px solid #004AAD !important;
}

/* ---------- Header / nav ---------- */
.inzu-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03), 0 8px 24px -16px rgba(16, 24, 40, 0.18);
}

/* Nav: Plus Jakarta Sans, refined and premium */
.inzu-header .wp-block-navigation {
  font-family: "Plus Jakarta Sans", var(--wp--preset--font-family--heading), system-ui, sans-serif;
  font-size: 0.95rem;
}
.inzu-header .wp-block-navigation__container { gap: 0.25rem 2.1rem; }
.inzu-header .wp-block-navigation-item { position: relative; }
.inzu-header .wp-block-navigation-item__content {
  font-weight: 500;
  color: #344054;
  letter-spacing: -0.012em;
  padding: 0.45rem 0;
  transition: color 0.18s ease;
}
.inzu-header .wp-block-navigation-item__content:hover { color: #004AAD; }

/* Underline reserved for the active page only (cleaner than hover lines) */
.inzu-header .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 2px;
  background: #004AAD;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.inzu-header .current-menu-item .wp-block-navigation-item__content,
.inzu-header .current_page_item .wp-block-navigation-item__content,
.inzu-header .wp-block-navigation-item__content[aria-current] {
  color: #004AAD;
  font-weight: 600;
}
.inzu-header .current-menu-item .wp-block-navigation-item__content::after,
.inzu-header .current_page_item .wp-block-navigation-item__content::after,
.inzu-header .wp-block-navigation-item__content[aria-current]::after { transform: scaleX(1); }

/* Header CTA: compact, premium gradient */
.inzu-header .wp-block-button__link {
  font-family: "Plus Jakarta Sans", var(--wp--preset--font-family--heading), sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.006em;
  min-height: 0;
  padding: 0.6rem 1.3rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #004AAD 0%, #0a5fd0 100%);
  box-shadow: 0 8px 18px -8px rgba(0, 74, 173, 0.55);
}
.inzu-header .wp-block-button__link:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #003d8f 0%, #0a5fd0 100%);
  box-shadow: 0 12px 24px -8px rgba(0, 74, 173, 0.6);
}

/* Logo crispness */
.inzu-header .wp-block-site-logo img { display: block; height: auto; }

/* ---------- Sections ---------- */
.inzu-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (max-width: 781px) {
  .inzu-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Dashboard mock + stat tiles */
.inzu-stat {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: var(--inzu-shadow-sm);
}

/* Feature/sector emoji icon chip */
.inzu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7eef9 0%, #f3f7fc 100%);
  color: #004AAD;
  box-shadow: inset 0 0 0 1px rgba(0, 74, 173, 0.08);
  margin-bottom: 1rem;
}
.inzu-icon .inzu-svg {
  width: 26px;
  height: 26px;
  display: block;
}
/* Feature/sector cards: warm the icon on hover */
.wp-block-group.is-style-card-feature:hover .inzu-icon,
.wp-block-group.is-style-card:hover .inzu-icon {
  background: linear-gradient(135deg, #004AAD 0%, #006dff 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.25);
}

/* ============================================================
   Footer — premium, neat, responsive
   ============================================================ */
.inzu-footer {
  --foot-link: #b9c6da;
  --foot-line: rgba(255,255,255,0.10);
  background-image: radial-gradient(120% 140% at 100% 0%, #002a5e 0%, transparent 55%);
  padding-top: 0;
  padding-bottom: 2.25rem;
  overflow: hidden;
}

/* --- Top CTA band --- */
.inzu-footer-cta {
  position: relative;
  margin-top: 0;
  margin-bottom: 3.5rem;
  padding: 2.25rem 2.5rem;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(120deg, #004AAD 0%, #0060e6 55%, #006dff 100%);
  box-shadow: 0 20px 50px rgba(0,30,80,0.45);
  gap: 1.5rem 2rem;
}
.inzu-footer-cta__title {
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.inzu-footer-cta__sub {
  margin: 0.5rem 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}
.inzu-footer-cta__actions { gap: 0.75rem; margin: 0; flex-shrink: 0; }
.inzu-footer-cta__actions .wp-block-button__link { font-weight: 600; }

/* --- Main grid --- */
.inzu-footer-main {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.2fr) 2.2fr;
  gap: 3rem 5rem;
  align-items: start;
}
.inzu-footer-brand {
  max-width: 360px;
}
.inzu-footer-logo { margin: 0 0 1.1rem; }
.inzu-footer-tagline {
  color: var(--foot-link);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
}
.inzu-footer-social { gap: 0; }
.inzu-footer-social .wp-social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--foot-line);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.inzu-footer-social .wp-social-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* --- Link columns --- */
.inzu-footer-cols {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.inzu-footer-col { min-width: 0; }
.inzu-footer-heading {
  font-family: "InterNav", "Figtree", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 1.1rem;
}
.inzu-footer-list {
  font-size: 0.93rem;
  line-height: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.inzu-footer-list li { margin: 0 0 0.85rem; padding: 0; list-style: none; }
.inzu-footer-list li::marker { content: ""; }
.inzu-footer-list a {
  color: var(--foot-link);
  text-decoration: none;
  transition: color .15s ease;
}

/* Links hover to WHITE (was dark blue = invisible on dark bg) */
.inzu-footer a { text-decoration: none; }
.inzu-footer-list a:hover,
.inzu-footer a:hover { color: #ffffff; }

/* --- Divider + bottom bar --- */
.inzu-footer-rule {
  border: 0;
  height: 1px;
  background: var(--foot-line) !important;
  margin: 3.5rem 0 1.75rem;
}
.inzu-footer-bottom { gap: 0.75rem 1.5rem; }
.inzu-footer-copy,
.inzu-footer-legal {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.inzu-footer-legal a { color: rgba(255,255,255,0.6); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .inzu-footer-main {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .inzu-footer-brand { max-width: none; }
}
@media (max-width: 600px) {
  .inzu-footer-cta {
    padding: 1.75rem 1.4rem;
    border-radius: 0 0 16px 16px;
    margin-bottom: 2.75rem;
  }
  .inzu-footer-cta__actions { width: 100%; }
  .inzu-footer-cta__actions .wp-block-button { flex: 1 1 auto; }
  .inzu-footer-cta__actions .wp-block-button__link { display: block; text-align: center; }
  .inzu-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .inzu-footer-bottom { justify-content: center; text-align: center; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-button__link:hover,
  .wp-block-group.is-style-card:hover,
  .wp-block-group.is-style-card-feature:hover {
    transform: none;
  }
}

/* ============================================================
   Elegance polish pass (v2): modern, clean, neat
   ============================================================ */
:root {
  --inzu-shadow-sm: 0 1px 2px rgba(16,24,40,0.06), 0 1px 3px rgba(16,24,40,0.05);
  --inzu-shadow-md: 0 4px 12px rgba(16,24,40,0.08);
  --inzu-shadow-lg: 0 16px 40px rgba(16,24,40,0.10);
}

/* Cards: cleaner border, softer corners, gentle lift */
.wp-block-group.is-style-card,
.wp-block-group.is-style-card-feature {
  border: 1px solid #eef0f4;
  border-radius: 18px;
  box-shadow: var(--inzu-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wp-block-group.is-style-card:hover,
.wp-block-group.is-style-card-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--inzu-shadow-lg);
  border-color: #dbe6f7;
}

/* Buttons: a touch of depth + crisper focus */
.wp-block-button__link { box-shadow: 0 1px 2px rgba(16,24,40,0.05); letter-spacing: -0.01em; }
.wp-block-button:not(.is-style-ghost):not(.is-style-outline-white):not(.is-style-solid-white) .wp-block-button__link {
  box-shadow: 0 6px 16px rgba(0,74,173,0.18);
}
.wp-block-button__link:focus-visible { outline: 3px solid rgba(0,74,173,0.35); outline-offset: 2px; }

/* Eyebrow pill: subtle ring */
.inzu-eyebrow { box-shadow: inset 0 0 0 1px rgba(0,74,173,0.12); }

/* Hero stat tiles + dashboard card */
.inzu-stat { border-radius: 14px; border-color: #eef0f4; }

/* Section rhythm a little more generous on desktop */
@media (min-width: 782px) {
  .inzu-section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
}

/* Trust chips: lighter, refined */
.inzu-chip { border-color: #eef0f4; box-shadow: var(--inzu-shadow-sm); font-weight: 600; }

/* Links inside cards (e.g. "Visit the booking platform") */
.wp-block-group.is-style-card-feature a:not(.wp-block-button__link),
.wp-block-group.is-style-card a:not(.wp-block-button__link) {
  font-weight: 600;
  text-decoration: none;
}

/* Tables: rounded, clean */
.inzu-compare .wp-block-table table,
.wp-block-table table { border-radius: 12px; overflow: hidden; border: 1px solid #eef0f4; }
.wp-block-table td, .wp-block-table th { border-color: #eef0f4; }

/* Comparison / details */
.wp-block-details { box-shadow: var(--inzu-shadow-sm); transition: box-shadow .2s ease; }
.wp-block-details[open] { box-shadow: var(--inzu-shadow-md); }
.wp-block-details summary { cursor: pointer; }

/* Mobile spacing: keep icons + text breathing room */
@media (max-width: 781px) {
  .inzu-icon { width: 46px; height: 46px; border-radius: 12px; }
  .inzu-icon .inzu-svg { width: 23px; height: 23px; }
  .wp-block-button__link { width: auto; }
}

/* ============================================================
   Global type smoothing (crisper, premium)
   ============================================================ */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   Footer (restructured: CTA band + columns + bottom bar)
   ============================================================ */
.inzu-footer { padding: 4.5rem 0 2rem; }
.inzu-footer a { color: #c5cedd; text-decoration: none; transition: color .18s ease; }
.inzu-footer a:hover { color: #ffffff; }

/* Top CTA band */
.inzu-footer-cta {
  gap: 1.5rem 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.inzu-footer-cta__text { max-width: 52ch; }
.inzu-footer-cta__title {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem) !important;
  line-height: 1.2;
  margin: 0 0 0.4rem !important;
}
.inzu-footer-cta__sub { color: #9fb0c7; margin: 0; font-size: 1.02rem; }
.inzu-footer-cta__actions { gap: 0.75rem; }

/* Main row: brand + link columns */
.inzu-footer-main { gap: 2.5rem 4rem; padding-top: 3rem; align-items: flex-start; }
.inzu-footer-brand { max-width: 340px; }
.inzu-footer-logo { margin: 0; }
.inzu-footer-tagline { color: #9fb0c7; font-size: 0.95rem; line-height: 1.6; margin: 1rem 0 1.25rem; }
.inzu-footer-social { margin-top: 0.25rem; }

.inzu-footer-cols { gap: 2.5rem 4rem; }
.inzu-footer-col { min-width: 130px; }
.inzu-footer-heading {
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ffffff;
  opacity: 0.7;
  margin: 0 0 1rem !important;
  font-weight: 700;
}
.inzu-footer-list { line-height: 2.15; font-size: 0.95rem; margin: 0; }
.inzu-footer-list li { margin: 0; }

/* Divider + bottom bar */
.inzu-footer-rule {
  margin: 3rem 0 1.5rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
}
.inzu-footer-bottom { gap: 0.5rem 1.5rem; }
.inzu-footer-copy,
.inzu-footer-legal { color: #8090a8; font-size: 0.85rem; margin: 0; }
.inzu-footer-legal a { color: #8090a8; }
.inzu-footer-legal a:hover { color: #ffffff; }

@media (max-width: 781px) {
  .inzu-footer { padding: 3rem 0 1.5rem; }
  .inzu-footer-cta { padding-bottom: 2rem; }
  .inzu-footer-main { gap: 2rem; padding-top: 2rem; }
  .inzu-footer-cols { gap: 2rem 3rem; }
}

/* ============================================================
   Fixes: header/hero gap + mobile safety
   ============================================================ */
/* Kill the dead white strip between the sticky header and the first section */
#main-content { margin-block-start: 0 !important; }
.wp-site-blocks > main { margin-block-start: 0 !important; }

/* Prevent any element from causing horizontal scroll on mobile */
html, body { overflow-x: hidden; max-width: 100%; }

/* Tables: scroll inside their own box instead of breaking the page */
@media (max-width: 781px) {
  .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wp-block-table table { min-width: 520px; }
  /* Comparison tables read better with a touch less padding on mobile */
  .inzu-compare td, .inzu-compare th { padding: 0.6rem 0.7rem; }
}
