:root {
  /* Primary Colors - Modern Golden Orange */
  --primary-color: #ff9500;
  --primary-dark: #e68400;
  --primary-light: #ffb84d;

  /* Secondary Colors - Deep Blue */
  --secondary-color: #0066ff;
  --secondary-dark: #0052cc;
  --secondary-light: #3d94ff;

  /* Accent Colors */
  --accent-color: #ff1493;
  --accent-light: #ff69b4;
  --accent-purple: #8b5cf6;

  /* Background Colors */
  --bg-dark: #0a0e27;
  --bg-darker: #050811;
  --bg-light: #ffffff;
  --bg-light-secondary: #f5f5f5;

  /* Text Colors */
  --text-dark: #ffffff;
  --text-light: #0a0e27;
  --text-secondary: #a0a0a0;
  --text-secondary-light: #666666;

  /* Border & UI */
  --border-color: #1a1f3a;
  --border-light: #e0e0e0;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

body.light-mode {
  --bg-dark: #ffffff;
  --bg-darker: #f5f5f5;
  --bg-light: #0a0e27;
  --bg-light-secondary: #1a1f3a;

  --text-dark: #0a0e27;
  --text-light: #ffffff;
  --text-secondary: #666666;
  --text-secondary-light: #999999;

  --border-color: #e0e0e0;
  --border-light: #1a1f3a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 149, 0, 0.2);
}

/* Navigation */
.navbar {
  background: rgba(5, 8, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.theme-toggle {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  color: var(--bg-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5);
}

.cart-btn {
  position: relative;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.cart-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 20, 147, 0.4);
}

.admin-link {
  color: var(--secondary-color);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.admin-link:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  min-height: 600px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.title-highlight {
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.cta-button {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-dark);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 149, 0, 0.5);
}

.hero-visual img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(255, 149, 0, 0.2);
}

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

/* Platforms Section */
.platforms-showcase {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.1) 0%, transparent 100%);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.platform-card {
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.platform-card:hover {
  transform: translateY(-15px) scale(1.05);
  border-color: var(--primary-color);
  background: rgba(255, 149, 0, 0.1);
  box-shadow: 0 20px 50px rgba(255, 149, 0, 0.3);
}

.platform-icon {
  font-size: 3rem;
  transition: all 0.3s;
}

.platform-card:hover .platform-icon {
  transform: scale(1.3) rotate(8deg);
}

.platform-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--border-color);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--bg-dark);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.4);
  transform: scale(1.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 60px rgba(255, 149, 0, 0.25);
}

.service-image {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bg-dark);
}

.service-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  margin-bottom: 1rem;
}

.service-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-platform {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-currency {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
  margin-top: auto;
}

.add-to-cart-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

/* Payment Methods */
.payment-methods {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
}

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

.payment-card {
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.payment-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(255, 149, 0, 0.2);
  background: rgba(255, 149, 0, 0.05);
}

.payment-card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.payment-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.payment-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.close-modal {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

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

.cart-items {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background: var(--border-color);
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-info h4 {
  margin-bottom: 0.3rem;
}

.cart-item-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-color);
}

.remove-item {
  background: var(--danger);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.remove-item:hover {
  background: #cc0000;
  transform: scale(1.1);
}

.empty-cart {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.cart-summary {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--border-color);
}

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

.checkout-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-dark);
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.checkout-button:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section a,
.footer-section p {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .nav-menu {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: slideIn 0.5s ease-out;
}
