/* ═══════════════════════════════════════════════
   CLINDESK MAIN STYLESHEET
   Phobolytics Technologies Pvt Ltd
═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CSS Variables ── */
:root {
  --blue: #2563EB;
  --indigo: #4F46E5;
  --gray-900: #111827;
  --gray-600: #4B5563;
  --gray-400: #9CA3AF;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #ffffff;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 1px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.02);
  --transition: 150ms ease;
}

/* ──════────────────────────────
   ENHANCED SPACING RESPONSIVENESS
──────────────────────────────── */

/* Default spacing (desktop) */
.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 1.5rem;
  width: 100%;
}

.section-pad { 
  padding: 5rem 0;
  overflow: hidden;
}

.bg-gray {
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

/* Ensure all text wraps properly */
p, span, li, label {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive iframe */
iframe {
  max-width: 100%;
}

/* Tablet adjustments (768px-1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .container { padding: 0 1.5rem; }
  .section-pad { padding: 4rem 0; }
}

/* Medium mobile (641px-768px) */
@media (max-width: 768px) and (min-width: 641px) {
  .container {
    padding: 0 1.25rem;
    overflow-x: hidden;
  }
  .section-pad { padding: 3.25rem 0; }
  
  /* Better paragraph spacing */
  p { margin-bottom: 1rem; line-height: 1.6; }
  
  /* Card spacing */
  .feature-card,
  .problem-card,
  .value-box,
  .team-card {
    margin-bottom: 1rem;
  }
}

/* Mobile (481px-640px) */
@media (max-width: 640px) and (min-width: 481px) {
  .container {
    padding: 0 1rem;
    overflow-x: hidden;
  }
  .section-pad { padding: 3rem 0; }
  
  p { 
    margin-bottom: 0.9rem;
    line-height: 1.55;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
}

/* Small mobile (388px-480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.875rem;
    overflow-x: hidden;
  }
  .section-pad { padding: 2.75rem 0; }
  
  p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.6rem;
    line-height: 1.25;
    word-break: break-word;
  }
  
  /* Prevent overflow */
  body, main, section, article, div {
    overflow-x: hidden;
  }
  
  /* Extra margin for sections */
  section {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Extra small mobile (320px-387px) */
@media (max-width: 387px) {
  .container {
    padding: 0 0.75rem;
    overflow-x: hidden;
  }
  .section-pad { padding: 2.5rem 0; }
  
  p {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    word-break: break-word;
  }
}

/* ── Typography ── */
.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: #6B7280;
  max-width: 500px;
  line-height: 1.6;
}

/* ── Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 300px; height: 300px; background: #EFF6FF; top: -60px; left: -80px; }
.blob-2 { width: 280px; height: 280px; background: #F5F3FF; bottom: 10%; right: -50px; }
.blob-3 { width: 250px; height: 250px; background: #EFF6FF; top: 15%; right: -40px; }
.blob-4 { width: 350px; height: 350px; background: #4F46E5; top: 0; right: 0; opacity: 0.06; }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in       { animation: fadeIn 0.7s ease forwards; }
.fade-in-delay { animation: fadeIn 0.7s ease 0.2s both; }
.fade-in-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gray-900);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 200ms;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: #1F2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-900);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #E5E7EB;
  background: transparent;
  transition: all 200ms;
  cursor: pointer;
}
.btn-ghost:hover { background: #F9FAFB; border-color: #D1D5DB; }

.btn-full { width: 100%; justify-content: center; }

/* Mobile button stacking */
@media (max-width: 768px) {
  .btn-full,
  .btn-primary.btn-full,
  .btn-ghost.btn-full {
    width: 100%;
    display: flex;
  }
}

@media (max-width: 640px) {
  /* Button stacking on smaller screens */
  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }
  
  .hero-ctas a {
    width: 100% !important;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .cta-buttons a,
  .cta-buttons button {
    width: 100% !important;
    text-align: center;
  }
  
  /* Pricing buttons */
  .pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .pricing-buttons a,
  .pricing-buttons button {
    width: 100% !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Even tighter stacking on very small screens */
  .hero-ctas {
    gap: 0.5rem;
  }
  
  .hero-ctas a {
    padding: 0.6rem 1rem !important;
    font-size: 0.75rem !important;
  }
  
  .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  
  .btn-ghost {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  
  .btn-cta-gradient {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    text-align: center;
  }
  
  /* All buttons should be full width on mobile */
  button[type="submit"],
  button[type="button"],
  a[role="button"] {
    width: 100%;
    text-align: center;
  }
}

.btn-cta-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 200ms;
  border: none;
  cursor: pointer;
}
.btn-cta-gradient:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}

/* Hover gradient overlay on dark buttons */
.btn-primary::before,
.btn-plan-primary::before,
.btn-guard-action::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  opacity: 0;
  transition: opacity 200ms;
}
.btn-primary:hover::before,
.btn-plan-primary:hover::before,
.btn-guard-action:hover::before { opacity: 0.15; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #F3F4F6;
  transition: all 200ms;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: none !important;
  border-radius: 0 !important;
  transform: none !important;
  padding: 0 !important;
  height: auto !important;
}
.nav-logo .custom-logo-link {
  display: flex;
  align-items: center;
  background: none;
}
.logo-img,
.nav-logo img,
.nav-logo .custom-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  background: none !important;
  border-radius: 0 !important;
  transform: none !important;
}
.logo-icon  { display: none !important; }
.logo-text  { display: none !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-xl);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--gray-900); background: var(--gray-100); }

/* Navigation CTA section */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-cta a {
  white-space: nowrap;
}

.btn-nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 200ms;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-nav-cta:hover {
  background: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 300ms, opacity 300ms;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-100);
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
}
.mobile-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-xl);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-mobile-cta {
  background: var(--gray-900) !important;
  color: #fff !important;
  text-align: center;
  margin-top: 0.5rem;
  border-radius: var(--radius-2xl) !important;
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #EFF6FF;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  border: 1px solid #BFDBFE;
}
.hero-h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.trust-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-badges span { font-size: 0.75rem; color: #6B7280; font-weight: 500; }

/* Country flag pills in hero */
.hero-flags {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
}
.hero-flags-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.hero-flags-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.flag-pill {
  font-size: 0.8rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  color: #4B5563;
  font-weight: 500;
}

/* Dashboard Mockup */
.hero-mockup { position: relative; }
.mockup-browser {
  background: #F9FAFB;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
  border: 1px solid #E5E7EB;
  position: relative;
  z-index: 1;
}
.browser-bar {
  background: #F3F4F6;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #E5E7EB;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #EF4444; }
.dot.yellow { background: #FBBF24; }
.dot.green  { background: #10B981; }
.browser-url {
  background: #fff;
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  color: #6B7280;
  margin-left: 0.5rem;
  flex: 1;
  border: 1px solid #E5E7EB;
}
.browser-live {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  font-size: 0.6rem;
  color: #10B981;
  font-weight: 600;
}
.browser-live-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.browser-content {
  background: #fff;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  min-height: 300px;
}
.mock-sidebar {
  width: 52px;
  background: #F9FAFB;
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #E5E7EB;
}
.mock-sidebar-logo {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.mock-nav-item { height: 24px; background: #E5E7EB; border-radius: 4px; }
.mock-nav-item.active { background: var(--blue); opacity: 0.6; }
.mock-main { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.mock-title-bar { height: 10px; width: 120px; background: #111827; border-radius: 3px; opacity: 0.8; }
.mock-action-btn { height: 22px; width: 80px; background: linear-gradient(135deg,#2563EB,#4F46E5); border-radius: 5px; opacity: 0.9; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.mock-stat-card {
  background: #F9FAFB;
  border-radius: 6px;
  padding: 0.6rem;
  border: 1px solid #E5E7EB;
}
.mock-stat-num   { height: 12px; background: #DBEAFE; border-radius: 2px; margin-bottom: 4px; width: 60%; }
.mock-stat-label { height: 6px;  background: #E5E7EB; border-radius: 2px; width: 80%; }
.mock-chart {
  background: linear-gradient(135deg, #EFF6FF 0%, #fff 100%);
  border-radius: 6px;
  padding: 0.75rem;
  border: 1px solid #E5E7EB;
  flex: 1;
}
.mock-chart-label {
  font-size: 0.55rem;
  color: #6B7280;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
}
.mock-bar {
  flex: 1;
  background: #DBEAFE;
  border-radius: 3px 3px 0 0;
}
.mock-bar.active {
  background: linear-gradient(180deg, #2563EB, #4F46E5);
}
.mock-table { display: flex; flex-direction: column; gap: 0.3rem; }
.mock-row   { height: 16px; background: #F9FAFB; border-radius: 4px; border: 1px solid #E5E7EB; }

/* Dashboard Preview Image Styling */
.dashboard-preview-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
  object-fit: cover;
}

/* Dashboard Container with Floating Cards */
.dashboard-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

/* Gradient backdrop behind dashboard */
.dashboard-backdrop {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(79, 70, 229, 0.08));
  border-radius: 24px;
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Floating Cards Style */
.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  pointer-events: none;
  animation: slideUp 0.6s ease-out 0.3s both;
}

.floating-card-top-left {
  top: -16px;
  left: -16px;
}

.floating-card-bottom-right {
  bottom: -16px;
  right: -16px;
  animation: slideUp 0.6s ease-out 0.5s both;
}

.floating-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.floating-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.floating-card-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.floating-card-subtitle {
  font-size: 0.6rem;
  color: #9CA3AF;
}

/* Floating notification cards */
.mockup-float {
  position: absolute;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  pointer-events: none;
}
.mockup-float-bottom { bottom: -16px; right: -16px; }
.mockup-float-top    { top: -16px; left: -16px; }
.mockup-float-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.mockup-float-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.mockup-float-sub {
  font-size: 0.6rem;
  color: #9CA3AF;
}

/* ══════════════════════════════════════════
   SOCIAL PROOF TICKER (below hero)
══════════════════════════════════════════ */
.proof-strip {
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 1.25rem 0;
  background: #F9FAFB;
}
.proof-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-strip-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  white-space: nowrap;
}
.proof-strip-items {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #6B7280;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   PROBLEMS SECTION
══════════════════════════════════════════ */
.problems-section { position: relative; }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.problem-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 200ms;
  position: relative;
  overflow: hidden;
}
.problem-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.problem-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.4rem; }
.problem-card p  { font-size: 0.85rem; color: #6B7280; line-height: 1.6; }
.problem-severity {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F3F4F6;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Solution teaser box */
.solution-teaser {
  margin-top: 3rem;
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.solution-teaser-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.solution-teaser h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.solution-teaser p {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0;
}

/* ══════════════════════════════════════════
   STATS BAR (dark section)
══════════════════════════════════════════ */
.stats-bar {
  background: #111827;
  padding: 2.5rem 0;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-bar-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stats-bar-label {
  font-size: 0.75rem;
  color: #9CA3AF;
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════ */
.features-section { position: relative; }
.features-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 2rem;
}
.features-tab {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: default;
}
.features-tab.active {
  background: #111827;
  color: #fff;
}
.features-tab.inactive {
  background: #F9FAFB;
  color: #6B7280;
  border-color: #E5E7EB;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
.feature-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 200ms;
}
.feature-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.feature-icon { font-size: 1.5rem; }
.feature-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.feature-card p  { font-size: 0.8rem; color: #6B7280; line-height: 1.6; }
.feature-outcome {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.features-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.hiw-section { position: relative; }
.hiw-header  { text-align: center; max-width: 520px; margin: 0 auto 3rem; }
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}
.hiw-step     { text-align: center; }
.hiw-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
}
.hiw-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.hiw-step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.4rem; }
.hiw-step p  { font-size: 0.8rem; color: #6B7280; line-height: 1.6; }
.hiw-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}
.hiw-divider {
  width: 50px;
  height: 1.5px;
  background: linear-gradient(90deg, #2563EB, #4F46E5);
  border-radius: 1px;
  margin-top: 2rem;
}

/* ══════════════════════════════════════════
   PRICING SECTION
══════════════════════════════════════════ */
.pricing-section { position: relative; overflow: hidden; }
.pricing-header  { text-align: center; max-width: 520px; margin: 0 auto; }
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #F9FAFB;
  border-radius: 8px;
  padding: 0.3rem;
  width: fit-content;
  margin: 2rem auto 2.5rem;
  border: 1px solid #E5E7EB;
}
.toggle-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  transition: all 200ms;
  border: none;
  background: transparent;
  cursor: pointer;
}
.toggle-btn.active {
  background: #fff;
  color: var(--gray-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #E5E7EB;
}
.badge-20 {
  background: var(--blue);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  transition: all 200ms;
}
.pricing-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
}
.plan-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-price   { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.75rem; }
.price-amount { font-size: 2.25rem; font-weight: 800; color: var(--gray-900); }
.price-period { font-size: 0.8rem; color: #6B7280; font-weight: 500; }
.plan-desc    { font-size: 0.8rem; color: #6B7280; margin-bottom: 1.5rem; line-height: 1.5; }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.plan-features li { font-size: 0.8rem; color: #6B7280; }
.plan-note {
  text-align: center;
  font-size: 0.7rem;
  color: #9CA3AF;
  margin-top: 0.6rem;
}
.btn-plan {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid #E5E7EB;
  color: var(--gray-900);
  background: #fff;
  transition: all 200ms;
  cursor: pointer;
}
.btn-plan:hover       { border-color: #D1D5DB; background: #F9FAFB; }
.btn-plan-primary     { background: var(--blue); color: #fff; border-color: var(--blue); position: relative; overflow: hidden; }
.btn-plan-primary:hover { background: #1D4ED8; border-color: #1D4ED8; }

/* Pricing trust line */
.pricing-trust {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.pricing-trust span {
  font-size: 0.8rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-section { position: relative; }
.testimonials-header  { text-align: center; max-width: 560px; margin: 0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 200ms;
  position: relative;
  overflow: hidden;
}
.testimonial-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.testimonial-quote-mark {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars {
  color: #FBBF24;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}
.testimonial-card blockquote {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: normal;
}
.testimonial-author { display: flex; align-items: center; gap: 0.6rem; }
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-size: 0.875rem; font-weight: 700; color: var(--gray-900); }
.author-role { font-size: 0.75rem; color: #9CA3AF; }

/* Global countries grid under testimonials */
.countries-trust {
  margin-top: 3rem;
  padding: 1.75rem;
  background: #F9FAFB;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  text-align: center;
}
.countries-trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  margin-bottom: 1rem;
}
.countries-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.country-pill {
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  color: #4B5563;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════ */
.faq-section { position: relative; }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.faq-sidebar-heading { margin-bottom: 1rem; }
.faq-sidebar-desc {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.faq-support-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-support-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.faq-support-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}
.faq-support-card p {
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.faq-list   { margin-top: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item   { background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: background 200ms;
  gap: 1rem;
  text-align: left;
  background: #fff;
  border: none;
  cursor: pointer;
}
.faq-question:hover { background: #F9FAFB; }
.faq-icon {
  font-size: 1.1rem;
  color: var(--blue);
  transition: transform 200ms;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer   { padding: 0 1.4rem 1.1rem; }
.faq-answer p { font-size: 0.82rem; color: #6B7280; line-height: 1.75; }

/* ══════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  border: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 0;
}
.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cta-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.cta-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-trust span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#site-footer {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  color: #6B7280;
  padding: 3rem 0 0;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E5E7EB;
}

/* Footer logo */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  background: none;
}
.footer-logo-img,
.footer-logo-link img,
.footer-logo-link .custom-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  background: none !important;
  filter: none;
}
.footer-tagline {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  max-width: 260px;
  line-height: 1.6;
}
.footer-socials { display: flex; gap: 0.6rem; }
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  transition: all 200ms;
  border: 1px solid #E5E7EB;
}
.social-icon:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a   { font-size: 0.8rem; color: #6B7280; transition: all 200ms; }
.footer-col a:hover { color: var(--gray-900); }
.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: #9CA3AF;
  border-top: 1px solid #E5E7EB;
  margin-top: 2rem;
}

/* ══════════════════════════════════════════
   BLOG
══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  transition: all 200ms;
}
.blog-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.blog-thumb             { aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img         { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-placeholder { aspect-ratio: 16/9; background: linear-gradient(135deg, #EFF6FF, #F5F3FF); }
.blog-card-body         { padding: 1.25rem; }
.blog-meta {
  font-size: 0.7rem;
  color: #9CA3AF;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  font-weight: 600;
}
.blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-title a:hover { color: var(--blue); }
.blog-excerpt     { font-size: 0.8rem; color: #6B7280; line-height: 1.6; margin-bottom: 1rem; }
.btn-read-more    { font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.btn-read-more:hover { text-decoration: underline; }
.pagination { margin-top: 2.5rem; display: flex; justify-content: center; gap: 0.3rem; }
.page-numbers {
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  font-size: 0.8rem;
  color: #6B7280;
  transition: all 200ms;
  background: #fff;
  cursor: pointer;
}
.page-numbers.current,
.page-numbers:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ══════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════ */
.single-page-main {
  padding-top: 6rem; /* clear fixed navbar */
}

.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* ── Sidebar sticky ── */
.single-post-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Breadcrumb ── */
.post-breadcrumb {
  margin-bottom: 1.5rem;
}
.post-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  font-size: 0.75rem;
  color: #9CA3AF;
}
.post-breadcrumb a {
  color: #9CA3AF;
  transition: color 150ms;
}
.post-breadcrumb a:hover { color: #6B7280; }
.post-breadcrumb li:last-child { color: #6B7280; font-weight: 500; }

/* ── Post meta (category / date / read time) ── */
.post-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: #9CA3AF;
  margin-bottom: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-cat-badge {
  background: #EFF6FF;
  color: #2563EB;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ── Author row ── */
.post-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}
.post-author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}
.post-author-role {
  font-size: 0.75rem;
  color: #9CA3AF;
}

/* ── Tags ── */
.post-tags-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.post-tags-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.25rem;
}
.post-tag {
  display: inline-block;
  font-size: 0.75rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  color: #6B7280;
  transition: background 150ms, color 150ms;
}
.post-tag:hover {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}

/* ── Sidebar: CTA card ── */
.sidebar-cta-card {
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  border: 1px solid #DBEAFE;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.sidebar-cta-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.sidebar-cta-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.sidebar-cta-card p {
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 100%;
}

/* ── Sidebar: recent posts ── */
.sidebar-recent-posts {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 1.5rem;
}
.sidebar-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.sidebar-post-link {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid #F3F4F6;
  text-decoration: none;
  transition: opacity 150ms;
}
.sidebar-post-link:last-child { border-bottom: none; }
.sidebar-post-link:hover { opacity: 0.75; }
.sidebar-post-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0.2rem;
}
.sidebar-post-date {
  font-size: 0.7rem;
  color: #9CA3AF;
}

/* ── Mobile-only CTA (hidden on desktop) ── */
.sidebar-cta-mobile {
  display: none;
  margin-top: 2.5rem;
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */

/* Tablet: 768px – 1024px → narrower sidebar */
@media (max-width: 1024px) and (min-width: 769px) {
  .single-post-layout {
    grid-template-columns: 1fr 260px;
    gap: 2rem;
  }
}

/* Tablet portrait / large mobile: ≤ 768px → single column, sidebar moves below */
@media (max-width: 768px) {
  .single-page-main {
    padding-top: 5rem;
  }

  .single-post-layout {
    display: block; /* stacked */
  }

  /* Hide desktop sidebar on mobile */
  .single-post-sidebar {
    display: none;
  }

  /* Show mobile CTA below post content */
  .sidebar-cta-mobile {
    display: block;
  }

  .post-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .post-content {
    font-size: 0.9rem;
  }

  .post-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .single-page-main {
    padding-top: 4.5rem;
  }

  .post-meta-top {
    gap: 0.4rem;
    font-size: 0.68rem;
  }

  .post-title {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    margin-bottom: 1rem;
  }

  .post-author-row {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .post-content {
    font-size: 0.875rem;
    line-height: 1.75;
  }

  .post-content h2 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
  }

  .post-content h3 {
    font-size: 1rem;
    margin: 1rem 0 0.35rem;
  }

  .post-content ul,
  .post-content ol {
    margin-left: 1.1rem;
  }

  .post-breadcrumb ol {
    font-size: 0.7rem;
    gap: 0.3rem;
  }

  .sidebar-cta-card {
    padding: 1.25rem;
  }

  .post-tags-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
}

/* Extra small: ≤ 360px */
@media (max-width: 360px) {
  .post-title {
    font-size: 1.2rem;
  }

  .post-content {
    font-size: 0.85rem;
  }

  .post-content h2 { font-size: 1.05rem; }
  .post-content h3 { font-size: 0.95rem; }
}

/* ── Post content image responsiveness ── */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

/* ── Post content table responsiveness ── */
.post-content table {
  width: 100%;
  overflow-x: auto;
  display: block;
  font-size: 0.85rem;
  border-collapse: collapse;
}
.post-content table th,
.post-content table td {
  padding: 0.6rem 0.9rem;
  border: 1px solid #E5E7EB;
  text-align: left;
  white-space: nowrap;
}
.post-content table th {
  background: #F9FAFB;
  font-weight: 700;
  color: #111827;
}

/* ── Embedded videos / iframes in content ── */
.post-content iframe,
.post-content embed,
.post-content object {
  max-width: 100%;
  border-radius: 8px;
}

/* ── Responsive video wrapper ── */
.post-content .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.post-content .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.single-post-container { max-width: 720px; }
.post-meta-top {
  font-size: 0.75rem;
  color: #9CA3AF;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}
.post-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.post-featured-img { border-radius: 10px; overflow: hidden; margin-bottom: 1.75rem; border: 1px solid #E5E7EB; }
.post-content      { font-size: 0.95rem; color: #6B7280; line-height: 1.8; }
.post-content h2   { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin: 1.75rem 0 0.6rem; }
.post-content h3   { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin: 1.25rem 0 0.4rem; }
.post-content p    { margin-bottom: 1rem; }
.post-content ul, .post-content ol { margin: 0.8rem 0 1rem 1.5rem; }
.post-content li   { margin-bottom: 0.35rem; }
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}
.btn-back-blog {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}
.btn-back-blog:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
.contact-info h2,
.contact-form-wrap h2 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.6;
}
.contact-detail span { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail a    { color: var(--blue); }
.contact-form        { display: flex; flex-direction: column; gap: 1rem; }
.form-group          { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--gray-900);
  transition: all 200ms;
  outline: none;
  background: #fff;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideDown 300ms ease;
}

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.about-story h2,
.about-values h2 { font-size: 1.3rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; }
.about-story p   { font-size: 0.9rem; color: #6B7280; line-height: 1.8; margin-bottom: 1rem; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.value-card {
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
}
.value-icon      { font-size: 1.5rem; margin-bottom: 0.5rem; }
.value-card h3   { font-size: 0.9rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.35rem; }
.value-card p    { font-size: 0.8rem; color: var(--gray-400); line-height: 1.6; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.stat-num   { font-size: 2.25rem; font-weight: 900; font-style: italic; color: var(--blue); line-height: 1; margin-bottom: 0.35rem; }
.stat-label { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }

/* ══════════════════════════════════════════
   FEATURES DETAIL PAGE
══════════════════════════════════════════ */
.feature-detail-list { display: flex; flex-direction: column; gap: 3rem; }
.feature-detail-item { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: start; }
.feature-detail-icon {
  font-size: 2.5rem;
  padding: 1.1rem;
  background: #F9FAFB;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  line-height: 1;
}
.feature-detail-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.6rem; }
.feature-detail-content p  { font-size: 0.9rem; color: #6B7280; line-height: 1.7; margin-bottom: 0.8rem; }
.feature-detail-content ul { display: flex; flex-direction: column; gap: 0.35rem; }
.feature-detail-content li { font-size: 0.8rem; color: #6B7280; }

/* ══════════════════════════════════════════
   FORM INPUTS (Global)
══════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-2xl);
  background: #F9FAFB;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-900);
  transition: all 200ms;
  outline: none;
}
input::placeholder, textarea::placeholder { color: #9CA3AF; }
input:focus, textarea:focus, select:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
input:disabled, select:disabled, textarea:disabled {
  background: #F3F4F6;
  color: #9CA3AF;
  cursor: not-allowed;
}
input.field-error, textarea.field-error {
  border-color: #EF4444 !important;
  background-color: #FEF2F2;
}
label {
  display: block;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9CA3AF;
  margin-bottom: 0.4rem;
}
.error-message {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #EF4444;
  margin-top: 0.3rem;
  display: block;
}
.input-group { position: relative; display: flex; align-items: center; }
.password-toggle {
  position: absolute;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #D1D5DB;
  transition: color 200ms;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover { color: var(--gray-900); }

/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.card {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: all 200ms;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-header { font-size: 1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; }
.card-body   { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }

/* ══════════════════════════════════════════
   STATUS BADGES
══════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.badge-active     { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.badge-inactive   { background: #F3F4F6; color: #4B5563; border: 1px solid #D1D5DB; }
.badge-discharged { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.badge-scheduled  { background: #DBEAFE; color: #0C4A6E; border: 1px solid #7DD3FC; }
.badge-present    { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.badge-absent     { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.badge-cancelled  { background: #F3F4F6; color: #4B5563; border: 1px solid #D1D5DB; text-decoration: line-through; }

/* ══════════════════════════════════════════
   MODALS
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 300ms ease;
}
.modal.sm { max-width: 380px; }
.modal.md { max-width: 500px; }
.modal.lg { max-width: 680px; }
.modal.xl { max-width: 800px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #F3F4F6;
}
.modal-header h2 { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin: 0; }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-50);
  border: 1px solid #E5E7EB;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-600);
  transition: all 200ms;
  padding: 0;
}
.modal-close:hover  { background: var(--gray-100); color: var(--gray-900); }
.modal-body         { padding: 1.5rem; }
.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #F3F4F6;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ══════════════════════════════════════════
   FORMS (Dashboard)
══════════════════════════════════════════ */
.form-group  { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.form-grid   { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.form-grid.cols-1 { grid-template-columns: 1fr; }
.form-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.form-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; }

/* ══════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════ */
.guard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
  padding: 2rem;
}
.guard-icon {
  width: 80px;
  height: 80px;
  background: #FEF3C7;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}
.guard-heading { font-size: 1.15rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.5rem; }
.guard-text    { font-size: 0.875rem; color: var(--gray-400); max-width: 300px; line-height: 1.6; margin-bottom: 1.5rem; }
.guard-actions { display: flex; gap: 0.75rem; }
.btn-guard-cancel {
  padding: 0.6rem 1.4rem;
  background: var(--gray-100);
  color: var(--gray-900);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 200ms;
}
.btn-guard-cancel:hover { background: #E5E7EB; }
.btn-guard-action {
  padding: 0.6rem 1.4rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 200ms;
  position: relative;
  overflow: hidden;
}
.btn-guard-action:hover { background: #1D4ED8; }

/* ══════════════════════════════════════════
   LOADERS
══════════════════════════════════════════ */
.spinner {
  display: inline-block;
  border: 2px solid #E5E7EB;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}
.spinner.sm { width: 0.75rem; height: 0.75rem; border-width: 1.5px; }
.spinner.md { width: 1rem;    height: 1rem;    border-width: 2px; }
.spinner.lg { width: 1.5rem;  height: 1.5rem;  border-width: 2.5px; }
.page-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--blue);
}

/* ══════════════════════════════════════════
   GLOBAL TRANSITIONS
══════════════════════════════════════════ */
a, button { transition: all 200ms; }
button:active { transform: scale(0.96); }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container      { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-mockup         { max-width: 520px; margin: 0 auto; }
  .features-grid       { grid-template-columns: repeat(2, 1fr); }
  .problems-grid       { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid            { grid-template-columns: 1fr; gap: 1.75rem; }
  .hiw-divider         { width: 1.5px; height: 30px; margin: 0 auto; }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-top          { grid-template-columns: 1fr; gap: 2rem; }
  .about-container     { grid-template-columns: 1fr; gap: 2rem; }
  .contact-container   { grid-template-columns: 1fr; gap: 2rem; }
  .stats-row           { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stats-bar-grid      { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .faq-layout          { grid-template-columns: 1fr; gap: 2rem; }
  .section-pad         { padding: 4rem 0; }
  .pricing-card.popular { transform: none; }
  .blog-grid           { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-container       { height: 60px; padding: 0 1rem; }
  .nav-links           { display: none; }
  .nav-cta             { display: none; }
  .hamburger           { display: flex; }
  
  /* Footer */
  .footer-top          { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-tagline      { margin-left: auto; margin-right: auto; }
  .footer-socials      { justify-content: center; }
  .footer-links-grid   { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  /* Layout */
  .features-grid       { grid-template-columns: 1fr; }
  .problems-grid       { grid-template-columns: 1fr; }
  .pricing-grid        { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .blog-grid           { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: 1fr; }
  .stats-bar-grid      { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .faq-layout          { grid-template-columns: 1fr; gap: 2rem; }
  .section-pad         { padding: 3.5rem 0; }
  .hero-section        { padding: 6rem 0 3rem; }
  .feature-detail-item { grid-template-columns: 1fr; }
  .feature-detail-icon { width: fit-content; }
  .solution-teaser     { flex-direction: column; }
  .pricing-card.popular { transform: none; }
  .cta-buttons         { flex-direction: column; align-items: center; }
  .hiw-grid            { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-ctas       { flex-direction: column; align-items: flex-start; width: 100%; }
  .trust-badges    { flex-direction: column; gap: 0.5rem; }
  .hero-flags-row  { gap: 0.4rem; }
  .flag-pill       { font-size: 0.75rem; }
  .stats-bar-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-row       { grid-template-columns: 1fr 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col ul   { align-items: center; }
  .pricing-toggle  { width: 100%; justify-content: center; }
  .hero-h1         { font-size: 2rem; }
  .section-heading { font-size: 1.5rem; }
  .proof-strip-items { gap: 1rem; }
  .countries-grid  { gap: 0.5rem; }
  .cta-trust       { gap: 0.75rem; }
  .pricing-trust   { flex-direction: column; gap: 0.5rem; }
}



/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.about-stat-item {}
.about-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2563EB;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-stat-label {
  font-size: 0.8rem;
  color: #9CA3AF;
  font-weight: 500;
}
.values-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-box {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 200ms;
}
.value-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: #D1D5DB;
}
.value-box-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.value-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}
.value-box p {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 200ms;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.team-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* ══════════════════════════════════════════
   FEATURES PAGE
══════════════════════════════════════════ */
.feature-detail-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}
.feature-detail-row.flex-row-reverse {
  flex-direction: row-reverse;
}
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-col {}
.contact-form-col {}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  margin-bottom: 0.2rem;
}
.contact-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}
.contact-info-value[href] { color: #2563EB; }
.contact-info-value[href]:hover { text-decoration: underline; }
.contact-form-fields {}
.cform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cform-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cform-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
}
.cform-group input,
.cform-group select,
.cform-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #111827;
  background: #F9FAFB;
  transition: all 200ms;
  outline: none;
  width: 100%;
}
.cform-group input:focus,
.cform-group select:focus,
.cform-group textarea:focus {
  border-color: #2563EB;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.cform-group textarea { resize: vertical; min-height: 100px; }

/* ══════════════════════════════════════════
   RESPONSIVE — ABOUT / FEATURES / CONTACT
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-story-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .values-grid-4     { grid-template-columns: repeat(2, 1fr); }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .coming-soon-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-detail-row { gap: 2rem; }
  .feature-detail-row.flex-row-reverse { flex-direction: row; }
}

@media (max-width: 768px) {
  .values-grid-4     { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr; }
  .coming-soon-grid  { grid-template-columns: 1fr; }
  .about-stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .cform-grid        { grid-template-columns: 1fr; }
  .feature-detail-row { flex-direction: column !important; }
}

@media (max-width: 480px) {
  .about-stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-stat-num    { font-size: 2rem; }
  .contact-page-grid { gap: 1.5rem; }
}

/* ── Twemoji flag rendering ── */
img.emoji {
  height: 14px !important;
  width: 14px !important;
  margin: 0 0.25em 0 0;
  vertical-align: middle !important;
  display: inline-block;
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVENESS
══════════════════════════════════════════ */

/* ── Extra Large Screens (1200px+) ── */
@media (min-width: 1200px) {
  .container { padding: 0 2rem; }
  .nav-container { padding: 0 2rem; }
}

/* ── Large Tablets (1025px-1199px) ── */
@media (max-width: 1199px) and (min-width: 1025px) {
  .container { padding: 0 1.75rem; }
  .nav-container { padding: 0 1.75rem; }
  .section-pad { padding: 4.5rem 0; }
  html { font-size: 15px; }
}

/* ── Tablets & Small Laptops (769px-1024px) ── */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Additional tablet optimizations */
  .container { padding: 0 1.5rem; }
  .nav-links { gap: 0.1rem; }
  .nav-link { padding: 0.5rem 0.65rem; font-size: 0.85rem; }
  .btn-nav-cta { padding: 0.5rem 1rem; font-size: 0.75rem; }
  
  /* Mockup scaling for tablets */
  .hero-mockup { max-width: 450px; }
  
  /* Dashboard image responsive */
  .dashboard-preview-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  }
  
  /* Floating cards for tablets */
  .floating-card {
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    gap: 0.4rem;
  }
  
  .floating-card-top-left {
    top: -12px;
    left: -12px;
  }
  
  .floating-card-bottom-right {
    bottom: -12px;
    right: -12px;
  }
  
  .floating-card-icon {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  
  .floating-card-title {
    font-size: 0.62rem;
  }
  
  .floating-card-subtitle {
    font-size: 0.58rem;
  }
  
  /* Text scaling */
  .hero-h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
  .section-heading { font-size: clamp(1.5rem, 3vw, 2.5rem); }
  .hero-sub { font-size: 0.95rem; }
  
  /* Spacing */
  .section-pad { padding: 4rem 0; }
  .hero-section { padding: 7rem 0 4rem; }
}

/* ── Medium Tablets (641px-768px) ── */
@media (max-width: 768px) and (min-width: 641px) {
  html { font-size: 15px; }
  
  .nav-container { padding: 0 1.25rem; height: 62px; }
  .container { padding: 0 1.25rem; }
  
  .hero-section { padding: 5.5rem 0 2.5rem; }
  .hero-ctas { gap: 0.6rem; }
  .hero-sub { font-size: 0.9rem; max-width: 100%; }
  
  .btn-primary { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
  .btn-ghost { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
  
  .section-heading { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
  .section-pad { padding: 3.25rem 0; }
  
  /* Hero container adjustments */
  .hero-container { gap: 2rem; }
  .hero-mockup { max-width: 100%; margin: 0; }
  
  /* Dashboard & floating cards for tablets */
  .dashboard-container { position: relative; width: 100%; }
  .dashboard-backdrop { inset: -15px; border-radius: 20px; }
  .dashboard-preview-img { border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
  
  .floating-card {
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    gap: 0.4rem;
  }
  
  .floating-card-top-left { top: -10px; left: -10px; }
  .floating-card-bottom-right { bottom: -10px; right: -10px; }
  .floating-card-icon { width: 24px; height: 24px; font-size: 0.8rem; }
  .floating-card-title { font-size: 0.6rem; }
  .floating-card-subtitle { font-size: 0.55rem; }
  
  /* Typography cleanup */
  .tag-pill { font-size: 0.7rem; padding: 0.3rem 0.75rem; margin-bottom: 1rem; }
  .trust-badges { gap: 1rem; }
  .trust-badges span { font-size: 0.7rem; }
  
  /* Grid adjustments */
  .features-grid { gap: 1.25rem; }
  .problems-grid { gap: 1.25rem; }
  .feature-card { padding: 1.5rem; }
  .problem-card { padding: 1.5rem; }
  
  /* Stats bar */
  .stats-bar-grid { gap: 1rem; }
  .stats-bar-num { font-size: 1.75rem; }
  .stats-bar-label { font-size: 0.7rem; }
  
  /* Testimonials & cards */
  .testimonials-grid { gap: 1.25rem; }
  
  /* Footer adjustments */
  .footer-tagline { margin-bottom: 1.5rem; }
  .proof-strip-inner { gap: 1.25rem; }
}

/* ── Mobile Tablets (481px-640px) ── */
@media (max-width: 640px) and (min-width: 481px) {
  html { font-size: 14.5px; }
  
  .nav-container { 
    padding: 0 1rem; 
    height: 58px; 
    gap: 1.5rem;
  }
  .container { padding: 0 1rem; }
  
  /* Hero */
  .hero-section { padding: 5rem 0 2rem; }
  .hero-h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 0.75rem; }
  .hero-sub { font-size: 0.85rem; margin-bottom: 1.25rem; }
  .tag-pill { font-size: 0.65rem; padding: 0.25rem 0.6rem; margin-bottom: 0.85rem; }
  
  /* Buttons */
  .hero-ctas { gap: 0.5rem; margin-bottom: 1rem; }
  .btn-primary { padding: 0.65rem 1.25rem; font-size: 0.8rem; }
  .btn-ghost { padding: 0.65rem 1.25rem; font-size: 0.8rem; }
  
  /* Section heading */
  .section-heading { font-size: clamp(1.25rem, 2.5vw, 1.9rem); margin-bottom: 0.85rem; }
  .section-label { font-size: 0.6rem; margin-bottom: 0.6rem; }
  .section-pad { padding: 3rem 0; }
  
  /* Cards */
  .feature-card { padding: 1.25rem; }
  .problem-card { padding: 1.25rem; }
  .feature-card h3 { font-size: 0.85rem; }
  .problem-card h3 { font-size: 0.85rem; }
  
  /* Stats */
  .stats-bar-num { font-size: 1.5rem; }
  .stats-bar-label { font-size: 0.65rem; }
  
  /* Trust badges */
  .trust-badges { gap: 0.75rem; }
  .trust-badges span { font-size: 0.65rem; }
  
  /* Flag pills */
  .flag-pill { font-size: 0.7rem; padding: 0.2rem 0.5rem; }
  .hero-flags-label { font-size: 0.65rem; }
  
  .proof-strip { padding: 1rem 0; }
  .proof-strip-inner { gap: 1rem; }
  .proof-strip-label { font-size: 0.65rem; }
  .proof-item { font-size: 0.75rem; gap: 0.3rem; }
  
  /* Dashboard & floating cards */
  .dashboard-container { position: relative; width: 100%; }
  .dashboard-backdrop { inset: -12px; border-radius: 16px; }
  .dashboard-preview-img { max-width: 100%; border-radius: 8px; box-shadow: 0 8px 16px rgba(0,0,0,0.08); }
  
  .floating-card {
    padding: 0.5rem 0.7rem;
    border-radius: 9px;
    gap: 0.35rem;
  }
  
  .floating-card-top-left { top: -8px; left: -8px; }
  .floating-card-bottom-right { bottom: -8px; right: -8px; }
  .floating-card-icon { width: 22px; height: 22px; font-size: 0.75rem; }
  .floating-card-title { font-size: 0.58rem; }
  .floating-card-subtitle { font-size: 0.53rem; }
}

/* ── Mobile Large (388px-480px) ── */
@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .nav-container { 
    padding: 0 0.875rem;
    height: 56px;
    gap: 1rem;
  }
  .container { padding: 0 0.875rem; }
  .section-pad { padding: 2.75rem 0; }
  
  /* Hero section */
  .hero-section { padding: 4.5rem 0 1.75rem; }
  .hero-container { gap: 1.5rem; }
  .hero-h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.1; margin-bottom: 0.6rem; }
  .hero-sub { font-size: 0.8rem; line-height: 1.5; margin-bottom: 1rem; max-width: 100%; }
  
  .tag-pill { 
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.75rem;
    gap: 0.35rem;
  }
  
  /* CTA Buttons - Stack on mobile */
  .hero-ctas {
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    width: 100%;
  }
  .hero-ctas a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .btn-primary {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  .btn-ghost {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  
  /* Typography */
  .section-heading { font-size: clamp(1.1rem, 2.3vw, 1.6rem); margin-bottom: 0.75rem; }
  .section-label { font-size: 0.55rem; margin-bottom: 0.5rem; letter-spacing: 0.12em; }
  .section-sub { font-size: 0.8rem; max-width: 100%; }
  
  /* Cards and containers */
  .feature-card {
    padding: 1rem;
    border-radius: 8px;
  }
  .problem-card {
    padding: 1rem;
    border-radius: 8px;
  }
  .feature-card h3 { font-size: 0.8rem; margin-bottom: 0.3rem; }
  .feature-card p { font-size: 0.75rem; }
  .problem-card h3 { font-size: 0.8rem; margin-bottom: 0.3rem; }
  .problem-card p { font-size: 0.75rem; }
  .feature-icon { font-size: 1.25rem; }
  .problem-icon { font-size: 1.25rem; }
  
  /* Stats bar */
  .stats-bar { padding: 2rem 0; }
  .stats-bar-grid { gap: 1rem; }
  .stats-bar-num {
    font-size: 1.35rem;
    font-weight: 900;
  }
  .stats-bar-label { font-size: 0.6rem; margin-top: 0.2rem; }
  
  /* Trust badges and flags */
  .trust-badges {
    gap: 0.5rem;
    flex-direction: column;
  }
  .trust-badges span {
    font-size: 0.6rem;
    display: block;
  }
  
  .flag-pill {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
  .hero-flags-row { gap: 0.3rem; }
  .hero-flags-label { font-size: 0.6rem; margin-bottom: 0.5rem; }
  
  /* Proof strip */
  .proof-strip { padding: 0.85rem 0; }
  .proof-strip-inner {
    gap: 0.75rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .proof-strip-label { font-size: 0.6rem; white-space: nowrap; }
  .proof-item { font-size: 0.7rem; }
  
  /* Mockup browser */
  .hero-mockup { 
    max-width: 100%;
    margin: 0 auto;
  }
  .mockup-browser {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .browser-bar { padding: 0.6rem 0.75rem; }
  .browser-url { font-size: 0.55rem; padding: 0.15rem 0.5rem; }
  .browser-content {
    min-height: 220px;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .mock-sidebar { width: 40px; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
  .solution-teaser {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    margin-top: 2rem;
    gap: 0.75rem;
  }
  .solution-teaser h3 { font-size: 0.9rem; }
  .solution-teaser p { font-size: 0.75rem; }
  
  /* Buttons on solution teaser */
  .solution-teaser .btn-primary {
    width: 100%;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
  }
  
  /* Generic button fixes */
  .btn-full { width: 100%; }
  .btn-cta-gradient {
    width: 100%;
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
    text-align: center;
  }
  
  /* Contact form */
  .cform-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .cform-group label { font-size: 0.65rem; }
  .cform-group input,
  .cform-group select,
  .cform-group textarea {
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }
  .cform-group textarea { min-height: 80px; }
  
  /* Forms */
  .form-group { margin-bottom: 1rem; }
  .form-group label { font-size: 0.75rem; margin-bottom: 0.3rem; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }
  
  /* Tables responsiveness */
  table {
    font-size: 0.8rem;
  }
  th, td { padding: 0.6rem 0.5rem; }
  
  /* Dashboard & floating cards on mobile */
  .dashboard-container { position: relative; width: 100%; }
  .dashboard-backdrop { inset: -10px; border-radius: 14px; }
  .dashboard-preview-img { max-width: 100%; border-radius: 8px; box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
  
  .floating-card {
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    gap: 0.3rem;
  }
  
  .floating-card-top-left { top: -6px; left: -6px; }
  .floating-card-bottom-right { bottom: -6px; right: -6px; }
  .floating-card-icon { width: 20px; height: 20px; font-size: 0.7rem; }
  .floating-card-title { font-size: 0.55rem; }
  .floating-card-subtitle { font-size: 0.5rem; }
}

/* ── Mobile Extra Small (320px-387px) ── */
@media (max-width: 387px) {
  html { font-size: 13.5px; }
  
  .nav-container {
    padding: 0 0.75rem;
    height: 54px;
    gap: 0.75rem;
  }
  .container { padding: 0 0.75rem; }
  
  .hero-section { padding: 4rem 0 1.5rem; }
  .hero-h1 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
  .hero-sub { font-size: 0.75rem; }
  .tag-pill { font-size: 0.55rem; }
  
  .section-heading { font-size: clamp(1rem, 2vw, 1.4rem); }
  .section-label { font-size: 0.5rem; }
  
  .hero-ctas { gap: 0.5rem; }
  .btn-primary { padding: 0.55rem 0.9rem; font-size: 0.7rem; }
  .btn-ghost { padding: 0.55rem 0.9rem; font-size: 0.7rem; }
  
  .stats-bar-num { font-size: 1.25rem; }
  .stats-bar-label { font-size: 0.55rem; }
  
  .feature-card { padding: 0.9rem; }
  .problem-card { padding: 0.9rem; }
  
  .browser-content { min-height: 200px; }
  .mock-stats { grid-template-columns: 1fr; }
  
  /* Very tight spacing for xsmall screens */
  .section-pad { padding: 2.5rem 0; }
  .proof-strip { padding: 0.7rem 0; }
}

/* ══════════════════════════════════════════
   MOBILE HEADER FIX (Specific)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Enhanced header for mobile */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid #F3F4F6;
  }
  
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  
  /* Mobile menu improvements */
  .mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #F3F4F6;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 1rem 0;
    display: none;
    z-index: 999;
  }
  
  .mobile-menu.open {
    display: block;
    animation: slideDown 200ms ease;
  }
  
  .mobile-menu ul {
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu li {
    border-bottom: 1px solid #F3F4F6;
  }
  
  .mobile-menu li:last-child {
    border-bottom: none;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none;
    transition: all 200ms;
  }
  
  .mobile-menu a:active {
    background: #F9FAFB;
    color: #111827;
  }
  
  .btn-mobile-cta {
    margin: 0.75rem 1rem !important;
    width: calc(100% - 2rem) !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    text-align: center;
    display: block !important;
  }
  
  .btn-mobile-cta:first-of-type {
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    color: #111827 !important;
  }
  
  .btn-mobile-cta:last-of-type {
    background: #2563EB !important;
    color: #fff !important;
  }
  
  /* Logo sizing on mobile */
  .nav-logo { flex-shrink: 0; }
  .logo-img,
  .nav-logo img,
  .nav-logo .custom-logo {
    height: 32px;
    max-width: 120px;
  }
  
  /* Hamburger visibility */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
  }
  
  .hamburger span {
    width: 22px;
    height: 2px;
    background: #111827;
  }
}

/* ══════════════════════════════════════════
   TOUCH-FRIENDLY TARGETS
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Minimum touch target size: 48x48px */
  .btn-primary,
  .btn-ghost,
  .btn-mobile-cta,
  .nav-link,
  button,
  a[href] {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  
  .hamburger {
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════
   LANDSCAPE MODE FIXES (Mobile)
══════════════════════════════════════════ */
@media (max-height: 600px) and (orientation: landscape) {
  .navbar { position: relative; }
  .mobile-menu { position: static; max-height: none; }
  .hero-section { padding: 3rem 0 2rem; }
  .hero-h1 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.5rem; }
  .hero-sub { margin-bottom: 0.75rem; }
  body { overflow-x: hidden; }
}

/* ══════════════════════════════════════════
   UNIVERSAL MOBILE FIXES (Last Resort)
══════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Prevent horizontal overflow on all mobile devices */
  html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    max-width: 100vw;
    width: 100%;
    position: relative;
  }
  
  main,
  section,
  article,
  div {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Ensure all images fit */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Fix table overflow */
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }
  
  /* Disable pinch zoom on inputs (improves UX) */
  input, select, textarea {
    font-size: 16px;
  }
  
  /* Better link/button touch areas */
  a, button, input[type="button"], input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
    padding: 0.6rem 1rem;
  }
  
  /* Responsive grid items */
  [class*="grid"] > * {
    min-width: 0;
  }
  
  /* Fix flex overflow */
  [class*="flex"] {
    min-width: 0;
  }
  
  /* SVG responsive */
  svg {
    max-width: 100%;
    height: auto;
  }
  
  /* Dashboard preview image responsive */
  .dashboard-preview-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }
  
  /* Hero mockup container */
  .hero-mockup {
    max-width: 100%;
    width: 100%;
  }
  
  /* Better form inputs */
  input,
  textarea,
  select {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  /* Extra small devices - ultra-compact */
  html { font-size: 14px; }
  
  body {
    line-height: 1.5;
  }
  
  /* Reduce padding aggressively on very small screens */
  .container {
    padding: 0 0.75rem;
    max-width: 100%;
  }
  
  /* Ensure no overflow */
  * {
    max-width: 100%;
  }
  
  /* Fix long words */
  p, span, a, button, label {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  /* Improved readability */
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
  }
  
  /* Ensure proper button interaction */
  button, a[role="button"], input[type="button"], input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
  }
  
  /* Fix select styling */
  select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
  }
}

/* ══════════════════════════════════════════
   ACCESSIBILITY & MOBILE IMPROVEMENTS
══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Improve mobile navigation */
@media (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }
  
  /* Prevent body scroll when menu is open */
  body.mobile-menu-open main,
  body.mobile-menu-open footer {
    pointer-events: none;
    opacity: 0.7;
  }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
  @media (max-width: 768px) {
    .navbar {
      background: rgba(20, 20, 20, 0.98);
      border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
      background: #1a1a1a;
      border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu a {
      color: rgba(255, 255, 255, 0.8);
    }
  }
}