/* ============================================================
   VitranX — style.css
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #008fd7;
  --primary-dk: #0046B5;
  --primary-lt: #EBF2FF;
  --accent:     #2ECC40;
  --accent-dk:  #25A832;
  --accent-lt:  #EAFBEC;
  --dark:       #06101F;
  --dark2:      #0D1E38;
  --text:       #1A2233;
  --muted:      #5A6880;
  --light-bg:   #F4F7FF;
  --border:     #DDE5F0;
  --white:      #FFFFFF;
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 10px 40px rgba(0,87,217,.12);
  --shadow-sm:  0 4px 16px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .22s ease;
}
.btn-primary   { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline   { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white     { background: var(--white); color: var(--primary); }
.btn-white:hover { opacity: .92; transform: translateY(-2px); }
.btn-lg        { padding: 15px 38px; font-size: 16px; }

/* ── Section Helpers ── */
.section-tag {
  display: inline-block;
  background: var(--primary-lt);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

/* Logo image */
.site-logo-img { display: flex; align-items: center; }
.site-logo-img img { height: 44px; width: auto; display: block; }
.footer-logo-img { display: inline-flex; margin-bottom: 18px; }
.footer-logo-img img { height: 36px; width: auto; filter: brightness(0) invert(1); }

/* Legacy SVG logo (unused) */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}
.site-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.site-logo .logo-icon svg { width: 22px; height: 22px; fill: white; }
.logo-text span { color: var(--primary); }

/* Nav */
/*.main-nav { display: flex; align-items: center; gap: 8px; }*/
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--light-bg); color: var(--primary); }
.main-nav .btn-primary { padding: 9px 20px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav a { font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 8px; color: var(--text); }
.mobile-nav a:hover { background: var(--light-bg); color: var(--primary); }
.mobile-nav .btn-primary { margin-top: 8px; text-align: center; }
.mobile-nav.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  padding: 20px 24px 70px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff 55%, var(--primary-lt) 100%);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,87,217,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-lt);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 1.8s infinite; }
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-trust-item { display: flex; flex-direction: column; align-items: flex-start; }
.hero-trust-item .num { font-size: 24px; font-weight: 800; color: var(--dark); }
.hero-trust-item .lbl { font-size: 12px; color: var(--muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(0,87,217,.14); }
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  animation: floatY 3s ease-in-out infinite alternate;
}
.hero-card-1 { bottom: 24px; left: -24px; animation-delay: 0s; }
.hero-card-2 { top: 24px; right: -20px; animation-delay: .8s; }
.hero-card .card-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--primary-lt); display: flex; align-items: center; justify-content: center; }
.hero-card .card-icon svg { width: 16px; height: 16px; fill: var(--primary); }
.hero-card small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }

@keyframes floatY { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--light-bg); padding: 90px 24px; }
.how-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.how-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.steps { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.step-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.step-body p  { font-size: 14px; color: var(--muted); }

/* ============================================================
   FEATURES
   ============================================================ */
.features-section { padding: 90px 24px; }
.features-header { margin-bottom: 56px; }
.features-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.feature-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   TRACKING
   ============================================================ */
.tracking-section { background: var(--light-bg); padding: 90px 24px; }
.tracking-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.tracking-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tracking-text .perks { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.perk { display: flex; align-items: flex-start; gap: 12px; }
.perk-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.perk-icon svg { width: 14px; height: 14px; fill: white; }
.perk-body strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.perk-body span   { font-size: 13px; color: var(--muted); }

/* ============================================================
   DISPATCH
   ============================================================ */
.dispatch-section { padding: 90px 24px; }
.dispatch-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.dispatch-img { order: 2; }
.dispatch-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.dispatch-text { order: 1; }
.dispatch-text .section-sub { margin-bottom: 14px; }
.dispatch-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat-item .num { font-size: 30px; font-weight: 800; color: var(--primary); }
.stat-item .lbl { font-size: 13px; color: var(--muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 70px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 12px; position: relative; }
.cta-banner p  { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 32px; position: relative; }
.cta-banner .btn-white { position: relative; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 90px 24px; }
.faq-inner   { max-width: 820px; margin: 0 auto; }
.faq-header  { margin-bottom: 48px; }
.faq-list    { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}
.faq-question .faq-arrow {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .3s;
  font-size: 16px; color: var(--primary);
}
.faq-item.open .faq-arrow { background: var(--primary); color: var(--white); transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s;
  padding: 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 220px; padding: 0 24px 22px; }

/* ============================================================
   DEMO FORM
   ============================================================ */
.demo-section {
  background: var(--dark2);
  padding: 90px 24px;
}
.demo-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.demo-text h2 { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.demo-text p  { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 28px; }
.demo-perks   { display: flex; flex-direction: column; gap: 12px; }
.demo-perk    { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.demo-perk::before {
  content: '✓';
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.demo-form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.demo-form-wrap h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.form-row { display: flex; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.form-group input,
.form-group select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border .2s;
  width: 100%;
}
.form-group input::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group select option { background: var(--dark2); }
.demo-form-wrap .btn-primary { width: 100%; padding: 14px; font-size: 15px; text-align: center; border-radius: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--dark);
  padding: 64px 24px 28px;
}
.footer-top {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact li svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--primary); margin-top: 2px; }
.footer-contact li a, .footer-contact li span { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.5; }
.footer-contact li a:hover { color: var(--white); }
.footer-brand .footer-logo-img { margin-bottom: 18px; display: inline-flex; }


.footer-brand p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.75; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: 15px;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--primary); color: var(--white); }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom a { font-size: 13px; color: rgba(255,255,255,.45); margin-left: 20px; }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner, .how-inner, .tracking-inner, .dispatch-inner, .demo-inner { grid-template-columns: 1fr; }
  .dispatch-img { order: 0; }
  .hero-title { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 28px; }
  .cta-banner h2 { font-size: 26px; }
  .form-row { flex-direction: column; }
  .hero-card { display: none; }
  .dispatch-stats { gap: 20px; }
  .demo-inner { gap: 40px; }
  .demo-form-wrap { padding: 24px 20px; }
}

/* ============================================================
   PAGE HERO (used on Contact / Features / Pricing inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,87,217,.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  position: relative;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  line-height: 1.7;
}

/* ============================================================
   FEATURES PAGE — Vertical tabs / category showcase
   ============================================================ */
.fcat-section { padding: 90px 24px; }
.fcat-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fcat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all .25s ease;
}
.fcat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.fcat-card .fcat-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.fcat-card .fcat-icon svg { width: 26px; height: 26px; fill: white; }
.fcat-card h4 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.fcat-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.fcat-card a.fcat-link { font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.fcat-card a.fcat-link:hover { gap: 10px; }

/* Feature detail rows (alternating image/text like DTDC key features) */
.fdetail-section { background: var(--light-bg); padding: 90px 24px; }
.fdetail-row {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 50px 0;
}
.fdetail-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.fdetail-row.reverse .fdetail-img { order: 2; }
.fdetail-row.reverse .fdetail-text { order: 1; }
.fdetail-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.fdetail-text .num-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary-lt); color: var(--primary);
  border-radius: 10px; font-weight: 800; font-size: 15px;
  margin-bottom: 16px;
}
.fdetail-text h3 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.fdetail-text p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }
.fdetail-text ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.fdetail-text ul li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.fdetail-text ul li::before {
  content: '✓'; width: 20px; height: 20px; flex-shrink: 0;
  background: var(--primary); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
}

/* Small feature tiles strip (icon + title + 1 line, like DTDC key features grid) */
.ftiles-section { padding: 90px 24px; }
.ftiles-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.ftile {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.ftile:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.ftile .ftile-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
}
.ftile .ftile-icon svg { width: 26px; height: 26px; fill: var(--primary); }
.ftile h5 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.ftile p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-toggle-wrap { display: flex; justify-content: center; margin: 36px 0 56px; }
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 5px;
  gap: 4px;
}
.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  position: relative;
}
.pricing-toggle button.active { background: var(--primary); color: white; }
.pricing-toggle .save-badge {
  position: absolute; top: -10px; right: -6px;
  background: #16a34a; color: white;
  font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 8px;
  white-space: nowrap;
}

.pricing-section { padding: 0 24px 90px; }
.pricing-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .25s ease;
}
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.price-card.featured { border: 2px solid var(--primary); background: linear-gradient(180deg, #fff 0%, var(--primary-lt) 100%); }
.price-card .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  font-size: 11px; font-weight: 700;
  padding: 5px 16px; border-radius: 20px;
  white-space: nowrap;
}
.price-card .plan-name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.price-card .plan-tagline { font-size: 13px; color: var(--muted); margin-bottom: 22px; min-height: 36px; }
.price-card .plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-card .plan-price .amount { font-size: 38px; font-weight: 800; color: var(--dark); }
.price-card .plan-price .period { font-size: 13px; color: var(--muted); }
.price-card .plan-cost-note { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.price-card .btn { width: 100%; text-align: center; margin-bottom: 26px; }
.price-card .plan-features { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card .plan-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: var(--text); line-height: 1.5;
}
.price-card .plan-features li::before {
  content: '✓'; flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--primary-lt); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; margin-top: 1px;
}
.price-card.featured .plan-features li::before { background: var(--primary); color: white; }

/* Essentials strip (icons row, like Shiprocket "all plans include") */
.essentials-section { background: var(--dark2); padding: 70px 24px; }
.essentials-header { text-align: center; margin-bottom: 48px; }
.essentials-header h2 { color: var(--white); }
.essentials-header p { color: rgba(255,255,255,.55); }
.essentials-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.essential-item { text-align: center; }
.essential-item .e-icon {
  width: 50px; height: 50px; margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(0,87,217,.14);
  display: flex; align-items: center; justify-content: center;
}
.essential-item .e-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.essential-item h5 { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); }

/* Comparison table */
.compare-section { padding: 90px 24px; }
.compare-table-wrap { max-width: 1160px; margin: 0 auto; overflow-x: auto; }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare-table th, table.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
table.compare-table th { background: var(--light-bg); font-weight: 700; color: var(--dark); }
table.compare-table th:first-child, table.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text); }
table.compare-table td.yes { color: var(--primary); font-weight: 700; }
table.compare-table td.no { color: var(--border); }
table.compare-table tr:hover td { background: var(--light-bg); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 90px 24px; }
.contact-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}
.contact-info-card h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-info-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.contact-method {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-method:first-of-type { border-top: none; }
.contact-method .cm-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-method .cm-icon svg { width: 20px; height: 20px; fill: white; }
.contact-method strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 3px; }
.contact-method span, .contact-method a { font-size: 13.5px; color: var(--muted); display: block; }
.contact-method a:hover { color: var(--primary); }
.contact-social { display: flex; gap: 10px; margin-top: 26px; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.contact-form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.contact-form-card .form-group label { color: var(--text); }
.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
  transition: border .2s;
}
.contact-form-card .form-group input::placeholder,
.contact-form-card .form-group textarea::placeholder { color: var(--muted); }
.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus { border-color: var(--primary); }
.contact-form-card .form-group textarea { resize: vertical; min-height: 120px; }
.contact-form-card .btn-primary { width: auto; padding: 13px 36px; }

/* Office locations */
.offices-section { background: var(--light-bg); padding: 80px 24px; }
.offices-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.office-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.office-card .city-tag { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.office-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.office-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.office-card .office-meta { font-size: 13px; color: var(--text); font-weight: 500; }

/* Map embed placeholder */
.map-section { padding: 0; }
.map-section iframe, .map-section .map-placeholder {
  width: 100%; height: 420px; border: none; display: block;
  background: var(--light-bg);
}
.map-placeholder { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }

/* ============================================================
   RESPONSIVE — additions for new pages
   ============================================================ */
@media (max-width: 980px) {
  .fcat-grid { grid-template-columns: repeat(2, 1fr); }
  .ftiles-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .essentials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .fdetail-row, .fdetail-row.reverse { grid-template-columns: 1fr; }
  .fdetail-row.reverse .fdetail-img,
  .fdetail-row.reverse .fdetail-text { order: 0; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 640px) {
  .fcat-grid, .ftiles-grid, .pricing-grid, .essentials-grid { grid-template-columns: 1fr; }
  .pricing-toggle button { padding: 8px 16px; font-size: 13px; }
  .page-hero { padding: 48px 20px 40px; }
  .page-hero h1 { font-size: 26px; }
}

/* ============================================================
   LEGAL PAGES (Privacy Policy / Terms & Conditions)
   ============================================================ */
.legal-section { padding: 70px 24px 100px; }
.legal-wrap { max-width: 800px; }
.legal-intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-wrap h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 14px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-wrap ul {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-wrap ul li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  padding-left: 22px;
  position: relative;
}
.legal-wrap ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.legal-wrap a { color: var(--primary); font-weight: 600; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-contact-list li { padding-left: 0; }
.legal-contact-list li::before { display: none; }

@media (max-width: 640px) {
  .legal-section { padding: 50px 20px 70px; }
  .legal-wrap h2 { font-size: 18px; }
}

/* ============================================================
   HEADER — DESKTOP SUBMENU
   ============================================================ */

/* Desktop navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 9px;
  opacity: .55;
  transition: transform .25s ease, opacity .25s;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Desktop dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;

  transform: translateX(-50%) translateY(6px);

  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 16px 48px rgba(0,87,217,.13);

  padding: 8px;
  min-width: 230px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility .22s;

  z-index: 600;
  white-space: nowrap;
}

.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown arrow */
.submenu::before {
  content: '';
  position: absolute;

  top: -7px;
  left: 50%;

  transform: translateX(-50%);

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--border);
}

.submenu::after {
  content: '';
  position: absolute;

  top: -6px;
  left: 50%;

  transform: translateX(-50%);

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ffffff;
}

.submenu-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;

  color: var(--muted);

  padding: 8px 12px 4px;
}

.submenu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 0;
}

.submenu a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 9px 12px;

  border-radius: 9px;

  font-size: 13.5px;
  font-weight: 500;

  color: var(--text);
  background: none;

  transition: background .18s, color .18s;
}

.submenu a:hover {
  background: var(--primary-lt);
  color: var(--primary);
}

.sm-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;

  border-radius: 8px;

  background: var(--primary-lt);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background .18s;
}

.sm-icon svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: var(--primary);

  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submenu a:hover .sm-icon {
  background: var(--primary);
}

.submenu a:hover .sm-icon svg {
  stroke: #ffffff;
}


/* ============================================================
   MOBILE SUBMENU
   ============================================================ */

.mobile-nav .mob-nav-item {
  display: flex;
  flex-direction: column;
}

.mob-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  font-size: 15px;
  font-weight: 500;

  padding: 10px 14px;

  border-radius: 8px;

  color: var(--text);

  cursor: pointer;
  user-select: none;

  transition: background .2s, color .2s;
}

.mob-nav-toggle:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.mob-arrow {
  font-size: 10px;

  opacity: .5;

  transition:
    transform .3s ease,
    opacity .3s;
}

.mob-nav-item.open .mob-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* IMPORTANT:
   Mobile submenu default hidden
*/
.mobile-submenu {
  display: none;

  flex-direction: column;

  gap: 2px;

  padding: 4px 0 6px 14px;

  width: 100%;
}

/* Only JS-open item will show */
.mob-nav-item.open > .mobile-submenu {
  display: flex;
}

.mobile-submenu a {
  display: block;

  width: 100%;

  font-size: 13.5px;
  font-weight: 500;

  color: var(--muted);

  padding: 8px 14px;

  border-radius: 8px;
}

.mobile-submenu a:hover {
  background: var(--primary-lt);
  color: var(--primary);
}


/* ============================================================
   MOBILE BREAKPOINT
   ============================================================ */

@media (max-width: 640px) {

  /* Desktop menu completely hidden */
  .main-nav {
    display: none !important;
  }

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  /* Mobile menu */
  .mobile-nav {
    display: none;
    flex-direction: column;

    gap: 4px;

    padding: 16px 24px 20px;

    border-top: 1px solid var(--border);

    background: var(--white);
  }

  .mobile-nav.open {
    display: flex;
  }

  /* Mobile normal links */
  .mobile-nav > a {
    font-size: 15px;
    font-weight: 500;

    padding: 10px 14px;

    border-radius: 8px;

    color: var(--text);
  }

  .mobile-nav > a:hover {
    background: var(--light-bg);
    color: var(--primary);
  }

  /* Mobile submenu parent */
  .mobile-nav .mob-nav-item {
    width: 100%;
  }

  /* Mobile submenu toggle */
  .mobile-nav .mob-nav-toggle {
    width: 100%;
  }

  /* Mobile submenu */
  .mobile-nav .mobile-submenu {
    display: none;
  }

  /* Open submenu */
  .mobile-nav .mob-nav-item.open > .mobile-submenu {
    display: flex;
  }

  /* Mobile submenu links */
  .mobile-nav .mobile-submenu a {
    width: 100%;
  }

  /* Button */
  .mobile-nav .btn-primary {
    margin-top: 8px;
    text-align: center;
  }
}