/* Global Styles */
:root {
  --primary: #00a8cc;
  --primary-dark: #007ea7;
  --secondary: #5865f2;
  --dark: #1a1a2e;
  --darker: #16213e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, var(--dark), var(--darker), #0f3460);
  color: white;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-small {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-small:hover {
  background-color: var(--primary-dark);
}

/* Logo */
.logo {
  width: 120px;
}

/* Navbar */
.navbar {
  background-color: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.nav-brand .logo {
  width: 40px;
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  width: 100%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Partners Marquee */
.partners-marquee {
  background: var(--light-gray);
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
  margin: 40px 0;
}

.partners-marquee h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
}

.marquee-content span {
  margin-right: 40px;
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.marquee-content span:hover {
  opacity: 1;
  color: var(--primary);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Products Section */
.featured-products {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-products h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
}

.featured-products h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.product-meta {
  margin-bottom: 15px;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
}

.product-info p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Features Section */
.features {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
}

.features h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 168, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 168, 204, 0.1), rgba(22, 33, 62, 0.8));
  text-align: center;
  padding: 100px 20px;
  margin: 80px 0;
  border-radius: 15px;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--darker);
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo {
  width: 60px;
  margin-bottom: 15px;
}

.footer-brand span {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-brand p {
  opacity: 0.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.link-group h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.link-group a {
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.link-group a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
  grid-column: 1 / -1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--dark);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.modal-logo {
  width: 80px;
  margin-bottom: 20px;
}

.modal h2 {
  margin-bottom: 10px;
}

.modal p {
  margin-bottom: 30px;
  opacity: 0.8;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.login-button:hover {
  transform: translateY(-3px);
}

.discord {
  background-color: var(--secondary);
}

.roblox {
  background-color: #E2231A;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats {
    justify-content: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .featured-products h2, 
  .features h2,
  .cta-content h2 {
    font-size: 1.8rem;
  }
}