:root {
  --primary: #910836;
  --primary-neon: #dfb3ce;
  --secondary: #5e35b1;
  --accent: #fcfcfc;
  --dark-bg: #0f0c14;
  --card-bg: #1a1620;
  --text-dark: #e0e0e0;
  --text-light: #b0b0b0;
  --border: #2d2a35;
  --shadow: rgba(0, 0, 0, 0.5);
  --hover: #2a2630;
  --wave-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background: linear-gradient(135deg, #0f0c14, #1a1620);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(221, 149, 203, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

.neon {
  color: var(--primary-neon);
  text-shadow: 0 0 10px var(--primary-neon);
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-neon);
  color: #0f0c14;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px var(--primary-neon);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-neon);
}

.ai-badge {
  background: rgba(218, 149, 208, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 0.5rem;
  border: 1px solid var(--primary-neon);
  color: var(--primary-neon);
}

.decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 80px;
  height: 80px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDMuNSw3LjUgMTAuNSwyIDEyLDEyIDIzLDIyIDEyLDExLjUgMTAuNSwiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwZmY5ZCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3N2Zz4=') no-repeat center;
  background-size: contain;
  filter: drop-shadow(0 0 10px var(--primary-neon));
  animation: spin 10s linear infinite;
}

.star-1 {
  top: 10%;
  left: 5%;
  animation-direction: reverse;
}

.star-2 {
  bottom: 10%;
  right: 5%;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to right, transparent, var(--wave-color), transparent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(50px);
  opacity: 0.3;
  animation: wave 5s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wave {
  0% { transform: translateY(50px) scale(1); }
  50% { transform: translateY(30px) scale(1.1); }
  100% { transform: translateY(50px) scale(1); }
}

@keyframes glow {
  from { text-shadow: 0 0 10px rgba(240, 166, 215, 0.5); }
  to { text-shadow: 0 0 20px rgba(228, 140, 184, 0.8); }
}

/* Stats Section */
.stats-section {
  padding: 3rem 0;
  background: var(--dark-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px var(--shadow);
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-neon);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Categories Section */
.categories-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f0c14, #1a1620);
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-neon);
  font-size: 2rem;
  text-shadow: 0 0 10px var(--primary-neon);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-neon);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.category-card.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(180, 187, 182, 0.3);
}

.category-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-img {
  transform: scale(1.05);
}

.category-content {
  padding: 1.5rem;
}

.category-content h3 {
  color: var(--primary-neon);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.category-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Instructions Section */
.instructions-section {
  padding: 2rem 0;
  background: var(--dark-bg);
}

.instructions-box {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.icon-floating {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--primary-neon);
  color: #0f0c14;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 0 15px var(--primary-neon);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.instructions-text {
  flex: 1;
}

.instructions-text strong {
  color: var(--primary-neon);
}

.examples-link {
  color: var(--primary-neon);
  text-decoration: none;
  font-weight: bold;
  margin-top: 0.5rem;
  display: inline-block;
  position: relative;
}

.examples-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-neon);
  transition: width 0.3s ease;
}

.examples-link:hover::after {
  width: 100%;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border-bottom: 2px solid var(--border);
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.tab {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  background: var(--dark-bg);
  border: 1px solid var(--border);
  color: var(--text-light);
}

.tab.active {
  background: var(--primary-neon);
  color: #0f0c14;
  font-weight: bold;
  border-color: var(--primary-neon);
  box-shadow: 0 0 10px var(--primary-neon);
}

.tab:hover:not(.active) {
  background: rgba(101, 122, 108, 0.1);
  border-color: var(--primary-neon);
}

/* Content Area */
.content-section {
  padding: 3rem 0;
  background: var(--dark-bg);
}

.content-area {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.form-section {
  flex: 1;
  min-width: 300px;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-neon);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-light);
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--dark-bg);
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: 0 0 0 2px rgba(193, 238, 208, 0.1);
}

.checkbox-group {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--primary-neon);
}

.button {
  background: var(--primary-neon);
  color: #0f0c14;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 10px var(--primary-neon);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--primary-neon);
}

.results-section {
  flex: 1;
  min-width: 300px;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.results-header h3 {
  color: var(--primary-neon);
}

.export-btn {
  background: #ca8cdd;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.export-btn:hover {
  background: #c595e0;
  transform: translateY(-2px);
}

.filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  background: var(--dark-bg);
  color: var(--text-light);
}

.filter-btn.active {
  background: var(--primary-neon);
  color: #0f0c14;
  border-color: var(--primary-neon);
  box-shadow: 0 0 10px var(--primary-neon);
}

.filter-btn:hover:not(.active) {
  background: rgba(125, 129, 127, 0.1);
  border-color: var(--primary-neon);
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

.empty-icon {
  font-size: 2rem;
  color: var(--primary-neon);
  margin-bottom: 1rem;
}

.company-card {
  background: var(--dark-bg);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-neon);
  box-shadow: 0 1px 4px var(--shadow);
  transition: transform 0.2s ease;
}

.company-card:hover {
  transform: translateX(5px);
  border-left-color: #fd00a9;
}

.company-name {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary-neon);
}

.company-sector {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.company-ods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.ods-tag {
  background: rgba(163, 129, 148, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary-neon);
  border: 1px solid rgba(252, 145, 225, 0.3);
}

.company-impact {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--text-light);
}

/* Examples Section */
.examples-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f0c14, #1a1620);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.example-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border);
}

.example-card h3 {
  color: var(--primary-neon);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.example-card ul {
  list-style: none;
}

.example-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.example-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-neon);
  font-weight: bold;
}

.reflection-section {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border);
}

.reflection-section h3 {
  color: var(--primary-neon);
  margin-bottom: 1rem;
  text-align: center;
}

.reflection-section ul {
  list-style: none;
}

.reflection-section li {
  background: rgba(102, 255, 153, 0.05);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  border-left: 3px solid var(--primary-neon);
}

.reflection-section li:before {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-neon);
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0.5rem 0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 4rem 1rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .stats-grid,
  .categories-grid,
  .content-area {
    grid-template-columns: 1fr;
  }

  .content-area {
    flex-direction: column;
  }

  .form-section,
  .results-section {
    min-width: 100%;
  }

  .tabs {
    justify-content: center;
  }
}