Improve SEO pages layout, styling, and add screenshot carousel

- Fix nav on both pages to use correct .nav/.nav-inner structure (was
  using .navbar which had no styles defined), matching index.html
- Add coming-soon banner and Login button to both SEO pages
- Add screenshot carousel (hero-visual) to both pages matching index.html
- Fix footer to use full footer-inner/footer-col structure with logo
- Add 200+ lines of missing CSS to styles.css: .problem-section,
  .solution-section, .comparison-table, .strategies-section,
  .calculator-section, .compliance-section, .cta-section, and all
  child components — all matching the dark theme design system
- Fix investment calculator element IDs to avoid conflicts with
  the main ROI calculator in app.js
- Add Chatwoot support widget to both pages for consistency
- Full mobile responsiveness for all new components

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-01 11:21:24 -04:00
parent 84e33ce23d
commit 99ec08624e
3 changed files with 808 additions and 388 deletions

View File

@@ -1047,3 +1047,254 @@ body {
.banner-text { display: none; }
.dash-body { grid-template-columns: 1fr; }
}
/* =============================================
SEO Landing Pages — Shared Component Styles
============================================= */
/* ---- Problem Section ---- */
.problem-section { padding: 80px 0; }
.problem-section h2 {
font-size: clamp(24px, 3.5vw, 40px);
font-weight: 800;
color: #fff;
text-align: center;
letter-spacing: -0.02em;
margin-bottom: 48px;
}
.problem-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.problem-card {
background: var(--gray-800);
border: 1px solid rgba(255,255,255,0.07);
border-radius: var(--radius);
padding: 28px;
transition: transform 0.18s, box-shadow 0.18s;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.problem-icon { font-size: 32px; margin-bottom: 14px; }
.problem-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--gray-400); line-height: 1.65; }
/* ---- Solution Section ---- */
.solution-section {
background: linear-gradient(180deg, rgba(79,70,229,0.07) 0%, transparent 100%);
border-top: 1px solid rgba(255,255,255,0.06);
border-bottom: 1px solid rgba(255,255,255,0.06);
padding: 80px 0;
text-align: center;
}
.solution-section .section-title { margin-bottom: 12px; }
.solution-section .section-sub { margin: 0 auto 48px; }
.solution-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
text-align: left;
}
.solution-card {
background: var(--gray-800);
border: 1px solid rgba(255,255,255,0.07);
border-radius: var(--radius);
padding: 28px;
transition: transform 0.18s, box-shadow 0.18s;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.solution-icon { font-size: 28px; margin-bottom: 14px; }
.solution-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.solution-card p { font-size: 14px; color: var(--gray-400); line-height: 1.65; }
/* ---- Comparison Section ---- */
.comparison-section { padding: 80px 0; }
.comparison-section h2 {
font-size: clamp(24px, 3vw, 38px);
font-weight: 800;
color: #fff;
text-align: center;
letter-spacing: -0.02em;
margin-bottom: 48px;
}
.comparison-table {
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius-lg);
overflow: hidden;
}
.comparison-row {
display: grid;
grid-template-columns: 2fr 1.5fr 1.5fr;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row.header {
background: var(--gray-800);
}
.comparison-row.header > div {
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--gray-500);
}
.comparison-feature,
.comparison-traditional,
.comparison-ai { padding: 16px 20px; font-size: 14px; }
.comparison-feature { color: var(--gray-200); font-weight: 500; }
.comparison-traditional { color: var(--gray-600); }
.comparison-ai { color: var(--green); font-weight: 600; }
.comparison-row:not(.header) { background: var(--gray-900); }
.comparison-row:not(.header):hover { background: rgba(255,255,255,0.02); }
/* ---- Inline Calculator Section (investment page) ---- */
.calculator-section {
padding: 80px 0;
text-align: center;
background: rgba(255,255,255,0.02);
border-top: 1px solid rgba(255,255,255,0.06);
}
.calculator-section h2 {
font-size: clamp(22px, 3vw, 36px);
font-weight: 800;
color: #fff;
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.calculator-section > .container > p {
font-size: 16px;
color: var(--gray-400);
margin-bottom: 28px;
}
.calc-wrapper {
max-width: 560px;
margin: 0 auto;
background: var(--gray-800);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius-lg);
padding: 36px;
text-align: left;
}
.calc-input-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.calc-input-group label { font-size: 13px; font-weight: 600; color: var(--gray-400); }
.calc-input-group input {
background: var(--gray-900);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 8px;
padding: 12px 14px;
color: var(--gray-100);
font-size: 15px;
font-family: inherit;
width: 100%;
outline: none;
transition: border-color 0.15s;
}
.calc-input-group input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }
.calc-input-group input::placeholder { color: var(--gray-700); }
.calc-results {
margin-top: 24px;
padding: 28px;
background: linear-gradient(135deg, rgba(79,70,229,0.15), rgba(14,165,233,0.1));
border: 1px solid rgba(79,70,229,0.35);
border-radius: var(--radius);
text-align: center;
}
.calc-results h3 { font-size: 15px; font-weight: 700; color: var(--gray-300); margin-bottom: 10px; }
.calc-results .result-highlight {
font-size: 40px;
font-weight: 900;
color: var(--green);
letter-spacing: -0.03em;
margin-bottom: 8px;
}
.calc-results p { font-size: 14px; color: var(--gray-400); margin-bottom: 20px; }
/* ---- CTA Section ---- */
.cta-section {
padding: 100px 0;
text-align: center;
background: linear-gradient(180deg, transparent 0%, rgba(79,70,229,0.08) 100%);
border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-section h2 {
font-size: clamp(24px, 3.5vw, 42px);
font-weight: 800;
color: #fff;
letter-spacing: -0.025em;
margin-bottom: 16px;
}
.cta-section > .container > p {
font-size: 18px;
color: var(--gray-400);
margin-bottom: 36px;
max-width: 560px;
margin-left: auto;
margin-right: auto;
}
.cta-form { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { font-size: 13px; color: var(--gray-600); }
/* ---- Investment Strategies Section ---- */
.strategies-section { padding: 80px 0; }
.strategies-section h2 {
font-size: clamp(24px, 3vw, 38px);
font-weight: 800;
color: #fff;
text-align: center;
letter-spacing: -0.02em;
margin-bottom: 48px;
}
.strategy-card {
background: var(--gray-800);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius-lg);
padding: 36px;
margin-bottom: 20px;
border-left-width: 4px;
}
.strategy-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.strategy-card > p { font-size: 14px; color: var(--gray-400); margin-bottom: 20px; }
.strategy-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.strategy-card ul li { font-size: 14px; color: var(--gray-400); line-height: 1.5; }
.strategy-card ul li strong { color: var(--gray-200); }
.strategy-card.conservative { border-left-color: var(--green); }
.strategy-card.moderate { border-left-color: var(--blue); }
.strategy-card.aggressive { border-left-color: var(--amber); }
/* ---- Compliance Section ---- */
.compliance-section {
background: rgba(255,255,255,0.02);
border-top: 1px solid rgba(255,255,255,0.06);
padding: 80px 0;
}
.compliance-section h2 {
font-size: clamp(22px, 3vw, 36px);
font-weight: 800;
color: #fff;
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.compliance-section > .container > p {
font-size: 16px;
color: var(--gray-400);
margin-bottom: 28px;
}
.compliance-list { list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.compliance-list li { font-size: 16px; color: var(--gray-300); font-weight: 500; }
/* ---- SEO Page Responsive ---- */
@media (max-width: 900px) {
.problem-grid { grid-template-columns: repeat(2, 1fr); }
.solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
.problem-grid { grid-template-columns: 1fr; }
.solution-grid { grid-template-columns: 1fr; }
.comparison-row { grid-template-columns: 1fr; }
.comparison-row.header { display: none; }
.comparison-feature { font-weight: 700; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.04); }
.comparison-traditional::before { content: 'Traditional: '; color: var(--gray-600); font-size: 12px; display: block; margin-bottom: 2px; }
.comparison-ai::before { content: 'HOA LedgerIQ: '; color: var(--blue); font-size: 12px; display: block; margin-bottom: 2px; }
.calc-wrapper { padding: 24px 20px; }
.strategy-card { padding: 24px; }
}