/* Modern Dark Theme Peak-Evo Performance */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --primary-color: #BEA787;
  --primary-gradient: linear-gradient(135deg, #BEA787 0%, #D4C5A0 100%);
  --dark-bg: #0a0a0a;
  --dark-card: #1a1a1a;
  --dark-border: #2a2a2a;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --text-muted: #888888;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --glow-primary: rgba(190, 167, 135, 0.3);
}

/* Scrollbar Styling */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--dark-bg);
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

*::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--dark-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Loading Animation - Hidden by default */
.loading-overlay {
  display: none;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid var(--dark-border);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid var(--dark-border);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(1.1) contrast(1.1);
}

header.scrolled .logo {
  height: 65px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
  background: rgba(190, 167, 135, 0.1);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-toggle:hover {
  background: var(--dark-card);
}

/* Mobile Menu Styles */
[data-menu] {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  white-space: nowrap;
}

[data-menu-toggle] {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1001;
}

[data-menu-toggle]:hover {
  background: var(--dark-card);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-link:hover,
.lang-link.active {
  color: var(--primary-color);
  background: rgba(190, 167, 135, 0.1);
}

.lang-separator {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header-container {
    gap: 0.5rem;
    padding: 0 1rem;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-right {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  
  .language-switcher {
    font-size: 0.8rem;
    gap: 0.25rem;
  }
  
  .lang-link {
    padding: 0.25rem;
    font-size: 0.8rem;
  }
  
  [data-menu-toggle] {
    display: block;
    padding: 0.5rem;
    font-size: 1.2rem;
  }
  
  .logo {
    height: 60px;
  }
  
  header.scrolled .logo {
    height: 50px;
  }
  
  [data-menu] {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  [data-menu].is-open {
    left: 0;
  }
  
  [data-menu] a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    display: block;
    transition: all 0.3s ease;
  }
  
  [data-menu] a:hover,
  [data-menu] a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  opacity: 0.3;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-gradient);
  color: var(--dark-bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--glow-primary);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* Cards */
.card {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--dark-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.card:hover::before {
  transform: scaleX(1);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--dark-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.service-card p {
  color: var(--text-gray);
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: flex-start;
  text-align: center;
  margin: 0;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-plan {
  background: var(--dark-card);
  border-radius: 20px;
  border: 1px solid var(--dark-border);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-plan:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pricing-plan.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-plan.featured::before {
  content: 'POPULAIR';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--primary-gradient);
  color: var(--dark-bg);
  padding: 0.5rem 3rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-card) 0%, #252525 100%);
}

.pricing-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-light);
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-content {
  padding: 2rem;
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  padding-left: 2rem;
  color: var(--text-gray);
}

.features li:last-child {
  border-bottom: none;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  color: var(--text-muted);
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes glow {
  0% { box-shadow: 0 0 5px var(--primary-color); }
  50% { box-shadow: 0 0 20px var(--glow-primary); }
  100% { box-shadow: 0 0 5px var(--primary-color); }
}

.glow-animation {
  animation: glow 2s ease-in-out infinite alternate;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--dark-border);
    padding: 1rem 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 2rem;
  }
  
  nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--dark-border);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-plan.featured {
    transform: none;
  }
  
  .pricing-plan:hover {
    transform: translateY(-5px);
  }
}

/* Text Utilities */
.text-center { text-align: center; }
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background variants */
.bg-dark { background: var(--dark-bg); }
.bg-darker { background: #050505; }
.bg-card { background: var(--dark-card); }

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--glow-primary);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* About Content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-text h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-gray);
}

.about-text h4 {
  color: var(--text-light);
  margin: 1.5rem 0 0.5rem;
}

.about-text ul {
  color: var(--text-gray);
  margin-left: 1rem;
}

.about-text ul li {
  margin-bottom: 0.5rem;
}

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