* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

nav a:hover {
  color: #00ff88;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a4d2e 100%);
  color: white;
  padding: 150px 2rem 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 255, 136, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #00ff88;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
  background: #00dd77;
}

/* Sections */
section {
  padding: 80px 2rem;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

h2,
section h2 {
  font-size: 2.5rem !important;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a4d2e;
  font-weight: 700;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Feature Card */
.feature-card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  padding: 2rem 2rem 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s ease;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
  border-color: #00ff88;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a4d2e;
}

.feature-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  margin-top: 10px;
}

.feature-card:hover:not(.locked) .feature-content,
.feature-card.locked .feature-content {
  max-height: 200px;
}

/* About */
.about {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #00ff88;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.social-links a {
  color: #00ff88;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-links a:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  margin: 2% auto;
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s;
  box-shadow: 0 10px 50px rgba(0, 255, 136, 0.3);
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: #00ff88;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a4d2e;
}

.required {
  color: #ff4444;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #00ff88;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff88 0%, #00dd77 100%);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Question Styles */
.question-container {
  text-align: center;
  padding: 2rem 0;
}

.question-title {
  font-size: 1.8rem;
  color: #1a4d2e;
  margin-bottom: 1rem;
}

.question-description {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.score-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.score-button {
  width: 60px;
  height: 60px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
}

.score-button:hover {
  transform: scale(1.1);
  border-color: #00ff88;
  background: #f0fff8;
  color: #00ff88;
}

/* Textarea and Choice Styles */
.question-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s;
}

.question-textarea:focus {
  outline: none;
  border-color: #00ff88;
}

.choice-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.choice-button {
  padding: 1.2rem 2rem;
  border: 2px solid #ddd;
  background: white;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
}

.choice-button:hover {
  transform: translateY(-3px);
  border-color: #00ff88;
  background: #f0fff8;
  color: #00ff88;
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

/* Yes/No Buttons */
.yesno-selector {
  display: flex;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.yesno-button {
  flex: 1;
  padding: 1.5rem 2rem;
  border: 3px solid;
  background: white;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.yes-button {
  border-color: #00ff88;
  color: #00ff88;
}

.yes-button:hover {
  background: #00ff88;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.no-button {
  border-color: #ff4444;
  color: #ff4444;
}

.no-button:hover {
  background: #ff4444;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
}

/* Results Styles */
.results-card {
  text-align: center;
}

.score-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ff88 0%, #00dd77 100%);
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.score-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
}

.score-label {
  font-size: 1rem;
  color: white;
  opacity: 0.9;
}

.score-breakdown {
  text-align: left;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 10px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-label {
  color: #333;
  flex: 1;
}

.breakdown-score {
  font-weight: bold;
  color: #00ff88;
  margin-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a4d2e;
  }

  .modal-content {
    width: 95%;
    padding: 2rem 1.5rem;
    margin: 5% auto;
  }

  .question-title {
    font-size: 1.4rem;
  }

  .score-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .score-circle {
    width: 150px;
    height: 150px;
  }

  .score-number {
    font-size: 2.5rem;
  }
}
