/* Shared visual polish and elegant design system for tallysolutions-me.com */
:root {
  --tz-primary: #0066cc;
  --tz-primary-dark: #004c99;
  --tz-navy: #070d24;
  --tz-gold: #f59e0b;
  --tz-success: #10b981;
  --tz-bg: #f8fafc;
  --tz-card: #ffffff;
  --tz-text: #0f172a;
  --tz-muted: #475569;
  --tz-border: #e2e8f0;
  --tz-shadow: 0 10px 30px rgba(7, 13, 36, 0.06);
  --tz-shadow-lg: 0 20px 50px rgba(7, 13, 36, 0.12);
  --tz-radius: 20px;
  --tz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.05), transparent 400px),
              radial-gradient(circle at 90% 90%, rgba(0, 102, 204, 0.05), transparent 400px),
              var(--tz-bg) !important;
  color: var(--tz-text);
  font-family: 'Inter', 'Outfit', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Fluid Typography */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.04em; color: var(--tz-navy); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; color: var(--tz-navy); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--tz-navy); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.3; font-weight: 600; color: var(--tz-navy); }
p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--tz-muted); margin-bottom: 1.2rem; }

a {
  transition: var(--tz-transition);
  text-decoration: none;
}

/* Layout Containers */
main, .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.top-wrapper {
  position: sticky;
  top: 0;
  z-index: 1100;
}

/* Topbar & Header */
.topbar, .top-wrapper .topbar {
  background: linear-gradient(90deg, #070d24, #111827) !important;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1.5rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 1100;
}
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.topbar-left { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.topbar-left .label, .topbar-left span.label { font-weight: 700; color: var(--tz-gold); }
.topbar-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem; }
.topbar-right a { color: #fff; font-weight: 600; font-size: 0.85rem; white-space: nowrap; text-decoration: none; transition: var(--tz-transition); }
.topbar-right a:hover { color: var(--tz-gold); }
.topbar-right a.call { color: #00ff8a; }
.topbar-right a.whatsapp { color: #25d366; }

header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 25px rgba(7, 13, 36, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.nav { max-width: 1200px; margin: 0 auto; padding: 0.6rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.nav-left { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo { border-radius: 12px; background: #fff; padding: 2px; height: 45px; width: auto; object-fit: contain; }
.nav-title { color: var(--tz-navy) !important; font-weight: 800 !important; font-size: 0.9rem; line-height: 1.2; }

/* Touch-Friendly Navigation Targets */
.nav-menu { display: flex; align-items: center; gap: 1.4rem; font-size: 0.95rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-menu a, .nav-dropdown-toggle, .dropdown > a {
  color: var(--tz-navy) !important; font-weight: 600 !important; font-size: 0.95rem; padding: 0.5rem 0.8rem; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
}
.nav-menu a:hover, .nav-dropdown-toggle:hover, .dropdown > a:hover { color: var(--tz-primary) !important; }

/* Dropdown Menus */
.nav-dropdown, .dropdown { position: relative; display: inline-block; }
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; padding: 0.5rem 0.8rem; display: inline-flex; align-items: center; gap: 0.25rem; min-height: 44px;
}
.nav-dropdown-toggle::after { content: "▾"; font-size: 0.7rem; transform: translateY(1px); margin-left: 2px; }

.nav-dropdown-menu, .dropdown-menu {
  position: absolute; top: 100%; left: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px);
  border-radius: 16px; border: 1px solid var(--tz-border); box-shadow: var(--tz-shadow-lg) !important;
  padding: 0.6rem 0; min-width: 260px; display: none; z-index: 1500; list-style: none; margin: 0;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu, .dropdown:hover .dropdown-menu { display: block; }
.nav-dropdown-menu a, .dropdown-menu li a { display: block; padding: 0.7rem 1.5rem; color: var(--tz-text); font-size: 0.9rem; font-weight: 500; min-height: 44px; transition: var(--tz-transition); text-decoration: none; }
.nav-dropdown-menu a:hover, .dropdown-menu li a:hover { background: #f1f5f9; color: var(--tz-primary); padding-left: 1.8rem; }

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-top: 1rem;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--tz-muted); margin-bottom: 1.5rem; max-width: 38rem; line-height: 1.7; }
.hero-points { list-style: none; margin-bottom: 2rem; padding: 0; }
.hero-points li { font-size: 1.05rem; margin-bottom: 0.8rem; color: var(--tz-text); display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--tz-muted); }
.hero-illustration img { width: 100%; max-width: 560px; border-radius: 24px; box-shadow: var(--tz-shadow-lg); display: block; margin-inline: auto; object-fit: cover; }

/* Sections & Grids */
.section { margin-bottom: 4.5rem; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 0.6rem; color: var(--tz-navy); letter-spacing: -0.03em; }
.section-sub { font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--tz-muted); margin-bottom: 2.5rem; max-width: 48rem; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr); gap: 2.5rem; align-items: flex-start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.8rem; align-items: stretch; }

/* Buttons & Touch Targets */
.btn, .btn-primary, .nav-cta, button.btn-primary, a.btn-primary {
  background: linear-gradient(135deg, var(--tz-primary), #2563eb) !important; color: #fff !important; padding: 0.8rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: 1rem; border: none !important; box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; transition: var(--tz-transition); text-decoration: none;
}
.btn-primary:hover, .nav-cta:hover, button.btn-primary:hover, a.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 102, 204, 0.35); background: linear-gradient(135deg, #2563eb, var(--tz-primary)) !important; }

.btn-outline, button.btn-outline, a.btn-outline {
  background: rgba(255, 255, 255, 0.9) !important; color: var(--tz-primary) !important; border: 2px solid var(--tz-primary) !important; padding: 0.75rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; transition: var(--tz-transition); text-decoration: none;
}
.btn-outline:hover, button.btn-outline:hover, a.btn-outline:hover { background: var(--tz-primary) !important; color: #fff !important; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2); }

/* Premium Cards & Glassmorphism */
.card, .review-card, .feature-card, .price-card, .info-card, .mini-card, .faq, .seo-enhanced, .contact-highlight, .hero-panel, .panel {
  background: rgba(255, 255, 255, 0.85) !important; backdrop-filter: blur(12px); border: 1px solid rgba(226, 232, 240, 0.8) !important; border-radius: 24px; padding: 2.5rem; box-shadow: var(--tz-shadow) !important; transition: var(--tz-transition);
}
.card:hover, .review-card:hover, .feature-card:hover, .price-card:hover, .info-card:hover, .mini-card:hover { transform: translateY(-6px); box-shadow: var(--tz-shadow-lg) !important; border-color: var(--tz-primary) !important; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--tz-navy); }

/* Service & Industry Cards */
.service-card, .industry-card {
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.15), transparent 40%), linear-gradient(145deg, #0f172a, #1e293b) !important; border-radius: 24px; padding: 2.5rem; box-shadow: var(--tz-shadow) !important; transition: var(--tz-transition); border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden;
}
.service-card:hover, .industry-card:hover { transform: translateY(-6px); box-shadow: var(--tz-shadow-lg) !important; border-color: var(--tz-gold); }
.service-card h2, .service-card h3, .service-card h4, .service-card .service-title, .industry-card h2, .industry-card h3, .industry-card h4, .industry-card .service-title { color: #ffffff !important; font-weight: 800; }
.service-card .service-text, .service-card p, .service-card li, .industry-card .service-text, .industry-card p, .industry-card .service-text { color: rgba(241, 245, 249, 0.9) !important; }
.service-card .badge, .industry-card .badge { background: rgba(255, 255, 255, 0.15) !important; border: 1px solid rgba(255,255,255,0.25); color: var(--tz-gold) !important; font-weight: 700; padding: 0.4rem 1rem; border-radius: 999px; }

/* Badges & Tags */
.badge { background: #fef3c7 !important; border: 1px solid #fde68a; color: #b45309 !important; font-weight: 800 !important; padding: 0.4rem 1rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; }

/* Lists */
.bullet-list { margin-top: 0.8rem; padding-left: 1.2rem; list-style-type: disc; color: var(--tz-muted); }
.bullet-list li { margin-bottom: 0.5rem; font-size: 0.98rem; }

/* Responsive Table Wrapper */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem 0; border-radius: 16px; box-shadow: var(--tz-shadow); border: 1px solid var(--tz-border); background: #fff; }
.table-responsive table { width: 100%; border-collapse: collapse; min-width: 600px; }
.table-responsive th { background: #f1f5f9; padding: 1.2rem 1.5rem; font-weight: 700; color: var(--tz-navy); text-align: left; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.table-responsive td { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--tz-border); color: var(--tz-text); font-size: 0.95rem; }
.table-responsive tr:last-child td { border-bottom: none; }
.table-responsive tr:hover td { background: #f8fafc; }

/* CTA Strips */
.cta-strip, .cta { background: linear-gradient(135deg, #0066cc, #1e293b) !important; border-radius: 28px; padding: 4rem 3rem; color: #fff; box-shadow: var(--tz-shadow-lg); position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-strip h2, .cta h2 { color: #fff !important; }
.cta-strip p, .cta p, .cta-strip div { color: rgba(255,255,255,0.9) !important; font-size: 1.05rem; max-width: 50rem; line-height: 1.6; }
.cta-strip-buttons { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* E-Invoicing Specific Components */
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.field-card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); padding: 2.5rem; border-radius: 24px; border: 1px solid rgba(226, 232, 240, 0.8); border-left: 6px solid var(--tz-primary); box-shadow: var(--tz-shadow); transition: var(--tz-transition); }
.field-card:hover { transform: translateY(-6px); box-shadow: var(--tz-shadow-lg); border-color: var(--tz-primary); }
.field-card h4 { margin-bottom: 1.2rem; color: var(--tz-navy); font-size: 1.25rem; font-weight: 800; }
.field-card ul { list-style: none; padding: 0; margin: 0; }
.field-card li { margin-bottom: 0.8rem; font-size: 0.98rem; color: var(--tz-muted); display: flex; align-items: baseline; gap: 0.6rem; }
.field-card li::before { content: "✓"; color: var(--tz-primary); font-weight: 900; }

.hero-tech { padding: 8rem 1.5rem 6rem; background: linear-gradient(135deg, rgba(7, 13, 36, 0.95), rgba(15, 23, 42, 0.95)), url('images/tech-bg.jpg'); background-size: cover; background-position: center; color: white; text-align: center; border-radius: 0 0 40px 40px; margin-bottom: 4rem; }
.model-box { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-radius: 28px; padding: 3.5rem; box-shadow: var(--tz-shadow-lg); margin: -6rem auto 4rem; position: relative; z-index: 10; border: 1px solid rgba(226, 232, 240, 0.8); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step-card { text-align: center; padding: 2.5rem 1.5rem; background: #fff; border-radius: 20px; border: 1px solid var(--tz-border); box-shadow: var(--tz-shadow); transition: var(--tz-transition); }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--tz-shadow-lg); border-color: var(--tz-primary); }
.step-num { width: 48px; height: 48px; background: linear-gradient(135deg, var(--tz-primary), #2563eb); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-weight: 800; font-size: 1.2rem; box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25); }

.warning-box { background: #fff5f5; border: 1px solid #fecaca; border-left: 6px solid #ef4444; padding: 2.5rem; border-radius: 24px; margin: 3rem 0; box-shadow: var(--tz-shadow); }
.warning-box h3 { color: #b91c1c; margin-bottom: 0.8rem; font-weight: 800; font-size: 1.4rem; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; margin: 4rem 0; }
.process-card { background: white; padding: 3rem 2.5rem; border-radius: 24px; box-shadow: var(--tz-shadow); text-align: center; border: 1px solid var(--tz-border); transition: var(--tz-transition); }
.process-card:hover { transform: translateY(-6px); box-shadow: var(--tz-shadow-lg); border-color: var(--tz-primary); }
.process-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }

.glossary-list { margin: 4rem 0; display: flex; flex-direction: column; gap: 2.5rem; }
.glossary-item { padding: 3rem; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-radius: 24px; box-shadow: var(--tz-shadow); border: 1px solid var(--tz-border); transition: var(--tz-transition); }
.glossary-item:hover { transform: translateY(-4px); box-shadow: var(--tz-shadow-lg); border-color: var(--tz-primary); }
.glossary-item h4 { color: var(--tz-primary); margin-bottom: 1rem; font-weight: 800; font-size: 1.4rem; }
.glossary-item p { margin: 0; color: var(--tz-muted); line-height: 1.7; font-size: 1.05rem; }

.step-container { margin: 5rem 0; }
.step-block { display: flex; gap: 4rem; margin-bottom: 6rem; align-items: center; }
.step-block:nth-child(even) { flex-direction: row-reverse; }
.step-text { flex: 1.2; }
.step-visual { flex: 1; background: #fff; padding: 2.5rem; border-radius: 28px; box-shadow: var(--tz-shadow-lg); border: 1px solid var(--tz-border); }
.step-badge { background: linear-gradient(135deg, var(--tz-primary), #2563eb); color: white; padding: 0.6rem 1.4rem; border-radius: 99px; font-weight: 800; display: inline-block; margin-bottom: 1.5rem; box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25); font-size: 0.95rem; }
.step-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--tz-navy); margin-bottom: 1.2rem; }
.step-text p { font-size: 1.1rem; color: var(--tz-muted); line-height: 1.7; }

.timeline-table { width: 100%; border-collapse: collapse; margin: 4rem 0; background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--tz-shadow-lg); border: 1px solid var(--tz-border); }
.timeline-table th, .timeline-table td { padding: 1.8rem 2rem; text-align: left; border-bottom: 1px solid var(--tz-border); }
.timeline-table th { background: linear-gradient(135deg, var(--tz-navy), #1e293b); color: white; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.timeline-table tr:last-child td { border-bottom: none; }
.timeline-table tr:hover td { background: #f8fafc; }
.phase-badge { display: inline-block; padding: 0.5rem 1.2rem; border-radius: 99px; font-size: 0.9rem; font-weight: 800; }
.phase-badge.p1 { background: #e3f2fd; color: #0d47a1; }
.phase-badge.p2 { background: #f3e5f5; color: #4a148c; }
.phase-badge.p3 { background: #fff3e0; color: #e65100; }

/* Footer */
footer { background: linear-gradient(90deg, #070d24, #0f172a) !important; color: #cbd5e1; padding: 4rem 1.5rem 6rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; }
footer .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
footer a { color: #cbd5e1; transition: var(--tz-transition); text-decoration: none; }
footer a:hover { color: var(--tz-gold); }
.footer-social { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Floating Desktop Contact */
.floating-contact { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1200; display: flex; flex-direction: column; gap: 0.6rem; }
.floating-contact a { background: var(--tz-success); color: #fff; padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3) !important; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; transition: var(--tz-transition); text-decoration: none; }
.floating-contact a.phone { background: var(--tz-primary); box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3) !important; }
.floating-contact a:hover { transform: translateY(-4px); filter: brightness(1.1); }

/* FLOATING MOBILE ACTION BAR (Mobile Only) */
.floating-mobile-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(7, 13, 36, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); z-index: 2000; border-top: 1px solid rgba(255,255,255,0.15); box-shadow: 0 -10px 25px rgba(0,0,0,0.2); padding: 0.5rem 0.8rem; padding-bottom: calc(0.5rem + env(safe-area-inset-bottom)); align-items: center; justify-content: space-around; gap: 0.5rem; }
.floating-mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 0.75rem; font-weight: 700; text-decoration: none; min-height: 44px; padding: 0.4rem; border-radius: 12px; transition: var(--tz-transition); background: rgba(255,255,255,0.08); }
.floating-mobile-bar a svg { width: 20px; height: 20px; margin-bottom: 3px; }
.floating-mobile-bar a.bar-whatsapp { background: #10b981; color: #fff; }
.floating-mobile-bar a.bar-call { background: var(--tz-primary); color: #fff; }
.floating-mobile-bar a:active { transform: scale(0.95); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .card, .service-card, .industry-card { padding: 2rem 1.5rem; }
  .cta-strip, .cta { padding: 3rem 2rem; flex-direction: column; text-align: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .step-block { flex-direction: column !important; text-align: center; gap: 2.5rem; }
}

@media (max-width: 640px) {
  main, .section, .topbar-inner { padding-left: 1rem !important; padding-right: 1rem !important; }
  .topbar-right { width: 100%; justify-content: flex-start; gap: 0.8rem; }
  
  /* Navigation Header Mobile Styling */
  .nav { padding: 0.6rem 1rem; position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .nav-left { width: calc(100% - 60px); display: flex; align-items: center; gap: 0.6rem; }
  .nav-logo { height: 38px; width: auto; flex-shrink: 0; }
  .nav-title { font-size: 0.78rem !important; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  
  /* Hamburger Toggle Button */
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; border: none; background: #0066cc; color: #fff; font-size: 1.4rem; border-radius: 10px; cursor: pointer; margin-left: auto; box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2); }
  
  /* Navigation Menu Container - Hidden by default on mobile */
  .nav-main, .nav-menu { display: none !important; width: 100%; flex-direction: column; align-items: stretch; gap: 0.4rem; margin-top: 1rem; background: #fff; padding: 1rem 0; border-top: 1px solid var(--tz-border); }
  
  /* When mobile-open class is active, show the menu */
  .nav.mobile-open .nav-main, .nav.mobile-open .nav-menu { display: flex !important; }
  
  /* Menu links and dropdown toggles */
  .nav-menu a, .nav-dropdown-toggle, .dropdown > a { width: 100%; padding: 0.8rem 1.2rem !important; font-size: 1rem !important; border-bottom: 1px solid #f1f5f9; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; color: var(--tz-navy) !important; font-weight: 600 !important; }
  
  /* Dropdowns on mobile */
  .nav-dropdown, .dropdown { width: 100%; }
  .nav-dropdown-menu, .dropdown-menu { display: none !important; position: static !important; width: 100%; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important; border: none; background: #f8fafc !important; margin: 0; padding: 0.5rem 0; border-radius: 0; }
  
  /* When dropdown is open, show its menu */
  .nav-dropdown.open .nav-dropdown-menu, .dropdown.open .dropdown-menu { display: block !important; }
  
  /* Dropdown items styling */
  .nav-dropdown-menu a, .dropdown-menu li a { display: block !important; padding: 0.8rem 1.5rem 0.8rem 2.5rem !important; font-size: 0.95rem !important; color: var(--tz-text) !important; border-bottom: 1px solid #e2e8f0; text-decoration: none; box-sizing: border-box; width: 100%; background: transparent !important; }
  .nav-dropdown-menu a:hover, .dropdown-menu li a:hover { color: var(--tz-primary) !important; background: #eff6ff !important; }
  
  /* Buttons inside nav */
  .nav-menu .nav-cta, .nav-menu .btn { margin: 1rem 1.2rem 0; width: calc(100% - 2.4rem); justify-content: center; }

  /* Hide desktop floating contact on mobile in favor of bottom bar */
  .floating-contact { display: none !important; }
  .floating-mobile-bar { display: flex; }
  
  /* Universal Mobile Table Responsiveness */
  .table-responsive, .compare-wrap, .table-wrap, .qms-table-box, .table-box, .comparison-table, .timeline-table, .qms-premium-table, .roi-table, table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }
  .table-responsive table, .compare-wrap table, .table-wrap table, .qms-table-box table, .table-box table, .comparison-table, .timeline-table, .qms-premium-table, .roi-table {
    min-width: 500px !important;
  }
  
  /* Adjust body padding so bottom bar doesn't cover footer text */
  body { padding-bottom: 80px !important; }
}
