* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

:root {
  --primary-blue: #0066cc;
  --secondary-teal: #00a5a5;
  --accent-green: #00cc66;
  --warning-orange: #ff6b35;
  --danger-red: #ff3333;
  --dark-bg: #0a0f1a;
  --card-bg: #1a1f2e;
  --glass-bg: rgba(26, 31, 46, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #b0b8c8;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary-teal);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 204, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--secondary-teal)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--secondary-teal);
  transform: translateY(-2px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-teal);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Main Content */
main {
  margin-top: 80px;
}

.section {
  min-height: 100vh;
  padding: 4rem 2rem;
  display: none;
}

.section.active {
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: var(--dark-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .nav-links.mobile-active {
    left: 0;
  }

  .mobile-menu-button {
    display: block;
  }
}
      
/* Responsive Styles */
@media (max-width: 1024px) {
  nav {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Hide normal nav links */
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    border-left: 1px solid rgba(0, 102, 204, 0.3);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  nav {
    padding: 0.5rem 1rem;
  }

  .nav-links {
    width: 100%;
    left: 0;
    border-left: none;
    border-top: 1px solid rgba(0, 102, 204, 0.3);
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--secondary-teal),
    var(--accent-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--secondary-teal)
  );
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.hero-visual {
  flex: 1;
  height: 500px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  
}

/* Stats Panel */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 165, 165, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 165, 165, 0.2);
  border-color: var(--secondary-teal);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-teal);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 102, 204, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 165, 165, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.3);
  border-color: var(--primary-blue);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--secondary-teal)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--secondary-teal)
  );
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-teal);
  border: 1px solid var(--secondary-teal);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 165, 165, 0.3);
}

/* Interactive Calculator */
.calculator {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid rgba(0, 165, 165, 0.3);
}

.calculator-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--secondary-teal);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 165, 165, 0.3);
  background: var(--card-bg);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-teal);
  box-shadow: 0 0 0 3px rgba(0, 165, 165, 0.1);
}

.calculator-result {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--accent-green);
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.result-label {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Community Map */
.community-map {
  height: 400px;
  background: var(--card-bg);
  border-radius: 20px;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 165, 165, 0.3);
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 165, 165, 0.3);
}

/* Gamification */
.gamification {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.achievement-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 204, 0, 0.3);
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 204, 0, 0.2);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.points-display {
  font-size: 2rem;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 165, 165, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-teal);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--secondary-teal)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.upload-container {
    text-align: center;
    padding: 2rem;
    border: 2px dashed var(--secondary-teal);
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: background 0.3s;
}
.upload-container:hover {
    background: rgba(0, 150, 136, 0.05);
}
.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.upload-btn {
    cursor: pointer;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}
.upload-btn:hover {
    transform: translateY(-2px);
}



@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#tickerContent {
  display: inline-block;
}
