/* ============================================================
   hjLabs.in Static Site — Main Stylesheet
   Theme: Dark Indigo/Blue Gradient + Glassmorphism
   Bootstrap 5.3.3 companion styles
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --primary:       #4F46E5;
  --primary-light: #818CF8;
  --primary-dark:  #3730A3;
  --bg-dark:       #0B0F19;
  --bg-card:       rgba(15, 23, 42, 0.85);
  --text:          #e2e8f0;
  --text-muted:    #94a3b8;
  --border:        rgba(99, 102, 241, 0.2);
  --accent:        #06b6d4;
  --shadow-glow:   0 0 28px rgba(79, 70, 229, 0.4);
  --radius-card:   16px;
  --transition:    0.3s ease;

  /* ── Enterprise Glassmorphism Design Tokens ────────────── */
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(99, 102, 241, 0.12);
  --glass-border-hover: rgba(99, 102, 241, 0.35);
  --glass-blur: blur(20px) saturate(1.8);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --glass-shadow-hover: 0 20px 60px rgba(99, 102, 241, 0.15), 0 12px 40px rgba(0, 0, 0, 0.4);
  --glass-radius: 16px;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  --accent-gradient-text: linear-gradient(135deg, #c7d2fe, #a5b4fc, #67e8f9);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(
    135deg,
    #0B0F19 0%,
    #0f172a 40%,
    #1e1b4b 70%,
    #312e81 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Heading Typography ───────────────────────────────────── */
h1, h2 {
  letter-spacing: -0.02em;
}

h1, h2, h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  margin-bottom: 1.2em;
}

/* ── Focus Ring (accessibility) ──────────────────────────── */
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.8);
  outline-offset: 3px;
}

/* ── Page Entrance Animation ─────────────────────────────── */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

main, article {
  animation: page-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
}

section {
  padding: 80px 0;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, #818CF8 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--accent); }
.text-muted-custom { color: var(--text-muted); }

.border-glow {
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

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

/* ── Base Glassmorphism Utility ───────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--glass-radius);
}
.glass:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

/* ── Glassmorphism Card ───────────────────────────────────── */
.glass-card {
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  border-radius: var(--glass-radius) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-card:hover {
  border-color: var(--glass-border-hover) !important;
  box-shadow: var(--glass-shadow-hover) !important;
  transform: translateY(-4px) !important;
}

/* ── Gradient Text Utility ───────────────────────────────── */
.gradient-text, .section-title {
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc, #67e8f9) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ── Navbar ───────────────────────────────────────────────── */
.site-navbar, nav[role="navigation"], .navbar-main {
  background: rgba(10, 15, 30, 0.8) !important;
  backdrop-filter: blur(20px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
}
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.site-navbar .container {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #818CF8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: opacity var(--transition);
}

.navbar-brand:hover {
  opacity: 0.9;
  -webkit-text-fill-color: transparent;
}

.site-navbar .nav-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition);
  position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: #fff;
}

.site-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 1px;
}

.site-navbar .navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}

.site-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  margin-top: 8px !important;
}

.dropdown-item {
  color: #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(79, 70, 229, 0.15);
  color: #fff;
}

.dropdown-divider {
  border-color: var(--border);
  margin: 6px 0;
}

.dropdown-header {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 6px 14px 4px;
}

/* Quote Cart Nav Button */
.nav-cart-btn {
  background: rgba(79, 70, 229, 0.15);
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  color: #818CF8 !important;
  border-radius: 8px;
  padding: 7px 16px !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition), color var(--transition) !important;
}

.nav-cart-btn:hover {
  background: rgba(79, 70, 229, 0.3) !important;
  border-color: var(--primary-light) !important;
  color: #fff !important;
}

.nav-cart-count {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 50px;
  padding: 6px 18px;
  color: #818CF8;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, #818CF8 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.85rem;
}

.hero-trust-item .material-icons {
  font-size: 18px;
  color: var(--accent);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-glow {
  background: var(--primary);
  color: #fff;
  padding: 0 1.875rem;
  height: 46px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.88rem;
  border: none;
  box-shadow: 0 0 28px rgba(79, 70, 229, 0.4);
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-primary-glow:hover,
.btn-primary-glow:focus {
  box-shadow: 0 0 50px rgba(79, 70, 229, 0.65);
  transform: translateY(-2px);
  background: #5a52f0;
  color: #fff;
}

.btn-outline-glow {
  background: transparent;
  color: #818CF8;
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  padding: 0 1.75rem;
  height: 46px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.88rem;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-outline-glow:hover,
.btn-outline-glow:focus {
  border-color: #818CF8;
  background: rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
  color: #fff;
}

/* ── Section Titles ───────────────────────────────────────── */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 560px;
}

.section-header {
  margin-bottom: 48px;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.82rem;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #64748b;
  transition: color var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--primary-light);
}

.breadcrumb-nav .separator {
  color: #334155;
}

.breadcrumb-nav .current {
  color: #94a3b8;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
}

.stat-item {
  text-align: center;
  padding: 8px 0;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #818CF8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  display: block;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 8px 0;
}

/* ── Product Cards ────────────────────────────────────────── */
.product-card {
  background: rgba(15, 23, 42, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.18);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  transition: transform var(--transition);
}

.product-card:hover img {
  transform: scale(1.05);
}

.badge-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: #818CF8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 14px 0 8px;
  line-height: 1.4;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}

.product-price {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.product-price .price-note {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 400;
  margin-left: 4px;
}

.btn-quote {
  width: 100%;
  background: transparent;
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  color: #818CF8;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.btn-quote:hover {
  background: rgba(79, 70, 229, 0.15);
  border-color: #818CF8;
  color: #fff;
}

/* ── Feature Cards ────────────────────────────────────────── */
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 70, 229, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #818CF8;
  flex-shrink: 0;
  transition: background var(--transition);
}

.feature-icon .material-icons {
  font-size: 24px;
}

.glass-card:hover .feature-icon {
  background: rgba(79, 70, 229, 0.25);
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ── Floating Quote Cart Badge ────────────────────────────── */
.quote-cart-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
  border: none;
}

.quote-cart-badge:hover {
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.6);
  transform: translateY(-2px);
  background: #5a52f0;
  color: #fff;
}

.quote-cart-badge .material-icons {
  font-size: 20px;
}

.quote-cart-badge .cart-count {
  background: var(--accent);
  color: #0B0F19;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.quote-cart-badge.hidden {
  display: none;
}

/* ── Footer ───────────────────────────────────────────────── */
footer, [role="contentinfo"] {
  background: rgba(5, 10, 25, 0.95) !important;
  border-top: 1px solid rgba(99, 102, 241, 0.1) !important;
}
.site-footer {
  padding: 64px 0 32px;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818CF8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  letter-spacing: -0.02em;
}

.footer-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-stat {
  text-align: center;
}

.footer-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #818CF8;
  display: block;
}

.footer-stat-label {
  font-size: 0.7rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-heading {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #818CF8;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: #64748b;
  font-size: 0.875rem;
}

.footer-contact-item .material-icons {
  font-size: 18px;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-item a {
  color: #64748b;
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: #818CF8;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.social-icon:hover {
  background: rgba(79, 70, 229, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  color: #818CF8;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  color: #475569;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #475569;
  font-size: 0.82rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page Load Fade ───────────────────────────────────────── */
.page-transition {
  animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Misc Components ──────────────────────────────────────── */

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Alert / notice */
.alert-glass {
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: #c7d2fe;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-glass .material-icons {
  font-size: 20px;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* Form inputs */
.form-control-dark {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-control-dark:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.form-control-dark::placeholder {
  color: #475569;
}

.form-label-dark {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Rating stars */
.rating-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Pill badge (Bootstrap override) */
.badge-indigo {
  background: rgba(79, 70, 229, 0.2);
  color: #818CF8;
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-weight: 600;
  font-size: 0.72rem;
}

/* ── Quote Cart Page ──────────────────────────────────────── */
#cart-items .cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

#cart-items .cart-item:last-child {
  border-bottom: none;
}

#cart-items .cart-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}

#cart-items .cart-item-name {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

#cart-items .cart-item-price {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

#cart-items .cart-item-remove {
  background: none;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
}

#cart-items .cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #475569;
}

.cart-empty .material-icons {
  font-size: 64px;
  color: rgba(99, 102, 241, 0.3);
  display: block;
  margin-bottom: 16px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 16px;
    margin-top: 0;
  }

  .site-navbar .nav-link.active::after {
    display: none;
  }

  .dropdown-menu {
    background: rgba(15, 23, 42, 0.6);
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 4px !important;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .stats-bar {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .quote-cart-badge {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  #cart-items .cart-item {
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    padding: 14px;
  }

  #cart-items .cart-item img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 575.98px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-glow,
  .btn-outline-glow {
    justify-content: center;
  }
}

/* ── Bootstrap Overrides ──────────────────────────────────── */
.container,
.container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}

.row {
  --bs-gutter-x: 24px;
}

/* Ensure Bootstrap dark accordion matches */
.accordion-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px !important;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-button {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(79, 70, 229, 0.12);
  color: var(--primary-light);
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Table dark */
.table-dark-glass {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}

.table-dark-glass th {
  background: rgba(79, 70, 229, 0.15);
  color: #c7d2fe;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.table-dark-glass td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  color: var(--text-muted);
  vertical-align: top;
}

.table-dark-glass tr:last-child td {
  border-bottom: none;
}

.table-dark-glass tr:hover td {
  background: rgba(79, 70, 229, 0.05);
  color: var(--text);
}

/* ══════════════════════════════════════════════════════
   hjLabs.in — Global Style Enhancements v2.0
   Added 2026-03-29: better glass, improved sections,
   enhanced buttons, harmonised spacing.
   ══════════════════════════════════════════════════════ */

/* Better .reveal transition */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Product card button improvements */
.btn-add-quote {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.btn-add-quote:hover {
  opacity: 0.93;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5);
}

/* Better WhatsApp button */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
  color: #fff !important;
}

/* Better quote button */
.btn-quote, .btn-primary-glow {
  background: linear-gradient(135deg, #6366f1, #4f46e5, #4338ca) !important;
  border: 1px solid rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}
.btn-quote:hover, .btn-primary-glow:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Section spacing harmony */
section { padding: 4.5rem 0; }
@media (max-width: 768px) { section { padding: 3rem 0; } }

/* Better accordion (product FAQ) */
.accordion-button {
  background: rgba(15,23,42,0.6) !important;
  color: #f1f5f9 !important;
  font-weight: 600;
  border: none;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(99,102,241,0.15) !important;
  color: #818cf8 !important;
}
.accordion-item {
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(99,102,241,0.15) !important;
  border-radius: 10px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion-body {
  background: rgba(15,23,42,0.3);
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.75;
}

/* Better specs table */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(99,102,241,0.1);
}
.specs-table td:first-child {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.88rem;
  width: 40%;
}
.specs-table td:last-child {
  color: #f1f5f9;
  font-size: 0.92rem;
}
.specs-table tr:last-child td {
  border-bottom: none;
}

/* Breadcrumb improvements */
.breadcrumb-nav {
  padding: 0.75rem 0;
  font-size: 0.83rem;
}

/* Logo in navbar */
.navbar-logo {
  height: 34px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
  filter: brightness(1.1);
  transition: filter 0.2s, opacity 0.2s;
}
.navbar-logo:hover { filter: brightness(1.3); opacity: 0.88; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.5); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6366f1, #4f46e5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #818cf8; }

/* ── Input Glassmorphism ─────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  border-radius: 10px !important;
  color: #e2e8f0 !important;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 0 20px rgba(99, 102, 241, 0.1) !important;
}

/* Selection color */
::selection { background: rgba(99,102,241,0.3); color: #f1f5f9; }

/* ── Gallery images ───────────────────────────────────────── */
.gallery img,
.product-gallery img,
figure img {
  border-radius: 8px;
}

/* ── Mobile text-size utilities ──────────────────────────── */
@media (max-width: 575.98px) {
  .text-sm-xs   { font-size: 0.78rem !important; }
  .text-sm-sm   { font-size: 0.85rem !important; }
  .text-sm-base { font-size: 0.95rem !important; }

  h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 5vw, 1.5rem); }
}

/* ── Consistent product / main section padding ───────────── */
.product-section,
.products-section,
.featured-section {
  padding: 4rem 0;
}

/* ── Subtle section divider ──────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   Compact Layout System — tighter, sleeker spacing
   ══════════════════════════════════════════════════════════ */

/* Sections */
section { padding: 2.5rem 0 !important; }
.page-hero { padding: 2rem 0 1.5rem !important; }

/* Headings */
h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important; margin-bottom: 0.5rem !important; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important; margin-bottom: 0.75rem !important; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem) !important; }

/* Paragraphs */
p { margin-bottom: 0.8rem !important; font-size: 0.93rem !important; line-height: 1.65 !important; }

/* Cards */
.glass-card { padding: 1.2rem !important; }
.glass-card:not(.product-card) h3 { font-size: 1.05rem !important; }

/* Section titles */
.text-center.mb-5 { margin-bottom: 1.5rem !important; }
.text-center.mb-4 { margin-bottom: 1.2rem !important; }

/* Footer */
.site-footer { padding: 2.5rem 0 1.5rem !important; }
.footer-bottom { padding: 1rem 0 !important; }

/* Grid gaps */
.row.g-4 { --bs-gutter-y: 1rem !important; --bs-gutter-x: 1rem !important; }
.row.g-3 { --bs-gutter-y: 0.75rem !important; --bs-gutter-x: 0.75rem !important; }

/* Stagger grid — spacing handled by Bootstrap gutter vars above, not CSS gap
   (CSS gap + percentage column widths causes overflow and row wrapping) */

/* Breadcrumbs */
.breadcrumb-nav, nav[aria-label="breadcrumb"], nav[aria-label="Breadcrumb"] {
  font-size: 0.8rem !important;
  margin-bottom: 0.5rem !important;
}

/* Buttons */
.btn-quote, .btn-primary-glow, .btn-outline-glow {
  padding: 0.6rem 1.4rem !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
}

/* Tables */
td, th { padding: 10px 16px !important; font-size: 0.9rem !important; }

/* Accordions */
.accordion-button { padding: 0.75rem 1rem !important; font-size: 0.92rem !important; }
.accordion-body { padding: 0.75rem 1rem !important; font-size: 0.9rem !important; }

/* ── CONTAINER — use more of the viewport at wider screens ── */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container { max-width: calc(100% - 48px) !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .container { max-width: calc(100% - 60px) !important; }
}
@media (min-width: 1400px) {
  .container { max-width: 1340px !important; }
}
