/* ===== Serveiz — Global Stylesheet ===== */
:root {
  --navy:   #0D2B4E;
  --teal:   #0EA5A0;
  --teal2:  #0C8E8A;
  --mid:    #2C4A6E;
  --dark:   #1A2332;
  --accent: #F97316;
  --gray:   #6B7280;
  --lgray:  #F3F7FB;
  --border: #D1E3EC;
  --white:  #FFFFFF;
  --text:   #1F2937;
  --shadow: 0 4px 24px rgba(13,43,78,.10);
  --shadow-lg: 0 12px 48px rgba(13,43,78,.16);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal2); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 120px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--mid { background: var(--mid); color: var(--white); }
.section--lgray { background: var(--lgray); }
.section--teal { background: var(--teal); color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }
.hidden { display: none !important; }
.sr-only { position: absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); }

/* ── Typography ── */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow--white { color: rgba(255,255,255,.7); }

h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

.hero-headline { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.1; font-weight: 800; }
.page-headline { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.125rem; color: var(--gray); max-width: 640px; line-height: 1.7; }
.section-sub--white { color: rgba(255,255,255,.75); }
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9375rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--primary:hover { background: var(--teal2); border-color: var(--teal2); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14,165,160,.35); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--mid); border-color: var(--mid); color: var(--white); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--accent:hover { background: #ea6a0a; border-color: #ea6a0a; color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--webinar { background: transparent; color: var(--teal); border-color: rgba(14,165,160,.55); font-weight: 600; }
.btn--webinar:hover { background: var(--teal); border-color: var(--teal); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14,165,160,.32); }

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(13,43,78,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
#nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 24px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark svg { width: 20px; height: 20px; fill: white; }
.nav-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  padding-top: 16px;
  margin-top: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: all .2s ease;
}
/* Bridge the gap so mouse can travel from link into dropdown without losing hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown--wide { min-width: 640px; }
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background var(--transition);
}
.dd-item:hover { background: var(--lgray); }
.dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--lgray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.dd-text strong { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); }
.dd-text span { font-size: .8rem; color: var(--gray); }
.nav-dropdown--simple a {
  display: block;
  padding: 10px 14px;
  font-size: .9rem;
  color: var(--navy);
  border-radius: 6px;
  font-weight: 500;
}
.nav-dropdown--simple a:hover { background: var(--lgray); color: var(--teal); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  margin-left: auto;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  overflow-y: auto;
  padding: 24px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 0; font-size: 1.1rem; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 500; }
.nav-mobile a:hover { color: var(--teal); }
.nav-mobile-section { margin-top: 24px; }
.nav-mobile-section strong { display: block; color: var(--teal); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.nav-mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ── Page Header / Hero ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 60%, var(--mid) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,160,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14,165,160,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 720px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,160,.2);
  border: 1px solid rgba(14,165,160,.4);
  color: #5ee7e3;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Hero (homepage) ── */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #122d50 55%, var(--mid) 100%);
  color: var(--white);
  padding: var(--nav-h) 0 0;
  position: relative;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,160,.18) 0%, transparent 70%);
}
.hero-circle-1 { width: 800px; height: 800px; top: -200px; right: -200px; }
.hero-circle-2 { width: 500px; height: 500px; bottom: -100px; left: -100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-headline { color: var(--white); margin-bottom: 24px; }
.hero-headline span { color: var(--teal); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 40px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--teal); display: block; }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.6); }
.hero-visual { position: relative; z-index: 1; }
.hero-dashboard {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.hero-dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot-r { background: #ff5f57; }
.dash-dot-y { background: #ffbd2e; }
.dash-dot-g { background: #28ca41; }
.dash-title { margin-left: 8px; font-size: .85rem; color: rgba(255,255,255,.6); }
.dash-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.dash-kpi {
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.dash-kpi-val { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.dash-kpi-label { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.dash-kpi-change { font-size: .75rem; color: #34d399; margin-top: 4px; }
.dash-chart { background: rgba(255,255,255,.05); border-radius: 10px; padding: 16px; height: 120px; display: flex; align-items: flex-end; gap: 6px; border: 1px solid rgba(255,255,255,.08); }
.chart-bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--teal); opacity: .7; transition: opacity .3s; }
.chart-bar:hover { opacity: 1; }
.dash-table { margin-top: 16px; }
.dash-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .82rem; }
.dash-row:last-child { border-bottom: none; }
.dash-status { padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }
.dash-status-g { background: rgba(52,211,153,.2); color: #34d399; }
.dash-status-y { background: rgba(251,191,36,.2); color: #fbbf24; }
.dash-status-b { background: rgba(14,165,160,.2); color: #5ee7e3; }

/* ── Trust bar ── */
.trust-bar {
  padding: 28px 0;
  background: var(--lgray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-size: .8rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-logo { font-size: .9rem; font-weight: 700; color: #9CA3AF; letter-spacing: .05em; }

/* ── Product Cards ── */
.product-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.product-card h3 { margin-bottom: 12px; color: var(--navy); }
.product-card p { color: var(--gray); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; }
.product-card-features { margin-bottom: 28px; }
.product-card-feature { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text); padding: 5px 0; }
.product-card-feature::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── Feature Grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.feature-icon { font-size: 1.75rem; margin-bottom: 16px; }
.feature-card h4 { margin-bottom: 8px; color: var(--navy); }
.feature-card p { font-size: .9rem; color: var(--gray); line-height: 1.65; }
.feature-grid--2 { grid-template-columns: repeat(2,1fr); }
.feature-grid--4 { grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-cell { background: var(--white); padding: 40px 32px; text-align: center; }
.stat-cell--dark { background: var(--navy); }
.stat-num { font-size: 2.75rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.stat-num--teal { color: var(--teal); }
.stat-label { font-size: .875rem; color: var(--gray); margin-top: 8px; }
.stat-label--white { color: rgba(255,255,255,.65); }

/* ── Role cards ── */
.role-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.role-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.role-card:hover { background: rgba(255,255,255,.1); border-color: rgba(14,165,160,.4); }
.role-card h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.role-card li { font-size: .875rem; color: rgba(255,255,255,.7); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.role-card li::before { content: '→'; color: var(--teal); font-size: .75rem; flex-shrink: 0; }

/* ── Testimonial ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.testimonial-card::before { content: '\201C'; font-size: 6rem; color: var(--teal); opacity: .15; position: absolute; top: 0; left: 32px; line-height: 1; font-family: Georgia, serif; }
.testimonial-text { font-size: 1.2rem; line-height: 1.75; color: var(--text); font-style: italic; margin-bottom: 28px; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--teal)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--navy); }
.testimonial-title { font-size: .875rem; color: var(--gray); }

/* ── Integration logos ── */
.integration-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.integration-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}
.integration-pill:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(14,165,160,.15); transform: translateY(-1px); }
.integration-pill-icon { font-size: 1.1rem; }

/* ── CTA Block ── */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--mid) 100%);
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,165,160,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2 { margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Case Study Card ── */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card-header { padding: 32px; background: var(--lgray); border-bottom: 1px solid var(--border); }
.case-card-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 8px; }
.case-card h3 { color: var(--navy); font-size: 1.2rem; }
.case-card-body { padding: 32px; }
.case-metric { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.case-metric-num { font-size: 1.5rem; font-weight: 800; color: var(--teal); min-width: 80px; }
.case-metric-label { font-size: .9rem; color: var(--gray); }

/* ── Process Steps ── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
}
.process-step { text-align: center; position: relative; }
.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal);
}
.process-step h4 { margin-bottom: 8px; color: var(--navy); }
.process-step p { font-size: .875rem; color: var(--gray); }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; background: var(--lgray); padding: 4px; border-radius: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--gray);
  transition: all var(--transition);
  cursor: pointer;
}
.tab-btn.active { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }

/* ── Accordion / FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--teal); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--lgray); }
.faq-q-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--lgray); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); color: var(--teal); font-size: 1rem; }
.faq-item.open .faq-q-icon { background: var(--teal); color: white; transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--gray); line-height: 1.7; font-size: .95rem; }
.faq-item.open .faq-a { display: block; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card--featured {
  border-color: var(--teal);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .05em;
}
.pricing-tier { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 8px; }
.pricing-card h3 { color: var(--navy); margin-bottom: 6px; }
.pricing-accounts { font-size: .9rem; color: var(--gray); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 36px; }
.pricing-features li { padding: 9px 0; font-size: .9rem; color: var(--text); display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--lgray); }
.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── Form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1/-1; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,165,160,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ── Two-col layout ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse .split-visual { order: -1; }
.split-visual { position: relative; }
.mock-screen {
  background: linear-gradient(135deg, var(--navy) 0%, var(--mid) 100%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  color: white;
}
.mock-bar { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; margin-bottom: 12px; }
.mock-bar--sm { width: 60%; }
.mock-bar--teal { background: rgba(14,165,160,.4); }
.mock-row { display: flex; gap: 12px; margin-bottom: 10px; }
.mock-cell { height: 40px; background: rgba(255,255,255,.07); border-radius: 6px; flex: 1; }
.mock-badge { height: 24px; width: 70px; background: rgba(14,165,160,.3); border-radius: 4px; }

/* ── Feature detail ── */
.feature-detail { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border-radius: 10px; transition: background var(--transition); }
.feature-item:hover { background: var(--lgray); }
.feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-item-content h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.feature-item-content p { font-size: .875rem; color: var(--gray); line-height: 1.6; }

/* ── Check list ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.check-list--white li { color: rgba(255,255,255,.85); }
.check-list--white li::before { color: #5ee7e3; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-item h4 { color: var(--navy); margin-bottom: 4px; }
.timeline-item p { font-size: .9rem; color: var(--gray); }
.timeline-item .eyebrow { margin-bottom: 6px; }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 14px 18px; text-align: left; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--white); background: var(--navy); }
.data-table th:first-child { border-radius: 8px 0 0 0; }
.data-table th:last-child { border-radius: 0 8px 0 0; }
.data-table td { padding: 14px 18px; font-size: .9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: var(--lgray); }
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }

/* ── Badges ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .75rem; font-weight: 600; }
.badge--teal { background: rgba(14,165,160,.12); color: var(--teal); }
.badge--navy { background: rgba(13,43,78,.1); color: var(--navy); }
.badge--green { background: rgba(52,211,153,.15); color: #059669; }

/* ── Footer ── */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand { padding-right: 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark { width: 36px; height: 36px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all var(--transition); font-size: .9rem; }
.footer-social a:hover { background: var(--teal); color: white; }
.footer-col h5 { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: .875rem; color: rgba(255,255,255,.5); padding: 5px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up { animation: fadeUp .6s ease forwards; }
.anim-fade-up-1 { animation: fadeUp .6s .1s ease both; }
.anim-fade-up-2 { animation: fadeUp .6s .2s ease both; }
.anim-fade-up-3 { animation: fadeUp .6s .3s ease both; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-cards { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid--4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: scale(1); }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
  .product-cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-visual { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .cta-block { padding: 48px 32px; }
  .testimonial-card { padding: 32px 24px; }
  .hero-stats { gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .page-hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .trust-logos { gap: 24px; }
}
