/* Global base */
:root {
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --blue-100: #dbeafe;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --shadow-red: 0 10px 30px rgba(239, 68, 68, 0.15);
}
html { scroll-behavior: smooth; }
.small {
    font-size: .875rem;
    font-weight: 400;
}
/* Loading screen */
.loading-screen {
  position: fixed; inset: 0; z-index: 2000; background: #fff; display: flex; align-items: center; justify-content: center; transition: opacity 1s ease; overflow: hidden;
}
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.spinner-wrap { width: 64px; height: 64px; }
.spinner-ring { width: 64px; height: 64px; border: 2px solid var(--gray-200); border-radius: 999px; }
.spinner-ring-top { position: absolute; inset: 0; border-color: transparent; border-top-color: var(--red-500); animation: spin 1s linear infinite; box-shadow: 0 0 20px rgba(239,68,68,.3) inset; }
.spinner-inner { position: absolute; inset: 8px; border: 1px solid rgba(239,68,68,.35); border-radius: 999px; animation: pulse 2s ease-in-out infinite; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fca5a5; animation: bounce 1s infinite; }
.dot.delay-1 { animation-delay: .1s; }
.dot.delay-2 { animation-delay: .2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity:.6 } 50% { opacity:1 } }
@keyframes bounce { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }

/* Progress bar */
.progress-bar-fixed { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(229,231,235,.8); z-index: 1500; overflow: hidden; }
.progress-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #fb7185, #ef4444, #b91c1c); position: relative; transition: width .6s ease; }
.progress-shimmer { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shimmer 1.5s linear infinite; }
.progress-red-shimmer { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(254,202,202,.4), transparent); animation: shimmer 2s linear infinite reverse; }
.progress-grid { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(252,165,165,.3) 18px, rgba(252,165,165,.3) 20px); animation: gridSlide 6s linear infinite; }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes gridSlide { from { background-position: 0 0; } to { background-position: 200px 0; } }

/* Section indicator */
.section-indicator { position: fixed; top: 3rem; right: 2rem; z-index: 1600; padding: .5rem .75rem; border: 1px solid rgba(248,113,113,.4); border-radius: .75rem; background: rgba(255,255,255,.95); box-shadow: 0 8px 30px rgba(0,0,0,.05); font-size: .75rem; color: #374151; }
.section-indicator::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(254,242,242,.4), rgba(243,244,246,.2)); z-index: -1; }


/* Background effects container */
#background-effects { position: fixed; inset:0; pointer-events:none; z-index: 0; }
/* Mesh/particles simplified for performance */
#background-effects::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(252,165,165,.15), transparent 50%), radial-gradient(circle at 80% 80%, rgba(219,234,254,.2), transparent 50%); opacity:.6; }
#background-effects::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(45deg, transparent, transparent 38px, rgba(239,68,68,.12) 38px, rgba(239,68,68,.12) 40px); opacity:.08; }

/* Hero */
.hero-section { min-height: 100vh; position: relative; overflow: hidden; }
.hero-bg { position:absolute; inset:0; background: linear-gradient(135deg, var(--gray-50), #fff 40%, rgba(219,234,254,.35)); }
.gradient-red { background: linear-gradient(90deg, var(--red-600), #b91c1c); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Parallax floating shapes (lightweight) */
.hero-section::before, .hero-section::after { content:""; position:absolute; border-radius: 1rem; opacity:.25; filter: drop-shadow(0 10px 20px rgba(59,130,246,.2)); transition: transform .3s ease; }
.hero-section::before { width: 120px; height:120px; background: rgba(219,234,254,.7); top: 12%; left: 10%; transform: translateY(0); }
.hero-section::after { width: 100px; height:100px; background: rgba(254,226,226,.8); bottom: 10%; right: 8%; transform: translateY(0); border-radius: 999px; box-shadow: var(--shadow-red); }

/* Utilities */
.bg-danger-subtle { background: #fee2e2 !important; }
.border-danger-subtle { border-color: #fecaca !important; }

/* Section padding utility similar to section-padding-compact-xs */
.section-compact { padding-top: 3rem; padding-bottom: 3rem; }

/* Problem/Solution section */
.bg-fade-red { position:absolute; inset:0; background: linear-gradient(135deg, var(--gray-50), #fff 40%, rgba(254,226,226,.35)); z-index: 0; }
.bg-grid.subtle { position:absolute; inset:0; opacity:.04; background-image: linear-gradient(rgba(107,114,128,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(107,114,128,.4) 1px, transparent 1px); background-size: 60px 60px; z-index: 0; }
.badge-chip { border: 1px solid var(--gray-200); border-radius: 999px; padding: .5rem .75rem; background: #fff; }
.icon-dot { width: 32px; height: 32px; border-radius: 999px; display:flex; align-items:center; justify-content:center; flex: 0 0 auto; }
.icon-square { width: 40px; height: 40px; border-radius: .75rem; display:flex; align-items:center; justify-content:center; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.solution-card { border: 1px solid #e5e7eb; border-radius: 1rem; }

/* Why Choose Us */
.bg-wcu { position:absolute; inset:0; background: linear-gradient(135deg, var(--gray-50), #fff 40%, rgba(243,244,246,.6)); z-index: 0; }
.btn-reset { background: transparent; border: 0; width: 100%; text-align: center; }
.stat-card { border: 1px solid #e5e7eb; border-radius: .75rem; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); transition: transform .2s ease, box-shadow .2s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.icon-sm { width: 56px; height: 56px; border-radius:.75rem; display:flex; align-items:center; justify-content:center; }
.feature-card { border: 1px solid #e5e7eb; border-radius: 1rem; transition: box-shadow .2s ease, transform .2s ease; }
.feature-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.06); transform: translateY(-2px); }
.icon-md { width: 40px; height: 40px; border-radius: .75rem; display:flex; align-items:center; justify-content:center; border-color:#e5e7eb !important; }
.bar { height: 2px; border-radius: 999px; }
.bar-dark { width: 24px; background:#111827; }
.bar-light { width: 6px; background:#9ca3af; }
.chev-toggle { width: 32px; height: 32px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; display:flex; align-items:center; justify-content:center; }
.chev { transition: transform .25s ease; }
.chev-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.item-pill { padding: .5rem .75rem; background: #f9fafb; border: 1px solid #f3f4f6; border-radius: .5rem; }

/* Services (Upgradation solutions) */
.service-card { border: 1px solid #e5e7eb; border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); border-color: #e5e7eb; }

/* Benefits */
.benefit-card { border: 1px solid #e5e7eb; border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.benefit-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.icon-lg { width: 56px; height: 56px; border-radius: .75rem; display:flex; align-items:center; justify-content:center; }

/* ROI card */
.roi-card { border: 1px solid #e5e7eb; border-radius: 1rem; background: linear-gradient(90deg, #f9fafb, rgba(254,226,226,.25)); }

/* CTA dark banner */
.cta-dark { background: linear-gradient(90deg, #111827, #1f2937); position: relative; overflow: hidden; border-radius: 1rem; }
.cta-dark::before { content:""; position:absolute; inset:0; background: radial-gradient(400px circle at 20% 50%, rgba(239,68,68,.18), transparent 50%), radial-gradient(400px circle at 80% 50%, rgba(156,163,175,.18), transparent 50%); opacity:.8; }

/* Header active underline (simple) */
.nav-item { position: relative; }
/* underline handled via ::after above */

/* E‑Commerce / Success Stories */
.ecom-bg-main { position:absolute; inset:0; background: linear-gradient(135deg, var(--gray-50), #fff 50%, rgba(219,234,254,.25)); z-index:0; }
.case-number { font-size: 5rem; font-weight: 800; line-height: 1; left: -6px; top: -24px; pointer-events: none; }
.ecom-card { position: relative; overflow: hidden; }
.ecom-card::before { content:""; position:absolute; inset:0; background: radial-gradient(600px circle at 80% 20%, rgba(239,68,68,.06), transparent 40%); opacity: 0; transition: opacity .3s ease; }
.ecom-card:hover::before { opacity: 1; }
.ecom-card { border-radius: 1rem; border: 1px solid #e5e7eb !important; }
.ecom-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.06); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Features mini cards */
.feature-mini { border-radius: 1rem; }
.feature-mini:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.06) !important; }
.feature-cta { border-radius: 1rem; }

/* Reduced-motion safe */
@media (prefers-reduced-motion: reduce) {
  .progress-shimmer, .progress-red-shimmer, .progress-grid, .spinner-ring-top, .spinner-inner, .dot { animation: none !important; }
}

/* Comparison - Industry Expertise */
.industry-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: #d1d5db;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
.industry-card .icon-md {
  width: 44px;
  height: 44px;
  border-radius: .75rem;
}

/* Process - Accordion and USP */
.process-card { border: 1px solid #e5e7eb; border-radius: 1rem; overflow: hidden; }
.process-card .accordion-button { background: #fff; }
.process-card .accordion-button:not(.collapsed) { box-shadow: inset 0 -1px 0 rgba(0,0,0,.05); }
.step-number { width: 32px; height: 32px; border-radius: .5rem; display:inline-flex; align-items:center; justify-content:center; background: #111827; color: #fff; font-weight: 700; }
.usp-card { border: 1px solid #e5e7eb; border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.usp-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.06); }

/* FAQ */
.faq-card { border: 1px solid #e5e7eb; border-radius: 1rem; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-card:hover { border-color: #d1d5db; box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.faq-q { font-weight: 600; }


.badge-reveal {
  font-size: 14px;
  font-weight: 500;
}