/* Bukdin Marketing Site - Shared Styles */

:root {
    --navy: #1A2744;
    --navy-light: #2D3A52;
    --navy-dark: #141D30;
    --gold: #C9A962;
    --gold-light: #E5D4A1;
    --off-white: #F8F6F3;
    --white: #FFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --text-secondary: #64748B;
}

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

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--off-white);
    color: var(--navy);
    line-height: 1.6;
    font-size: 16px;
}

/* ==================== NAVIGATION ==================== */
nav {
    background: var(--white);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgb(26, 39, 68, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    color: var(--navy);
}

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

.nav-link {
    color: var(--navy);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: rgb(26, 39, 68, 0.05);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.dropdown-trigger:hover {
    background: rgb(26, 39, 68, 0.05);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgb(26, 39, 68, 0.15);
    padding: 0.5rem;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.nav-dropdown.active .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--navy);
    border-radius: 8px;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: var(--off-white);
}

.dropdown-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 8px;
    flex-shrink: 0;
}

.dropdown-item strong {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.dropdown-item span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.nav-cta {
    background: var(--navy);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.2s ease;
    margin-left: 1rem;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 9rem 2rem 4rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-badge {
    display: inline-block;
    background: rgb(201, 169, 98, 0.15);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgb(26, 39, 68, 0.25);
}

.hero-cta:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid rgb(26, 39, 68, 0.2);
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    background: var(--white);
    border-color: var(--navy);
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ==================== DASHBOARD PREVIEW ==================== */
.dashboard-preview {
    background: var(--navy-dark);
    border-radius: 12px;
    box-shadow: 0 25px 80px rgb(26, 39, 68, 0.3);
    overflow: hidden;
}

.dashboard-header {
    background: var(--navy);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dashboard-dot.red { background: #FF5F57; }
.dashboard-dot.yellow { background: #FFBD2E; }
.dashboard-dot.green { background: #28CA41; }

.dashboard-title {
    margin-left: 1rem;
    font-size: 0.75rem;
    color: rgb(255,255,255,0.6);
}

.dashboard-body {
    padding: 1.25rem;
    background: #F1F5F9;
}

/* Mini Dashboard UI */
.dash-header-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dash-stat {
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    flex: 1;
}

.dash-stat-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.dash-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dash-stat-change {
    font-size: 0.6875rem;
    margin-top: 0.125rem;
}

.dash-stat-change.positive { color: var(--success); }
.dash-stat-change.negative { color: var(--danger); }

/* Health Indicators */
.health-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.health-indicator {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.health-gauge {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.25rem;
    position: relative;
}

.health-gauge svg {
    transform: rotate(-90deg);
}

.health-gauge-bg {
    fill: none;
    stroke: #E5E7EB;
    stroke-width: 4;
}

.health-gauge-fill {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}

.health-gauge-fill.green { stroke: var(--success); }
.health-gauge-fill.yellow { stroke: var(--warning); }
.health-gauge-fill.red { stroke: var(--danger); }

.health-label {
    font-size: 0.5625rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.health-value {
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Chart Area */
.dash-chart {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.dash-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.dash-chart-title {
    font-size: 0.75rem;
    font-weight: 600;
}

.dash-chart-legend {
    display: flex;
    gap: 0.75rem;
    font-size: 0.5625rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 2px;
}

.chart-visual {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

/* FIRE Progress Card */
.fire-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fire-progress-section {
    display: flex;
    flex-direction: column;
}

.fire-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.fire-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.fire-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.fire-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy) 0%, var(--success) 100%);
    border-radius: 4px;
    width: 100%;
}

.fire-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.375rem;
    font-size: 0.6875rem;
    color: var(--success);
    font-weight: 500;
}

.fire-details {
    font-size: 0.6875rem;
}

.fire-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    border-bottom: 1px solid #F1F5F9;
}

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

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

.fire-detail-value {
    font-weight: 600;
}

/* ==================== SECTION STYLES ==================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== FEATURE HIGHLIGHTS ==================== */
.feature-highlights {
    padding: 5rem 2rem;
    background: var(--white);
}

.highlights-container {
    max-width: 1100px;
    margin: 0 auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    background: var(--off-white);
    padding: 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--navy);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.highlight-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgb(26, 39, 68, 0.1);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.highlight-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold);
}

/* ==================== HOW IT WORKS PREVIEW ==================== */
.how-preview {
    padding: 5rem 2rem;
    background: var(--off-white);
}

.how-preview-container {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    max-width: 280px;
}

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

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 300;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9375rem;
}

.btn-secondary:hover {
    color: var(--gold);
}

/* ==================== COMPARISON SECTION ==================== */
.comparison-section {
    padding: 5rem 2rem;
    background: var(--off-white);
}

.comparison-container {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
}

.comparison-card.before {
    border: 2px solid #E5E7EB;
}

.comparison-card.after {
    border: 2px solid var(--gold);
    box-shadow: 0 8px 30px rgb(201, 169, 98, 0.15);
}

.comparison-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.comparison-card.after .comparison-header {
    color: var(--gold);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.comparison-card.before .comparison-list li {
    color: var(--text-secondary);
}

/* ==================== TESTIMONIALS ==================== */
.social-section {
    padding: 5rem 2rem;
    background: var(--navy);
    color: var(--white);
}

.social-container {
    max-width: 1000px;
    margin: 0 auto;
}

.social-section .section-label {
    color: var(--gold);
}

.social-section .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial {
    background: rgb(255,255,255,0.05);
    border: 1px solid rgb(255,255,255,0.1);
    padding: 1.75rem;
    border-radius: 12px;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: rgb(255,255,255,0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.testimonial-title {
    font-size: 0.8125rem;
    color: rgb(255,255,255,0.6);
}

/* ==================== FINAL CTA ==================== */
.final-cta {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    text-align: center;
}

.final-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.final-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.final-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.final-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.final-feature svg {
    color: var(--success);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--navy);
    color: rgb(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgb(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo span {
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgb(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
}

.footer-tagline {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
}

/* ==================== FEATURE PAGE STYLES ==================== */
.feature-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.feature-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.feature-hero-content {
    max-width: 500px;
}

.feature-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.feature-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Feature Visual */
.feature-visual {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #E2E8F0;
}

.feature-visual-lg {
    background: var(--navy-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgb(26, 39, 68, 0.25);
}

/* Feature Details Section */
.feature-details {
    padding: 5rem 2rem;
    background: var(--white);
}

.feature-details-container {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--off-white);
    padding: 1.75rem;
    border-radius: 12px;
}

.feature-item-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stock Portfolio Specific */
.stock-visual-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stock-metric {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    flex: 1;
}

.stock-metric-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stock-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.stock-metric-sub {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.stock-row {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.stock-name {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 500;
}

.stock-value {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-right: 1rem;
}

.stock-change {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.stock-change.positive {
    background: rgb(16, 185, 129, 0.1);
    color: var(--success);
}

.stock-change.negative {
    background: rgb(239, 68, 68, 0.1);
    color: var(--danger);
}

.alpha-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgb(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Cash Flow Visual */
.cashflow-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cashflow-metric {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
}

.cashflow-bar-chart {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.cashflow-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 80px;
}

.cashflow-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
}

.cashflow-bar.income {
    background: var(--success);
}

.cashflow-bar.expense {
    background: var(--danger);
    opacity: 0.7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.category-item {
    background: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.category-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.category-amount {
    font-size: 0.8125rem;
    font-weight: 600;
}

/* FIRE Planning Visual */
.fire-visual-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.fire-header-stat {
    background: var(--white);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    flex: 1;
}

.fire-chart-area {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.fire-projection-chart {
    height: 120px;
    position: relative;
}

.scenario-controls {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
}

.scenario-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.scenario-slider {
    margin-bottom: 0.625rem;
}

.scenario-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    margin-bottom: 0.375rem;
}

.scenario-label span:first-child {
    color: var(--text-secondary);
}

.slider-track {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    position: relative;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--navy);
    border-radius: 3px;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--navy);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0,0,0,0.2);
}

/* How It Works Page */
.how-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    text-align: center;
}

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

.how-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.how-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.how-steps {
    padding: 5rem 2rem;
    background: var(--white);
}

.how-steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.how-step {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.how-step:nth-child(even) {
    direction: rtl;
}

.how-step:nth-child(even) > * {
    direction: ltr;
}

.how-step-content {
    max-width: 400px;
}

.how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.how-step-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.how-step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Processing Visual */
.processing-visual {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.processing-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.processing-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.processing-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.processing-step-icon.complete {
    background: var(--gold);
    color: var(--navy);
}

.processing-step-icon.active {
    background: var(--navy);
    color: var(--white);
}

.processing-step-icon.pending {
    background: #E5E7EB;
    color: var(--text-secondary);
}

.processing-step-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.processing-line {
    width: 60px;
    height: 2px;
    background: #E5E7EB;
}

.processing-line.complete {
    background: var(--gold);
}

.processing-status {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.processing-count {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.processing-count-item {
    text-align: center;
}

.processing-count-value {
    font-size: 2rem;
    font-weight: 700;
}

.processing-count-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.ai-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

.ai-table-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px 100px;
    padding: 0.75rem 1rem;
    background: #F8FAFC;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.ai-table-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px 100px;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    border-bottom: 1px solid #F1F5F9;
    align-items: center;
}

.ai-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
}

.ai-badge.expense {
    background: rgb(239, 68, 68, 0.1);
    color: var(--danger);
}

.ai-badge.income {
    background: rgb(16, 185, 129, 0.1);
    color: var(--success);
}

/* Property Cards */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #E2E8F0;
}

.property-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.property-name {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.property-location {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.property-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.property-gain {
    font-size: 0.75rem;
    color: var(--success);
    margin-bottom: 0.75rem;
}

.property-chart {
    height: 40px;
    margin-bottom: 0.75rem;
}

.property-purchased {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

/* PE Visual */
.pe-visual {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
}

.pe-list {
    background: var(--navy-light);
    border-radius: 10px;
    padding: 0.75rem;
}

.pe-list-item {
    padding: 0.625rem;
    border-radius: 6px;
    margin-bottom: 0.375rem;
    cursor: pointer;
}

.pe-list-item.active {
    background: var(--navy);
}

.pe-list-item-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.125rem;
}

.pe-list-item-value {
    font-size: 0.75rem;
    color: rgb(255,255,255,0.6);
}

.pe-list-item-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.5625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    margin-left: 0.375rem;
    text-transform: uppercase;
}

.pe-detail {
    background: var(--white);
    border-radius: 10px;
    padding: 1.25rem;
}

.pe-detail-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pe-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.pe-detail-name {
    font-weight: 600;
}

.pe-detail-type {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.pe-detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pe-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.8125rem;
}

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

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

.pe-detail-data {
    font-weight: 500;
}

/* ==================== RESPONSIVE ==================== */
@media (width <= 900px) {
    .hero-container,
    .feature-hero-container,
    .how-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content,
    .feature-hero-content,
    .how-step-content {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero h1,
    .feature-hero h1 {
        font-size: 2.25rem;
    }

    .highlights-grid,
    .feature-grid,
    .comparison-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps-row {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .how-step:nth-child(even) {
        direction: ltr;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.8125rem;
        padding: 0.5rem;
    }

    .nav-cta {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        margin-left: 0.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .pe-visual {
        grid-template-columns: 1fr;
    }
}

@media (width <= 600px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.375rem;
    }

    .nav-cta {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .final-cta h2 {
        font-size: 1.75rem;
    }

    .final-features {
        flex-direction: column;
        align-items: center;
    }
}
