:root {
  --primary: #2e7d32;
  --primary-light: #4caf50;
  --bg: #f8f9fa;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6c757d;
  --border: #e0e0e0;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.app-header h1 { font-size: 1.6rem; margin-bottom: 4px; }
.app-header p { opacity: 0.9; font-size: 0.95rem; }

.container { flex: 1; padding: 20px; max-width: 600px; margin: 0 auto; width: 100%; }

.stage-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stage-header h2 { font-size: 1.15rem; color: var(--primary); }
.stage-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary);
  transition: transform 0.3s ease;
}
.stage-card.active .stage-toggle { transform: rotate(180deg); }

.stage-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.stage-card.active .stage-content { max-height: 800px; padding-bottom: 20px; }

.info-grid { display: grid; gap: 12px; margin-top: 16px; }
.info-item { background: #f5f7fa; padding: 14px; border-radius: 12px; }
.info-item h3 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.info-item p { font-size: 1rem; line-height: 1.4; }

.app-footer {
  background: white;
  padding: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.progress-bar {
  height: 8px; background: #e0e0e0; border-radius: 4px; margin-bottom: 12px; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%; background: var(--primary); transition: width 0.5s ease;
}
#progress-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.btn-reset {
  background: #f5f5f5; border: none; padding: 14px 28px; border-radius: 30px;
  font-size: 1rem; cursor: pointer; color: var(--text); transition: var(--transition);
}
.btn-reset:hover { background: #e0e0e0; }

@media (min-width: 768px) {
  .app-header h1 { font-size: 2rem; }
  .container { padding: 30px; max-width: 700px; }
}
