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

/* ======================== VARIABLES ======================== */
:root {
  --primary: #6366f1;
  --primary-rgb: 99, 102, 241;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary: #8b5cf6;
  --accent: #a78bfa;
  --success: #10b981;
  --dark-bg: #08090e;
  --dark-bg-2: #0d0f17;
  --card-bg: rgba(255, 255, 255, 0.025);
  --card-bg-hover: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-main: #f1f5f9;
  --text-muted: #64748b;
  --text-light-muted: #94a3b8;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

/* ======================== RESET & BASE ======================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}

::selection {
  background: var(--primary);
  color: #fff;
}

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

/* Prevent horizontal overflow on mobile */
section, footer, .stats-bar { overflow-x: hidden; }

a { color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--accent); }

.text-light-muted { color: var(--text-light-muted) !important; }

/* ======================== SCROLL PROGRESS ======================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 10001;
  width: 0%;
  transition: width 0.05s linear;
}

/* ======================== PARTICLE CANVAS ======================== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  max-width: 100%;
}

/* ======================== NAVBAR ======================== */
.navbar {
  background: rgba(8, 9, 14, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(8, 9, 14, 0.95);
  border-bottom-color: var(--border-hover);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff !important;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand-j {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-dot {
  color: var(--primary);
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0 4px;
  padding: 0.5rem 0.8rem !important;
  border-radius: var(--radius-xs);
  transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.05);
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 1001;
  }
  .navbar-toggler i {
    color: #fff !important;
    font-size: 1.6rem;
  }
  .navbar-collapse {
    background: rgba(13, 15, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-top: 10px;
  }
  .navbar-nav { text-align: center; }
  .navbar-nav .nav-link { padding: 0.7rem 1rem !important; }
  .btn-glow.ms-lg-3 { margin: 0.5rem 0 0 !important; width: 100%; }
}

/* ======================== BUTTONS ======================== */
.btn-glow {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--primary-glow);
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-glow:hover::before { left: 100%; }
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
  color: #fff;
}

.btn-outline-light-custom {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 12px 28px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* ======================== HERO ======================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  animation: pulse-border 3s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { border-color: rgba(var(--primary-rgb), 0.2); }
  50% { border-color: rgba(var(--primary-rgb), 0.5); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 540px;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1rem;
}
.trust-item {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======================== BROWSER MOCKUP ======================== */
.browser-mockup {
  background: var(--dark-bg-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(var(--primary-rgb), 0.08);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-color);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.browser-url i { color: var(--success); font-size: 0.65rem; }

.browser-content {
  padding: 20px;
  min-height: 280px;
}

/* Mini site wireframe */
.mini-site { animation: buildSite 2s ease forwards; }
.mini-nav {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 20px;
  width: 100%;
}
.mini-hero-block { margin-bottom: 20px; padding: 15px 0; }
.mini-headline {
  height: 14px; width: 70%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  margin-bottom: 10px;
}
.mini-subline {
  height: 8px; width: 50%;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin-bottom: 12px;
}
.mini-btn-row { display: flex; gap: 8px; }
.mini-btn {
  height: 10px; width: 50px; border-radius: 5px;
}
.mini-btn.primary { background: var(--primary); }
.mini-btn.outline { background: rgba(255,255,255,0.1); }

.mini-cards-row { display: flex; gap: 10px; margin-bottom: 16px; }
.mini-card {
  flex: 1;
  height: 60px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.mini-section { padding: 8px 0; }
.mini-text-block {
  height: 6px; width: 80%;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  margin-bottom: 8px;
}
.mini-text-block.short { width: 55%; }

/* Shimmer effect */
.shimmer {
  position: relative;
  overflow: hidden;
}
.shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: shimmer 2.5s infinite;
}
.shimmer.delay-1::after { animation-delay: 0.3s; }
.shimmer.delay-2::after { animation-delay: 0.6s; }
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ======================== STATS BAR ======================== */
.stats-bar {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  background: var(--dark-bg-2);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff, var(--text-light-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-pct {
  font-size: 1.6rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 4px;
}

/* ======================== SECTIONS COMMON ======================== */
.section-padding {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}
.bg-darker { background: var(--dark-bg-2); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ======================== SERVICES ======================== */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  background: var(--card-bg-hover);
}

.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 14px;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s;
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.service-card p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li i {
  color: var(--success);
  font-size: 0.8rem;
}

/* ======================== LIVE DEMOS ======================== */
.demo-block {
  margin-bottom: 4rem;
  padding: 2rem 0;
}
.demo-block:last-child { margin-bottom: 0; }

.demo-info { padding: 1rem 0; }
.demo-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.demo-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.demo-info p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.demo-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-tech-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-light-muted);
}

.demo-container {
  position: relative;
}
.demo-window {
  background: var(--dark-bg-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}
.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-color);
}
.demo-window-title {
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.demo-window-body {
  padding: 1.2rem;
  min-height: 250px;
}

/* --- Restaurant Menu Demo --- */
.menu-demo { font-size: 0.88rem; }
.menu-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.menu-tab:hover { border-color: var(--border-hover); color: #fff; }
.menu-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  animation: fadeSlideIn 0.3s ease forwards;
  opacity: 0;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-left { flex: 1; }
.menu-item-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.88rem;
}
.menu-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.menu-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  white-space: nowrap;
  margin-left: 12px;
}

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

/* --- Business Card Demo --- */
.bcard-demo {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
@media (min-width: 576px) {
  .bcard-demo { flex-direction: row; }
}
.bcard-form { flex: 1; }
.bcard-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}
.bcard-input:focus { border-color: var(--primary); }
.bcard-input::placeholder { color: var(--text-muted); }

.bcard-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.bcard-color-row label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.bcard-color-picker {
  width: 32px; height: 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
}

.bcard-preview {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.bcard-accent {
  height: 6px;
  background: var(--primary);
  transition: background 0.3s;
}
.bcard-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bcard-pname {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}
.bcard-ptitle {
  font-size: 0.72rem;
  color: #666;
  margin-top: 2px;
  font-weight: 500;
}
.bcard-divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}
.bcard-pcontact {
  font-size: 0.72rem;
  color: #444;
}
.bcard-pcontact div {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.bcard-pcontact i { color: var(--primary); font-size: 0.7rem; }

/* --- Booking Demo --- */
.booking-demo { font-size: 0.88rem; }
.booking-step { display: none; }
.booking-step.active { display: block; animation: fadeSlideIn 0.3s ease; }
.booking-step-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.booking-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.booking-svc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
}
.booking-svc span {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
}
.booking-svc:hover, .booking-svc.selected {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  color: #fff;
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-light-muted);
  transition: all 0.2s;
}
.cal-day:hover:not(.cal-header):not(.cal-empty) {
  border-color: var(--primary);
  color: #fff;
}
.cal-day.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cal-day.cal-header {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  cursor: default;
}
.cal-day.cal-empty { cursor: default; }
.cal-day.cal-today {
  border-color: var(--border-hover);
}

.booking-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}
.booking-time {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.booking-time:hover, .booking-time.selected {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  color: #fff;
}

.booking-back {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.3s;
}
.booking-back:hover { border-color: var(--border-hover); color: #fff; }

.booking-confirm {
  text-align: center;
  padding: 2rem 1rem;
}
.booking-confirm-icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 0.8rem;
  display: block;
  animation: scaleIn 0.4s ease;
}
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.booking-confirm-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}
.booking-confirm-details {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.booking-restart {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.booking-restart:hover { border-color: var(--primary); color: #fff; }

/* --- Theme Customizer Demo --- */
.theme-demo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 576px) {
  .theme-demo { flex-direction: row; }
}
.theme-controls { flex: 0 0 170px; }
.theme-control-group {
  margin-bottom: 1rem;
}
.theme-control-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.theme-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.theme-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.theme-swatch:hover { transform: scale(1.15); }
.theme-swatch.active { border-color: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.3); }

.theme-toggle-row {
  display: flex;
  gap: 4px;
}
.theme-mode-btn {
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.theme-mode-btn.active {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary);
  color: #fff;
}

.theme-range {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
}
.theme-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.theme-preview {
  flex: 1;
  border-radius: 10px;
  padding: 14px;
  transition: all 0.4s ease;
  background: #0d0f17;
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.theme-preview.light-mode {
  background: #f8f9fa;
  border-color: #e0e0e0;
}

.tp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tp-logo {
  width: 30px; height: 8px;
  background: var(--primary);
  border-radius: 4px;
}
.tp-nav-links { display: flex; gap: 6px; }
.tp-nav-links span {
  width: 20px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
}
.theme-preview.light-mode .tp-nav-links span { background: rgba(0,0,0,0.15); }
.tp-nav-btn {
  width: 36px; height: 10px;
  border-radius: 5px;
  background: var(--primary);
}

.tp-hero { margin-bottom: 12px; padding: 10px 0; }
.tp-hero-text {
  height: 10px; width: 65%;
  border-radius: 4px;
  margin-bottom: 6px;
  transition: background 0.3s;
}
.tp-hero-sub {
  height: 5px; width: 45%;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-bottom: 8px;
}
.theme-preview.light-mode .tp-hero-sub { background: rgba(0,0,0,0.08); }
.tp-hero-btn {
  width: 50px; height: 10px;
  border-radius: 5px;
  transition: background 0.3s;
}

.tp-cards { display: flex; gap: 8px; }
.tp-card {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}
.theme-preview.light-mode .tp-card { border-color: #e0e0e0; }
.tp-card-img {
  height: 30px;
  background: rgba(255,255,255,0.04);
  transition: background 0.3s;
}
.theme-preview.light-mode .tp-card-img { background: rgba(0,0,0,0.04); }
.tp-card-text {
  height: 5px; width: 70%; margin: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}
.theme-preview.light-mode .tp-card-text { background: rgba(0,0,0,0.06); }

/* ======================== PRICING ======================== */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.15);
  background: rgba(var(--primary-rgb), 0.03);
}
.pricing-card.popular:hover {
  box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.25), 0 20px 50px rgba(0,0,0,0.3);
}

.pricing-popular-tag {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 20px;
  border-radius: 0 0 10px 10px;
}

.pricing-header { margin-bottom: 1.5rem; }
.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-amount {
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
.pricing-dollar {
  font-size: 1.8rem;
  vertical-align: top;
  color: var(--text-muted);
}
.pricing-was {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li i {
  font-size: 0.8rem;
  color: var(--success);
}
.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}
.pricing-features li.disabled i { color: var(--text-muted); }

.pricing-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.8rem;
}

.management-addon {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
}
.management-addon h3 {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.management-addon h3 i { color: var(--primary); }
.management-addon p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.management-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.management-price strong { color: var(--primary); }

/* ======================== PROCESS ======================== */
.process-timeline {
  position: relative;
}
.process-line {
  display: none;
}
@media (min-width: 992px) {
  .process-line {
    display: block;
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 4s linear infinite;
    z-index: 0;
  }
}
@keyframes gradientShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}
.process-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.process-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg-2);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--primary);
  transition: all 0.3s;
}
.process-step:hover .process-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--primary-glow);
}
.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* ======================== ABOUT ======================== */
.about-visual { position: relative; }
.about-code-block {
  background: var(--dark-bg-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 2;
  overflow-x: auto;
}
.code-line { white-space: pre-wrap; word-break: break-word; }
.code-line.indent { padding-left: 1.5rem; }
.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-key { color: #89ddff; }
.code-string { color: #c3e88d; }
.code-bool { color: #f78c6c; }

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-highlight i {
  font-size: 1.3rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.about-highlight strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.about-highlight span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ======================== FAQ ======================== */
.faq-item {
  margin-bottom: 8px;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq-question:hover {
  border-color: var(--border-hover);
  background: var(--card-bg-hover);
}
.faq-question i {
  transition: transform 0.3s;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-question[aria-expanded="true"] i,
.faq-item .collapse.show ~ .faq-question i {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 1rem 1.5rem 1.2rem;
  color: var(--text-light-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  border-left: 2px solid var(--primary);
  margin-left: 1.5rem;
  margin-top: 4px;
}

/* ======================== CONTACT ======================== */
.contact-block {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.contact-block::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.05), transparent 50%);
  pointer-events: none;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-item i {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 3px;
}
.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.contact-info-item a,
.contact-info-item span {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  text-decoration: none;
}
.contact-info-item a:hover { color: var(--primary); }

.form-label-custom {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.form-input::placeholder { color: var(--text-muted); }
select.form-input { cursor: pointer; }
select.form-input option { background: var(--dark-bg); }
textarea.form-input { resize: vertical; min-height: 100px; }

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeSlideIn 0.4s ease;
}

/* ======================== FOOTER ======================== */
.site-footer {
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-email {
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-email:hover { color: var(--primary) !important; }

.footer-divider {
  border-color: var(--border-color);
  margin: 2rem 0 1.5rem;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: #fff;
}

/* ======================== UTILITIES & ANIMATIONS ======================== */
.z-1 { z-index: 1; }

/* Tilt on hover for cards */
@media (min-width: 768px) {
  .service-card, .pricing-card {
    transform-style: preserve-3d;
    perspective: 1000px;
  }
}

/* Glow cursor (desktop only) */
.glow-cursor {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .section-padding { padding: 3.5rem 0; }
  .hero-title { letter-spacing: -1px; }
  .hero-subtitle { font-size: 1rem; }
  .contact-block { padding: 1.5rem 1rem; }
  .pricing-amount { font-size: 2.5rem; }
  .demo-window-body { padding: 0.8rem; }
  .booking-services { grid-template-columns: 1fr; }
  .browser-mockup { animation: none; max-width: 100%; }
  .about-code-block { font-size: 0.65rem; padding: 0.8rem; overflow-x: auto; max-width: 100%; }
  .code-line.indent { padding-left: 0.8rem; }
  .management-addon { padding: 1.5rem 1rem; }
  .bcard-demo { flex-direction: column !important; }
  .theme-demo { flex-direction: column !important; }
  .theme-controls { flex: unset; }
  .glow-cursor { display: none !important; }
  .stat-number { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .process-step { padding: 1rem 0.5rem; }
  .faq-question { padding: 1rem; font-size: 0.88rem; }
  .faq-answer { margin-left: 0.8rem; padding: 0.8rem 1rem; font-size: 0.85rem; }
  .demo-info h3 { font-size: 1.3rem; }
  .cert-badge { font-size: 0.68rem; padding: 4px 10px; }
  .hero-trust { gap: 12px; }
  .trust-item { font-size: 0.8rem; }
}

@media (max-width: 400px) {
  .hero-badge { font-size: 0.72rem; padding: 6px 10px; }
  .hero-title { font-size: 2rem; }
  .pricing-card { padding: 1.5rem 1rem; }
  .booking-svc { padding: 8px 10px; font-size: 0.75rem; }
}
