html { scroll-behavior: smooth; }
.landing-body { background: #fff; color: var(--af-text); margin: 0; }
.landing-container { margin: 0 auto; max-width: 1180px; padding-left: 24px; padding-right: 24px; width: 100%; }
.landing-header { backdrop-filter: blur(12px); background: rgba(255, 255, 255, .94); border-bottom: 1px solid #e7ece9; position: sticky; top: 0; z-index: 1030; }
.landing-nav { align-items: center; display: flex; height: 72px; justify-content: space-between; }
.landing-brand { align-items: center; color: #17352a; display: inline-flex; flex-shrink: 0; font-size: 1.15rem; font-weight: 800; }
.landing-brand:hover { color: var(--af-primary); text-decoration: none; }
.landing-brand .brand-mark { border-radius: 10px; height: 38px; width: 38px; }
.landing-nav-links { align-items: center; display: flex; gap: 30px; }
.landing-nav-links a, .landing-login-link { color: #4d5e57; font-size: .92rem; font-weight: 600; }
.landing-nav-links a:hover, .landing-login-link:hover { color: var(--af-primary); text-decoration: none; }
.landing-nav-actions { align-items: center; display: flex; gap: 14px; }
.landing-nav-actions .btn { font-size: .9rem; font-weight: 700; padding: 9px 17px; }
.landing-theme-toggle { align-items: center; background: transparent; border: 1px solid #d8e1dc; border-radius: 50%; color: #50615a; display: inline-flex; height: 38px; justify-content: center; width: 38px; }
.landing-theme-toggle:hover { background: #f1f7f4; color: var(--af-primary); }
.landing-hero { background: radial-gradient(circle at 90% 10%, #e4f7ed 0, transparent 32%), linear-gradient(135deg, #fbfdfc, #f2f8f5); overflow: hidden; padding: 92px 0 104px; }
.landing-hero-grid { align-items: center; display: grid; gap: 70px; grid-template-columns: 1.02fr .98fr; }
.landing-eyebrow, .landing-kicker { color: #237a57; font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.landing-eyebrow { align-items: center; background: #e4f5ec; border: 1px solid #cceada; border-radius: 20px; display: inline-flex; gap: 8px; letter-spacing: .04em; padding: 7px 12px; text-transform: none; }
.landing-hero h1 { color: #15392b; font-size: clamp(2.7rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; margin: 23px 0 23px; }
.landing-hero h1 span { color: #27845d; }
.landing-hero-lead { color: #53675f; font-size: 1.16rem; line-height: 1.7; max-width: 600px; }
.landing-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.landing-hero-actions .btn { font-weight: 700; padding: 13px 22px; }
.landing-trust-list { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 25px 0 0; padding: 0; }
.landing-trust-list li { color: #63746d; font-size: .84rem; }
.landing-trust-list i { color: #2f9e71; margin-right: 5px; }
.landing-product-preview { min-width: 0; position: relative; }
.preview-window { background: #fff; border: 1px solid #dce8e1; border-radius: 16px; box-shadow: 0 28px 70px rgba(26, 75, 55, .16); overflow: hidden; transform: rotate(1.2deg); }
.preview-topbar { align-items: center; background: #f6f8f7; border-bottom: 1px solid #e9eeeb; color: #607069; display: flex; gap: 6px; min-height: 46px; padding: 0 16px; }
.preview-topbar span { background: #d9e1dd; border-radius: 50%; height: 7px; width: 7px; }
.preview-topbar strong { font-size: .7rem; margin-left: auto; text-transform: uppercase; }
.preview-body { padding: 25px; }
.preview-welcome { align-items: center; display: flex; justify-content: space-between; }
.preview-welcome small, .preview-welcome strong { display: block; }
.preview-welcome small { color: #829089; font-size: .73rem; }
.preview-welcome strong { color: #1c382d; font-size: 1rem; }
.preview-avatar { align-items: center; background: #e7f5ee; border-radius: 50%; color: #27845d; display: flex; height: 38px; justify-content: center; width: 38px; }
.preview-metrics { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 22px 0; }
.preview-metric { align-items: center; border: 1px solid #e4ebe7; border-radius: 10px; display: flex; gap: 11px; padding: 13px; }
.preview-metric > i { align-items: center; background: #e8f6ef; border-radius: 8px; color: #27845d; display: flex; height: 36px; justify-content: center; width: 36px; }
.preview-metric-amber > i { background: #fff4df; color: #b87916; }
.preview-metric small, .preview-metric strong { display: block; white-space: nowrap; }
.preview-metric small { color: #7a8982; font-size: .67rem; }
.preview-metric strong { color: #263f35; font-size: .85rem; }
.preview-list { border: 1px solid #e5ebe8; border-radius: 10px; padding: 16px; }
.preview-list-title { display: flex; font-size: .72rem; justify-content: space-between; margin-bottom: 10px; }
.preview-list-title span { color: #27845d; }
.preview-customer { align-items: center; border-top: 1px solid #eef1ef; display: grid; gap: 9px; grid-template-columns: 34px 1fr auto; padding: 11px 0 0; }
.preview-customer + .preview-customer { margin-top: 11px; }
.preview-customer > span:nth-child(2) strong, .preview-customer > span:nth-child(2) small { display: block; }
.preview-customer strong, .preview-customer b { color: #30453d; font-size: .71rem; }
.preview-customer small { color: #89958f; font-size: .6rem; }
.preview-initial { align-items: center; background: #e9f3fc; border-radius: 8px; color: #3273b9; display: flex; font-size: .6rem; font-weight: 800; height: 32px; justify-content: center; width: 32px; }
.preview-initial-rose { background: #faeaf0; color: #ad4d68; }
.preview-floating-card { align-items: center; background: #fff; border: 1px solid #dfe9e3; border-radius: 12px; bottom: -27px; box-shadow: 0 16px 35px rgba(26, 75, 55, .17); display: flex; gap: 10px; padding: 13px 17px; position: absolute; right: -25px; }
.preview-check { align-items: center; background: #2f9e71; border-radius: 50%; color: #fff; display: flex; height: 32px; justify-content: center; width: 32px; }
.preview-floating-card strong, .preview-floating-card small { display: block; white-space: nowrap; }
.preview-floating-card strong { color: #30453d; font-size: .72rem; }
.preview-floating-card small { color: #7d8b85; font-size: .63rem; }
.landing-section { padding: 96px 0; }
.landing-section-soft { background: #f5f9f7; }
.landing-section-heading { margin: 0 auto 48px; max-width: 680px; text-align: center; }
.landing-section-heading h2, .landing-finance-copy h2, .landing-cta-box h2 { color: #183a2d; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; margin: 12px 0 16px; }
.landing-section-heading p { color: #667870; font-size: 1.03rem; line-height: 1.65; }
.landing-feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.landing-feature-card { background: #fff; border: 1px solid #e1e9e5; border-radius: 12px; padding: 25px; transition: box-shadow .2s ease, transform .2s ease; }
.landing-feature-card:hover { box-shadow: 0 14px 32px rgba(27, 67, 51, .09); transform: translateY(-3px); }
.feature-icon { align-items: center; background: #e7f5ee; border-radius: 10px; color: #27845d; display: flex; font-size: 1.05rem; height: 44px; justify-content: center; margin-bottom: 20px; width: 44px; }
.feature-icon-blue { background: #eaf2fb; color: #3273b9; }
.feature-icon-amber { background: #fff4df; color: #b87916; }
.feature-icon-violet { background: #f0edf9; color: #7162a8; }
.feature-icon-rose { background: #faeaf0; color: #ad4d68; }
.feature-icon-cyan { background: #e6f5f8; color: #25849a; }
.landing-feature-card h3, .landing-steps h3 { color: #29463a; font-size: 1.06rem; font-weight: 750; margin-bottom: 9px; }
.landing-feature-card p, .landing-steps p { color: #718078; font-size: .91rem; line-height: 1.6; margin: 0; }
.landing-steps { counter-reset: steps; display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; position: relative; }
.landing-steps::before { border-top: 1px dashed #b9cec3; content: ''; left: 16%; position: absolute; right: 16%; top: 24px; }
.landing-steps li { position: relative; text-align: center; }
.landing-steps li > span { align-items: center; background: #237a57; border: 6px solid #e1f1e8; border-radius: 50%; color: #fff; display: inline-flex; font-weight: 800; height: 50px; justify-content: center; margin-bottom: 18px; position: relative; width: 50px; z-index: 1; }
.landing-steps p { margin: auto; max-width: 300px; }
.landing-finance-grid { align-items: center; display: grid; gap: 90px; grid-template-columns: 1fr 1fr; }
.landing-finance-copy > p { color: #667870; font-size: 1.03rem; line-height: 1.7; }
.landing-finance-copy ul { display: grid; gap: 12px; list-style: none; margin: 26px 0 0; padding: 0; }
.landing-finance-copy li { color: #385047; font-weight: 600; }
.landing-finance-copy li i { align-items: center; background: #e5f4eb; border-radius: 50%; color: #27845d; display: inline-flex; font-size: .65rem; height: 23px; justify-content: center; margin-right: 10px; width: 23px; }
.landing-debt-card { background: #fff; border: 1px solid #e0e8e4; border-radius: 15px; box-shadow: 0 24px 55px rgba(27, 67, 51, .12); padding: 28px; }
.debt-card-header, .debt-summary, .debt-payment { align-items: center; display: flex; justify-content: space-between; }
.debt-card-header small, .debt-card-header strong, .debt-summary small, .debt-summary strong { display: block; }
.debt-card-header small { color: #7b8b84; font-size: .78rem; }
.debt-card-header strong { color: #203d32; font-size: 2rem; }
.debt-card-header > span { align-items: center; background: #e6f4ec; border-radius: 12px; color: #27845d; display: flex; height: 48px; justify-content: center; width: 48px; }
.debt-progress { background: #ecf0ee; border-radius: 5px; height: 8px; margin: 24px 0 15px; overflow: hidden; }
.debt-progress span { background: #2f9e71; border-radius: 5px; display: block; height: 100%; width: 77%; }
.debt-summary { border-bottom: 1px solid #e8eeeb; padding-bottom: 24px; }
.debt-summary small { color: #8a9690; font-size: .7rem; }
.debt-summary strong { color: #3b5148; font-size: .86rem; }
.debt-summary span:last-child { text-align: right; }
.debt-payment { margin-top: 22px; }
.debt-payment > span { align-items: center; background: #e5f5ef; border-radius: 9px; color: #27845d; display: flex; height: 40px; justify-content: center; width: 40px; }
.debt-payment div { flex: 1; margin-left: 11px; }
.debt-payment strong, .debt-payment small { display: block; }
.debt-payment strong, .debt-payment b { color: #30493f; font-size: .78rem; }
.debt-payment small { color: #87938e; font-size: .67rem; }
.debt-payment b { color: #27845d; }
.landing-plan-grid { align-items: stretch; display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.landing-plan-card { background: #fff; border: 1px solid #dfe8e3; border-radius: 14px; display: flex; flex: 0 1 340px; flex-direction: column; min-height: 410px; padding: 31px; position: relative; }
.landing-plan-featured { border: 2px solid #2f9e71; box-shadow: 0 18px 40px rgba(27, 92, 64, .13); }
.plan-badge { background: #237a57; border-radius: 20px; color: #fff; font-size: .68rem; font-weight: 800; padding: 7px 13px; position: absolute; right: 20px; text-transform: uppercase; top: -15px; }
.landing-plan-card h3 { color: #29453a; font-size: 1.12rem; font-weight: 800; margin-bottom: 18px; }
.plan-price { align-items: flex-start; color: #173a2c; display: flex; gap: 5px; }
.plan-price span { font-size: .9rem; font-weight: 700; margin-top: 10px; }
.plan-price strong { font-size: 2.75rem; letter-spacing: -.04em; line-height: 1; }
.plan-duration { color: #75847d; font-size: .84rem; margin: 7px 0 0; }
.plan-equivalent { color: #27845d; font-size: .77rem; font-weight: 700; margin: 7px 0 0; }
.landing-plan-card ul { border-top: 1px solid #e7ece9; display: grid; gap: 12px; list-style: none; margin: 23px 0; padding: 22px 0 0; }
.landing-plan-card li { color: #596c63; font-size: .87rem; }
.landing-plan-card li i { color: #2f9e71; margin-right: 8px; }
.landing-plan-card .btn { font-weight: 700; margin-top: auto; padding: 11px; }
.landing-plans-empty { color: #65766e; padding: 35px; text-align: center; width: 100%; }
.landing-plans-empty i { color: #2f9e71; font-size: 1.5rem; }
.landing-payment-note { color: #718078; font-size: .82rem; margin: 28px 0 0; text-align: center; }
.landing-payment-note i { color: #27845d; margin-right: 6px; }
.landing-faq-wrap { max-width: 850px; }
.landing-faq-list { border-top: 1px solid #e0e8e4; }
.landing-faq-list details { border-bottom: 1px solid #e0e8e4; padding: 20px 4px; }
.landing-faq-list summary { align-items: center; color: #2a463b; display: flex; font-size: 1rem; font-weight: 700; justify-content: space-between; list-style: none; }
.landing-faq-list summary::-webkit-details-marker { display: none; }
.landing-faq-list summary i { color: #6d7e76; font-size: .78rem; transition: transform .2s; }
.landing-faq-list details[open] summary i { transform: rotate(180deg); }
.landing-faq-list p { color: #697a72; line-height: 1.65; margin: 14px 28px 0 0; }
.landing-cta-section { padding: 0 0 85px; }
.landing-cta-box { align-items: center; background: linear-gradient(135deg, #1d6548, #2f9e71); border-radius: 18px; display: flex; justify-content: space-between; padding: 48px 52px; }
.landing-cta-box .landing-kicker { color: #bfe8d3; }
.landing-cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 0; max-width: 680px; }
.landing-cta-box .btn { color: #1c6749; flex-shrink: 0; font-weight: 800; margin-left: 30px; }
.landing-footer { background: #18332a; color: #aec0b8; padding: 45px 0; }
.landing-footer .landing-brand { color: #fff; }
.landing-footer p { font-size: .82rem; margin: 11px 0 0; }
.landing-footer-content { align-items: center; display: flex; justify-content: space-between; }
.landing-footer-links { display: flex; gap: 24px; }
.landing-footer-links a { color: #bdcbc5; font-size: .85rem; }

.dark-mode.landing-body { background: #151b20 !important; }
.dark-mode .landing-header { background: rgba(24, 31, 36, .94); border-bottom-color: #344039; }
.dark-mode .landing-brand, .dark-mode .landing-nav-links a, .dark-mode .landing-login-link { color: #e5ede9; }
.dark-mode .landing-theme-toggle { border-color: #445149; color: #d1ddd7; }
.dark-mode .landing-theme-toggle:hover { background: #27332d; }
.dark-mode .landing-hero { background: radial-gradient(circle at 90% 10%, #203b30 0, transparent 32%), linear-gradient(135deg, #171e22, #1b2722); }
.dark-mode .landing-eyebrow { background: #203d31; border-color: #315846; color: #73d0a7; }
.dark-mode .landing-hero h1, .dark-mode .landing-section-heading h2, .dark-mode .landing-finance-copy h2 { color: #f1f6f3; }
.dark-mode .landing-hero h1 span, .dark-mode .landing-kicker { color: #62c99d; }
.dark-mode .landing-hero-lead, .dark-mode .landing-section-heading p, .dark-mode .landing-finance-copy > p { color: #a9b8b1; }
.dark-mode .landing-trust-list li { color: #a9b7b0; }
.dark-mode .preview-window, .dark-mode .preview-floating-card, .dark-mode .landing-feature-card, .dark-mode .landing-debt-card, .dark-mode .landing-plan-card { background: #20282d; border-color: #39463f; }
.dark-mode .preview-topbar { background: #252f34; border-bottom-color: #38443e; }
.dark-mode .preview-welcome strong, .dark-mode .preview-metric strong, .dark-mode .preview-customer strong, .dark-mode .preview-customer b, .dark-mode .preview-floating-card strong, .dark-mode .debt-card-header strong, .dark-mode .debt-summary strong, .dark-mode .debt-payment strong, .dark-mode .debt-payment b { color: #e7efeb; }
.dark-mode .preview-metric, .dark-mode .preview-list { border-color: #39463f; }
.dark-mode .preview-customer { border-top-color: #39463f; }
.dark-mode .landing-section-soft { background: #1a2226; }
.dark-mode .landing-feature-card h3, .dark-mode .landing-steps h3, .dark-mode .landing-finance-copy li, .dark-mode .landing-plan-card h3, .dark-mode .plan-price, .dark-mode .landing-faq-list summary { color: #e5eee9; }
.dark-mode .landing-feature-card p, .dark-mode .landing-steps p, .dark-mode .landing-plan-card li, .dark-mode .landing-faq-list p { color: #a6b5ae; }
.dark-mode .landing-faq-list, .dark-mode .landing-faq-list details, .dark-mode .debt-summary, .dark-mode .landing-plan-card ul { border-color: #39463f; }
.dark-mode .landing-plan-featured { border-color: #43ad7c; }

@media (max-width: 991px) {
    .landing-nav-links { display: none; }
    .landing-hero { padding-top: 70px; }
    .landing-hero-grid, .landing-finance-grid { gap: 60px; grid-template-columns: 1fr; }
    .landing-hero-copy { text-align: center; }
    .landing-hero-lead { margin-left: auto; margin-right: auto; }
    .landing-hero-actions, .landing-trust-list { justify-content: center; }
    .landing-product-preview { margin: auto; max-width: 560px; width: 100%; }
    .landing-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-finance-copy { text-align: center; }
    .landing-finance-copy ul { display: inline-grid; text-align: left; }
    .landing-debt-card { margin: auto; max-width: 560px; width: 100%; }
    .landing-cta-box { text-align: left; }
}

@media (max-width: 640px) {
    .landing-container { padding-left: 18px; padding-right: 18px; }
    .landing-nav { height: 64px; }
    .landing-brand { font-size: 1rem; }
    .landing-brand .brand-mark { height: 34px; width: 34px; }
    .landing-login-link, .landing-nav-actions .landing-theme-toggle { display: none; }
    .landing-nav-actions .btn { font-size: .78rem; padding: 8px 11px; }
    .landing-hero { padding: 56px 0 78px; }
    .landing-hero h1 { font-size: 2.55rem; }
    .landing-hero-lead { font-size: 1rem; }
    .landing-hero-actions { align-items: stretch; flex-direction: column; }
    .landing-hero-actions .btn { width: 100%; }
    .landing-trust-list { align-items: flex-start; flex-direction: column; gap: 9px; margin-left: auto; margin-right: auto; max-width: 190px; text-align: left; }
    .preview-body { padding: 16px; }
    .preview-metrics { grid-template-columns: 1fr; }
    .preview-floating-card { bottom: -35px; right: 8px; }
    .landing-section { padding: 72px 0; }
    .landing-section-heading { margin-bottom: 34px; }
    .landing-feature-grid, .landing-steps { grid-template-columns: 1fr; }
    .landing-steps { gap: 30px; }
    .landing-steps::before { border-left: 1px dashed #b9cec3; border-top: 0; bottom: 20%; left: 24px; right: auto; top: 8%; }
    .landing-steps li { align-items: flex-start; display: flex; gap: 16px; text-align: left; }
    .landing-steps li > span { flex-shrink: 0; margin: 0; }
    .landing-steps p { max-width: none; }
    .landing-finance-grid { gap: 42px; }
    .landing-finance-copy { text-align: left; }
    .landing-debt-card { padding: 20px; }
    .debt-card-header strong { font-size: 1.65rem; }
    .landing-plan-card { flex-basis: 100%; padding: 27px; }
    .landing-cta-section { padding-bottom: 60px; }
    .landing-cta-box { align-items: stretch; flex-direction: column; padding: 35px 26px; text-align: center; }
    .landing-cta-box .btn { margin: 25px 0 0; }
    .landing-footer-content { align-items: flex-start; flex-direction: column; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
