:root {
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #283548;
  --bg-input: #0b1120;
  --border: #334155;
  --border-focus: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-light: rgba(16, 185, 129, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-width: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-main); font-weight: 700; font-size: 1.15rem;
}
.brand-logo svg { width: 28px; height: 28px; fill: var(--accent); }
.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: var(--accent); }
.btn-header {
  padding: 8px 18px; font-size: 0.9rem; border-radius: var(--radius-sm);
  background: var(--accent); color: #0f172a; text-decoration: none; font-weight: 600;
}

.hero { padding: 90px 0 70px; text-align: center; }
.badge-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: var(--accent-light); border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px; color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.badge-tag::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-lead { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; margin: 0 auto 36px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-main { padding: 13px 30px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s; }
.btn-main-primary { background: var(--accent); color: #0f172a; }
.btn-main-primary:hover { background: var(--accent-hover); }
.btn-main-outline { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border); }
.btn-main-outline:hover { background: var(--bg-card-hover); }

section { padding: 80px 0; }
.section-shaded { background: rgba(30, 41, 59, 0.35); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px 24px; transition: transform 0.2s, border-color 0.2s; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, 0.4); }
.feature-step { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
th, td { padding: 16px 20px; border-bottom: 1px solid var(--border); }
th { background: rgba(15, 23, 42, 0.6); color: var(--text-main); font-weight: 600; }
tr:last-child td { border-bottom: none; }
td.status-cell { color: var(--accent); font-weight: 500; }

.calc-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.form-control { width: 100%; padding: 12px 16px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-main); font-size: 0.95rem; outline: none; }
.form-control:focus { border-color: var(--accent); }

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.check-item { display: flex; align-items: center; gap: 10px; background: var(--bg-input); border: 1px solid var(--border); padding: 10px 14px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.9rem; color: var(--text-muted); }
.check-item input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }

.drop-zone { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; background: var(--bg-input); cursor: pointer; }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--accent); background: var(--accent-light); }
.drop-zone-icon { width: 36px; height: 36px; margin: 0 auto 10px; fill: var(--text-muted); }
.drop-zone-text { font-size: 0.9rem; color: var(--text-muted); }
.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.file-item { display: flex; justify-content: space-between; align-items: center; background: #0f172a; border: 1px solid var(--border); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; }
.file-item-remove { color: #ef4444; cursor: pointer; font-weight: bold; }

.estimate-box { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.25); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.estimate-item { font-size: 0.9rem; color: var(--text-muted); }
.estimate-val { color: var(--accent); font-weight: 700; font-size: 1.1rem; display: block; }

.status-banner { display: none; background: rgba(16, 185, 129, 0.15); border: 1px solid var(--accent); border-radius: var(--radius-md); padding: 24px; text-align: center; margin-top: 24px; }
.status-banner h4 { color: var(--accent); font-size: 1.2rem; margin-bottom: 8px; }

.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; }
.faq-header { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; }
.faq-content { display: none; padding: 0 24px 20px; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.active .faq-content { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

footer { margin-top: auto; border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-muted); font-size: 0.9rem; background: #090e17; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .nav-menu, .btn-header { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .calc-card { padding: 24px 16px; }
  .footer-content { flex-direction: column; text-align: center; }
}
