/* Debt Tools - Trust-Building Professional Theme */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --secondary: #0891b2;
  --accent: #dc2626;
  --background: #f0fdf4;
  --surface: #ffffff;
  --surface-hover: #ecfdf5;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #d1fae5;
  --success: #16a34a;
  --warning: #ca8a04;
  --error: #dc2626;
}

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

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
nav a:hover { color: var(--primary); }

.hero { padding: 4rem 0; text-align: center; background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%); }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text); }
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; padding: 2rem 0 4rem; }

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.tool-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(5, 150, 105, 0.1); }
.tool-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tool-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.tool-card p { font-size: 0.85rem; color: var(--text-muted); }

.calculator-page { padding: 2rem 0 4rem; }
.calculator-header { text-align: center; margin-bottom: 2rem; }
.calculator-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.calculator-header p { color: var(--text-muted); }

.calculator-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .calculator-container { grid-template-columns: 1fr; } }

.input-section, .result-section { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.input-section h2, .result-section h2 { font-size: 1.1rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem 1rem; background: var(--background); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 1rem; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.result-item { background: var(--background); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.result-item:last-child { margin-bottom: 0; }
.result-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.25rem; font-weight: 500; }
.result-value { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.result-value.positive { color: var(--success); }
.result-value.negative { color: var(--error); }
.result-subtitle { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2rem 0; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.copyright { color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .header-content { flex-direction: column; gap: 1rem; }
  .footer-content { flex-direction: column; text-align: center; }
}

.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 1rem; display: none; z-index: 1000; }
.cookie-consent.show { display: block; }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cookie-buttons { display: flex; gap: 0.5rem; }
.btn { padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; cursor: pointer; border: none; font-family: inherit; font-weight: 500; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--border); color: var(--text); }

/* SEO Content Sections */
.content-section, .faq-section, .related-tools { margin-top: 3rem; padding: 2rem; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); }
.content-section h2, .faq-section h2, .related-tools h2 { color: var(--primary); margin-bottom: 1.5rem; font-size: 1.5rem; }
.content-section h3 { color: var(--text); margin: 1.5rem 0 0.75rem; font-size: 1.1rem; }
.content-section p, .content-section ul { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.content-section ul { padding-left: 1.5rem; }
.content-section li { margin-bottom: 0.5rem; }
.content-section strong { color: var(--text); }
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 { color: var(--text); font-size: 1rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-muted); line-height: 1.6; }
.related-tools .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.related-tools .tool-card { background: var(--background); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; text-decoration: none; transition: all 0.2s ease; }
.related-tools .tool-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.related-tools .tool-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.related-tools .tool-card h3 { color: var(--text); font-size: 1rem; margin-bottom: 0.5rem; }
.related-tools .tool-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; }

