/* ============================================================
   RideStack – Taxi App Development Company
   Custom CSS (supplementing Tailwind CDN)
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --primary:    #071B2E;
  --secondary:  #0E3150;
  --cta-blue:   #2F80FF;
  --teal:       #18C29C;
  --bg:         #F7FAFC;
  --text:       #111827;
  --border:     #DDE7F0;
  --white:      #FFFFFF;
  --muted:      #64748B;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 4px rgba(7,27,46,.08);
  --shadow-md:  0 4px 24px rgba(7,27,46,.12);
  --shadow-lg:  0 12px 40px rgba(7,27,46,.18);
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* overflow: clip does NOT create a scroll container so position:sticky still works */
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.hero-title { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; }
.section-subtitle { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--muted); line-height: 1.7; }

/* ---------- Sticky Header ---------- */
#site-header {
  position: fixed;           /* fixed always sticks — works with overflow:clip too */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;             /* above mobile nav (1001 when open) */
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition), background var(--transition);
}
#site-header.scrolled {
  background: rgba(7,27,46,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* Push page content down so it isn't hidden under the fixed header */
body { padding-top: 72px; }

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.site-logo .logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--cta-blue), var(--teal));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.site-logo .logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.site-logo .logo-text span { color: var(--cta-blue); }

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.primary-nav > li { list-style: none; position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-link .chevron {
  width: 14px; height: 14px;
  transition: transform var(--transition);
  opacity: 0.7;
}
.primary-nav > li:hover .nav-link .chevron { transform: rotate(180deg); }

/* Dropdowns */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}
.nav-dropdown.wide { min-width: 320px; columns: 2; column-gap: 0; }
.primary-nav > li:hover .nav-dropdown,
.primary-nav > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  break-inside: avoid;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: #EEF5FF; color: var(--cta-blue); }

/* Header CTA */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.08);
  transition: background var(--transition);
}
.menu-toggle:hover { background: rgba(255,255,255,.15); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;             /* above header (1000) so close btn is always visible */
  background: var(--primary);
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-inner { max-width: 480px; margin: 0 auto; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.mobile-close:hover {
  background: rgba(239,68,68,.25);
  border-color: rgba(239,68,68,.4);
  color: #fca5a5;
}

/* Mobile Nav Items */
.mobile-nav-section { margin-bottom: 1.25rem; }
.mobile-nav-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 0.75rem;
  color: rgba(255,255,255,.82);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.mobile-nav-group { margin-bottom: 0.75rem; }
.mobile-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0.75rem;
  color: rgba(255,255,255,.82);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  transition: background var(--transition);
}
.mobile-nav-group-toggle:hover { background: rgba(255,255,255,.1); }
.mobile-nav-group-toggle .chevron { transition: transform 0.2s; }
.mobile-nav-group.open .mobile-nav-group-toggle .chevron { transform: rotate(180deg); }
.mobile-nav-sub {
  display: none;
  padding: 0.25rem 0 0.25rem 0.75rem;
  margin-top: 0.25rem;
  border-left: 2px solid rgba(47,128,255,.3);
  margin-left: 0.75rem;
}
.mobile-nav-group.open .mobile-nav-sub { display: block; }
.mobile-nav-sub a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,.65);
  font-size: 0.875rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav-sub a:hover { color: #fff; background: rgba(255,255,255,.06); }
.mobile-nav-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(47,128,255,.35);
}
.btn-primary:hover {
  background: #1A6FE8;
  box-shadow: 0 6px 24px rgba(47,128,255,.45);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}
.btn-outline-dark {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline-dark:hover {
  border-color: var(--cta-blue);
  color: var(--cta-blue);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(24,194,156,.3);
}
.btn-teal:hover { background: #14a882; transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.9375rem 2rem; font-size: 1rem; }

/* ---------- Hero Section ---------- */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a2540 55%, #0d3264 100%);
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  padding: 5.5rem 0 4rem;
  width: 100%;
  max-width: 100%;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(47,128,255,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(24,194,156,.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47,128,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,128,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(47,128,255,.12);
  border: 1px solid rgba(47,128,255,.25);
  color: #7EB8FF;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--cta-blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.phone-frame {
  background: linear-gradient(145deg, #0f2744 0%, #122d52 100%);
  border: 2px solid rgba(47,128,255,.2);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05) inset;
  position: relative;
}
.phone-screen {
  background: linear-gradient(160deg, #0a1929, #0e2442);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/17;
  position: relative;
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: #071B2E;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Stats Strip */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; padding: 1.75rem 1rem; }
.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-number span { color: var(--cta-blue); }
.stat-label { font-size: 0.8125rem; color: var(--muted); margin-top: 0.375rem; font-weight: 500; }

/* ---------- Section Containers ---------- */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cta-blue);
  margin-bottom: 0.875rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(47,128,255,.2);
  transform: translateY(-3px);
}
.card-dark {
  background: var(--secondary);
  border-color: rgba(255,255,255,.07);
}
.card-dark:hover { border-color: rgba(47,128,255,.3); }

.icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-box-blue { background: rgba(47,128,255,.1); color: var(--cta-blue); }
.icon-box-teal { background: rgba(24,194,156,.1); color: var(--teal); }
.icon-box-purple { background: rgba(139,92,246,.1); color: #8B5CF6; }
.icon-box-orange { background: rgba(249,115,22,.1); color: #F97316; }

/* ---------- Feature Rows (alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-row.reverse > :first-child { order: 2; }
.feature-row.reverse > :last-child { order: 1; }
@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse > :first-child { order: unset; }
  .feature-row.reverse > :last-child { order: unset; }
}

/* ---------- Process Steps ---------- */
.process-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cta-blue), transparent);
}
.process-step:last-child::before { display: none; }
.step-number {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta-blue), #5BA3FF);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(47,128,255,.3);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.star-rating { display: flex; gap: 2px; color: #F59E0B; }
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
  margin: 1rem 0 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta-blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.author-title { font-size: 0.8rem; color: var(--muted); }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(47,128,255,.3); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: background var(--transition);
  cursor: pointer;
}
.faq-question:hover { background: #F8FBFF; }
.faq-item.open .faq-question { color: var(--cta-blue); background: #F8FBFF; }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--cta-blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4B5563;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2d5a 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(47,128,255,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(47,128,255,.12);
}
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }

/* ---------- Tags / Badges ---------- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-blue { background: rgba(47,128,255,.1); color: var(--cta-blue); }
.tag-teal { background: rgba(24,194,156,.1); color: var(--teal); }
.tag-green { background: rgba(34,197,94,.1); color: #16A34A; }

/* ---------- Footer ---------- */
#site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
}
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 4rem 0 3rem;
}
.footer-logo-area { margin-bottom: 1.5rem; }
.footer-description {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}
.footer-col-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item svg { flex-shrink: 0; color: var(--cta-blue); margin-top: 2px; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,.4); }
.social-links { display: flex; gap: 0.5rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--cta-blue); color: #fff; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0a2540 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(47,128,255,.1), transparent 70%);
  pointer-events: none;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}
.page-hero-breadcrumb a { transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.3); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.125rem; line-height: 1.75; max-width: 620px; }

/* ---------- Tabs ---------- */
.tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--cta-blue); border-bottom-color: var(--cta-blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Blog ---------- */
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  overflow: hidden;
  position: relative;
}
.blog-card-body { padding: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: 0.875rem; font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.625rem; color: var(--text); }
.blog-card h3:hover { color: var(--cta-blue); }
.blog-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ---------- Blog Pagination ---------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.nav-links { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.page-numbers:hover {
  background: var(--cta-blue);
  border-color: var(--cta-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47,128,255,0.3);
}
.page-numbers.current {
  background: linear-gradient(135deg, var(--cta-blue), var(--teal));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(47,128,255,0.4);
}
.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.page-numbers.prev,
.page-numbers.next {
  padding: 0 1.1rem;
  background: linear-gradient(135deg, var(--cta-blue), var(--teal));
  border-color: transparent;
  color: #fff;
  letter-spacing: 0.02em;
}
.page-numbers.prev:hover,
.page-numbers.next:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(47,128,255,0.35);
}

/* ---------- Divider Utilities ---------- */
.divider { width: 60px; height: 4px; background: linear-gradient(to right, var(--cta-blue), var(--teal)); border-radius: 2px; margin: 1rem 0 1.75rem; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Check List ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232F80FF'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23EEF5FF'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%232F80FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--cta-blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: linear-gradient(135deg, rgba(47,128,255,.06), rgba(24,194,156,.06));
  border: 1px solid rgba(47,128,255,.15);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ============================================================
   RESPONSIVE SYSTEM
   Breakpoints: 1200 | 1024 | 900 | 768 | 640 | 480 | 375
   ============================================================ */

/* ---------- 1200px – Large Tablet / Small Desktop ---------- */
@media (max-width: 1200px) {
  .section-container { padding: 0 2rem; }
  .header-inner { padding: 0 1.25rem; gap: 1.25rem; }
  .hero-mockup { max-width: 440px; }
}

/* ---------- 1100px – Compact Desktop ---------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 0; }
  .nav-link { padding: 0.5rem 0.5rem; font-size: 0.825rem; }
  .header-ctas .btn { padding: 0.45rem 0.875rem; font-size: 0.8rem; }
}

/* ---------- 1024px – Tablet (iPad Pro etc.) → Switch to Mobile Nav ---------- */
@media (max-width: 1024px) {
  /* Switch to hamburger on all tablets */
  .primary-nav  { display: none !important; }
  .header-ctas  { display: none !important; }
  .menu-toggle  { display: flex !important; margin-left: auto; }
  .mobile-nav   { display: block; }

  /* Header */
  .header-inner { height: 66px; padding: 0 1.25rem; gap: 1.25rem; }
  body { padding-top: 66px; }

  /* Hero */
  .hero-section    { padding: 4rem 0 3rem; }
  .hero-mockup     { max-width: 380px; }
  .phone-frame     { max-width: 220px !important; }
  .hero-float-card { display: none !important; }
  .section-header  { margin-bottom: 2.5rem; }
  .footer-top      { padding: 3rem 0 2.5rem; }
}

/* ---------- 768px – Tablet Portrait ---------- */
@media (max-width: 768px) {
  /* Section spacing */
  .section-container { padding: 0 1.25rem; }
  .py-16  { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .py-20  { padding-top: 4rem !important;   padding-bottom: 4rem !important; }

  /* Hero */
  .hero-section  { padding: 3.5rem 0 2.5rem; }
  .hero-visual   { display: none !important; }   /* hide entire visual column */
  .hero-float-card { display: none !important; } /* belt-and-suspenders */
  .hero-content  { text-align: center; }
  .hero-content .flex.items-center { justify-content: center; }
  .hero-content .flex.flex-wrap   { justify-content: center; }

  /* Stats strip – 2 columns */
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Feature rows */
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse > :first-child { order: unset; }
  .feature-row.reverse > :last-child  { order: unset; }

  /* Page hero */
  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero p { font-size: 1rem; }

  /* Footer – stack columns */
  .footer-top .grid { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-description { max-width: 100%; }

  /* Cards grid – max 2 cols */
  .grid.lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid.lg\:grid-cols-4 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Contact form */
  .contact-form-wrap { padding: 1.75rem 1.25rem; }
  .contact-info-card { padding: 1.5rem; }

  /* Blog */
  .blog-card-img { aspect-ratio: 16/7; }

  /* Article sidebar – move below article on mobile */
  .article-sidebar { position: static; top: auto; margin-top: 2.5rem; }

  /* Pagination */
  .page-numbers { min-width: 36px; height: 36px; font-size: 0.875rem; }
}

/* ---------- 640px – Large Mobile ---------- */
@media (max-width: 640px) {
  /* Base */
  html { font-size: 15px; }
  .section-container { padding: 0 1rem; }

  /* Header */
  #site-header .header-inner { height: 60px; padding: 0 1rem; }
  body { padding-top: 60px; }
  .site-logo img { height: 34px !important; }

  /* Hero */
  .hero-section { padding: 3rem 0 2rem; }
  .hero-title  { font-size: clamp(1.85rem, 7vw, 2.75rem); }
  .hero-badge  { font-size: 0.75rem; padding: 0.3rem 0.75rem; }
  .btn-lg      { padding: 0.85rem 1.5rem; font-size: 0.9375rem; }
  .hero-content .flex.flex-wrap { gap: 0.75rem; }

  /* Stats strip – 2 columns */
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-number { font-size: 1.75rem; }
  .stat-item   { padding: 1.25rem 0.75rem; }

  /* Section */
  .section-header { margin-bottom: 2rem; }
  .section-title  { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* All 3-col grids → single column */
  .grid.lg\:grid-cols-3,
  .grid.md\:grid-cols-3 { grid-template-columns: 1fr !important; }

  /* Cards */
  .card { padding: 1.25rem; }
  .testimonial-card { padding: 1.5rem; }

  /* Footer – full single column */
  .footer-top .grid { grid-template-columns: 1fr !important; gap: 1.75rem !important; }
  .footer-top { padding: 2.5rem 0 2rem; }

  /* Page hero */
  .page-hero { padding: 2.5rem 0 2rem; }

  /* Contact */
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.25rem 1rem; }
  .demo-section-box { padding: 1.5rem; }

  /* Blog cards */
  .grid.md\:grid-cols-2,
  .grid.lg\:grid-cols-3 { grid-template-columns: 1fr !important; }

  /* Process steps */
  .process-step { gap: 1rem; }

  /* FAQ */
  .faq-question { padding: 1rem 1.25rem; font-size: 0.9375rem; }

  /* Pagination */
  .nav-links { gap: 0.35rem; }
  .page-numbers { min-width: 34px; height: 34px; font-size: 0.8125rem; padding: 0 0.5rem; }
  .page-numbers.prev, .page-numbers.next { padding: 0 0.875rem; font-size: 0.8125rem; }

  /* Author bio */
  .author-bio-card { flex-direction: column; gap: 0.875rem; }

  /* Step boxes */
  .step-box { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }

  /* Overflow protection */
  .hero-section, section, .page-hero { overflow-x: hidden; }
}

/* ---------- 480px – Medium Mobile ---------- */
@media (max-width: 480px) {
  html { font-size: 14.5px; }
  .section-container { padding: 0 0.875rem; }

  /* Header */
  .header-inner { height: 56px; }
  body { padding-top: 56px; }

  /* Hero */
  .hero-section { padding: 2.5rem 0 2rem; }
  .hero-title  { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .btn-lg { padding: 0.8rem 1.25rem; font-size: 0.9rem; }
  .hero-content .flex.flex-wrap { flex-direction: column; align-items: center; }
  .hero-content .flex.items-center { flex-direction: column; gap: 0.5rem; }

  /* Stats */
  .stat-number { font-size: 1.6rem; }

  /* Cards */
  .card { padding: 1rem; }

  /* Tabs */
  .tab-btn { padding: 0.75rem 0.875rem; font-size: 0.875rem; }

  /* Reassurance strips */
  .reassurance-strip { padding: 0.875rem 1rem; }

  /* Trust badges – stack */
  .trust-badge { flex-direction: column; text-align: center; padding: 1rem; }

  /* Callout */
  .article-callout { padding: 1.25rem; }
  .key-takeaways-box { padding: 1.25rem; }
}

/* ---------- 375px – Small Mobile ---------- */
@media (max-width: 375px) {
  html { font-size: 14px; }
  .section-container { padding: 0 0.75rem; }
  .hero-title { font-size: clamp(1.5rem, 9vw, 1.85rem); }
  .section-title { font-size: clamp(1.35rem, 7.5vw, 1.75rem); }
  .btn { padding: 0.65rem 1rem; font-size: 0.875rem; }
  .btn-lg { padding: 0.75rem 1.1rem; font-size: 0.875rem; }
  .stat-number { font-size: 1.5rem; }
  .card { padding: 0.875rem; }
  .footer-top { padding: 2rem 0 1.5rem; }
  .page-hero { padding: 2rem 0 1.75rem; }
  .faq-question { padding: 0.875rem 1rem; font-size: 0.875rem; }
  .page-numbers { min-width: 30px; height: 30px; font-size: 0.75rem; }
}

/* ---------- Utility overrides ---------- */
.overflow-x-hidden { overflow-x: hidden; }
.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; }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
  .fade-up.visible { opacity: 1; transform: none; }
}

/* ========== Contact Page Styles ========== */

/* Success Message - hidden by default */
.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
  background: #F0FFF9;
  border: 1px solid rgba(24,194,156,.2);
  border-radius: var(--radius);
}
.success-msg.show { display: block; }
.success-check {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

/* Contact Form Wrap */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

/* Form Grid (2-column) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(47,128,255,.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #9CA3AF; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
}
.required { color: #EF4444; }

/* Contact Info Card (dark sidebar) */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0;
}
.contact-detail-item + .contact-detail-item {
  border-top: 1px solid rgba(255,255,255,.07);
}
.contact-detail-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(47,128,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-detail-value {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.contact-detail-value a {
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.contact-detail-value a:hover { color: #fff; }

/* Reassurance Strips */
.reassurance-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow var(--transition);
}
.reassurance-strip:hover { box-shadow: var(--shadow-sm); }
.reassurance-strip-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reassurance-text-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.reassurance-text-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Office Cards */
.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow var(--transition);
}
.office-card:hover { box-shadow: var(--shadow-sm); }
.office-country {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.office-address {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Demo Section Box */
.demo-section-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0a2540 55%, #0d3264 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: box-shadow var(--transition), transform var(--transition);
}
.trust-badge:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ========== Blog Article Styles ========== */

/* Article typography */
.article-body h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #071B2E;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #071B2E;
  margin: 2rem 0 0.75rem;
}
.article-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #071B2E;
  margin: 1.75rem 0 0.6rem;
}
.article-body p {
  color: #374151;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.article-body ul li {
  list-style: disc;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}
.article-body ol li {
  list-style: decimal;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}
.article-body strong {
  color: #071B2E;
  font-weight: 600;
}
.article-body a {
  color: #2F80FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: #1a6cee;
}
.article-body blockquote {
  border-left: 4px solid #2F80FF;
  background: #F0F6FF;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p {
  color: #1e3a5f;
  font-style: italic;
  margin: 0;
  font-size: 1.05rem;
}

/* Article Callout */
.article-callout {
  background: linear-gradient(135deg, #071B2E 0%, #0E3150 100%);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  color: #fff;
}
.article-callout p {
  color: rgba(255,255,255,0.8) !important;
  margin: 0.5rem 0 0;
  font-size: 0.975rem !important;
}
.article-callout .callout-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Key Takeaways Box */
.key-takeaways-box {
  background: linear-gradient(135deg, #EEF5FF 0%, #E8F4F0 100%);
  border: 1px solid rgba(47,128,255,0.2);
  border-radius: 16px;
  padding: 2rem 2rem 1.5rem;
  margin-bottom: 2rem;
}
.key-takeaways-box h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #071B2E;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.key-takeaways-box ul {
  margin: 0;
  padding-left: 1.25rem;
}
.key-takeaways-box ul li {
  list-style: disc;
  color: #1e3a5f;
  line-height: 1.75;
  margin-bottom: 0.6rem;
  font-size: 0.9625rem;
}
.key-takeaways-box ul li:last-child {
  margin-bottom: 0;
}

/* Table of Contents */
.toc-box {
  background: #F7FAFC;
  border: 1px solid #DDE7F0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 2.5rem;
}
.toc-box h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #071B2E;
  margin-bottom: 1rem;
}
.toc-box ol {
  margin: 0;
  padding-left: 1.25rem;
}
.toc-box ol li {
  margin-bottom: 0.45rem;
}
.toc-box ol li a {
  color: #2F80FF;
  font-size: 0.9375rem;
  text-decoration: none;
  font-weight: 500;
}
.toc-box ol li a:hover {
  text-decoration: underline;
}

/* Author Bio */
.author-bio-card {
  background: #F7FAFC;
  border: 1px solid #DDE7F0;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.author-bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2F80FF, #18C29C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-bio-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #071B2E;
  margin-bottom: 0.2rem;
}
.author-bio-role {
  font-size: 0.8125rem;
  color: #6B7280;
  margin-bottom: 0.75rem;
}
.author-bio-text {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.7;
}

/* Related Post Cards */
.related-post-card {
  background: #fff;
  border: 1px solid #DDE7F0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.related-post-card:hover {
  box-shadow: 0 8px 28px rgba(7,27,46,0.1);
  transform: translateY(-3px);
}
.related-post-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.related-post-body {
  padding: 1.25rem;
}
.related-post-tag {
  display: inline-block;
  background: rgba(47,128,255,0.1);
  color: #2F80FF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}
.related-post-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #071B2E;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.related-post-meta {
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.share-bar-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid #DDE7F0;
  background: #fff;
  color: #071B2E;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.share-btn:hover {
  background: #F7FAFC;
  border-color: #b8cdd8;
}

/* Sidebar Sticky */
.article-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-box {
  background: #fff;
  border: 1px solid #DDE7F0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.sidebar-box-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #071B2E;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #DDE7F0;
}
.sidebar-tag {
  display: inline-block;
  background: #F0F6FF;
  color: #2F80FF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 0 4px 6px 0;
}
.blog-tag {
  display: inline-block;
  background: rgba(47,128,255,0.1);
  color: #2F80FF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Step Boxes */
.step-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, #071B2E 0%, #0E3150 100%);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0 1.5rem;
  scroll-margin-top: 90px;
}
.step-box-number {
  background: linear-gradient(135deg, #2F80FF, #18C29C);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-box-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 0.35rem !important;
}
.step-box-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
  line-height: 1.6;
}

/* Article Tables */
.article-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0 2rem;
  border-radius: 12px;
  border: 1px solid #DDE7F0;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.article-table thead {
  background: linear-gradient(135deg, #071B2E 0%, #0E3150 100%);
}
.article-table thead th {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.875rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}
.article-table tbody td {
  padding: 0.875rem 1.25rem;
  color: #374151;
  line-height: 1.6;
  border-top: 1px solid #EEF2F7;
  vertical-align: top;
}
.article-table tbody tr:nth-child(even) {
  background: #F9FBFD;
}
.article-table tbody tr:hover {
  background: #F0F6FF;
}
.article-table tbody td strong {
  color: #071B2E;
  font-weight: 600;
}

/* Enhanced TOC */
.toc-box ol {
  counter-reset: toc-counter;
  list-style: none;
}
.toc-box ol li {
  counter-increment: toc-counter;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  transition: background 0.15s;
}
.toc-box ol li:hover {
  background: #EEF5FF;
}
.toc-box ol li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2F80FF, #18C29C);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   Comparison Table (Why Choose Us)
───────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(7, 27, 46, 0.08);
  font-size: 0.9rem;
}

.comparison-table thead th {
  padding: 16px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  background: #071B2E;
  color: #fff;
  border: none;
}

.comparison-table thead th:first-child {
  text-align: left;
  background: #0E3150;
}

.comparison-table thead th:nth-child(2) {
  background: #2F80FF;
  position: relative;
}

.comparison-table thead th:nth-child(2)::after {
  content: '★ Recommended';
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.comparison-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #EDF2F7;
  text-align: center;
  color: #475569;
  font-weight: 500;
  vertical-align: middle;
  transition: background 0.15s;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: #FAFCFF;
}

.comparison-table .col-label {
  text-align: left;
  font-weight: 600;
  color: #1E293B;
  background: #F8FAFC;
  border-right: 2px solid #EDF2F7;
}

.comparison-table .highlight {
  background: #F0F6FF;
  font-weight: 600;
  color: #071B2E;
  border-left: 3px solid #2F80FF;
}

.comparison-table tbody tr:hover .highlight {
  background: #E6F0FF;
}

.check-green {
  color: #18C29C;
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 4px;
}

.cross-red {
  color: #EF4444;
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 4px;
}

.check-partial {
  color: #F59E0B;
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 10px;
  }
  .comparison-table thead th:nth-child(2)::after {
    display: none;
  }
}

/* ─────────────────────────────────────────
   Industry Cards (Homepage)
───────────────────────────────────────── */
.industry-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 27, 46, 0.12);
  border-color: transparent;
}

.industry-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-card:hover .industry-card-img img {
  transform: scale(1.06);
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 27, 46, 0.5) 100%);
  pointer-events: none;
}

.industry-card-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.industry-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #071B2E;
  margin-bottom: 0.4rem;
}

.industry-card-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.industry-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2F80FF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.industry-card:hover .industry-card-link {
  gap: 8px;
}

@media (max-width: 640px) {
  .industry-card-img {
    height: 160px;
  }
}

/* ─────────────────────────────────────────
   AI Features Section (Homepage)
───────────────────────────────────────── */
.ai-feature-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}

.ai-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2F80FF, #18C29C);
  opacity: 0;
  transition: opacity 0.25s;
}

.ai-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 27, 46, 0.1);
  border-color: transparent;
}

.ai-feature-card:hover::before {
  opacity: 1;
}

.ai-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ai-icon-blue {
  background: rgba(47, 128, 255, 0.1);
  color: #2F80FF;
}

.ai-icon-teal {
  background: rgba(24, 194, 156, 0.1);
  color: #18C29C;
}

.ai-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.ai-icon-orange {
  background: rgba(249, 115, 22, 0.1);
  color: #F97316;
}

.ai-icon-red {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.ai-feature-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #071B2E;
  margin-bottom: 0.5rem;
}

.ai-feature-desc {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ai-feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2F80FF;
  background: rgba(47, 128, 255, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ─────────────────────────────────────────
   HTML Sitemap Page
───────────────────────────────────────── */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sitemap-category {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.sitemap-category:hover {
  box-shadow: 0 4px 16px rgba(7, 27, 46, 0.08);
}

.sitemap-category-full {
  grid-column: 1 / -1;
}

.sitemap-category-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #071B2E;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #EDF2F7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sitemap-links li {
  padding: 0;
  margin: 0;
}

.sitemap-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.15s;
}

.sitemap-links li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #2F80FF;
  border-radius: 50%;
  flex-shrink: 0;
}

.sitemap-links li a:hover {
  color: #2F80FF;
  background: #F0F7FF;
}

.sitemap-links-blog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
}

@media (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-links-blog {
    grid-template-columns: 1fr;
  }
}
