:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --success: #059669;
  --success-bg: #ECFDF5;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.1);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.header.scrolled {
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.header-simple {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.2s ease;
}

/* Hero Section */
.hero {
  padding: 80px 24px 80px;
  text-align: center;
  background: var(--surface);
}

.hero-container {
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-emphasis {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
}

.hero-ctas .btn-secondary:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

.btn-text-link {
  display: inline-block;
  padding: 16px 8px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-text-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.early-access-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  margin-bottom: 16px;
}

.early-access-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Sections */
.section-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-container h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

.pricing-reinforcement {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: -24px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Features */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--text-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Value Proposition */
/* Differentiators Section */
.differentiators {
  background: var(--background);
  padding: 60px 0;
}

.differentiators h2 {
  text-align: center;
  margin-bottom: 48px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.diff-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.diff-block h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.diff-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.diff-closing {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 48px 0;
}

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .differentiators {
    padding: 48px 0;
  }
}

/* FAQ Section */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 48px 0;
  }
}

.value-prop {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-prop h2 {
  text-align: center;
  margin-bottom: 20px;
}

.value-prop-intro {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 32px;
}

.value-prop-content {
  max-width: 520px;
  margin: 0 auto 32px;
}

.value-prop-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.value-prop-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-prop-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.value-prop-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.value-prop-closing {
  text-align: center;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.7;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.proof-stat {
  text-align: center;
}

.proof-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.proof-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.proof-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  background: var(--bg);
}

.pricing-card {
  max-width: 380px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.pricing-period {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.feature-excluded {
  color: var(--text-muted);
}

.pricing-features li.feature-excluded::before {
  content: '—';
  color: var(--text-muted);
}

.coming-soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.pricing-support-note {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.pricing-support-note h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-support-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.pricing-trust a {
  color: var(--accent);
  text-decoration: none;
}

.pricing-trust a:hover {
  text-decoration: underline;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 600;
  margin-right: 10px;
}

/* CTA Section */
.cta-section {
  background: var(--text-primary);
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: #1e3a8a;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Analyze Page */
.container {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 20px;
  min-height: calc(100vh - 65px);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.header-section {
  text-align: center;
  margin-bottom: 32px;
}

.header-section h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.header-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.helper-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-reassurance {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.result-trust-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.form-group-secondary {
  opacity: 0.85;
}

.form-group-secondary input {
  font-size: 14px;
  padding: 12px 14px;
}

input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
}

input::placeholder {
  color: var(--text-muted);
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0 16px;
}

.button-helper {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}

.button-tip {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 12px;
  margin-bottom: 0;
}

.url-input-row {
  display: flex;
  gap: 10px;
}

.url-input-row input {
  flex: 1;
}

.btn-secondary {
  margin-top: 0;
  padding: 14px 20px;
  width: auto;
  white-space: nowrap;
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.listing-feedback {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.listing-feedback.success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
}

.listing-feedback.warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.listing-feedback.error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.listing-feedback .feedback-line {
  display: block;
  margin-bottom: 4px;
}

.listing-feedback .feedback-line:last-child {
  margin-bottom: 0;
}

button {
  margin-top: 8px;
  padding: 16px 24px;
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

button:hover {
  background: var(--accent-hover);
}

button:active {
  transform: scale(0.98);
}

/* Results */
.results-header {
  text-align: center;
  margin-bottom: 24px;
}

.verdict-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.verdict-pass {
  background: var(--success-bg);
  color: var(--success);
}

.verdict-borderline {
  background: var(--warning-bg);
  color: var(--warning);
}

.verdict-kill {
  background: var(--danger-bg);
  color: var(--danger);
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.metric-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.key-metrics {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

.key-metric {
  text-align: center;
  padding: 12px 0;
}

.key-metric:first-child {
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  padding-bottom: 20px;
}

.key-metric-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.key-metric-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.key-metric-value.positive {
  color: var(--success);
}

.key-metric-value.negative {
  color: var(--danger);
}

.listing-reference {
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.listing-reference-label {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.listing-reference-link {
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.listing-reference-link:hover {
  text-decoration: underline;
}

.back-link {
  display: block;
  text-align: center;
  padding: 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.back-link:hover {
  background: rgba(37, 99, 235, 0.05);
}

/* Analyzer Section */
.analyzer-section {
  background: var(--bg);
  scroll-margin-top: 80px;
}

.analyzer-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.analysis-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.analysis-input {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
}

.analysis-layout.has-result .analysis-input {
  max-width: none;
  margin: 0;
}

.analysis-result {
  flex: 1;
  display: none;
}

.analysis-layout.has-result .analysis-result {
  display: block;
}

.results-placeholder {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-muted);
}

.results-placeholder .placeholder-icon {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.results-placeholder p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .analyzer-wrapper {
    max-width: 1000px;
  }

  .analysis-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    justify-content: center;
  }

  .analysis-input {
    flex: 0 0 480px;
    max-width: 480px;
    margin: 0;
  }

  .analysis-layout.has-result .analysis-input {
    flex: 0 0 40%;
    max-width: none;
    position: sticky;
    top: 100px;
  }

  .analysis-layout.has-result .analysis-result {
    flex: 0 0 calc(60% - 32px);
  }

  .analysis-result.has-result .results-card {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(37, 99, 235, 0.1);
  }

  .results-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.analyzer-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 0;
}

.results-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

/* Parsing Feedback */
.parsing-feedback {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.parsing-feedback h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.feedback-item {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.feedback-item:last-child {
  margin-bottom: 0;
}

.feedback-success {
  background: var(--success-bg);
  color: var(--success);
}

.feedback-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.feedback-manual {
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 6px;
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--border);
  color: var(--text-secondary);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  font-style: normal;
  cursor: help;
  transition: background 0.15s ease;
}

.tooltip-icon:hover {
  background: var(--text-muted);
  color: white;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  padding: 12px;
  background: var(--text-primary);
  color: white;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text-primary);
}

.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Cash Flow Breakdown */
.cashflow-breakdown {
  margin-bottom: 24px;
}

.cashflow-breakdown h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.breakdown-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.breakdown-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.breakdown-value {
  font-weight: 600;
  color: var(--text-primary);
}

.breakdown-value.positive {
  color: var(--success);
}

.breakdown-value.negative {
  color: var(--danger);
}

.breakdown-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.breakdown-row.breakdown-total {
  padding-top: 12px;
}

.breakdown-row.breakdown-total .breakdown-label {
  font-weight: 600;
  color: var(--text-primary);
}

.breakdown-row.breakdown-total .breakdown-value {
  font-size: 16px;
}

.breakdown-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 12px;
}

/* Property Summary */
.property-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.summary-label {
  color: var(--text-secondary);
}

.summary-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Explanation Block */
.explanation-block {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}

.explanation-block h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.explanation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.explanation-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.explanation-list li:last-child {
  border-bottom: none;
}

.explanation-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}

/* Education Block */
.education-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}

.education-block h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.education-list {
  margin: 0;
}

.education-list dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.education-list dd {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.education-list dd:last-child {
  margin-bottom: 0;
}

/* Usage Indicator */
.usage-indicator {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

/* Limit Reached Card */
.limit-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.limit-icon {
  color: var(--warning);
  margin-bottom: 20px;
}

.limit-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.limit-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.limit-card p:last-of-type {
  margin-bottom: 24px;
}

.limit-card .btn-primary {
  margin-bottom: 16px;
}

.limit-secondary {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* Decision Header */
.decision-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.decision-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pricing Page */
.pricing-page {
  padding-top: 0;
}

.pricing-page .section-container {
  padding-top: 24px;
}

.pricing-page h1 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 48px auto 0;
}

.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.pricing-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-tier {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.plan-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 48px;
}

.pricing-trust {
  max-width: 560px;
  margin: 48px auto 0;
  text-align: center;
}

.pricing-trust p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legal Pages */
.legal-page {
  padding-top: 80px;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-page ul {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.legal-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* Contact Page */
.contact-page {
  padding-top: 80px;
}

.contact-page h1 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 48px auto 0;
}

.contact-info h2,
.contact-form-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-method {
  margin-bottom: 24px;
}

.contact-method h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-method p {
  margin-bottom: 0;
}

.contact-method a {
  color: var(--accent);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-note {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 32px;
}

.contact-note p {
  font-size: 14px;
  margin: 0;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--surface);
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--bg);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

/* Pricing FAQ */
.pricing-faq {
  max-width: 640px;
  margin: 64px auto 0;
}

.pricing-faq h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-toggle:checked ~ .nav {
    max-height: 300px;
    padding: 16px 24px;
    gap: 16px;
  }
  
  .nav-link, .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .nav-cta {
    margin-top: 8px;
  }
  
  .hero {
    padding: 60px 20px 60px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-sub {
    font-size: 16px;
  }
  
  .section-container {
    padding: 60px 20px;
  }
  
  .section-container h2 {
    font-size: 26px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .proof-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .analyzer-card,
  .results-card {
    padding: 24px;
  }
  
  .tooltip-text {
    width: 200px;
    left: auto;
    right: -20px;
    transform: none;
  }
  
  .tooltip-text::after {
    left: auto;
    right: 24px;
    transform: none;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pricing-grid-two {
    grid-template-columns: 1fr;
  }
  
  .pricing-featured {
    order: -1;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-card {
    order: 1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 16px;
  }
  
  .card {
    padding: 20px;
  }
}

/* Success Page */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.success-card {
  max-width: 540px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.success-icon {
  color: var(--success);
  margin-bottom: 24px;
}

.success-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.success-message {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.success-details {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: left;
  margin-bottom: 24px;
}

.success-details h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.success-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.success-details li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.success-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.success-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.success-actions {
  margin-bottom: 24px;
}

.success-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Cancel Page */
.cancel-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.cancel-card {
  max-width: 480px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cancel-card h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cancel-message {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cancel-options {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cancel-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cancel-help {
  font-size: 14px;
  color: var(--text-muted);
}

.cancel-help a {
  color: var(--accent);
  text-decoration: none;
}

.cancel-help a:hover {
  text-decoration: underline;
}

/* Error Page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.error-card {
  max-width: 480px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.error-card h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.error-message {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Onboarding Card */
.onboarding-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 32px;
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.onboarding-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.onboarding-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.onboarding-card p:last-of-type {
  margin-bottom: 0;
}

.onboarding-emphasis {
  font-weight: 600;
  color: var(--text-primary) !important;
}

.onboarding-note {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.onboarding-dismiss {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.onboarding-dismiss:hover {
  background: var(--bg);
  color: var(--text-primary);
}

/* Cookie Consent Banner */
/* Onboarding Walkthrough */
.onboarding-overlay {
  display: none;
  position: relative;
  margin-bottom: 24px;
}

.onboarding-overlay.active {
  display: block;
}

.onboarding-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.onboarding-skip {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
}

.onboarding-skip:hover {
  color: var(--text-secondary);
}

.onboarding-step {
  display: none;
  text-align: center;
}

.onboarding-step.active {
  display: block;
}

.onboarding-step-number {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.onboarding-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.onboarding-step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.onboarding-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.onboarding-dots {
  display: flex;
  gap: 8px;
}

.onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.onboarding-dot.active {
  background: var(--primary);
}

.onboarding-next {
  min-width: 180px;
}

@media (max-width: 768px) {
  .onboarding-modal {
    padding: 24px 20px;
  }
  
  .onboarding-step h3 {
    font-size: 18px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.08);
  z-index: 1001;
  padding: 16px 24px;
}

.cookie-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}

.cookie-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-accept {
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cookie-accept:hover {
  background: var(--accent-hover);
}

@media (max-width: 640px) {
  .onboarding-card {
    padding: 20px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}
