/* === ExDoc by Cirrotech — Website Styles === */

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

/* ===== DESIGN TOKENS ===== */
:root {
  --primary-dark:   #0C2E5C;
  --primary:        #1B4F8A;
  --primary-mid:    #1D6FA4;
  --primary-light:  #2563EB;
  --accent:         #F97316;
  --accent-dark:    #EA580C;
  --green:          #10B981;
  --text-dark:      #0F172A;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --bg-white:       #FFFFFF;
  --bg-light:       #F8FAFC;
  --bg-blue:        #EFF6FF;
  --border:         #E2E8F0;
  --shadow:         0 1px 3px rgba(0,0,0,0.08), 0 4px 6px -1px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:      0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius:         8px;
  --radius-lg:      12px;
  --radius-xl:      16px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--bg-light); }
.section-blue { background: var(--bg-blue); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249,115,22,0.45);
}
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background: var(--primary-dark);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
}
.brand-logo {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: white;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.25rem; font-weight: 800; color: white; letter-spacing: -0.03em; }
.brand-name span { color: var(--accent); }
.brand-sub {
  font-size: 0.65rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.navbar-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0.4rem;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--primary-dark);
  padding: 1.5rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.mobile-menu.open { display: block; }
.mobile-nav-links { margin-bottom: 1.25rem; }
.mobile-nav-links li { margin-bottom: 0.25rem; }
.mobile-nav-links a {
  display: block; color: rgba(255,255,255,0.85);
  padding: 0.75rem 1rem; border-radius: var(--radius);
  font-weight: 500; transition: background 0.2s;
}
.mobile-nav-links a:hover { background: rgba(255,255,255,0.1); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  padding: 148px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -30%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-eyebrow i { color: var(--accent); }
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem; max-width: 640px;
}
.hero-support {
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem; max-width: 580px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0 0 2rem;
}
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.hero-stat-num {
  font-size: 2.25rem; font-weight: 800; color: white; line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-num em { font-style: normal; color: var(--accent); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--primary); padding: 1rem 0; }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500;
}
.trust-item i { color: var(--accent); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0.875rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ===== PROBLEM / VALUE PROP ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.problem-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #BFDBFE;
}
.problem-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0; transition: opacity 0.3s;
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--bg-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.problem-icon i { color: var(--primary-light); font-size: 1.1rem; }
.problem-card h4 { color: var(--text-dark); margin-bottom: 0.375rem; font-size: 0.975rem; }
.problem-pain { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1rem; }
.problem-solution {
  display: flex; gap: 0.5rem;
  color: var(--text-body); font-size: 0.875rem;
  border-top: 1px solid var(--border); padding-top: 1rem;
}
.problem-solution i { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ===== HOW IT WORKS (OVERVIEW) ===== */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.hiw-step {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}
.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 60%; background: var(--border);
}
.hiw-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.hiw-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.hiw-step p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ===== FEATURE CARDS (index highlight) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all 0.3s ease; box-shadow: var(--shadow);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.feature-card p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.25rem; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0; }

/* ===== PILL ===== */
.pill {
  background: var(--bg-blue); color: var(--primary);
  font-size: 0.75rem; font-weight: 500;
  padding: 0.2rem 0.65rem; border-radius: 100px;
  border: 1px solid #BFDBFE;
}
.pill-green {
  background: #ECFDF5; color: #065F46;
  border-color: #A7F3D0;
}
.pill-orange {
  background: #FFF7ED; color: #9A3412;
  border-color: #FED7AA;
}

/* ===== USE CASES ===== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.use-case-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: all 0.3s;
}
.use-case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.use-case-icon {
  font-size: 2rem; margin-bottom: 1rem;
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--bg-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.use-case-card h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.use-case-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ===== DASHBOARD CALLOUT ===== */
.dashboard-callout {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl); padding: 3rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2.5rem; align-items: center;
}
.dashboard-callout-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.85rem; border-radius: 100px;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.dashboard-callout h2 { color: white; margin-bottom: 0.75rem; font-size: 1.75rem; }
.dashboard-callout p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.dashboard-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.dashboard-features li {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.8); font-size: 0.875rem;
}
.dashboard-features li i { color: var(--accent); }
.dashboard-callout-cta { text-align: center; flex-shrink: 0; }
.dashboard-callout-cta p { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 0.75rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 5.5rem 0; text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p {
  color: rgba(255,255,255,0.72); font-size: 1.1rem;
  margin-bottom: 2rem; max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: #0A1628; color: rgba(255,255,255,0.65); padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-name {
  font-size: 1.3rem; font-weight: 800; color: white;
  letter-spacing: -0.03em; margin-bottom: 0.75rem;
}
.footer-brand-name span { color: var(--accent); }
.footer-tagline {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem; max-width: 260px;
}
.footer-col h4 {
  color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.5); font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.825rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 120px 0 56px; text-align: center;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-size: 0.825rem; color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 0.55rem; }
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p {
  color: rgba(255,255,255,0.72); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto;
}

/* ===== FEATURES FULL PAGE ===== */
.feature-full {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 1.5rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-full:last-child { border-bottom: none; }
.feature-num {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 700; flex-shrink: 0;
}
.feature-full-body h3 { margin-bottom: 0.25rem; }
.feature-tagline { color: var(--primary-light); font-weight: 600; font-size: 0.925rem; margin-bottom: 0.75rem; }
.feature-full-body > p { color: var(--text-muted); margin-bottom: 1rem; }
.check-list { display: flex; flex-direction: column; gap: 0.35rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--text-body);
}
.check-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--green); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0;
}

/* ===== HOW IT WORKS FULL PAGE ===== */
.flow-section { margin-bottom: 4rem; }
.flow-section h2 {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.flow-section h2 i { color: var(--accent); }
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex; gap: 1.25rem;
  position: relative; padding-bottom: 1.75rem;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute; left: 20px; top: 44px; bottom: 0;
  width: 2px; background: var(--border);
}
.step-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-body { padding-top: 0.35rem; }
.step-body h4 { margin-bottom: 0.25rem; color: var(--text-dark); }
.step-body p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Architecture diagram */
.arch-box {
  background: #0F172A; border-radius: var(--radius-xl);
  padding: 2.5rem; overflow-x: auto;
}
.arch-inner {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.875rem; line-height: 2;
  color: #94A3B8; white-space: pre;
}
.arch-inner .c-blue { color: #60A5FA; }
.arch-inner .c-orange { color: var(--accent); }
.arch-inner .c-green { color: #34D399; }
.arch-inner .c-dim { color: #475569; }

/* Message lifecycle */
.lifecycle {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.lifecycle-step {
  display: flex; align-items: center; gap: 0;
}
.lifecycle-badge {
  padding: 0.5rem 1.1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700;
  white-space: nowrap;
}
.lifecycle-badge.new    { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.lifecycle-badge.proc   { background: #FFF7ED; color: #C2410C; border: 1px solid #FED7AA; }
.lifecycle-badge.done   { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.lifecycle-badge.fail   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.lifecycle-badge.super  { background: #F5F3FF; color: #5B21B6; border: 1px solid #DDD6FE; }
.lifecycle-arrow {
  padding: 0 0.5rem; color: var(--text-muted);
  font-size: 0.75rem;
}

/* ===== TECHNICAL SPECS ===== */
.spec-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.spec-table thead th {
  background: var(--primary); color: white;
  padding: 0.875rem 1.25rem; text-align: left;
  font-size: 0.825rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.spec-table td {
  padding: 0.875rem 1.25rem; font-size: 0.9rem;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.spec-table td:first-child { font-weight: 600; color: var(--text-dark); white-space: nowrap; }
code {
  font-family: 'Fira Code', 'Courier New', monospace;
  background: var(--bg-blue); color: var(--primary);
  padding: 0.15em 0.45em; border-radius: 4px;
  font-size: 0.85em; border: 1px solid #BFDBFE;
}
.api-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); margin-bottom: 1.5rem;
}
.api-card h3 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.api-method {
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.55rem;
  border-radius: 4px; letter-spacing: 0.05em; font-family: monospace;
}
.api-method.rest { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.api-method.soap { background: #FFF7ED; color: #9A3412; border: 1px solid #FED7AA; }
.api-endpoint {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.875rem; color: var(--text-muted);
  margin-bottom: 0.75rem; word-break: break-all;
}
.api-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 0.875rem; overflow: hidden; background: white;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer;
  background: white; transition: background 0.2s; user-select: none;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question h4 { margin: 0; font-size: 0.975rem; font-weight: 600; color: var(--text-dark); padding-right: 1rem; }
.faq-question i { color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem; max-height: 0;
  overflow: hidden; transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 1.5rem 1.5rem; }
.faq-answer p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-info-card h3 { margin-bottom: 0.75rem; }
.contact-info-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--bg-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon i { color: var(--primary); }
.contact-detail-text h4 { margin-bottom: 0.2rem; font-size: 0.875rem; }
.contact-detail-text p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.contact-form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-card h3 { margin-bottom: 0.5rem; }
.contact-form-card > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-group label .req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.925rem; font-family: inherit; color: var(--text-dark);
  background: var(--bg-light); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center; }

/* ===== ABOUT ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-intro .about-text p { color: var(--text-muted); font-size: 1rem; }
.about-list { list-style: none; margin-top: 1.5rem; }
.about-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: 0.875rem; font-size: 0.925rem;
}
.about-list li i { color: var(--primary-light); margin-top: 2px; flex-shrink: 0; }
.about-visual {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl); padding: 3rem 2.5rem; color: white;
  position: relative; overflow: hidden;
}
.about-visual::after {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
}
.about-stat {
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.about-stat:last-child { margin-bottom: 0; }
.about-stat-num { font-size: 2.75rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 0.25rem; }
.about-stat-num span { color: var(--accent); }
.about-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  text-align: center; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: white; transition: all 0.3s; box-shadow: var(--shadow);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.value-icon {
  font-size: 1.6rem; color: var(--primary);
  margin: 0 auto 1rem;
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: var(--bg-blue);
  display: flex; align-items: center; justify-content: center;
}
.value-card h3 { margin-bottom: 0.625rem; font-size: 1rem; }
.value-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-callout { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 0 64px; }
  .hero-stats { gap: 2rem; }
  .section { padding: 3.5rem 0; }
  .hiw-step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .feature-full { grid-template-columns: 1fr; }
  .dashboard-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dashboard-callout { padding: 2rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .trust-bar-inner { gap: 1.5rem; }
  .hero-stats { gap: 1.5rem; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
