:root {
  --gold: #c8a34b;
  --gold-dark: #aa8c37;
  --bg: #0b0b0c;
  --bg-card: #1a1a1c;
  --muted: #9ca3af;
  --border: #2a2a2c;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text-primary);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-primary);
}

#page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loader-logo {
  width: 120px;
  height: 120px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(11, 11, 12, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-card);
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  will-change: transform;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--gold);
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

@media (max-width: 768px) {
  .mobile-nav {
    max-width: 100%;
  }
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-nav {
    display: none;
  }
}

.gold {
  color: var(--gold);
}

.gold-bg {
  background: var(--gold);
}

.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(200, 163, 75, 0.3);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

.trusted-companies-wrapper {
  overflow: hidden;
  position: relative;
}

.trusted-companies-carousel {
  display: flex;
  gap: 3rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.company-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.company-logo:hover {
  opacity: 1;
}

.brands-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.brands-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.brand-card {
  transition: all 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 16px rgba(200, 163, 75, 0.2);
}

.logo-no-bg {
  background: transparent;
}

.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(200, 163, 75, 0.2);
}

input.error,
textarea.error {
  border-color: #ef4444;
  outline-color: #ef4444;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
