@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0d0d0d;
  --surface:    #161616;
  --surface-2:  #1f1f1f;
  --border:     #2a2a2a;
  --text:       #f0f0f0;
  --text-muted: #888;
  --green:      #00c09a;
  --green-dark: #00a882;
  --red:        #e05454;
  --radius:     12px;
  --radius-sm:  8px;
}

html { font-size: 16px; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 56px;
}

.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.3;
}

.nav-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green), 0 0 20px rgba(0, 192, 154, 0.3);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green), 0 0 20px rgba(0, 192, 154, 0.3); }
  50% { opacity: 0.6; box-shadow: 0 0 4px var(--green), 0 0 10px rgba(0, 192, 154, 0.15); }
}

.nav-brand:hover { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links .btn-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links .btn-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-user {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-user:hover {
  border-color: rgba(0, 192, 154, 0.3) !important;
  background: rgba(0, 192, 154, 0.06) !important;
}

.nav-cta {
  background: var(--green) !important;
  color: #000 !important;
  font-weight: 600 !important;
  padding: 0.4rem 1.1rem !important;
  border-radius: 100px !important;
  font-size: 0.8rem !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 0 12px rgba(0, 192, 154, 0.15);
}
.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 192, 154, 0.25);
}

/* ─── LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* ─── FLASH MESSAGES ────────────────────────────────────────── */
.messages { list-style: none; margin-bottom: 2rem; }
.message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  border: 1px solid;
}
.message-success { background: rgba(0,192,154,0.08); color: var(--green); border-color: rgba(0,192,154,0.25); }
.message-error   { background: rgba(224,84,84,0.08);  color: var(--red);   border-color: rgba(224,84,84,0.25); }
.message-warning { background: rgba(255,193,7,0.08);  color: #ffc107;      border-color: rgba(255,193,7,0.25); }
.message-info    { background: rgba(0,192,154,0.08);  color: var(--text-muted); border-color: var(--border); }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  background: var(--green);
  color: #000;
  text-decoration: none;
}
.btn:hover { background: var(--green-dark); color: #000; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); background: var(--surface-2); color: var(--text); }

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--border); }

.btn-danger {
  background: var(--red);
  color: #fff;
  border-color: transparent;
}
.btn-danger:hover { background: #c94444; }

.btn-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-danger-link { color: var(--red); }
.btn-danger-link:hover { color: #c94444; }

/* ─── FORM CARD ─────────────────────────────────────────────── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.form-card h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.form-card .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-card p {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.form-card p a { color: var(--green); }

.form-card hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

.form-card h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* ─── FORM FIELDS ───────────────────────────────────────────── */
.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
  appearance: none;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface-2);
}

.field input[type="file"] {
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  cursor: pointer;
}

.field-errors {
  list-style: none;
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.field-errors li::before { content: "· "; }

.form-card .btn { width: 100%; margin-top: 0.5rem; padding: 0.8rem; border-radius: var(--radius-sm); font-size: 0.95rem; }

/* ─── LANDING HERO ──────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 6rem 2rem 5rem;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(0,192,154,0.3);
  border-radius: 100px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { padding: 0.75rem 2rem; }

/* ─── FEATURE CARDS ─────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.feature {
  background: var(--surface);
  padding: 2rem;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,192,154,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── PAGE HEADER ───────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-header .subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ─── TABLE ─────────────────────────────────────────────────── */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th {
  background: var(--surface-2);
  color: var(--text-muted);
  text-align: left;
  padding: 0.85rem 1.25rem;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover td { background: var(--surface-2); }

.table .filename { font-weight: 500; }
.table .date { color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ─── BADGE ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-complete { background: rgba(0,192,154,0.12); color: var(--green); }
.badge-pending  { background: rgba(255,193,7,0.12);  color: #ffc107; }
.badge-error    { background: rgba(224,84,84,0.12);  color: var(--red); }
.badge-warning  { background: rgba(255,193,7,0.12);  color: #ffc107; }

/* ─── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}
.pagination-info { color: var(--text-muted); }

/* ─── EMPTY STATE ───────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-state p { font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ─── DIVIDER ───────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1.5rem 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── DANGER ZONE ───────────────────────────────────────────── */
.danger-zone {
  background: rgba(224,84,84,0.05);
  border: 1px solid rgba(224,84,84,0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 0.5rem;
}
.danger-zone p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-align: left;
}

/* ─── SUCCESS PAGE ──────────────────────────────────────────── */
.success-card {
  text-align: center;
}
.success-card .check {
  width: 56px;
  height: 56px;
  background: rgba(0,192,154,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}
.success-card h1 { margin-bottom: 0.5rem; }
.success-card p { text-align: center; }

/* ─── UPLOAD CARD ───────────────────────────────────────────── */
.upload-zone {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  margin-bottom: 1rem;
}
.upload-zone:hover { border-color: var(--green); background: rgba(0,192,154,0.03); }
.upload-zone input[type="file"] {
  width: 100%;
  cursor: pointer;
  opacity: 0.7;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  text-align: center;
}
.upload-zone p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* ─── PROCESSING OVERLAY ───────────────────────────────────── */
.processing-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.processing-overlay.active { display: flex; }

.processing-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.processing-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
}

/* ─── TERMS PAGE ────────────────────────────────────────────── */
.terms-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.terms-wrap h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.terms-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.terms-wrap h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.terms-wrap p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.terms-wrap ul {
  list-style: none;
  margin: 0.5rem 0 0.75rem 0;
  padding: 0;
}
.terms-wrap ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: 1.2rem;
  position: relative;
}
.terms-wrap ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ─── CHECKBOX ──────────────────────────────────────────────── */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: var(--surface-2);
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  transition: background 0.15s, border-color 0.15s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}
input[type="checkbox"]:checked {
  background-color: var(--green);
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5l2.5 2.5 5-5' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ─── CHECKBOX FIELD ────────────────────────────────────────── */
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.field-check input[type="checkbox"] {
  margin-top: 3px;
}
.field-check label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

/* ─── CALCULATIONS PAGE ─────────────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s;
  position: relative;
}

.calc-card:not(.calc-card--locked):hover {
  border-color: rgba(0, 192, 154, 0.35);
}

.calc-card--locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.calc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.calc-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.calc-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.calc-card-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.calc-card-output {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-family: 'DM Sans', monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-pro {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(255, 193, 7, 0.12);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.25);
  white-space: nowrap;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(0, 192, 154, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 192, 154, 0.25);
  white-space: nowrap;
}

.calc-upgrade-banner {
  background: rgba(255, 193, 7, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.calc-upgrade-banner strong { color: var(--text); }

/* ─── INLINE REPORT CHARTS ──────────────────────────────────── */
.chart-row td {
  padding: 0;
  background: var(--surface);
  border-top: none !important;
}

.report-chart {
  height: 160px;
  position: relative;
  padding: 1rem 1.5rem 1.25rem;
  background: linear-gradient(to bottom, var(--surface-2), var(--surface));
  border-top: 1px solid var(--border);
}

/* ─── AUTH EXPLAINER ────────────────────────────────────────── */
.auth-explainer {
  margin-top: 3rem;
}

/* ─── CHART EXAMPLES ────────────────────────────────────────── */
.chart-examples {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.chart-examples-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
}

.chart-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.chart-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,192,154,0.55) 50%, transparent 100%);
}

.chart-card:hover {
  border-color: rgba(0,192,154,0.28);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.chart-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.chart-card svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: 0 1.25rem; }
  .container { padding: 2rem 1.25rem; }
  .features { grid-template-columns: 1fr; }
  .chart-cards { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .form-card { padding: 1.75rem 1.25rem; }
  .hero { padding: 4rem 1rem 3rem; }
}
