/* styles.css - Modern, clean design for socio-financial awareness site */
:root {
  --primary: #1e3a8a;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e2937;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Banner / Landing */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  text-align: center;
  color: white;
  padding: 20px;
}

.banner h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  font-weight: 700;
  max-width: 90%;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.big-button {
  width: 80vw;
  height: 80vh;
  max-width: 900px;
  max-height: 700px;
  background: linear-gradient(145deg, #16a34a, #15803d);
  color: white;
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 900;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 2px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.big-button:hover {
  transform: scale(1.03);
  background: linear-gradient(145deg, #15803d, #166534);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.big-button:active {
  transform: scale(0.98);
}

/* Navigation */
nav {
  background: var(--primary);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,0.15);
}

/* Content */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

h1, h2, h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; }
h3 { font-size: 1.4rem; }

.card {
  background: var(--card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}

.question {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.answer {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.stat {
  background: #fef2f2;
  border-left: 4px solid var(--accent);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}

/* Form */
form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--text);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

button[type="submit"] {
  background: var(--primary);
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #1e40af;
}

.success-message {
  background: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
}

/* Footer */
footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 3rem;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .big-button {
    width: 85vw;
    height: 70vh;
    font-size: clamp(3rem, 20vw, 6rem);
  }
  nav ul {
    gap: 0.5rem;
  }
  .container {
    padding: 1.5rem 1rem;
  }
}

/* Survey buttons */
.survey-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0;
}

.survey-options button {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.survey-options button:hover, .survey-options button.selected {
  background: var(--primary);
  color: white;
}
