/* =============================================
   GunlockerPro — Premium Public Stylesheet
   Inspired by UnlockTrue — Purple + Gold Design
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #6c2bd9;
  --primary-dark: #5020a8;
  --primary-deep: #2d0a4e;
  --primary-light: #f0e6ff;
  --gold: #f9b921;
  --gold-dark: #e5a710;
  --gold-light: #fff8e1;
  --accent-orange: #ff6b35;
  --danger: #ef4444;
  --success: #10b981;
  --info: #3b82f6;
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --dark3: #16213e;
  --bg: #f5f5fa;
  --white: #ffffff;
  --text: #2d2d3a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(108, 43, 217, 0.08);
  --shadow-lg: 0 8px 40px rgba(108, 43, 217, 0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --gradient-hero: linear-gradient(135deg, #1a0533 0%, #2d0a4e 30%, #3b1470 60%, #1a0533 100%);
  --gradient-purple: linear-gradient(135deg, #6c2bd9, #a855f7);
  --gradient-gold: linear-gradient(135deg, #f9b921, #fcd34d);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all .3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== TOP TICKER BAR ====== */
.ticker-bar {
  background: linear-gradient(90deg, #6c2bd9, #a855f7, #6c2bd9);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-bar .ticker-content {
  display: inline-block;
  animation: tickerScroll 30s linear infinite;
}

.ticker-bar .ticker-content span {
  padding: 0 24px;
  opacity: 0.9;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ====== TOPBAR ====== */
.topbar {
  background: var(--t-surface2, var(--dark));
  color: var(--t-text-muted, rgba(255, 255, 255, 0.6));
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--t-border, rgba(255, 255, 255, 0.06));
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: var(--t-text2, rgba(255, 255, 255, 0.7));
  font-weight: 500;
}

.topbar a:hover {
  color: var(--gold);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-right select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  outline: none;
  font-family: inherit;
}

/* ====== NAVBAR ====== */
.navbar {
  background: var(--t-nav-bg, var(--white));
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--t-border, rgba(0, 0, 0, 0.06)), 0 4px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: var(--gradient-purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(108, 43, 217, 0.35);
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--t-heading, var(--dark));
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.brand-name em {
  font-style: normal;
  color: var(--primary);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--t-text, var(--text));
  font-weight: 500;
  font-size: 14px;
  transition: all .25s ease;
}

.nav-link:hover {
  background: var(--t-hover, var(--primary-light));
  color: var(--primary);
}

.nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

/* ---- Category Nav Pills (centered in header) ---- */
/* The pills sit inside a frosted glass "pill shelf" container */
.nav-pills-shelf {
  display: flex;
  gap: 2px;
  align-items: center;
  background: var(--t-hover, rgba(120, 120, 120, 0.08));
  border: 1px solid var(--t-border, transparent);
  border-radius: 50px;
  padding: 4px 6px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  color: var(--t-text2, #64748b);
  border: none;
}

.nav-pill:hover {
  background: var(--t-hover, rgba(0, 0, 0, 0.04));
  color: var(--t-text, #1e293b);
}

.nav-pill.active {
  background: var(--t-surface, #ffffff);
  color: var(--t-heading, #1e293b);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--t-surface, var(--white));
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--t-border, var(--border));
  padding: 8px 0;
  z-index: 2000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--t-text, var(--text));
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

/* ---- User Profile Pill ---- */
.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  background: var(--t-hover, #f4f5f8);
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--t-border, transparent);
}

.user-profile-pill:hover {
  background: var(--t-hover-solid, #eef0f4);
}

.user-profile-pill .up-avatar {
  position: relative;
  display: flex;
}

.user-profile-pill .up-initials {
  background: #00c49a;
  color: #000;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-profile-pill .up-status {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid var(--t-nav-bg, #f4f5f8);
  border-radius: 50%;
}

.user-profile-pill .up-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  text-align: left;
}

.user-profile-pill .up-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t-heading, #1e293b);
}

.user-profile-pill .up-bal {
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  margin-top: 2px;
}

/* ---- Login Button ---- */
.btn-login {
  background: var(--gradient-gold);
  color: var(--dark);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: all .3s;
  box-shadow: 0 4px 15px rgba(249, 185, 33, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 185, 33, 0.45);
  color: var(--dark);
}

/* ====== CATEGORY NAV BAR ====== */
.category-bar {
  background: var(--t-surface2, var(--primary-deep));
  padding: 0;
  border-bottom: 2px solid var(--t-border, rgba(108, 43, 217, 0.3));
}

.category-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.cat-link {
  color: var(--t-text2, rgba(255, 255, 255, 0.8));
  font-size: 13px;
  font-weight: 500;
  padding: 12px 20px;
  transition: all .3s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-link:hover,
.cat-link.active {
  color: var(--gold);
  background: var(--t-hover, rgba(255, 255, 255, 0.06));
}

.cat-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all .3s;
  transform: translateX(-50%);
}

.cat-link:hover::after,
.cat-link.active::after {
  width: 80%;
}

.cat-search-btn {
  color: var(--t-text2, rgba(255, 255, 255, 0.7));
  font-size: 18px;
  padding: 12px 16px;
  cursor: pointer;
  transition: color .3s;
  background: none;
  border: none;
}

.cat-search-btn:hover {
  color: var(--gold);
}

/* ====== HERO SLIDER ====== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.slide {
  display: none;
  width: 100%;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  position: relative;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(108, 43, 217, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.slide.active {
  display: flex;
}

.slide-content {
  max-width: 600px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.slide-content h2 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.slide-content h2 span {
  color: var(--gold);
}

.slide-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.slide-content .hero-bullets {
  list-style: none;
  margin-bottom: 24px;
}

.slide-content .hero-bullets li {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slide-content .hero-bullets li::before {
  content: '●';
  color: var(--gold);
  font-size: 10px;
}

.slide-img {
  max-width: 380px;
  position: relative;
  z-index: 2;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all .3s;
  border: 2px solid transparent;
}

.dot.active {
  background: var(--gold);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Hero CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-gold);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .3s;
  box-shadow: 0 6px 20px rgba(249, 185, 33, 0.35);
}

.hero-cta:hover {
  transform: translateY(-2px);
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(249, 185, 33, 0.5);
}

/* ====== SECTION TITLE ====== */
.section {
  padding: 44px 0;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-deep);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-purple);
  border-radius: 2px;
}

/* ====== SERVICE GROUP PILLS ====== */
.group-pills {
  background: var(--t-bg, var(--white));
  border-bottom: 1px solid var(--t-border, var(--border));
  padding: 14px 0;
  position: sticky;
  top: 70px;
  z-index: 50;
}

.group-pills .container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pill {
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.pill-active {
  background: var(--gradient-purple);
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 43, 217, 0.25);
}

.pill-default {
  background: var(--t-surface, var(--white));
  color: var(--t-text, var(--text));
  border-color: var(--t-border, var(--border));
}

.pill-default:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ====== SERVICE CARDS ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--t-surface, var(--white));
  border-radius: var(--radius);
  box-shadow: var(--t-shadow, var(--shadow));
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid var(--t-border, transparent);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-purple);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 43, 217, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-logo {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.service-card-logo img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.service-card-info {
  flex: 1;
  min-width: 0;
}

.service-card-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--t-text, var(--text));
  line-height: 1.4;
  margin-bottom: 8px;
}

.service-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-price {
  background: rgba(108, 43, 217, 0.08);
  color: var(--primary);
}

.badge-delivery {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.badge-type {
  background: rgba(59, 130, 246, 0.08);
  color: var(--info);
}

.badge-hot {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .7;
  }
}

/* ====== HOW IT WORKS ====== */
.how-it-works {
  background: var(--white);
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: all .3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  background: var(--primary-light);
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(108, 43, 217, 0.25);
  transition: transform .3s;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ====== SERVICE DETAIL ====== */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 36px 0;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.service-detail-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.service-detail-logo {
  width: 68px;
  height: 68px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--primary-light);
}

.service-detail-title {
  font-size: 20px;
  font-weight: 700;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
}

.stat-value.green {
  color: var(--success);
}

.stat-value.orange {
  color: var(--gold-dark);
}

.stat-icon {
  font-size: 22px;
  opacity: .4;
}

/* ====== ORDER FORM ====== */
.order-form label {
  font-weight: 600;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.order-form label span {
  font-weight: 400;
  color: var(--text-muted);
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: all .3s;
  background: #fafbfc;
  margin-bottom: 16px;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 43, 217, 0.08);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

.form-check input {
  width: auto;
  margin: 0;
}

.btn-order {
  width: 100%;
  padding: 15px;
  background: var(--gradient-purple);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: all .3s;
  box-shadow: 0 4px 15px rgba(108, 43, 217, 0.25);
  text-transform: uppercase;
}

.btn-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108, 43, 217, 0.35);
}

/* ====== RELATED SERVICES ====== */
.related-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.related-card:last-child {
  border-bottom: none;
}

.related-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--primary-light);
  flex-shrink: 0;
}

.related-info {
  flex: 1;
}

.related-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.related-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 14px;
}

/* ====== MODAL ====== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(.95) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 0;
}

.modal-close {
  background: var(--bg);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.modal-close:hover {
  background: var(--danger);
  color: #fff;
}

.modal-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin: 18px 28px 0;
}

.modal-tab {
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .3s;
  letter-spacing: .03em;
}

.modal-tab.active {
  color: var(--primary);
  border-color: var(--primary);
}

.modal-body {
  padding: 22px 28px 28px;
}

.modal-body .order-form input {
  margin-bottom: 14px;
}

.modal-link {
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 500;
}

.btn-modal {
  width: 100%;
  padding: 14px;
  background: var(--gradient-purple);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btn-modal:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.modal-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fafbfc;
  margin-bottom: 14px;
}

/* ====== TOAST ====== */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  min-width: 260px;
  border-left: 4px solid var(--primary);
  animation: toastIn .3s ease;
}

.toast.error {
  border-color: var(--danger);
}

.toast.success {
  border-color: var(--success);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ====== FOOTER ====== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 50px 0 0;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-gold);
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 4px 0;
  transition: all .3s;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: all .3s;
  padding: 0;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  margin-bottom: 10px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter button {
  padding: 10px 24px;
  background: var(--gradient-gold);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .3s;
}

.footer-newsletter button:hover {
  transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.payment-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.payment-icons span {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: .03em;
}

/* ====== LIVE CHAT BUTTON ====== */
.live-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 0 16px;
  height: 44px;
  border-radius: 100px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.45), 0 0 0 0 rgba(239, 68, 68, 0.4);
  animation: liveGlow 2.4s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  isolation: isolate;
}

.live-chat-btn:hover {
  transform: scale(1.06) translateY(-1px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.6), 0 0 0 6px rgba(239, 68, 68, 0.15);
}

/* The blinking dot inside the button */
.live-chat-btn::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: liveDot 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

/* Outer glow ring that breathes */
.live-chat-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 2px solid rgba(239, 68, 68, 0.45);
  animation: liveRing 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes liveGlow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.45), 0 0 0 0 rgba(239, 68, 68, 0.3);
  }

  50% {
    box-shadow: 0 6px 32px rgba(239, 68, 68, 0.7), 0 0 0 8px rgba(239, 68, 68, 0.08);
  }
}

@keyframes liveDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0);
  }
}

@keyframes liveRing {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0;
    transform: scale(1.12);
  }
}

/* ====== UTILITIES ====== */
.text-muted {
  color: var(--text-muted);
}

.text-green {
  color: var(--success);
}

.text-purple {
  color: var(--primary);
}

.text-gold {
  color: var(--gold);
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.d-flex {
  display: flex;
}

.gap-2 {
  gap: 8px;
}

.align-center {
  align-items: center;
}

.flex-1 {
  flex: 1;
}

.w-100 {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .slide {
    min-height: auto;
    padding: 30px 20px;
    flex-direction: column;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-img {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .topbar .topbar-left {
    display: none;
  }

  .category-nav {
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .navbar .container {
    gap: 12px;
  }

  .navbar-nav {
    gap: 2px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}