/* 
   Macsac Premium Hosting & SMM CSS
   Theme: Luxury Copper/Bronze/Gold accents on off-white/light canvas
*/

:root {
  /* Color Palette - Default Light Theme */
  --bg-primary: #f6f2eb;
  --bg-secondary: #fbfaf8;
  --bg-tertiary: #eae2d5;
  --bg-card: rgba(251, 250, 248, 0.85);
  --bg-header: rgba(246, 242, 235, 0.85);
  --bg-header-scrolled: rgba(246, 242, 235, 0.95);
  
  --text-primary: #2d2622;
  --text-secondary: #5e514a;
  --text-muted: #94857d;
  
  --copper-light: #e6bfa7;
  --copper-medium: #b1704e;
  --copper-dark: #703c21;
  --copper-accent: #a6603a;
  
  /* Gradients */
  --grad-copper: linear-gradient(135deg, #b1704e 0%, #e6bfa7 100%);
  --grad-bronze: linear-gradient(135deg, #703c21 0%, #a6603a 100%);
  --grad-sunset: linear-gradient(135deg, #a6603a 0%, #e6bfa7 100%);
  --grad-light: linear-gradient(135deg, #fdfbf7 0%, #f5eadd 100%);
  --grad-dark-overlay: linear-gradient(135deg, rgba(112, 60, 33, 0.03) 0%, rgba(230, 191, 167, 0.08) 100%);
  
  /* Layout utilities */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  --border-color: #ebdcd0;
  --border-color-light: #f5eedf;
  
  --shadow-soft: 0 10px 30px rgba(112, 60, 33, 0.04);
  --shadow-medium: 0 20px 40px rgba(112, 60, 33, 0.08);
  --shadow-large: 0 30px 60px rgba(112, 60, 33, 0.12);
  --shadow-copper-glow: 0 10px 30px rgba(177, 112, 78, 0.25);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Color Palette - Override Dark Theme (Optimized Obsidian) */
[data-theme="dark"] {
  --bg-primary: #090706;
  --bg-secondary: #161210;
  --bg-tertiary: #1f1a17;
  --bg-card: rgba(22, 18, 16, 0.85);
  --bg-header: rgba(9, 7, 6, 0.85);
  --bg-header-scrolled: rgba(9, 7, 6, 0.95);
  
  --text-primary: #fdfbf9;
  --text-secondary: #dcd2ca;
  --text-muted: #a6988f;
  
  --border-color: #3b2f29;
  --border-color-light: #261f1c;
  
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.65);
  --shadow-large: 0 30px 60px rgba(0, 0, 0, 0.8);
  --shadow-copper-glow: 0 10px 30px rgba(177, 112, 78, 0.35);
}

/* Light mode specific heading color contrast boost */
body:not([data-theme="dark"]) h1, 
body:not([data-theme="dark"]) h2, 
body:not([data-theme="dark"]) h3 {
  color: #482310;
}

[data-theme="dark"] .btn-primary {
  filter: drop-shadow(0 0 12px rgba(177, 112, 78, 0.3));
}

[data-theme="dark"] .badge {
  filter: drop-shadow(0 0 10px rgba(177, 112, 78, 0.1));
}

[data-theme="dark"] .btn-secondary {
  color: var(--copper-light);
  border-color: rgba(196, 156, 108, 0.35);
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-secondary:hover {
  color: #f7d2bc; /* Brighter gold/copper shade */
  border-color: var(--copper-medium);
  background: rgba(196, 156, 108, 0.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
/* Canvas background particle network */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
}

/* ── Custom Cursor Aura (system cursor stays visible) ──────────────────────── */
@media (pointer: fine) {
  /* Soft glowing aura — lerp-trails the system cursor */
  #cursor-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(177, 112, 78, 0.50);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    background: rgba(177, 112, 78, 0.07);
    transition: width  0.25s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                background   0.25s ease,
                opacity      0.25s ease;
    will-change: transform;
  }

  /* Expand + glow when over interactive elements */
  #cursor-aura.hovered {
    width: 54px;
    height: 54px;
    border-color: rgba(177, 112, 78, 0.80);
    background: rgba(177, 112, 78, 0.12);
  }

  /* Click pulse */
  #cursor-aura.clicked {
    width: 28px;
    height: 28px;
    background: rgba(177, 112, 78, 0.20);
  }

  [data-theme="dark"] #cursor-aura {
    border-color: rgba(177, 112, 78, 0.60);
    background: rgba(177, 112, 78, 0.10);
  }

  [data-theme="dark"] #cursor-aura.hovered {
    border-color: rgba(177, 112, 78, 0.90);
    background: rgba(177, 112, 78, 0.16);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 10% 30%, rgba(230, 191, 167, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(112, 60, 33, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  transition: background-color 0.4s ease;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(ellipse at 10% 30%, rgba(177, 112, 78, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(149, 83, 49, 0.07) 0%, transparent 50%);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--copper-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--copper-medium);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: var(--grad-bronze);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-copper {
  background: var(--grad-copper);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--grad-copper);
  color: var(--bg-secondary);
  box-shadow: var(--shadow-copper-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(177, 112, 78, 0.35);
  background: var(--grad-bronze);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--copper-dark);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--copper-medium);
  box-shadow: var(--shadow-medium);
  background: var(--bg-tertiary);
}

.btn-text {
  background: none;
  color: var(--copper-medium);
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--copper-dark);
  transform: translateX(3px);
}

/* Header */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1300px;
  height: 66px;
  background-color: rgba(22, 16, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

header.scrolled {
  top: 10px;
  width: 97%;
  height: 62px;
  background-color: rgba(15, 10, 8, 0.9);
  border-color: rgba(177, 112, 78, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(177, 112, 78, 0.05);
}

.nav-container {
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrapper {
  height: 44px; /* Sleeker logo to scale down the M emblem size */
  width: 150px;
  aspect-ratio: 770 / 248;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wrapper picture {
  display: flex;
  align-items: center;
  width: 150px;
  height: 44px;
}

.logo-wrapper img {
  height: 44px;
  width: 150px;
  aspect-ratio: 770 / 248;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(177, 112, 78, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  flex-shrink: 0;
}

.nav-item a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.25s ease;
  cursor: pointer;
  position: relative;
  padding: 0.4rem 0.6rem;
  padding-bottom: 6px;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--copper-light);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: calc(100% - 1.2rem);
  left: 0.6rem;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.cart-icon-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  color: var(--copper-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.cart-icon-btn:hover {
  border-color: var(--copper-medium);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--grad-bronze);
  color: var(--bg-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-secondary);
}

/* ── Contact Us Dropdown ── */
.contact-dropdown-wrapper {
  position: relative;
}

.contact-us-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: linear-gradient(135deg, rgba(196,156,108,0.15) 0%, rgba(139,100,60,0.1) 100%);
  border: 1px solid rgba(196,156,108,0.35);
  border-radius: 50px;
  color: var(--copper-light);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.contact-us-btn:hover {
  background: linear-gradient(135deg, rgba(196,156,108,0.28) 0%, rgba(139,100,60,0.2) 100%);
  border-color: var(--copper-medium);
  color: var(--copper-medium);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(196,156,108,0.2);
}

.contact-us-btn.open {
  background: linear-gradient(135deg, rgba(196,156,108,0.3) 0%, rgba(139,100,60,0.22) 100%);
  border-color: var(--copper-medium);
  color: var(--copper-medium);
}

.contact-chevron {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  opacity: 0.75;
}

.contact-us-btn.open .contact-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: rgba(20, 16, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(196,156,108,0.2);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(196,156,108,0.08);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1);
  z-index: 9999;
}

.contact-dropdown.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.contact-option:hover {
  transform: translateX(3px);
}

.contact-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-option:hover .contact-option-icon {
  transform: scale(1.1);
}

.whatsapp-icon {
  background: rgba(37,211,102,0.15);
  color: #25d366;
}
.whatsapp-option:hover {
  background: rgba(37,211,102,0.08);
}

.instagram-icon {
  background: rgba(193,53,132,0.15);
  color: #e1306c;
}
.instagram-option:hover {
  background: rgba(193,53,132,0.08);
}

.email-icon {
  background: rgba(196,156,108,0.15);
  color: var(--copper-light);
}
.email-option:hover {
  background: rgba(196,156,108,0.1);
}

.contact-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-option-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.contact-option-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Light mode overrides */
body[data-theme="light"] .contact-dropdown {
  background: rgba(255,252,249,0.96);
  border-color: rgba(196,156,108,0.3);
  box-shadow: 0 20px 60px rgba(90,60,20,0.15), 0 0 0 1px rgba(196,156,108,0.12);
}

body[data-theme="light"] .contact-option-text strong {
  color: #3d2e22;
}

body[data-theme="light"] .contact-option-text small {
  color: #8a7060;
}

body[data-theme="light"] .contact-us-btn {
  color: var(--copper-dark);
  border-color: rgba(139,100,60,0.4);
  background: rgba(255,252,249,0.7);
}

/* Sections Common */
section {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.badge {
  background: var(--grad-light);
  color: var(--copper-dark);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 160px;
  min-height: 90vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--copper-dark);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-globe {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--grad-light);
  border: 1px solid rgba(177, 112, 78, 0.2);
  position: relative;
  animation: float 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
}

.visual-globe::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px dashed rgba(177, 112, 78, 0.15);
  animation: rotate 20s linear infinite;
}

.visual-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--grad-copper);
  filter: blur(80px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.floating-card:hover {
  transform: translateY(-5px);
  border-color: var(--copper-medium);
  box-shadow: var(--shadow-large);
}

.fc-1 {
  bottom: 30px;
  left: -20px;
  animation: float-delayed 5s ease-in-out infinite;
}

.fc-2 {
  top: 40px;
  right: -10px;
  animation: float 7s ease-in-out infinite;
}

.fc-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-medium);
}

.fc-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.fc-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Pricing Toggle */
.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.switch-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.switch-label.active {
  color: var(--copper-dark);
}

.pricing-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pricing-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--grad-copper);
  border-radius: 50%;
  transition: var(--transition-normal);
  box-shadow: 0 2px 6px rgba(112, 60, 33, 0.2);
}

.pricing-switch.yearly::after {
  left: 31px;
}

.save-badge {
  background: var(--grad-bronze);
  color: var(--bg-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

/* Packages Grid - Responsive Stacking Layout */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: 100%;
  opacity: 1;
  transform: none;
}

.card-inner {
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
}

body[data-theme="light"] .card-inner {
  background: rgba(255, 255, 255, 0.75);
}

/* Specialized Services Grid Layout */
#specialized-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  #specialized-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ensure all interactive card contents receive mouse events */
.card-inner button,
.card-inner input,
.card-inner select,
.card-inner label,
.card-inner a,
.card-inner .form-group,
.card-inner .slider-control,
.card-inner .btn-theme-choice {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.package-card:hover .card-inner {
  border-color: var(--copper-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(177, 112, 78, 0.2);
}

/* Popular Card Glow Beam Accent */
.package-card.popular .card-inner {
  border-color: var(--copper-medium);
  box-shadow: 0 20px 40px rgba(177, 112, 78, 0.18), var(--shadow-medium);
}

.package-card.popular::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--copper-light), transparent 50%, var(--copper-medium));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}

.popular-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--grad-copper);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(177, 112, 78, 0.4);
  z-index: 2;
}

.package-header {
  margin-bottom: 2rem;
}

.package-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.package-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.package-price {
  margin-bottom: 2.2rem;
  display: flex;
  align-items: baseline;
}

.price-currency {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  align-self: flex-start;
  margin-top: 0.2rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-family: var(--font-heading);
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.package-features {
  list-style: none;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.package-features li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.package-features li:hover {
  transform: translateX(4px);
  color: var(--text-primary);
}

.package-features svg {
  color: var(--copper-medium);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.package-features li:hover svg {
  color: var(--copper-light);
  transform: scale(1.15);
}

/* Domain setup config in package card */
.domain-config {
  margin-bottom: 1.5rem;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  border: 1px dashed var(--border-color);
}

.domain-config label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.domain-input-group {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.domain-input-group input {
  border: none;
  background: none;
  padding: 0.5rem;
  font-size: 0.85rem;
  flex-grow: 1;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.domain-input-group input:focus {
  outline: none;
}

.domain-input-group span {
  background: var(--bg-tertiary);
  padding: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  border-left: 1px solid var(--border-color);
}

/* SMM Handles input group */
.smm-config {
  margin-bottom: 1.5rem;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  border: 1px dashed var(--border-color);
}

.smm-config label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.smm-input {
  width: 100%;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.smm-input:focus {
  outline: none;
  border-color: var(--copper-medium);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-large);
  z-index: 1100;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-color);
}

.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 38, 34, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 1.8rem;
  border-bottom: 1px solid var(--border-color-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-close-btn:hover {
  color: var(--copper-medium);
  transform: rotate(90deg);
}

.cart-items-container {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-empty-state {
  text-align: center;
  margin: auto;
  color: var(--text-muted);
}

.cart-empty-state svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  color: var(--border-color);
}

.cart-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  position: relative;
  display: flex;
  gap: 12px;
}

.cart-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-medium);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  word-break: break-all;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--copper-dark);
  font-size: 1rem;
  margin-top: 0.4rem;
}

.cart-item-remove {
  background: none;
  border: none;
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  color: #c94b4b;
}

.cart-footer {
  padding: 1.8rem;
  border-top: 1px solid var(--border-color-light);
  background: var(--bg-tertiary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cart-total-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.cart-total-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.cart-checkout-btn {
  width: 100%;
}

/* Checkout Modal */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-wrapper.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 38, 34, 0.5);
  backdrop-filter: blur(6px);
}

.modal-content {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 10;
  padding: 3rem;
  box-shadow: var(--shadow-large);
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-wrapper.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--copper-medium);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.checkout-form h3,
.checkout-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--copper-medium);
  background: var(--bg-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-summary-box {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color-light);
}

.summary-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.summary-item-name {
  color: var(--text-secondary);
  font-weight: 500;
}

.summary-item-val {
  color: var(--text-primary);
  font-weight: 700;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--copper-dark);
}

/* Payment Processing Loading UI */
.checkout-loading-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top-color: var(--copper-medium);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
  margin-bottom: 2rem;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
  text-align: left;
  max-width: 320px;
}

.loading-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.loading-step-item.active {
  color: var(--copper-dark);
  font-weight: 600;
}

.loading-step-item.done {
  color: #4b9e5f;
}

.loading-step-item.done svg {
  color: #4b9e5f;
}

/* Success View */
.checkout-success-view {
  text-align: center;
  padding: 3rem 0;
}

.success-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(75, 158, 95, 0.1);
  color: #4b9e5f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 20px rgba(75, 158, 95, 0.1);
}

.success-badge svg {
  width: 40px;
  height: 40px;
}

.checkout-success-view h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.checkout-success-view p {
  color: var(--text-secondary);
  max-width: 450px;
  margin: 0 auto 2.5rem;
}

/* Dashboard Section */
.dashboard-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  min-height: 600px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.dashboard-sidebar {
  background: var(--bg-tertiary);
  border-right: 1px solid var(--border-color-light);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.db-client-info {
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.db-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--grad-copper);
  color: var(--bg-secondary);
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-soft);
}

.db-client-info h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.db-client-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.db-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.db-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.db-menu-item:hover,
.db-menu-item.active {
  background: var(--bg-secondary);
  color: var(--copper-dark);
  box-shadow: var(--shadow-soft);
}

.dashboard-content {
  padding: 2.5rem;
  overflow-y: auto;
}

.db-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
  max-width: 400px;
  margin: auto;
}

.db-empty-state svg {
  width: 70px;
  height: 70px;
  color: var(--border-color);
  margin-bottom: 1.5rem;
}

/* Orders Dashboard View */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.order-card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.order-card-header {
  background: var(--bg-tertiary);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.order-card-header h4 {
  font-size: 1rem;
  color: var(--text-primary);
}

.order-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.order-status-badge.provisioning {
  background: rgba(177, 112, 78, 0.1);
  color: var(--copper-medium);
}

.order-status-badge.active {
  background: rgba(75, 158, 95, 0.1);
  color: #4b9e5f;
}

.order-card-body {
  padding: 1.8rem;
  background: var(--bg-secondary);
}

/* Provisioning steps progress bar */
.provisioning-progress-container {
  margin-bottom: 2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.progress-pct {
  font-weight: 700;
  color: var(--copper-dark);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--grad-copper);
  border-radius: 10px;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

.provisioning-steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-node {
  text-align: center;
  position: relative;
}

.step-node-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.step-node.completed .step-node-dot {
  background: #4b9e5f;
  border-color: #4b9e5f;
  color: var(--bg-secondary);
}

.step-node.current .step-node-dot {
  background: var(--bg-secondary);
  border-color: var(--copper-medium);
  color: var(--copper-medium);
  box-shadow: 0 0 10px rgba(177, 112, 78, 0.4);
  animation: pulse-dot 1.5s infinite;
}

.step-node-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.step-node.completed .step-node-label {
  color: #4b9e5f;
}

.step-node.current .step-node-label {
  color: var(--copper-dark);
}

/* Order Details Grid */
.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  border-top: 1px solid var(--border-color-light);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.order-detail-card {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
}

.order-detail-card h5 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-detail-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.order-detail-card strong {
  color: var(--text-primary);
}

/* Infrastructure stats mockup */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 1rem;
}

.infra-item {
  background: var(--bg-secondary);
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border-color-light);
  text-align: center;
}

.infra-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--copper-medium);
  font-family: var(--font-heading);
}

.infra-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Footer styling */
footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem 2rem;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  height: 52px;
  margin-bottom: 1.5rem;
}

.footer-brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(177, 112, 78, 0.2));
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* Footer social icons */
.footer-socials {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color-light);
  background: var(--bg-secondary);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}

.footer-social-icon:hover {
  transform: translateY(-3px) scale(1.08);
}

.whatsapp-social:hover {
  background: rgba(37,211,102,0.15);
  border-color: #25d366;
  color: #25d366;
  box-shadow: 0 6px 20px rgba(37,211,102,0.25);
}

.instagram-social:hover {
  background: rgba(225,48,108,0.12);
  border-color: #e1306c;
  color: #e1306c;
  box-shadow: 0 6px 20px rgba(225,48,108,0.2);
}

.email-social:hover {
  background: rgba(196,156,108,0.15);
  border-color: var(--copper-medium);
  color: var(--copper-light);
  box-shadow: 0 6px 20px rgba(196,156,108,0.2);
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--copper-medium);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
}

.social-icon:hover {
  background: var(--grad-copper);
  color: var(--bg-secondary);
  border-color: transparent;
  transform: translateY(-2px);
}

/* Animations Keyframes */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(15px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.45; }
  100% { transform: scale(1); opacity: 0.3; }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(177, 112, 78, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(177, 112, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(177, 112, 78, 0); }
}

/* Toast Message */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--bg-secondary);
  border-left: 4px solid var(--copper-medium);
  box-shadow: var(--shadow-large);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-primary);
  min-width: 280px;
}

.toast.show {
  transform: translateX(0);
}

.toast svg {
  color: var(--copper-medium);
}

/* Responsive Design */
.mobile-menu-btn {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--copper-medium);
  color: var(--copper-medium);
}

.mobile-menu-btn svg {
  display: block;
}

@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 120px;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .visual-globe {
    width: 320px;
    height: 320px;
  }
  .dashboard-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .dashboard-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .hero-centered-section h1 {
    font-size: 3rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tile-wide {
    grid-column: span 1;
  }
  .bento-features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .bento-feat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
  }
  .bento-feat-item:nth-child(3),
  .bento-feat-item:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  header {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    height: 70px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-header-scrolled);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 999;
  }
  
  .nav-menu.active {
    display: flex;
    animation: slideDownMenu 0.3s ease-out forwards;
  }
  
  .nav-item {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  
  .nav-actions .btn-secondary {
    display: none; /* Hide Client Portal button on header, rely on My Dashboard in menu */
  }
  
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  
  .provisioning-steps-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  section {
    padding: 60px 1.5rem;
  }
  
  .packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
  }
  
  .db-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .db-client-info {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  
  .dashboard-content {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-centered-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-centered-content p {
    font-size: 1rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .bento-features-row {
    grid-template-columns: 1fr;
  }
  
  .bento-feat-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
  }
  
  .bento-feat-item:last-child {
    border-bottom: none;
  }
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Views and Hardware-Accelerated Transition Styles */
.page-view {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
  width: 100%;
  min-height: 80vh;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.page-view.active {
  display: block;
}

.page-view.active-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) !important;
}

.page-view.exiting {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
}

/* Domain Checker Styles */
.domain-tld-select {
  border: none;
  background: var(--bg-tertiary);
  padding: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
  border-left: 1px solid var(--border-color);
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.domain-check-btn {
  background: var(--grad-copper);
  color: var(--bg-secondary);
  border: none;
  padding: 0 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-heading);
}

.domain-check-btn:hover {
  background: var(--grad-bronze);
}

/* Domain Status Alerts */
.domain-status-container {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.domain-status-alert {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.domain-status-alert.available {
  background: rgba(75, 158, 95, 0.1);
  color: #4b9e5f;
  border: 1px solid rgba(75, 158, 95, 0.2);
}

.domain-status-alert.taken {
  background: rgba(201, 75, 75, 0.1);
  color: #c94b4b;
  border: 1px solid rgba(201, 75, 75, 0.2);
}

.domain-suggestions-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.domain-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.2rem;
}

.domain-suggestion-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.domain-suggestion-item:hover {
  border-color: var(--copper-medium);
  color: var(--copper-dark);
  background: var(--bg-tertiary);
}

/* Theme Toggle Button specific details */
#theme-toggle-btn svg {
  transition: transform 0.4s ease;
}

#theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

/* Spinner for domain check */
.domain-check-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(177, 112, 78, 0.2);
  border-top-color: var(--copper-medium);
  border-radius: 50%;
  animation: rotate 0.8s linear infinite;
  display: inline-block;
}

/* Floating Morphing Background Mesh Blobs */
.bg-blobs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.08;
  transition: opacity 0.5s ease, background 0.5s ease;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--copper-medium);
  animation: morph-1 18s ease-in-out infinite alternate;
}

.blob-2 {
  bottom: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--copper-light);
  animation: morph-2 22s ease-in-out infinite alternate;
}

.blob-3 {
  top: 40%;
  left: 50%;
  width: 450px;
  height: 450px;
  background: var(--copper-dark);
  animation: morph-3 20s ease-in-out infinite alternate;
}

[data-theme="dark"] .bg-blob {
  opacity: 0.12;
}

@keyframes morph-1 {
  0% { transform: translate(0px, 0px) scale(1); border-radius: 50% 40% 60% 40% / 40% 50% 50% 60%; }
  50% { transform: translate(60px, 40px) scale(1.15); border-radius: 40% 60% 40% 60% / 50% 40% 60% 50%; }
  100% { transform: translate(-40px, 80px) scale(0.95); border-radius: 50% 40% 60% 40% / 40% 50% 50% 60%; }
}

@keyframes morph-2 {
  0% { transform: translate(0px, 0px) scale(1); border-radius: 40% 60% 50% 50% / 50% 60% 40% 50%; }
  50% { transform: translate(-80px, -50px) scale(1.1); border-radius: 60% 40% 60% 40% / 40% 50% 50% 60%; }
  100% { transform: translate(50px, 30px) scale(0.9); border-radius: 40% 60% 50% 50% / 50% 60% 40% 50%; }
}

@keyframes morph-3 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-30px, 60px) scale(1.2); }
  100% { transform: translate(70px, -20px) scale(0.85); }
}

/* Transition Curtain Slide Overlay */
.transition-curtain {
  position: fixed;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-medium) 50%, var(--copper-light) 100%);
  z-index: 2000;
  pointer-events: none;
  transition: none;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
}

.transition-curtain.wipe-in {
  animation: curtain-wipe-in 0.35s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  pointer-events: auto;
}

.transition-curtain.wipe-out {
  animation: curtain-wipe-out 0.35s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  pointer-events: auto;
}

@keyframes curtain-wipe-in {
  0% { left: -100vw; }
  100% { left: 0; }
}

@keyframes curtain-wipe-out {
  0% { left: 0; }
  100% { left: 100vw; }
}

/* Centered Typography Hero Layout */
.hero-centered-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 80px 2rem;
}

.hero-centered-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered-content h1 {
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-centered-content p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 680px;
  font-weight: 300;
}

.hero-buttons.centered {
  justify-content: center;
}

/* Bento Box Layout Grid Interactive Horizontal Scroll */
.bento-scroll-section {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  box-sizing: border-box;
}

.bento-scroll-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  box-sizing: border-box;
}

.bento-scroll-header {
  text-align: left;
  width: 100%;
}

.bento-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.bento-scroll-header h2 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 1rem 0;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.bento-scroll-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.bento-nav-controls {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.bento-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.bento-nav-btn:hover {
  background: var(--copper-medium);
  border-color: var(--copper-medium);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.bento-scroll-track-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  cursor: grab;
  user-select: none;
  padding: 0.5rem 0;
}

.bento-scroll-track-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.bento-scroll-track-wrapper.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.bento-scroll-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1rem 0;
  align-items: flex-start;
}

.bento-scroll-track .bento-tile {
  flex-shrink: 0;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  vertical-align: top;
  /* Ensure no residual GSAP y-transform survives */
  will-change: opacity;
}

.bento-scroll-track .tile-wide {
  width: 580px;
}

.bento-scroll-track .tile-square {
  width: 360px;
}

.bento-tile {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.tile-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  text-align: left;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-tile:hover .tile-inner {
  border-color: var(--copper-medium);
  box-shadow: var(--shadow-medium);
}

.tile-wide {
  grid-column: span 2;
}

.tile-square {
  grid-column: span 1;
}

.bento-header {
  margin-bottom: 1.2rem;
}

.bento-badge {
  background: var(--grad-light);
  color: var(--copper-dark);
  border: 1px solid var(--border-color-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: inline-block;
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .bento-badge {
  background: var(--bg-tertiary);
  color: var(--copper-light);
}

.bento-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.bento-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.bento-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--copper-medium);
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0.5rem 0 0.2rem;
}

.bento-body {
  width: 100%;
  margin-top: auto;
}

.bento-network-svg {
  color: var(--copper-medium);
}

.pulse-ring {
  transform-origin: center;
  animation: pulse-ring-anim 2s infinite ease-out;
}

@keyframes pulse-ring-anim {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.speed-nodes {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.speed-node-dot {
  width: 20px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  transition: background 0.3s ease;
}

.speed-node-dot.active {
  background: var(--grad-copper);
  animation: speed-node-glow 1.2s infinite alternate;
}

.speed-node-dot:nth-child(2) { animation-delay: 0.2s; }
.speed-node-dot:nth-child(3) { animation-delay: 0.4s; }
.speed-node-dot:nth-child(4) { animation-delay: 0.6s; }
.speed-node-dot:nth-child(5) { animation-delay: 0.8s; }

@keyframes speed-node-glow {
  0% { opacity: 0.4; }
  100% { opacity: 1; filter: drop-shadow(0 0 4px var(--copper-medium)); }
}

.bento-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 1rem;
}

.bento-feat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.bento-feat-item:last-child {
  border-right: none;
}

.bento-feat-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--copper-medium);
  font-family: var(--font-heading);
  margin-bottom: 0.2rem;
}

.bento-feat-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Bento feat item styles are consolidated in the main media query block */

/* ─── Checkout Wizard & Template Selector ───────────────────────────────── */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 1rem auto 2.5rem;
  max-width: 500px;
  padding: 0 10px;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}

.wizard-step-line-fill {
  position: absolute;
  top: 50%;
  left: 10px;
  height: 2px;
  background: var(--copper-medium);
  z-index: 1;
  transform: translateY(-50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.wizard-step-node.active {
  border-color: var(--copper-medium);
  color: var(--text-primary);
  box-shadow: 0 0 14px rgba(177, 112, 78, 0.4);
  background: var(--bg-tertiary);
}

.wizard-step-node.completed {
  border-color: var(--copper-medium);
  background: var(--copper-medium);
  color: #fff;
}

.wizard-step-label {
  position: absolute;
  top: 40px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
  transform: translateX(-50%);
  left: 50%;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wizard-step-node.active .wizard-step-label {
  color: var(--copper-light);
}

.wizard-step-node.completed .wizard-step-label {
  color: var(--text-secondary);
}

/* Wizard Panels */
.wizard-panel {
  display: none;
  animation: panelFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wizard-panel.active {
  display: block;
}

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

/* Template Selection Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.template-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}

[data-theme="light"] .template-card {
  background: rgba(0, 0, 0, 0.015);
}

.template-card:hover {
  transform: translateY(-3px);
  border-color: var(--copper-light);
  box-shadow: 0 4px 15px rgba(177, 112, 78, 0.15);
}

.template-card.selected {
  border-color: var(--copper-medium);
  background: rgba(177, 112, 78, 0.08);
  box-shadow: 0 0 15px rgba(177, 112, 78, 0.25);
}

.template-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  margin-bottom: 0.8rem;
  transition: var(--transition-normal);
}

.template-card.selected .template-card-icon {
  background: var(--copper-medium);
  color: #fff;
}

.template-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.template-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.template-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--copper-medium);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Custom Design details area */
.custom-details-wrapper {
  margin-top: 1.2rem;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.custom-details-wrapper.active {
  display: block;
  opacity: 1;
}

/* Wizard navigation footer */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Color Selector Dots */
.color-picker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

.color-picker-dot:hover {
  transform: scale(1.15);
}

.color-picker-dot.selected {
  border-color: var(--text-primary);
  box-shadow: 0 0 8px currentColor;
}

/* Theme Choice Buttons */
.btn-theme-choice {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-theme-choice:hover {
  border-color: var(--copper-light);
  color: var(--text-primary);
}

.btn-theme-choice.active {
  background: var(--copper-medium);
  border-color: var(--copper-medium);
  color: #fff;
}

/* Template Specific Input groups */
.template-specific-inputs {
  display: none;
  animation: inputsFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.template-specific-inputs.active {
  display: block;
}

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

/* Custom Highlight card - subtle touch */
.template-card.custom-highlight {
  border: 1px dashed var(--copper-medium) !important;
  box-shadow: 0 0 6px rgba(177, 112, 78, 0.08);
}

.template-card.custom-highlight:hover {
  border-style: solid !important;
  box-shadow: 0 0 10px rgba(177, 112, 78, 0.15) !important;
}

.template-card.custom-highlight.selected {
  border: 1.5px solid var(--copper-medium) !important;
  box-shadow: 0 0 12px rgba(177, 112, 78, 0.22) !important;
}

/* Custom Interactive Sliders */
.slider-control {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  margin: 10px 0;
  transition: background 0.3s;
}

.slider-control:hover {
  background: var(--border-color-light);
}

.slider-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-medium), var(--copper-light));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(177, 112, 78, 0.4);
  transition: transform 0.2s, background-color 0.2s;
}

.slider-control::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-control::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-medium), var(--copper-light));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(177, 112, 78, 0.4);
  transition: transform 0.2s, background-color 0.2s;
}

.slider-control::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PREMIUM MOTION & EXPERIENTIAL STYLING
   ───────────────────────────────────────────────────────────────────────────── */

/* Hide default cursor on desktop device width */
@media (min-width: 1025px) {
  body, a, button, .btn, .nav-item, .logo-wrapper, .package-card, .template-card, .footer-links a {
    cursor: none !important;
  }
}

/* Advanced Custom Cursor Follower */
.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--copper-light);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--copper-light);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Cursor Hover States */
.cursor-ring.cursor-expand {
  width: 62px;
  height: 62px;
  background-color: rgba(177, 112, 78, 0.08);
  border-color: var(--copper-medium);
}

.cursor-dot.cursor-fade {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.1);
}

/* Hide on mobile devices */
@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Logo Preloader Overlay */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 1000000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 240px;
}

.preloader-logo-wrapper {
  width: 230px; /* Scaled down slightly to make the M emblem look sleeker on load */
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoPulse 2.2s infinite ease-in-out;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(177, 112, 78, 0.25));
}

.preloader-bar-container {
  width: 100%;
  height: 3px;
  background-color: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--copper-dark), var(--copper-light));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.preloader-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

@keyframes logoPulse {
  0% { transform: scale(0.96); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 1; filter: drop-shadow(0 0 8px rgba(177, 112, 78, 0.3)); }
  100% { transform: scale(0.96); opacity: 0.85; }
}

/* Glassmorphic floating navigation header */
header.scrolled {
  padding: 0.8rem 0 !important;
  background: rgba(10, 10, 10, 0.72) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Light mode override for scrolled header */
body[data-theme="light"] header.scrolled {
  background: rgba(255, 255, 255, 0.76) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Spotlight Glowing Circles in Background */
.hero-spotlight {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(177, 112, 78, 0.08) 0%, rgba(177, 112, 78, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  animation: spotlightRotate 24s infinite linear;
}

@keyframes spotlightRotate {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5%, 5%) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Service Card 3D Tilt perspective context */
.services-grid, .packages-grid {
  perspective: 1200px;
}

.package-card, .bento-tile {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.card-inner, .tile-inner {
  transform-style: preserve-3d;
  will-change: transform;
  background: rgba(18, 18, 18, 0.45) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

body[data-theme="light"] .card-inner, body[data-theme="light"] .tile-inner {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

/* Cursor-following Spotlight Gradient background */
.card-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(800px circle at var(--x) var(--y), rgba(177, 112, 78, 0.06), transparent 40%);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-card:hover .card-spotlight, .bento-tile:hover .card-spotlight {
  opacity: 1;
}

/* GPU Accelerated transitions & Hero Entrance reveal initial states */
.page-view {
  will-change: opacity, transform;
}

.hero-centered-content h1 {
  will-change: transform, opacity;
}

.hero-centered-content p, 
.hero-buttons,
.bento-grid {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

/* Lenis smooth scrolling helper overrides */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* Atmospheric Smoke / Nebula drift effects */
body::before, body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.16;
  mix-blend-mode: screen;
  will-change: transform;
}

body::before {
  background: radial-gradient(circle at 30% 40%, rgba(177, 112, 78, 0.12), transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(100, 50, 20, 0.08), transparent 35%);
  animation: drift-1 45s linear infinite;
}

body::after {
  background: radial-gradient(circle at 70% 80%, rgba(177, 112, 78, 0.08), transparent 40%),
              radial-gradient(circle at 20% 70%, rgba(80, 40, 20, 0.06), transparent 30%);
  animation: drift-2 60s linear infinite;
}

[data-theme="light"] body::before, [data-theme="light"] body::after {
  opacity: 0.05;
  mix-blend-mode: multiply;
}

@keyframes drift-1 {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes drift-2 {
  0% { transform: rotate(360deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(0.95); }
  100% { transform: rotate(0deg) scale(1.1); }
}

/* ──────────────── Selected Work Showcase ──────────────── */
.selected-work-section {
  padding: 12vh 4rem;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  cursor: pointer;
}

.work-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(177, 112, 78, 0.1);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.work-card:hover .work-image-wrapper {
  border-color: rgba(216, 159, 125, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(177, 112, 78, 0.3);
}

.work-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-image-wrapper img {
  transform: scale(1.06);
}

.work-img-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(28, 24, 21, 0.1) 0%, transparent 40%, rgba(12, 10, 9, 0.6) 100%);
  z-index: 1;
}

.work-content {
  padding: 0 1rem;
}

.work-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--copper-medium);
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.work-content h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.work-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

/* ──────────────── Creative Process Timeline ──────────────── */
.creative-process-section {
  padding: 12vh 4rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.process-timeline {
  position: relative;
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* Vertical timeline connector line centered on circles */
.timeline-step::after {
  content: '';
  position: absolute;
  top: 72px; /* starts at the bottom edge of the 72px step-number */
  left: 36px; /* aligns exactly with the center of the 72px step-number */
  transform: translateX(-50%);
  bottom: -6rem; /* reaches down to the center of the next step */
  width: 2px;
  background: linear-gradient(to bottom, var(--copper-medium), var(--border-color));
  z-index: 1;
}

/* Hide the connecting line for the last step */
.timeline-step:last-child::after {
  display: none;
}

.timeline-step {
  display: flex;
  gap: 3rem;
  position: relative;
  align-items: flex-start;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--copper-medium);
  color: var(--copper-light);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 20px rgba(177, 112, 78, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-content {
  flex: 1;
  background: rgba(18, 18, 18, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color-light);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  max-width: 800px;
}

.step-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ──────────────── FAQ Accordion ──────────────── */
.faq-accordion-section {
  padding: 12vh 4rem;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
}

.faq-item {
  background: rgba(18, 18, 18, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: var(--copper-medium);
  box-shadow: 0 10px 30px rgba(177, 112, 78, 0.05);
}

.faq-trigger {
  padding: 1.8rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-trigger h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
}

.faq-arrow {
  color: var(--text-secondary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--copper-light);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-panel-content {
  padding: 0 2.2rem 1.8rem 2.2rem;
}

.faq-panel-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ──────────────── Immersive Footer CTA ──────────────── */
.immersive-cta-section {
  position: relative;
  padding: 14vh 4rem;
  max-width: 1300px;
  margin: 8vh auto 12vh auto;
  border-radius: 36px;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.cta-spotlight-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(177, 112, 78, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  margin: 1.5rem 0 2rem 0;
}

.cta-content p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 3.2rem;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Responsive updates */
@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .selected-work-section, .creative-process-section, .faq-accordion-section, .immersive-cta-section {
    padding: 10vh 2rem;
  }
  .cta-content h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .timeline-step::after {
    top: 52px; /* starts at the bottom edge of the 52px mobile step-number */
    left: 26px; /* aligns exactly with the center of the 52px mobile step-number */
    bottom: -6rem;
  }
  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  .timeline-step {
    gap: 1.5rem;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* Legal Navigation Tabs */
.legal-nav-tabs {
  display: flex;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.5rem;
  gap: 0.5rem;
  overflow-x: auto;
}

.legal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 1rem 1.2rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.legal-tab-btn:hover {
  color: var(--text-primary);
}

.legal-tab-btn.active {
  color: var(--copper-light);
  border-bottom-color: var(--copper-light);
  background: rgba(177, 112, 78, 0.08);
}

/* Cookie Banner Overlay */
.cookie-banner-overlay {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  max-width: 480px;
  width: calc(100% - 4rem);
}

.cookie-banner-content {
  background: rgba(28, 24, 21, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(177, 112, 78, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 600px) {
  .cookie-banner-overlay {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
  }
}


/* --- Positioning Enrichment Upgrades --- */

/* Bento Case Metrics */
.work-metrics {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--copper-light);
  text-shadow: 0 0 10px rgba(177, 112, 78, 0.2);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Playbook Stepper */
.timeline-step {
  cursor: pointer;
}

.step-content {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, background 0.3s ease;
}

.timeline-step:hover .step-content {
  transform: translateX(10px);
}

.timeline-step.active .step-number {
  background: var(--copper-medium);
  color: #fff;
  border-color: var(--copper-light);
  box-shadow: 0 0 25px rgba(177, 112, 78, 0.4);
}

.timeline-step.active .step-content {
  border-color: rgba(177, 112, 78, 0.3);
  background: rgba(26, 20, 18, 0.85);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(177, 112, 78, 0.05);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.step-toggle-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.step-toggle-icon::before,
.step-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--copper-light);
  transition: transform 0.3s ease;
}

.step-toggle-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.step-toggle-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.step-details {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.details-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.details-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.details-col li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.2rem;
}

.details-col li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--copper-medium);
}

/* Growth & Value Calculator */
.value-calculator-section {
  padding: 100px 0;
  background: transparent;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.calc-inputs-card,
.calc-results-card {
  background: rgba(22, 18, 16, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.calc-inputs-card h3,
.calc-results-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.input-group label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.slider-val {
  color: var(--copper-light);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Custom styled ranges */
.input-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-primary);
  outline: none;
  transition: background 0.3s;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--copper-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(177, 112, 78, 0.5);
  transition: transform 0.15s, background-color 0.15s;
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #fff;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.result-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.result-metrics-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.result-box-small {
  background: var(--bg-primary);
  border: 1px solid var(--border-color-light);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.result-val.highlight {
  color: var(--copper-light);
}

.result-val-small {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.result-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.result-box.total-gain {
  border-color: rgba(177, 112, 78, 0.3);
  background: rgba(177, 112, 78, 0.05);
  box-shadow: 0 0 30px rgba(177, 112, 78, 0.05);
}

.result-val.total {
  font-size: 2.2rem;
  color: var(--copper-light);
  text-shadow: 0 0 15px rgba(177, 112, 78, 0.2);
}

@media (max-width: 992px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .timeline-step:hover .step-content {
    transform: none;
  }
  .calc-inputs-card,
  .calc-results-card {
    padding: 2rem;
  }
}




/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — Comprehensive Premium Overrides
   Fixes all hard-coded dark values for a clean, warm aesthetic
   ═══════════════════════════════════════════════════════════ */

/* ── Navigation Header ───────────────────────────────────── */
body[data-theme="light"] header {
  background-color: rgba(255, 252, 249, 0.80) !important;
  border-color: rgba(177, 112, 78, 0.15) !important;
  box-shadow: 0 8px 32px rgba(112, 60, 33, 0.08) !important;
}

body[data-theme="light"] header.scrolled {
  background-color: rgba(255, 253, 250, 0.95) !important;
  border-color: rgba(177, 112, 78, 0.25) !important;
  box-shadow: 0 10px 30px rgba(112, 60, 33, 0.10), 0 0 12px rgba(177, 112, 78, 0.06) !important;
}

/* Nav link text must be readable on light */
body[data-theme="light"] .nav-item a {
  color: #5e514a;
}
body[data-theme="light"] .nav-item a:hover,
body[data-theme="light"] .nav-item.active a {
  color: #2d2622;
}
body[data-theme="light"] .nav-item a::after {
  background: var(--copper-medium);
}

/* Cart icon button — light */
body[data-theme="light"] .cart-icon-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(177, 112, 78, 0.2);
  color: var(--copper-medium);
}

/* ── Hero Visual Globe ───────────────────────────────────── */
body[data-theme="light"] .visual-globe {
  background: linear-gradient(135deg, #fff5ee 0%, #fce8d6 100%);
  box-shadow: 0 20px 60px rgba(177, 112, 78, 0.15), 0 0 40px rgba(177, 112, 78, 0.06);
}
body[data-theme="light"] .floating-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(177, 112, 78, 0.15);
  box-shadow: 0 8px 28px rgba(112, 60, 33, 0.10);
}

/* ── Package / Pricing Cards ─────────────────────────────── */
body[data-theme="light"] .card-inner {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(177, 112, 78, 0.10) !important;
  box-shadow: 0 8px 28px rgba(112, 60, 33, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}
body[data-theme="light"] .package-card:hover .card-inner {
  border-color: rgba(177, 112, 78, 0.30) !important;
  box-shadow: 0 20px 50px rgba(112, 60, 33, 0.12), 0 0 20px rgba(177, 112, 78, 0.10) !important;
}

/* ── Bento Grid Tiles ────────────────────────────────────── */
body[data-theme="light"] .bento-tile {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(177, 112, 78, 0.12);
  box-shadow: 0 8px 24px rgba(112, 60, 33, 0.07);
}
body[data-theme="light"] .tile-inner {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(177, 112, 78, 0.10) !important;
  box-shadow: 0 8px 24px rgba(112, 60, 33, 0.07) !important;
}
body[data-theme="light"] .bento-tile:hover {
  border-color: rgba(177, 112, 78, 0.28);
  box-shadow: 0 16px 40px rgba(112, 60, 33, 0.12);
}

/* ── Work Cards — image gradient overlay ─────────────────── */
body[data-theme="light"] .work-img-gradient {
  background: linear-gradient(to bottom,
    rgba(251, 250, 248, 0.05) 0%,
    transparent 40%,
    rgba(251, 250, 248, 0.4) 100%);
}
body[data-theme="light"] .work-image-wrapper {
  box-shadow: 0 10px 30px rgba(112, 60, 33, 0.12), 0 0 15px rgba(177, 112, 78, 0.06);
}
body[data-theme="light"] .work-card:hover .work-image-wrapper {
  border-color: rgba(177, 112, 78, 0.35);
  box-shadow: 0 18px 45px rgba(112, 60, 33, 0.18), 0 0 24px rgba(177, 112, 78, 0.14);
}

/* ── Execution Playbook Step Content ─────────────────────── */
body[data-theme="light"] .step-content {
  background: rgba(242, 235, 225, 0.65);
  border-color: rgba(177, 112, 78, 0.15);
  box-shadow: 0 8px 24px rgba(112, 60, 33, 0.05);
}
body[data-theme="light"] .timeline-step.active .step-content,
body[data-theme="light"] .step-content:hover {
  border-color: rgba(177, 112, 78, 0.32);
  background: rgba(234, 226, 213, 0.92);
  box-shadow: 0 14px 40px rgba(112, 60, 33, 0.08), 0 0 16px rgba(177, 112, 78, 0.05);
}
body[data-theme="light"] .step-number {
  background: transparent;
  border: 2px solid var(--copper-medium);
  color: var(--copper-dark);
}
body[data-theme="light"] .timeline-step.active .step-number {
  background: var(--copper-medium);
  color: #fff;
  box-shadow: 0 0 20px rgba(177, 112, 78, 0.25);
}
body[data-theme="light"] .timeline-step::after {
  background: linear-gradient(to bottom, var(--copper-medium), rgba(177, 112, 78, 0.15));
}

/* ── FAQ Accordion ───────────────────────────────────────── */
body[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(177, 112, 78, 0.12);
  box-shadow: 0 4px 16px rgba(112, 60, 33, 0.05);
}
body[data-theme="light"] .faq-item:hover {
  border-color: rgba(177, 112, 78, 0.30);
  box-shadow: 0 8px 28px rgba(112, 60, 33, 0.09);
}
body[data-theme="light"] .faq-trigger h3 {
  color: #2d2622;
}
body[data-theme="light"] .faq-panel-content p {
  color: #5e514a;
}
body[data-theme="light"] .faq-item.active .faq-arrow {
  color: var(--copper-medium);
}

/* ── Value Calculator Cards ──────────────────────────────── */
body[data-theme="light"] .calc-inputs-card,
body[data-theme="light"] .calc-results-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(177, 112, 78, 0.12);
  box-shadow: 0 8px 28px rgba(112, 60, 33, 0.07);
}
body[data-theme="light"] .result-card {
  background: rgba(245, 242, 238, 0.70);
  border-color: rgba(177, 112, 78, 0.12);
}

/* ── Immersive CTA Footer Section ────────────────────────── */
body[data-theme="light"] .immersive-cta-section {
  background: linear-gradient(145deg, rgba(252, 248, 243, 0.95) 0%, rgba(247, 238, 228, 0.90) 100%);
  border: 1px solid rgba(177, 112, 78, 0.18);
  box-shadow: 0 20px 60px rgba(112, 60, 33, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.80);
}
body[data-theme="light"] .cta-spotlight-layer {
  background: radial-gradient(circle at 50% 50%, rgba(177, 112, 78, 0.08), transparent 65%);
}

/* ── Footer ─────────────────────────────────────────────── */
body[data-theme="light"] footer {
  background: #f7f2ec;
  border-top-color: rgba(177, 112, 78, 0.15);
}
body[data-theme="light"] .footer-bottom {
  border-top-color: rgba(177, 112, 78, 0.12);
}
body[data-theme="light"] .social-icon {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(177, 112, 78, 0.15);
}
body[data-theme="light"] .social-icon:hover {
  border-color: var(--copper-medium);
  color: var(--copper-medium);
}

/* ── Badge and Section Labels ────────────────────────────── */
body[data-theme="light"] .badge {
  background: linear-gradient(135deg, rgba(255, 248, 242, 0.95), rgba(247, 230, 210, 0.95));
  border-color: rgba(177, 112, 78, 0.25);
  color: var(--copper-dark);
}

/* ── Domain / SMM config inputs ──────────────────────────── */
body[data-theme="light"] .domain-config,
body[data-theme="light"] .smm-config {
  background: rgba(247, 242, 236, 0.80);
  border-color: rgba(177, 112, 78, 0.18);
}
body[data-theme="light"] .domain-input-group,
body[data-theme="light"] .smm-input {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(177, 112, 78, 0.18);
  color: var(--text-primary);
}

/* ── Template / Wizard Cards ─────────────────────────────── */
body[data-theme="light"] .template-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(177, 112, 78, 0.12);
  box-shadow: 0 6px 20px rgba(112, 60, 33, 0.06);
}
body[data-theme="light"] .template-card:hover {
  border-color: rgba(177, 112, 78, 0.30);
}

/* ── Atmospheric nebula blobs — reduce in light mode ─────── */
body[data-theme="light"]::before,
body[data-theme="light"]::after {
  opacity: 0.04;
  mix-blend-mode: multiply;
}

/* ── Slider track and thumb ──────────────────────────────── */
body[data-theme="light"] input[type="range"] {
  accent-color: var(--copper-medium);
}

/* ── Summary — button-secondary in light ─────────────────── */
body[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(177, 112, 78, 0.22);
  color: var(--copper-dark);
  box-shadow: 0 4px 14px rgba(112, 60, 33, 0.07);
}
body[data-theme="light"] .btn-secondary:hover {
  background: rgba(253, 247, 241, 1);
  border-color: var(--copper-medium);
  box-shadow: 0 8px 24px rgba(112, 60, 33, 0.12);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OPTIMIZATION SUITE
   ========================================================================== */

/* ── Hide Custom Desktop Cursor Triggers on Touch Devices ── */
@media (hover: none) and (pointer: coarse), (max-width: 992px) {
  #cursor-aura,
  #custom-cursor-dot,
  #custom-cursor-ring {
    display: none !important;
  }
  
  body, button, a, input, select {
    cursor: auto !important;
  }
}

/* ── Prevent Horizontal Scrolling / Bleed ── */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* ── Responsive Container & Layout Tweaks ── */
@media (max-width: 1200px) {
  .hero-centered-content h1 {
    font-size: 2.8rem;
  }
  .bento-scroll-track-wrapper {
    padding: 0 1rem;
  }
}

/* ── Tablet & Small Laptops (max-width: 992px) ── */
@media (max-width: 992px) {
  /* Header & Navigation */
  header {
    padding: 0.8rem 1rem;
  }
  
  .nav-container {
    padding: 0 0.5rem;
  }
  
  .logo-wrapper img {
    height: 36px;
  }
  
  /* Mobile Menu Btn */
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
  }
  
  .mobile-menu-btn.active .line-top {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active .line-mid {
    opacity: 0;
  }
  .mobile-menu-btn.active .line-bot {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .mobile-menu-btn svg line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    background: var(--bg-header-scrolled);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.8rem 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .nav-menu.open {
    display: flex !important;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-item a {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    width: 100%;
    display: block;
    border-radius: 8px;
    background: rgba(177, 112, 78, 0.05);
  }

  .nav-actions {
    gap: 0.5rem;
  }
  
  .contact-us-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }

  /* Bento Box Grid Adaptations */
  .bento-scroll-header .bento-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  
  .bento-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .bento-tile {
    width: 100% !important;
    min-width: 100% !important;
  }

  /* Grids to 1 or 2 Columns */
  .hosting-grid,
  .smm-grid,
  .services-grid,
  .features-grid,
  .pricing-grid,
  .template-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .calc-grid,
  .calculator-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Mobile Phones (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Section Spacing */
  section {
    padding: 3.5rem 1.25rem;
  }

  /* Hero Section */
  .hero-centered-section {
    padding: 3rem 1rem 2rem;
  }

  .hero-centered-content h1 {
    font-size: 2.1rem;
    line-height: 1.22;
  }

  .hero-centered-content p {
    font-size: 0.98rem;
    margin: 1rem 0 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* General Typography */
  h2 {
    font-size: 1.65rem !important;
  }
  
  h3 {
    font-size: 1.3rem !important;
  }

  p {
    font-size: 0.95rem;
  }

  /* Filter / Billing Toggles */
  .billing-toggle-container,
  .cycle-toggle-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    padding: 0.5rem;
  }

  .cycle-toggle-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  /* Domain & SMM Search Bars */
  .domain-input-group,
  .smm-input-wrapper {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .domain-input-group input,
  .smm-input-wrapper input {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }

  .domain-input-group button,
  .smm-input-wrapper button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Cards & Tiles */
  .pricing-card,
  .hosting-card,
  .service-card,
  .smm-card,
  .bento-tile {
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
  }

  /* Tables — Horizontal Scrollable Container */
  .table-responsive,
  .comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }

  table {
    min-width: 600px;
  }

  /* Modals & Checkout Drawers */
  .modal-dialog,
  .modal-content,
  .drawer-content,
  .wizard-modal-content {
    width: 94vw !important;
    max-width: 100% !important;
    margin: 1rem auto !important;
    padding: 1.4rem 1.1rem !important;
    border-radius: 18px !important;
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-close,
  .drawer-close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }

  /* Range Sliders */
  input[type="range"] {
    height: 8px;
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  /* Footer Layout */
  footer {
    padding: 3rem 1.25rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Contact Dropdown on Mobile */
  .contact-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 320px;
  }
}

/* ── Small Mobile Phones (max-width: 480px) ── */
@media (max-width: 480px) {
  .nav-actions .btn-secondary {
    display: none; /* Hide Client Portal small button in header bar to prevent header overflow */
  }

  .hero-centered-content h1 {
    font-size: 1.8rem;
  }

  .badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }

  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.92rem;
  }

  .pricing-card-header h3 {
    font-size: 1.25rem;
  }

  .price-amount {
    font-size: 2.1rem;
  }
}


