/* ═══════════════════════════════════════════════════
   Acuity — Global Stylesheet
   Design reference: NextSmartShip.com
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Brand tokens ── */
:root {
  --blue:       #2563eb;
  --blue-dark:  #1d4ed8;
  --blue-light: #dbeafe;
  --blue-pale:  #eff6ff;
  --navy:       #0f172a;
  --dark:       #1e293b;
  --mid:        #475569;
  --muted:      #94a3b8;
  --border:     #e2e8f0;
  --bg-soft:    #f8fafc;
  --white:      #ffffff;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.06);
  --transition: .2s ease;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--mid); }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}
.nav-logo span.blue { color: var(--blue); }

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 24px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--blue-pale); color: var(--blue); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 200;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover { background: var(--blue-pale); color: var(--blue); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-toggle {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .2s, color .2s;
  line-height: 1.4;
  font-family: inherit;
}
.lang-toggle:hover { background: var(--blue); color: #fff; }

.nav-login {
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: all var(--transition);
}
.nav-login:hover { border-color: var(--blue); color: var(--blue); }

.btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; border-radius: 99px; transition: all var(--transition); border: none; font-size: .9rem; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 10px 22px;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.4); }
.btn-primary-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 28px;
  border-radius: var(--radius);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--blue);
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; transition: all .3s; }

/* Page offset for fixed nav */
.page-content { padding-top: 70px; }

/* ══════════════════════════════════════
   HERO SECTIONS
══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-home {
  padding: 120px 0 80px;
  text-align: left;
}
.hero-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-home h1 { color: #fff; margin-bottom: 20px; }
.hero-home p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 32px; }
.hero-home .hero-btns { justify-content: flex-start; }

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.stat-label { font-size: .875rem; color: var(--mid); margin-top: 6px; }
.stats-divider { width: 1px; background: var(--border); margin: 0 auto; }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--bg-soft); }
.section-blue { background: var(--blue-pale); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 580px; margin: 0 auto; color: var(--mid); }

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: .9rem; line-height: 1.7; }

/* ══════════════════════════════════════
   STEPS / HOW IT WORKS
══════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step:nth-child(even) .step-visual { order: -1; }

.step-num {
  font-size: 7rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: -10px;
}
.step h3 { font-size: 1.5rem; margin-bottom: 14px; }
.step p { font-size: 1rem; }

.step-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.step-mockup {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.step-mockup-header {
  background: var(--bg-soft);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--muted);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-body { padding: 20px; }

/* ══════════════════════════════════════
   TABLE (PRICING)
══════════════════════════════════════ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.pricing-table thead tr { background: var(--blue); color: #fff; }
.pricing-table thead th { padding: 18px 24px; text-align: left; font-size: 1rem; }
.pricing-table tbody tr { border-bottom: 1px solid var(--border); }
.pricing-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.pricing-table tbody td { padding: 16px 24px; font-size: .9rem; vertical-align: top; }
.pricing-table tbody td:first-child { font-weight: 600; color: var(--dark); }
.pricing-table tbody td:last-child { color: var(--blue); font-weight: 600; }

/* Pricing cards */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.price-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-light); }
.price-card .plan-name { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.price-card .price { font-size: 2.8rem; font-weight: 900; color: var(--dark); line-height: 1; }
.price-card .price-note { font-size: .85rem; color: var(--muted); margin-top: 6px; margin-bottom: 24px; }
.price-list { margin: 24px 0; space-y: 10px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; margin-bottom: 10px; }
.price-list .check { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.price-list .cross { color: var(--muted); flex-shrink: 0; margin-top: 2px; }

/* ══════════════════════════════════════
   INTEGRATION BADGES
══════════════════════════════════════ */
.integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integration-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  background: #fff;
}
.integration-item:hover { border-color: var(--blue); background: var(--blue-pale); transform: translateY(-2px); box-shadow: var(--shadow); }
.integration-icon { font-size: 2.2rem; margin-bottom: 10px; }
.integration-name { font-size: .875rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.integration-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
}
.status-live { background: #dcfce7; color: #16a34a; }
.status-beta { background: #fef9c3; color: #ca8a04; }
.status-soon { background: #dbeafe; color: #2563eb; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); }
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; }
.testi-text { font-size: .9rem; color: var(--mid); line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue);
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .875rem; color: var(--dark); }
.testi-role { font-size: .8rem; color: var(--muted); }

/* ══════════════════════════════════════
   FAQ (ACCORDION)
══════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-question .faq-icon { flex-shrink: 0; font-size: 1.2rem; transition: transform .3s; color: var(--blue); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-answer.open { max-height: 400px; padding: 0 0 20px; }
.faq-answer p { font-size: .9rem; }

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-white + .btn-white { margin-left: 12px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 240px repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand .logo-icon { width: 32px; height: 32px; background: var(--blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: .9rem; }
.footer-brand .brand-name { font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }

.footer-col h4 { font-size: .875rem; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--blue); }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.inner-hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.inner-hero h1 { color: #fff; margin-bottom: 16px; }
.inner-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ══════════════════════════════════════
   FEATURE LIST
══════════════════════════════════════ */
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; }
.feature-item .check { color: var(--blue); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }

/* ══════════════════════════════════════
   MAP SECTION
══════════════════════════════════════ */
.warehouse-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.warehouse-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  transition: all var(--transition);
}
.warehouse-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ══════════════════════════════════════
   ADDITIONAL SERVICES SLIDER
══════════════════════════════════════ */
.add-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.add-slider-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.add-slider-track.dragging { cursor: grabbing; transition: none; }

.add-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.add-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.add-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.add-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
}
.add-card-icon {
  font-size: 4rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.add-card-body { padding: 24px 24px 28px; }
.add-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.add-card-body p  { font-size: .875rem; line-height: 1.7; color: var(--mid); }
.add-card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap .2s;
}
.add-card-link:hover { text-decoration: underline; }

/* nav buttons */
.add-slider-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1.4rem;
  color: var(--dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  line-height: 1;
}
.add-slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.add-slider-btn:disabled { opacity: .35; cursor: default; }

/* dots */
.add-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.add-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .25s;
}
.add-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .add-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .add-card { flex: 0 0 calc(100% - 0px); }
  .add-slider-btn { display: none; }
}

/* ══════════════════════════════════════
   BLOG CARDS
══════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 24px; }
.blog-tag { display: inline-block; background: var(--blue-pale); color: var(--blue); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: .875rem; color: var(--mid); }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .8rem; color: var(--muted); }

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.text-blue  { color: var(--blue); }
.text-center{ text-align: center; }
.text-muted { color: var(--muted); }
.fw-900     { font-weight: 900; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes slideInLeft {
  from { opacity:0; transform:translateX(-30px); }
  to   { opacity:1; transform:translateX(0); }
}
.reveal { opacity:0; transform:translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-left { opacity:0; transform:translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible { opacity:1; transform:none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    gap: 4px;
  }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--blue-light);
    padding: 4px 0 4px 16px;
    margin: 4px 0;
    border-radius: 0;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .hero-home .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 32px; }
  .step:nth-child(even) .step-visual { order: 0; }
  .price-cards { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 80px 0 60px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════
   NAV DROPDOWN SCROLL INDICATOR
══════════════════════════════════════ */
.nav-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231e293b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .2s;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); }
