/* 100% Exact WexLogic Typography & Local Fonts */
@import url('local-fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

/* Exact Font Families from WexLogic */
.cn-bebas {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 0.05em;
}

.cn-syne {
  font-family: 'Syne', sans-serif !important;
}

.cn-grotesk {
  font-family: 'Space Grotesk', sans-serif !important;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #040307;
  color: #f3f4f6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings Typography */
h1, .hero-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}

h2, .section-heading {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

h3, .card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

button, input, select, textarea, label {
  font-family: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #08070d;
}
::-webkit-scrollbar-thumb {
  background: #2a251a;
  border-radius: 4px;
  border: 1px solid rgba(223, 183, 108, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #dfb76c;
}

/* Scoped Animations & Custom Component Styles */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes float-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(223, 183, 108, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(184, 144, 71, 0.6);
    transform: scale(1.05);
  }
}

.pulse-button {
  animation: float-pulse 3s infinite ease-in-out;
}

/* Work Cards */
.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 183, 108, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(223, 183, 108, 0.15);
}

.work-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Category Filter Buttons */
.cat-btn {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-btn:hover, .cat-btn.active {
  background: rgba(223, 183, 108, 0.2) !important;
  border-color: #dfb76c !important;
  color: #dfb76c !important;
  box-shadow: 0 0 12px rgba(223, 183, 108, 0.2);
}

/* Glass Card Interactive Hover */
.glass-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(223, 183, 108, 0.3) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(223, 183, 108, 0.08);
}

/* Social Buttons */
.social-btn-0:hover { background: #dfb76c !important; color: #08070d !important; box-shadow: 0 0 12px #dfb76c; }
.social-btn-1:hover { background: #c5a059 !important; color: #08070d !important; box-shadow: 0 0 12px #c5a059; }
.social-btn-2:hover { background: #e5c185 !important; color: #08070d !important; box-shadow: 0 0 12px #e5c185; }

/* Footer Links */
.footer-link {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #dfb76c !important;
  transform: translateX(3px);
}

/* Mobile Nav Drawer */
#mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(8, 7, 13, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(223, 183, 108, 0.2);
  padding: 24px 28px 36px;
  flex-direction: column;
  gap: 20px;
  z-index: 49;
  animation: fadeIn 0.3s ease;
}

#mobile-menu.open {
  display: flex !important;
}

/* Mode Switcher Banner */
.mode-switch-bar {
  background: rgba(12, 10, 18, 0.9);
  border-bottom: 1px solid rgba(223, 183, 108, 0.15);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1px;
  z-index: 60;
  position: relative;
}

.mode-toggle-pill {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 3px;
  gap: 4px;
}

.mode-btn {
  padding: 4px 14px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: linear-gradient(135deg, #dfb76c, #b89047);
  color: #08070d;
  box-shadow: 0 2px 8px rgba(223, 183, 108, 0.4);
}

/* Call Menu Floating Popup */
#call-popup-menu {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 290px;
  background: rgba(14, 12, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 183, 108, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(223, 183, 108, 0.2);
  border-radius: 16px;
  padding: 20px;
  z-index: 9998;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#call-popup-menu.open {
  display: flex !important;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay.open {
  display: flex !important;
}

.modal-container {
  background: #0d0b14;
  border: 1px solid rgba(223, 183, 108, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 30px rgba(223, 183, 108, 0.15);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Swiper Controls Custom Styling */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.2) !important;
  opacity: 1 !important;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background: #dfb76c !important;
  width: 24px !important;
  border-radius: 99px !important;
}

/* File Upload Neon Style */
.file-upload-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(223, 183, 108, 0.4);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-upload-box:hover {
  background: rgba(223, 183, 108, 0.05);
  border-color: #dfb76c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .mode-switch-bar { flex-direction: column; gap: 8px; text-align: center; }
  #call-popup-menu { right: 16px; bottom: 84px; width: calc(100vw - 32px); max-width: 320px; }
  .process-steps-grid { grid-template-columns: 1fr !important; }
}

/* Live Project Stepper Styles */
.stepper-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 20px;
}
.stepper-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.stepper-progress {
  position: absolute;
  top: 20px;
  left: 30px;
  height: 2px;
  background: linear-gradient(90deg, #dfb76c, #ffd58a);
  box-shadow: 0 0 12px rgba(223, 183, 108, 0.6);
  z-index: 2;
  transition: width 0.5s ease;
}
.step-node {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 140px;
}
.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0e0c16;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  transition: all 0.3s ease;
}
.step-node.completed .step-circle {
  background: #dfb76c;
  color: #000;
  border-color: #dfb76c;
  box-shadow: 0 0 16px rgba(223, 183, 108, 0.5);
}
.step-node.active .step-circle {
  background: #0e0c16;
  color: #dfb76c;
  border-color: #dfb76c;
  box-shadow: 0 0 20px rgba(223, 183, 108, 0.8);
  animation: pulse-ring 2s infinite;
}
.step-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
}
.step-node.completed .step-title,
.step-node.active .step-title {
  color: #fff;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(223, 183, 108, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(223, 183, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 183, 108, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
