/* ═══════════════════════════════════════════════════════════
   HelloLaundry — Premium Brand Stylesheet v2.0
   Clean · Fresh · Professional
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --hl-primary:     #0EA5E9;
  --hl-primary-dk:  #0284C7;
  --hl-primary-lt:  #BAE6FD;
  --hl-navy:        #0C1A2E;
  --hl-teal:        #06B6D4;
  --hl-green:       #10B981;
  --hl-mint:        #ECFDF5;
  --hl-amber:       #F59E0B;
  --hl-red:         #EF4444;
  --hl-bg:          #F0F9FF;
  --hl-bg2:         #FFFFFF;
  --hl-card:        #FFFFFF;
  --hl-border:      #E0F2FE;
  --hl-text:        #0C1A2E;
  --hl-muted:       #64748B;
  --hl-radius:      16px;
  --hl-radius-lg:   24px;
  --hl-shadow:      0 2px 8px rgba(14,165,233,.08), 0 8px 24px rgba(14,165,233,.06);
  --hl-shadow-lg:   0 8px 40px rgba(14,165,233,.18);
  --hl-shadow-xl:   0 20px 60px rgba(12,26,46,.15);
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--hl-bg);
  color: var(--hl-text);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--hl-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hl-primary-dk); }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f9ff; }
::-webkit-scrollbar-thumb { background: var(--hl-primary-lt); border-radius: 4px; }

/* ── Navbar ────────────────────────────────────────────────── */
.hl-navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14,165,233,.12);
  box-shadow: 0 2px 20px rgba(14,165,233,.08);
  padding: .9rem 0;
  position: sticky; top: 0; z-index: 1000;
  transition: all .3s;
}
.brand-icon { font-size: 1.5rem; }
.brand-text { font-size: 1.25rem; color: var(--hl-text); margin-left: .4rem; font-weight: 700; }
.brand-text strong { color: var(--hl-primary); }
.navbar-nav .nav-link {
  color: var(--hl-muted) !important; font-weight: 500;
  transition: color .2s; padding: .5rem .85rem !important; border-radius: 8px;
}
.navbar-nav .nav-link:hover { color: var(--hl-primary) !important; background: var(--hl-bg); }
.btn-primary {
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-primary-dk));
  border: none; font-weight: 700; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
  transition: all .25s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--hl-primary-dk), #0369A1);
  box-shadow: 0 6px 20px rgba(14,165,233,.45); transform: translateY(-1px);
}
.btn-outline-primary {
  color: var(--hl-primary); border: 2px solid var(--hl-primary);
  border-radius: 12px; font-weight: 600;
}
.btn-outline-primary:hover { background: var(--hl-primary); border-color: var(--hl-primary); transform: translateY(-1px); }
.btn-xs { padding: .2rem .55rem; font-size: .78rem; border-radius: 6px; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(160deg, #0C1A2E 0%, #0F2848 40%, #0C3A6E 100%);
  padding: 5.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Animated bubble background */
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(14,165,233,.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(6,182,212,.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Wave overlay at bottom */
.hero-wave {
  position: absolute; bottom: -2px; left: 0; width: 100%; overflow: hidden; line-height: 0;
}
.hero-wave svg { display: block; }

.hero-title {
  font-size: 3.6rem; font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.text-gradient {
  background: linear-gradient(135deg, #38BDF8, #06B6D4, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 520px;
  line-height: 1.75;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(14,165,233,.2); border: 1px solid rgba(14,165,233,.4);
  color: #38BDF8; border-radius: 50px; padding: .45rem 1rem;
  font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge span { width: 8px; height: 8px; background: #38BDF8; border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.6} }

/* Floating bubbles */
.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), rgba(14,165,233,.05));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(2px);
  animation: floatUp linear infinite;
  pointer-events: none;
}
.b1  { width:60px;  height:60px;  left:5%;   bottom:-80px; animation-duration:12s; animation-delay:0s;  }
.b2  { width:40px;  height:40px;  left:15%;  bottom:-80px; animation-duration:9s;  animation-delay:2s;  }
.b3  { width:80px;  height:80px;  left:25%;  bottom:-80px; animation-duration:14s; animation-delay:4s;  }
.b4  { width:30px;  height:30px;  left:40%;  bottom:-80px; animation-duration:8s;  animation-delay:1s;  }
.b5  { width:50px;  height:50px;  left:55%;  bottom:-80px; animation-duration:11s; animation-delay:3s;  }
.b6  { width:70px;  height:70px;  left:70%;  bottom:-80px; animation-duration:13s; animation-delay:0.5s;}
.b7  { width:35px;  height:35px;  left:80%;  bottom:-80px; animation-duration:10s; animation-delay:5s;  }
.b8  { width:55px;  height:55px;  left:90%;  bottom:-80px; animation-duration:15s; animation-delay:2.5s;}

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* Hero visual right side */
.hero-visual { position: relative; }
.hero-card-main {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--hl-radius-lg); padding: 2.5rem;
  text-align: center; color: #fff;
  animation: cardEntrance .7s ease-out both, floatCircle 6s ease-in-out infinite .7s;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
@keyframes cardEntrance {
  0%   { opacity: 0; transform: translateY(40px) scale(.9); }
  100% { opacity: 1; transform: translateY(0)    scale(1);  }
}
.hero-emoji-big {
  font-size: 5rem; display: block; margin-bottom: 1rem;
  animation: heroBounceIn .8s cubic-bezier(.34,1.56,.64,1) both;
}
.hero-sparkle {
  font-size: 2.5rem; margin-bottom: .5rem;
  display: inline-block;
  animation: sparklePop 2s ease-in-out infinite;
}
.hero-card-label { font-size: .85rem; font-weight: 600; opacity: .8; }
.hero-card-value {
  font-size: 1.4rem; font-weight: 800;
  position: relative; display: inline-block;
  animation: valuePulse 3s ease-in-out infinite 1.5s;
}

/* Floating service chips */
.service-chip {
  position: absolute; background: rgba(255,255,255,.95);
  border-radius: 50px; padding: .6rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; color: var(--hl-text);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  white-space: nowrap;
  opacity: 0; animation-fill-mode: both;
}
.chip-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.chip1 { top: -20px; left: -40px;  animation: chipEntrance .6s .3s ease-out both, floatBubble 4s ease-in-out infinite .9s; }
.chip2 { top:  20px; right: -50px; animation: chipEntrance .6s .6s ease-out both, floatBubble 5s ease-in-out infinite 1.3s; }
.chip3 { bottom:-10px; left: -30px; animation: chipEntrance .6s .9s ease-out both, floatBubble 6s ease-in-out infinite 1.8s; }
.chip4 { bottom: 30px; right:-45px; animation: chipEntrance .6s 1.2s ease-out both, floatBubble 4.5s ease-in-out infinite 2.2s; }

@keyframes floatCircle { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes floatBubble { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-10px) rotate(2deg)} }
@keyframes sparklePop {
  0%,100% { transform: scale(1) rotate(0deg); }
  30%     { transform: scale(1.4) rotate(-15deg); }
  60%     { transform: scale(.9) rotate(10deg); }
}
@keyframes valuePulse {
  0%,100% { text-shadow: 0 0 0 transparent; }
  50%     { text-shadow: 0 0 20px rgba(52,211,153,.9), 0 0 40px rgba(52,211,153,.4); }
}
@keyframes heroBounceIn {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}
@keyframes chipEntrance {
  0%   { opacity: 0; transform: scale(.5) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hero Stats */
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.stat-item { display: flex; flex-direction: column; }
.stat-num   { font-size: 1.8rem; font-weight: 900; color: #38BDF8; line-height: 1; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.6); font-weight: 500; margin-top: .2rem; }

/* Trust Strip */
.trust-strip {
  background: #fff; padding: 1.5rem 0;
  border-top: 1px solid var(--hl-border);
  border-bottom: 1px solid var(--hl-border);
}
.trust-item {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 600; color: var(--hl-text); font-size: .88rem;
}
.trust-item i { color: var(--hl-primary); font-size: 1.2rem; }

/* ── Section Styles ────────────────────────────────────────── */
.section-alt { background: #fff; }
.section-wave-bg {
  background: linear-gradient(180deg, #F0F9FF 0%, #fff 100%);
}
.section-title {
  font-size: 2.25rem; font-weight: 900; color: var(--hl-navy);
  letter-spacing: -0.02em; line-height: 1.2;
}
.section-sub { color: var(--hl-muted); font-size: 1.05rem; margin-top: .6rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.section-pill {
  display: inline-block; background: var(--hl-bg);
  border: 1px solid var(--hl-border); color: var(--hl-primary);
  border-radius: 50px; padding: .35rem .9rem; font-size: .8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 1rem;
}

/* Wave divider */
.wave-divider { display: block; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; }

/* ── How It Works ──────────────────────────────────────────── */
.step-card {
  background: #fff; border-radius: var(--hl-radius-lg); padding: 2.25rem 1.75rem;
  box-shadow: var(--hl-shadow); border: 2px solid transparent;
  transition: all .3s; position: relative; overflow: hidden; text-align: center;
}
.step-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.04), transparent);
  opacity: 0; transition: .3s;
}
.step-card:hover { border-color: var(--hl-primary); transform: translateY(-6px); box-shadow: var(--hl-shadow-lg); }
.step-card:hover::before { opacity: 1; }
.step-card.featured { border-color: var(--hl-primary); background: linear-gradient(135deg, #F0F9FF, #fff); }
.step-num {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 4rem; font-weight: 900; color: rgba(14,165,233,.08);
  line-height: 1; pointer-events: none;
}
.step-icon-wrap {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--hl-bg), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--hl-primary);
  box-shadow: 0 4px 16px rgba(14,165,233,.2);
}
.step-card.featured .step-icon-wrap {
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-teal));
  color: #fff; box-shadow: 0 6px 20px rgba(14,165,233,.4);
}
.step-connector {
  display: flex; align-items: center; justify-content: center;
  padding-top: 2.5rem; color: var(--hl-primary-lt); font-size: 1.5rem;
}

/* ── Service Cards ─────────────────────────────────────────── */
.service-card {
  background: #fff; border-radius: var(--hl-radius-lg); padding: 1.75rem;
  box-shadow: var(--hl-shadow); border: 1px solid var(--hl-border);
  transition: all .3s; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  opacity: 0; transition: .3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--hl-shadow-xl); border-color: transparent; }
.service-card:hover::after { opacity: 1; }

.service-icon-wrap {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
  transition: transform .3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.service-icon-sm {
  width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.service-price { font-size: 1.15rem; font-weight: 800; color: var(--hl-navy); }
.service-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--hl-bg); color: var(--hl-muted);
  border-radius: 50px; padding: .2rem .7rem; font-size: .73rem; font-weight: 600;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--hl-primary); font-size: .85rem; font-weight: 700;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--hl-border);
  transition: gap .2s;
}
.service-card:hover .service-card-link { gap: .7rem; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonial-card {
  background: #fff; border-radius: var(--hl-radius-lg); padding: 2rem;
  box-shadow: var(--hl-shadow); border: 1px solid var(--hl-border);
  position: relative; overflow: hidden; transition: all .3s;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: .5rem; right: 1.5rem;
  font-size: 6rem; line-height: 1; font-weight: 900;
  color: rgba(14,165,233,.08); font-family: Georgia, serif; pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--hl-shadow-lg); }
.testimonial-card.featured {
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-teal));
  color: #fff; border: none;
}
.testimonial-card.featured .text-muted { color: rgba(255,255,255,.8) !important; }
.testimonial-card.featured::before { color: rgba(255,255,255,.15); }
.stars { color: #FBBF24; font-size: 1rem; letter-spacing: .05rem; }
.testimonial-card.featured .stars { color: #FDE68A; }
.avatar-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-teal));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.testimonial-card.featured .avatar-circle { background: rgba(255,255,255,.3); }
.small-avatar { width: 32px; height: 32px; font-size: .8rem; }

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(160deg, var(--hl-navy) 0%, #0F3460 50%, #0C1A2E 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 50%, rgba(14,165,233,.15), transparent);
}
.btn-white { background: #fff; color: var(--hl-primary); border: none; font-weight: 800; border-radius: 14px; transition: all .25s; }
.btn-white:hover { background: var(--hl-bg); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--hl-primary); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.3) !important; font-weight: 700; border-radius: 14px; transition: all .25s; }
.btn-outline-light:hover { background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.6) !important; transform: translateY(-2px); }
.cta-shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-s1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.cta-s2 { width: 200px; height: 200px; bottom: -80px; left: 5%; }
.cta-s3 { width: 150px; height: 150px; top: 20%; left: 30%; }

/* ── Page Headers ──────────────────────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--hl-navy) 0%, #0F2848 100%);
  color: #fff; padding: 2.5rem 0 2.25rem;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--hl-primary), var(--hl-teal), var(--hl-green));
}
.page-header.admin-header { background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%); }
.page-title { font-size: 1.9rem; font-weight: 900; margin: 0; letter-spacing: -0.02em; }
.page-sub { opacity: .75; margin: .4rem 0 0; font-size: .95rem; }

/* ── Footer ────────────────────────────────────────────────── */
.hl-footer { background: var(--hl-navy); color: #94a3b8; padding: 4rem 0 2rem; position: relative; }
.hl-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--hl-primary), var(--hl-teal), var(--hl-green));
}
.footer-brand { font-size: 1.3rem; color: #fff; font-weight: 800; }
.hl-footer a { color: #94a3b8; transition: color .2s; }
.hl-footer a:hover { color: #38BDF8; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all .2s;
}
.social-links a:hover { background: var(--hl-primary); border-color: var(--hl-primary); color: #fff; }

/* ── Auth Pages ────────────────────────────────────────────── */
.auth-page {
  min-height: 90vh; display: flex; align-items: center; padding: 2rem 0;
  background: linear-gradient(160deg, #F0F9FF 0%, #fff 100%);
}
.auth-card {
  background: #fff; border-radius: var(--hl-radius-lg); padding: 2.75rem;
  box-shadow: var(--hl-shadow-xl); border: 1px solid var(--hl-border);
}
.auth-logo { font-size: 3.5rem; margin-bottom: .5rem; display: block; }
.auth-brand { font-size: 1.5rem; font-weight: 900; color: var(--hl-navy); }
.auth-brand span { color: var(--hl-primary); }
.demo-box {
  background: linear-gradient(135deg, #F0F9FF, #E0F2FE);
  border: 1px solid var(--hl-border); border-radius: 12px; padding: 1rem;
}

/* ── Cards ─────────────────────────────────────────────────── */
.hl-card {
  background: #fff; border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow); border: 1px solid var(--hl-border);
}
.hl-card-header {
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--hl-border);
  font-weight: 700; background: #FAFCFF;
  border-radius: var(--hl-radius) var(--hl-radius) 0 0;
  color: var(--hl-navy);
}
.hl-card-body { padding: 1.5rem; }

/* ── Stat Cards ─────────────────────────────────────────────── */
.stat-card {
  background: #fff; border-radius: var(--hl-radius); padding: 1.5rem;
  box-shadow: var(--hl-shadow); border: 1px solid var(--hl-border);
  text-align: center; transition: all .25s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--hl-shadow-lg); }
.stat-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin: 0 auto .85rem;
}
.stat-num-lg { font-size: 1.8rem; font-weight: 900; color: var(--hl-text); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--hl-muted); margin-top: .3rem; font-weight: 500; }

/* ── KPI Cards (admin) ──────────────────────────────────────── */
.kpi-card {
  border-radius: var(--hl-radius-lg); padding: 1.5rem;
  color: #fff; position: relative; overflow: hidden;
  transition: all .25s;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--hl-shadow-xl); }
.kpi-card::before {
  content: ''; position: absolute;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,.08); top: -30px; right: -20px;
}
.kpi-card::after {
  content: ''; position: absolute;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.05); bottom: -20px; right: 30px;
}
.kpi-blue   { background: linear-gradient(135deg, #0C3A6E, #0EA5E9); }
.kpi-green  { background: linear-gradient(135deg, #064E3B, #10B981); }
.kpi-yellow { background: linear-gradient(135deg, #78350F, #F59E0B); }
.kpi-orange { background: linear-gradient(135deg, #7C2D12, #F97316); }
.kpi-icon { font-size: 1.5rem; opacity: .9; margin-bottom: .6rem; }
.kpi-num  { font-size: 2.2rem; font-weight: 900; line-height: 1; position: relative; z-index: 1; }
.kpi-label{ font-size: .83rem; opacity: .85; margin-top: .3rem; font-weight: 500; }
.kpi-trend{ font-size: .78rem; opacity: .7; margin-top: .6rem; }

/* ── Tables ─────────────────────────────────────────────────── */
.hl-table { font-size: .875rem; }
.hl-table thead th {
  background: #F8FBFF; font-weight: 700; color: var(--hl-muted);
  font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 2px solid var(--hl-border); padding: .85rem 1.1rem;
}
.hl-table td { padding: .85rem 1.1rem; vertical-align: middle; border-bottom: 1px solid #F1F5F9; }
.hl-table tbody tr:hover { background: #F8FBFF; }
.hl-table tbody tr:last-child td { border-bottom: none; }

/* ── Status Badges ──────────────────────────────────────────── */
.badge-status-primary   { background: #DBEAFE; color: #1D4ED8; }
.badge-status-info      { background: #CFFAFE; color: #0E7490; }
.badge-status-warning   { background: #FEF3C7; color: #B45309; }
.badge-status-secondary { background: #F1F5F9; color: #475569; }
.badge-status-success   { background: #D1FAE5; color: #065F46; }
.badge-status-danger    { background: #FEE2E2; color: #991B1B; }
.badge { padding: .38em .72em; font-weight: 700; font-size: .77em; border-radius: 6px; }
.badge.rounded-pill { border-radius: 50px; }

/* ── Order Row ──────────────────────────────────────────────── */
.order-row { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--hl-border); transition: background .15s; }
.order-row:last-child { border-bottom: none; }
.order-row:hover { background: #F8FBFF; }

/* ── Progress Tracker ───────────────────────────────────────── */
.progress-tracker { display: flex; align-items: flex-start; overflow-x: auto; padding-bottom: .5rem; gap: 0; }
.progress-step { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
.progress-dot { font-size: 1.2rem; }
.progress-step.done   .progress-dot { color: var(--hl-green); }
.progress-step.active .progress-dot { color: var(--hl-primary); }
.progress-step        .progress-dot { color: var(--hl-border); }
.progress-label { font-size: .68rem; text-align: center; margin-top: .4rem; font-weight: 600; }
.progress-step.done   .progress-label { color: var(--hl-green); }
.progress-step.active .progress-label { color: var(--hl-primary); }
.progress-step        .progress-label { color: var(--hl-muted); }
.progress-line { flex: 1; height: 2px; background: var(--hl-border); margin-top: .6rem; min-width: 24px; }
.progress-line.done { background: var(--hl-green); }

/* ── Timeline ───────────────────────────────────────────────── */
.timeline-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: .6rem; top: 1.4rem; bottom: 0; width: 2px; background: var(--hl-border); }
.timeline-item.last::before { display: none; }
.timeline-dot { width: 14px; height: 14px; min-width: 14px; border-radius: 50%; margin-top: .25rem; }
.timeline-content { flex: 1; }

/* ── Info List ──────────────────────────────────────────────── */
.info-list { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.info-list dt { color: var(--hl-muted); font-size: .78rem; font-weight: 600; align-self: start; padding-top: .18rem; }
.info-list dd { margin: 0; font-size: .88rem; }

/* ── Quick Action Cards ─────────────────────────────────────── */
.quick-action-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.6rem 1rem; background: #fff; border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow); border: 2px solid transparent;
  transition: all .25s; cursor: pointer; text-decoration: none;
}
.quick-action-card:hover { border-color: var(--hl-primary); transform: translateY(-3px); box-shadow: var(--hl-shadow-lg); }

/* ── Chat UI ────────────────────────────────────────────────── */
.chat-container { display: flex; flex-direction: column; border-radius: var(--hl-radius); overflow: hidden; box-shadow: var(--hl-shadow-lg); }
.chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--hl-navy), #0F2848);
  color: #fff;
}
.agent-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-teal));
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.chat-messages {
  flex: 1; padding: 1.25rem; overflow-y: auto; min-height: 320px; max-height: 480px;
  background: #F8FBFF; display: flex; flex-direction: column; gap: .85rem;
}
.chat-system-msg {
  text-align: center; font-size: .78rem; color: var(--hl-muted);
  background: #E2EAF0; padding: .4rem .9rem; border-radius: 20px; align-self: center;
}
.chat-bubble { display: flex; flex-direction: column; max-width: 78%; }
.chat-bubble.incoming { align-self: flex-start; }
.chat-bubble.outgoing { align-self: flex-end; }
.bubble-content { padding: .7rem 1.1rem; border-radius: 18px; font-size: .9rem; white-space: pre-wrap; word-break: break-word; }
.incoming .bubble-content { background: #fff; color: var(--hl-text); border: 1px solid var(--hl-border); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.outgoing .bubble-content { background: linear-gradient(135deg, var(--hl-primary), var(--hl-primary-dk)); color: #fff; border-bottom-right-radius: 4px; }
.bubble-meta { font-size: .72rem; color: var(--hl-muted); margin-top: .3rem; }
.incoming .bubble-meta { text-align: left; }
.outgoing .bubble-meta { text-align: right; }
.chat-input-area { padding: 1.1rem; border-top: 1px solid var(--hl-border); background: #fff; }
.chat-input { resize: none; border-radius: 12px; font-size: .9rem; border: 2px solid var(--hl-border); transition: border-color .2s; }
.chat-input:focus { border-color: var(--hl-primary); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
.btn-send { border-radius: 12px; width: 48px; min-width: 48px; background: linear-gradient(135deg, var(--hl-primary), var(--hl-primary-dk)); border: none; }
.chat-preview { background: #F8FBFF; border-radius: 10px; padding: .85rem; border: 1px solid var(--hl-border); }
.chat-inbox-row { padding: .9rem 1.4rem; border-bottom: 1px solid var(--hl-border); color: var(--hl-text); transition: background .15s; }
.chat-inbox-row:hover { background: #F8FBFF; }
.chat-inbox-row:last-child { border-bottom: none; }
.chat-inbox-card { padding: 1.1rem 1.4rem; }
.chat-inbox-card.resolved { opacity: .6; }

/* ── Step Badge ─────────────────────────────────────────────── */
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-teal));
  color: #fff; border-radius: 50%; font-weight: 800; font-size: .85rem; margin-right: .5rem;
}

/* ── Empty State ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon  { font-size: 3.5rem; margin-bottom: 1rem; display: block; }

/* ── Bar Chart ──────────────────────────────────────────────── */
.bar-chart-bar { transition: height .5s cubic-bezier(.4,0,.2,1); }

/* ── Misc ───────────────────────────────────────────────────── */
.min-w-0 { min-width: 0; }
.check-icon { transition: opacity .2s; }
.quick-q { font-size: .78rem; }
.text-primary { color: var(--hl-primary) !important; }
.bg-primary-lt { background: var(--hl-bg) !important; }

/* Form controls */
.form-control, .form-select {
  border: 2px solid var(--hl-border); border-radius: 12px;
  padding: .6rem 1rem; font-size: .9rem; transition: all .2s;
  color: var(--hl-text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--hl-primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.form-label { font-weight: 600; color: var(--hl-text); font-size: .88rem; margin-bottom: .4rem; }
.input-group-text {
  background: var(--hl-bg); border: 2px solid var(--hl-border);
  border-right: none; color: var(--hl-primary); border-radius: 12px 0 0 12px;
}
.input-group .form-control { border-left: none; border-radius: 0 12px 12px 0; }

/* ── Gallery Grid ───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-card {
  background: var(--hl-card);
  border-radius: var(--hl-radius);
  border: 1px solid var(--hl-border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--hl-shadow);
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hl-shadow-lg);
}
.gallery-card.featured-gallery {
  background: linear-gradient(135deg, var(--hl-primary), var(--hl-teal));
  border-color: transparent;
}
.gallery-card.featured-gallery .gallery-label { color: #fff; }
.gallery-card.featured-gallery .gallery-sub { color: rgba(255,255,255,.75); }
.gallery-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.gallery-label {
  font-weight: 700; font-size: .95rem;
  color: var(--hl-text); margin-bottom: .3rem;
}
.gallery-sub { font-size: .8rem; color: var(--hl-muted); }

/* ── Stat Number (large, used in About/Why Us) ──────────────── */
.stat-num-lg { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.stat-label { font-size: .78rem; color: var(--hl-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .chip1, .chip2, .chip3, .chip4 { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .hero-section { min-height: auto; padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .page-title { font-size: 1.45rem; }
  .auth-card { padding: 1.75rem; }
  .info-list { grid-template-columns: 1fr; }
  .info-list dt { padding-top: .5rem; }
  .b1,.b2,.b3,.b4,.b5,.b6,.b7,.b8 { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-num-lg { font-size: 1.6rem; }
}

/* ── Mobile (≤576px) ─────────────────────────────────────────── */
@media (max-width: 576px) {
  /* Typography */
  .hero-title { font-size: 1.7rem; }
  .hero-section { padding: 3rem 0 2rem; }
  .section-title { font-size: 1.4rem; }
  .page-title { font-size: 1.2rem; }
  .kpi-num { font-size: 1.6rem; }

  /* Navbar: hide tagline, shrink logo */
  .navbar-tagline { display: none !important; }
  .hl-navbar .navbar-brand img { height: 30px; }

  /* Cards: reduce padding */
  .hl-card { padding: 1rem; }
  .auth-card { padding: 1.25rem; }

  /* Tables: smaller but readable */
  .hl-table { font-size: .8rem; }
  .hl-table thead th { font-size: .7rem; padding: .6rem .75rem; }
  .hl-table td { padding: .65rem .75rem; }

  /* Touch targets: enlarge small buttons */
  .btn-xs {
    padding: .45rem .7rem;
    font-size: .82rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* KPI grid: 2 columns on small screens */
  .row.g-3 > [class*="col-6"] { width: 50%; }

  /* Fixed bottom elements: move WhatsApp up when banners visible */
  #waBtn { bottom: 80px; width: 50px; height: 50px; font-size: 1.4rem; }
  #backToTop { bottom: 80px; width: 40px; height: 40px; font-size: 1rem; }

  /* PWA & cookie banners: compact on mobile */
  #pwaBanner .container,
  #cookieBanner .container { flex-direction: column; gap: .5rem; }
  #pwaBanner, #cookieBanner { padding: .75rem 1rem; }

  /* Page header */
  .hl-page-header { padding: 1.25rem 0 .75rem; }

  /* Ops pipeline header */
  .ops-pipeline-header { padding: .75rem 1rem; }
  .ops-pipeline-header .fw-black { font-size: 1.1rem; }

  /* Forms: full-width inputs easier to tap */
  .form-control, .form-select {
    font-size: 1rem;
    min-height: 44px;
  }
  label { font-size: .9rem; }

  /* Modals: full screen on mobile */
  .modal-dialog { margin: .5rem; }
  .modal-content { border-radius: 12px; }

  /* Footer: center on mobile */
  .hl-footer .col-lg-2 { margin-bottom: .5rem; }
}
