/* Global Styles */
:root {
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --primary-color: #000000;
  --secondary-color: #f5f5f5;
  --border-color: #e5e5e5;
  --success-color: #000000; /* Keeping it black for sober theme, maybe bold */
  --highlight-bg: #f9f9f9;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.intro-text {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Simulator Card */
.simulator-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Very subtle shadow */
  margin-bottom: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

input[type="number"],
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background-color: #fff;
}

input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
}

input[type="radio"] {
  accent-color: var(--primary-color);
  width: 1.2em;
  height: 1.2em;
}

button.calculate-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 1rem;
}

button.calculate-btn:hover {
  background-color: #333;
}

button.calculate-btn:active {
  transform: translateY(1px);
}

/* Result Section */
.result-box {
  background-color: var(--highlight-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  display: none; /* Hidden by default */
}

.result-bbox.visible {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 0.5rem;
}

.result-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.result-details {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.content-section p {
  margin-bottom: 1rem;
  color: #444;
}

.content-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: #444;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--secondary-color);
  color: #666;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Utilities */
.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  
  .simulator-card {
    padding: 1.5rem;
  }
}
