/* =========================================================
   MONEYTOOL.IO
   PERSONAL FINANCE LANDING PAGE
   Complete / Isolated / Responsive / SEO-Friendly UI CSS
   ========================================================= */


/* =========================================================
   ROOT PAGE SCOPE
   ========================================================= */

.personal-finance-page {
    --pf-navy: #08131f;
    --pf-navy-2: #0d1d2b;
    --pf-slate: #142534;
    --pf-slate-light: #203545;

    --pf-green: #38d39f;
    --pf-green-dark: #20ad80;
    --pf-green-soft: #dcf8ee;

    --pf-blue: #4ea7ff;
    --pf-blue-soft: #eaf4ff;

    --pf-text: #172532;
    --pf-text-dark: #0d1b27;
    --pf-muted: #687784;
    --pf-muted-light: #8b9aa4;

    --pf-border: #dfe7ec;
    --pf-border-dark: #ccd8df;

    --pf-light: #f5f8fa;
    --pf-light-2: #f7fafb;
    --pf-white: #ffffff;

    --pf-danger: #e76f51;
    --pf-warning: #e9a23b;

    --pf-shadow-sm: 0 8px 25px rgba(8, 19, 31, .06);
    --pf-shadow: 0 20px 60px rgba(8, 19, 31, .10);
    --pf-shadow-lg: 0 35px 90px rgba(8, 19, 31, .16);

    color: var(--pf-text);
    background: #fff;

    font-family: inherit;
    line-height: 1.5;
}


/* =========================================================
   GLOBAL RESET INSIDE PAGE
   ========================================================= */

.personal-finance-page *,
.personal-finance-page *::before,
.personal-finance-page *::after {
    box-sizing: border-box;
}

.personal-finance-page h1,
.personal-finance-page h2,
.personal-finance-page h3,
.personal-finance-page h4,
.personal-finance-page h5,
.personal-finance-page h6,
.personal-finance-page p,
.personal-finance-page ul,
.personal-finance-page ol {
    margin-top: 0;
}

.personal-finance-page a {
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.personal-finance-page button {
    font-family: inherit;
}

.personal-finance-page svg {
    max-width: 100%;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.personal-finance-page .container {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.pf-breadcrumb-wrap {
    position: relative;
    z-index: 5;
    background: #f7f9fb;
    border-bottom: 1px solid var(--pf-border);
}

.pf-breadcrumb {
    min-height: 48px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--pf-muted);
    font-size: 13px;
}

.pf-breadcrumb a {
    color: var(--pf-muted);
    text-decoration: none;
}

.pf-breadcrumb a:hover {
    color: var(--pf-green-dark);
}


/* =========================================================
   HERO
   ========================================================= */

.pf-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 100px;
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(56, 211, 159, .15),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(78, 167, 255, .11),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #07111c 0%,
            #0b1a28 55%,
            #102433 100%
        );
}

.pf-hero::before {
    content: "";
    position: absolute;
    top: -280px;
    left: -260px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 50%;
    pointer-events: none;
}

.pf-hero::after {
    content: "";
    position: absolute;
    right: -250px;
    bottom: -300px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(56,211,159,.08);
    border-radius: 50%;
    pointer-events: none;
}

.pf-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 65px;
    align-items: center;
}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.pf-eyebrow,
.pf-hero-eyebrow {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #62dfb4 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: 1 !important;
    visibility: visible !important;
}

.pf-eyebrow::before,
.pf-hero-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--pf-green);
    box-shadow: 0 0 0 4px rgba(56,211,159,.10), 0 0 18px rgba(56,211,159,.30);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.pf-hero-content {
    position: relative;
    z-index: 3;
}

.pf-hero h1 {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 0 24px;
    color: #ffffff !important;
    font-size: clamp(36px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2.4px;
    opacity: 1 !important;
    visibility: visible !important;
}

.pf-hero h1 span {
    display: block;
    color: #9fe8cd !important;
}

.pf-hero-lead {
    position: relative;
    z-index: 3;
    max-width: 650px;
    margin: 0 0 16px;
    color: #e4edf3 !important;
    font-size: 19px;
    line-height: 1.7;
    opacity: 1 !important;
}

.pf-hero-support {
    position: relative;
    z-index: 3;
    max-width: 620px;
    margin: 0 0 32px;
    color: #aebfcb !important;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.pf-hero-actions {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    gap: 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pf-btn-primary {
    color: #06131b !important;
    background: var(--pf-green);
    border: 1px solid var(--pf-green);
    box-shadow: 0 12px 30px rgba(56,211,159,.20);
}

.pf-btn-primary:hover {
    color: #06131b !important;
    background: #58e0b1;
    border-color: #58e0b1;
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(56,211,159,.28);
}

.pf-btn-outline {
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.04);
}

.pf-btn-outline:hover {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.40);
    background: rgba(255,255,255,.10);
    transform: translateY(-2px);
}


/* =========================================================
   HERO TRUST
   ========================================================= */

.pf-hero-trust {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
}

.pf-hero-trust span {
    color: #aebdc7 !important;
    font-size: 12px;
    line-height: 1.5;
}

.pf-hero-trust b {
    margin-right: 4px;
    color: var(--pf-green) !important;
}


/* =========================================================
   HERO DASHBOARD
   ========================================================= */

.pf-hero-dashboard {
    position: relative;
    z-index: 3;
    perspective: 1300px;
}

.pf-browser {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    background: #f5f8fa;
    box-shadow: 0 40px 100px rgba(0,0,0,.40), 0 0 0 7px rgba(255,255,255,.025);
    transform: rotateY(-3deg) rotateX(2deg);
}

.pf-browser-top {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 14px;
    background: #dce4e9;
}

.pf-browser-dots {
    display: flex;
    gap: 5px;
}

.pf-browser-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8c9aa4;
}

.pf-browser-address {
    flex: 1;
    padding: 6px 12px;
    border-radius: 6px;
    color: #6b7880;
    background: rgba(255,255,255,.65);
    font-size: 10px;
}


/* =========================================================
   DASHBOARD BODY
   ========================================================= */

.pf-dashboard-body {
    padding: 22px;
    color: var(--pf-text);
    background: #f7fafb;
}

.pf-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.pf-dashboard-header small,
.pf-chart-heading small,
.pf-cashflow-header small {
    display: block;
    margin-bottom: 4px;
    color: #7b8992;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pf-dashboard-header strong {
    color: var(--pf-text-dark);
    font-size: 17px;
}

.pf-dashboard-period {
    padding: 7px 10px;
    border: 1px solid #dce4e8;
    border-radius: 6px;
    background: #fff;
    color: #63727c;
    font-size: 9px;
}


/* =========================================================
   DASHBOARD STATS
   ========================================================= */

.pf-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.pf-stat-card {
    padding: 13px;
    border: 1px solid #e2e9ed;
    border-radius: 8px;
    background: #fff;
}

.pf-stat-card small {
    display: block;
    margin-bottom: 6px;
    color: #84919a;
    font-size: 8px;
}

.pf-stat-card strong {
    display: block;
    color: var(--pf-text-dark);
    font-size: 16px;
}

.pf-positive {
    display: block;
    margin-top: 5px;
    color: #1aaa7c;
    font-size: 8px;
}


/* =========================================================
   DASHBOARD MAIN GRID
   ========================================================= */

.pf-dashboard-main-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 10px;
}

.pf-dashboard-chart-card,
.pf-health-card,
.pf-cashflow-preview {
    padding: 15px;
    border: 1px solid #e2e9ed;
    border-radius: 8px;
    background: #fff;
}


/* =========================================================
   CHART
   ========================================================= */

.pf-chart-heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.pf-chart-heading strong {
    color: var(--pf-text-dark);
    font-size: 18px;
}

.pf-chart-heading > span {
    color: #16a878;
    font-size: 10px;
    font-weight: 800;
}

.pf-net-worth-chart {
    position: relative;
    height: 125px;
    margin-top: 10px;
    overflow: hidden;
}

.pf-chart-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #edf1f3;
}

.pf-chart-grid-line.line-1 { top: 20%; }
.pf-chart-grid-line.line-2 { top: 40%; }
.pf-chart-grid-line.line-3 { top: 60%; }
.pf-chart-grid-line.line-4 { top: 80%; }

.pf-net-worth-chart svg {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.pf-chart-labels {
    display: flex;
    justify-content: space-between;
    color: #98a3aa;
    font-size: 8px;
}


/* =========================================================
   FINANCIAL HEALTH
   ========================================================= */

.pf-health-card {
    text-align: center;
}

.pf-health-card > small {
    display: block;
    color: #7e8c95;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pf-health-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    margin: 16px auto 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 56%, transparent 58%), conic-gradient(var(--pf-green) 84%, #e6ecef 0);
}

.pf-health-ring strong {
    color: var(--pf-text-dark);
    font-size: 27px;
}

.pf-health-ring span {
    color: #7e8c95;
    font-size: 10px;
}

.pf-health-status {
    display: block;
    color: #15996e;
    font-size: 11px;
    font-weight: 700;
}

.pf-health-card p {
    margin: 5px 0 0;
    color: #87939a;
    font-size: 8px;
    line-height: 1.4;
}


/* =========================================================
   CASH FLOW PREVIEW
   ========================================================= */

.pf-cashflow-preview {
    margin-top: 10px;
}

.pf-cashflow-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.pf-cashflow-header strong {
    color: var(--pf-text-dark);
    font-size: 12px;
}

.pf-cashflow-header > span {
    color: #7b8992;
    font-size: 9px;
}

.pf-flow-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 12px 0 7px;
}

.pf-flow-income,
.pf-flow-expense {
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #dfe7ea;
}

.pf-flow-income span,
.pf-flow-expense span {
    display: block;
    height: 100%;
}

.pf-flow-income span { background: var(--pf-green); }
.pf-flow-expense span { background: #6e9fbe; }

.pf-flow-labels {
    display: flex;
    gap: 12px;
    color: #7e8c95;
    font-size: 8px;
}

.pf-flow-labels strong {
    margin-left: auto;
    color: #15996e;
}


/* =========================================================
   TRUST SECTION
   ========================================================= */

.pf-trust-section {
    border-bottom: 1px solid var(--pf-border);
    background: #fff;
}

.pf-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pf-trust-item {
    display: flex;
    gap: 13px;
    padding: 25px 18px;
    border-right: 1px solid var(--pf-border);
}

.pf-trust-item:first-child { padding-left: 0; }
.pf-trust-item:last-child { border-right: 0; }

.pf-trust-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf9f5;
}

.pf-trust-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--pf-text-dark);
    font-size: 13px;
}

.pf-trust-item p {
    margin: 0;
    color: var(--pf-muted);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.pf-section-heading,
.pf-bridge-heading {
    max-width: 820px;
    margin: 0 auto 45px;
    text-align: center;
}

.pf-section-heading h2,
.pf-bridge-heading h2 {
    margin: 0 0 15px;
    color: var(--pf-text-dark) !important;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    opacity: 1 !important;
    visibility: visible !important;
}

.pf-section-heading p,
.pf-bridge-heading p {
    margin: 0;
    color: var(--pf-muted) !important;
    font-size: 16px;
    line-height: 1.7;
    opacity: 1 !important;
}


/* =========================================================
   MODULE TABS
   ========================================================= */

.pf-module-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 48px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 2px;
}

.pf-module-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    border-radius: 8px 8px 0 0;
}

.pf-module-tab:hover {
    color: #0f172a;
    background: #f8fafc;
}

.pf-module-tab.active {
    color: #0f766e;
    border-bottom-color: #0f766e;
    font-weight: 600;
    background: #f0fdfa;
}

.pf-module-tab span {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 20px;
}

.pf-module-tab.active span {
    background: #ccfbf1;
    color: #0f766e;
}


/* =========================================================
   MODULE PANELS - FIXED FOR WIDER DEMO
   ========================================================= */

.pf-module-panels {
    position: relative;
    min-height: 400px;
}

.pf-module-panel {
    display: none;
    animation: pfFadeIn 0.5s ease forwards;
}

/* DESKTOP: Demo takes 60% width, Content 40% */
.pf-module-panel.active {
    display: grid;
    grid-template-columns: 60% 40% !important;
    gap: 48px !important;
    align-items: start;
}

/* TABLET: Full width stacked layout */
@media (max-width: 1024px) {
    .pf-module-panel.active {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

/* LARGE DESKTOP: Demo even wider */
@media (min-width: 1400px) {
    .pf-module-panel.active {
        grid-template-columns: 65% 35% !important;
        gap: 60px !important;
    }
}

@keyframes pfFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   MODULE PREVIEW
   ========================================================= */

.pf-module-preview {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.pf-preview-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.02em;
}

/* Make preview content fill available space */
.pf-module-preview > div {
    width: 100%;
}


/* =========================================================
   MODULE CONTENT (Right Side)
   ========================================================= */

.pf-module-content {
    padding-top: 4px;
}

.pf-module-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f766e;
    background: #f0fdfa;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.pf-module-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pf-module-content p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.pf-module-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.pf-module-content ul li {
    padding: 8px 0 8px 28px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.pf-module-content ul li:last-child {
    border-bottom: none;
}

.pf-module-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #0f766e;
    font-weight: 700;
}

.pf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
    transition: all 0.2s;
}

.pf-text-link:hover {
    gap: 10px;
    text-decoration: underline;
}


/* =========================================================
   MODULE PREVIEW CONTENT - OVERVIEW
   ========================================================= */

.pf-overview-demo {
    padding: 20px;
}

.pf-demo-score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0fdfa;
    border: 4px solid #0f766e;
}

.pf-demo-score-ring strong {
    font-size: 28px;
    font-weight: 800;
    color: #0f766e;
}

.pf-demo-score-ring span {
    font-size: 12px;
    color: #94a3b8;
}

.pf-demo-mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


/* =========================================================
   MODULE PREVIEW CONTENT - CASH FLOW
   ========================================================= */

.pf-cashflow-demo {
    padding: 20px;
}

.pf-cash-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f0fdfa;
    border-radius: 10px;
    border: 1px solid #ccfbf1;
    margin-bottom: 12px;
}

.pf-cash-node strong {
    font-size: 18px;
    font-weight: 700;
    color: #0f766e;
}

.pf-cash-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pf-cash-columns > div {
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pf-cash-columns > div span {
    font-size: 12px;
    color: #94a3b8;
    display: block;
}

.pf-cash-columns > div strong {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}


/* =========================================================
   MODULE PREVIEW CONTENT - BUDGET
   ========================================================= */

.pf-budget-demo {
    padding: 20px;
}

.pf-budget-row {
    margin-bottom: 14px;
}

.pf-budget-row:last-child {
    margin-bottom: 0;
}

.pf-budget-row > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 4px;
}

.pf-budget-row > div strong {
    color: #0f172a;
}

.pf-budget-row > div span {
    color: #64748b;
}

.pf-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.pf-progress span {
    display: block;
    height: 100%;
    background: #0f766e;
    border-radius: 6px;
    transition: width 0.6s;
}

.pf-progress.danger span {
    background: #ef4444;
}


/* =========================================================
   MODULE PREVIEW CONTENT - DEBT
   ========================================================= */

.pf-debt-demo {
    padding: 20px;
}

.pf-debt-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fef2f2;
    border-radius: 10px;
    border: 1px solid #fecaca;
    margin-bottom: 16px;
}

.pf-debt-summary strong {
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
}

.pf-debt-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pf-debt-comparison > div {
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.pf-debt-comparison > div.featured {
    border-color: #0f766e;
    background: #f0fdfa;
}

.pf-debt-comparison > div small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.pf-debt-comparison > div strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 4px 0;
}

.pf-debt-comparison > div span {
    font-size: 13px;
    color: #64748b;
}

.pf-debt-comparison > div.featured strong {
    color: #0f766e;
}


/* =========================================================
   MODULE PREVIEW CONTENT - WEALTH
   ========================================================= */

.pf-wealth-demo {
    padding: 20px;
}

.pf-wealth-chart {
    position: relative;
    height: 120px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 12px;
}

.pf-fire-line {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    height: 2px;
    background: #f59e0b;
    border: 1px dashed #fbbf24;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #f59e0b;
}

.pf-wealth-line {
    position: absolute;
    bottom: 10%;
    left: 10%;
    right: 10%;
    height: 60%;
    background: linear-gradient(0deg, #0f766e, #38d39f);
    border-radius: 6px 6px 0 0;
    opacity: 0.5;
    width: 80%;
}

.pf-wealth-legend {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #64748b;
}

.pf-wealth-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.pf-wealth-legend i:first-of-type { background: #0f766e; }
.pf-wealth-legend i:last-of-type { background: #f59e0b; border: 1px dashed #fbbf24; }


/* =========================================================
   MODULE PREVIEW CONTENT - GOALS
   ========================================================= */

.pf-goals-demo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-goal-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.pf-goal-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0fdfa;
    border: 3px solid #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f766e;
    flex-shrink: 0;
}

.pf-goal-card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.pf-goal-card span {
    font-size: 13px;
    color: #64748b;
}


/* =========================================================
   MODULE PREVIEW CONTENT - ANALYTICS
   ========================================================= */

.pf-analytics-demo {
    padding: 20px;
}

.pf-analytics-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 120px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.pf-analytics-bars > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 40px;
}

.pf-analytics-bars > div span {
    display: block;
    width: 28px;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s;
}

.pf-analytics-bars > div span:nth-child(1) { height: 72%; background: #0f766e; }
.pf-analytics-bars > div span:nth-child(2) { height: 54%; background: #38d39f; }
.pf-analytics-bars > div span:nth-child(3) { height: 38%; background: #f59e0b; }
.pf-analytics-bars > div span:nth-child(4) { height: 66%; background: #8b5cf6; }
.pf-analytics-bars > div span:nth-child(5) { height: 28%; background: #94a3b8; }

.pf-analytics-bars > div small {
    font-size: 10px;
    color: #94a3b8;
}

.pf-analytics-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    border: 1px solid #e2e8f0;
    text-align: center;
}


/* =========================================================
   CALCULATOR BRIDGE
   ========================================================= */

.pf-calculator-bridge {
    padding: 95px 0;
    background: #fff;
}

.pf-calculator-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pf-calculator-link-card {
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    gap: 13px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--pf-border);
    border-radius: 10px;
    color: var(--pf-text) !important;
    background: #fff;
    text-decoration: none !important;
}

.pf-calculator-link-card:hover {
    border-color: #b8dacf;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(8,20,30,.07);
}

.pf-calculator-link-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f0f8f6;
}

.pf-calculator-link-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--pf-text-dark);
    font-size: 13px;
}

.pf-calculator-link-card small {
    display: block;
    color: var(--pf-muted);
    line-height: 1.45;
    font-size: 10px;
}

.pf-calculator-link-card b {
    color: var(--pf-green-dark);
}


/* =========================================================
   PRIVACY SECTION
   ========================================================= */

.pf-privacy-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: #fff;
    background: radial-gradient(circle at 10% 50%, rgba(56,211,159,.08), transparent 30%), #091721;
}

.pf-privacy-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 75px;
    align-items: center;
}

.pf-privacy-visual {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}

.pf-privacy-lock {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(56,211,159,.3);
    border-radius: 50%;
    background: rgba(56,211,159,.06);
    font-size: 40px;
}

.pf-privacy-visual strong {
    max-width: 300px;
    margin-top: 25px;
    color: #fff;
    text-align: center;
    font-size: 22px;
    line-height: 1.3;
}

.pf-privacy-lines {
    width: 170px;
    margin-top: 20px;
    display: grid;
    gap: 6px;
}

.pf-privacy-lines span {
    height: 3px;
    border-radius: 5px;
    background: #29404d;
}

.pf-privacy-lines span:nth-child(1) { width: 100%; }
.pf-privacy-lines span:nth-child(2) { width: 75%; }
.pf-privacy-lines span:nth-child(3) { width: 90%; }
.pf-privacy-lines span:nth-child(4) { width: 60%; }

.pf-privacy-content h2 {
    margin: 0 0 20px;
    color: #fff !important;
    font-size: clamp(31px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    opacity: 1 !important;
    visibility: visible !important;
}

.pf-privacy-content p {
    color: #aebdc6 !important;
    line-height: 1.75;
}

.pf-privacy-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 25px;
}

.pf-privacy-points span {
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    color: #c7d5dc !important;
    background: rgba(255,255,255,.025);
    font-size: 11px;
}


/* =========================================================
   SEO CONTENT
   ========================================================= */

.pf-seo-section {
    padding: 95px 0;
    background: #f7f9fa;
}

.pf-seo-content {
    max-width: 920px;
    margin: 0 auto;
}

.pf-seo-content p {
    margin: 0 0 20px;
    color: #52636d;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   FAQ
   ========================================================= */

.pf-faq-section {
    padding: 95px 0;
    background: #fff;
}

.pf-faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.pf-faq-item {
    border-bottom: 1px solid var(--pf-border);
}

.pf-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 4px;
    color: var(--pf-text-dark) !important;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.pf-faq-item summary::-webkit-details-marker { display: none; }

.pf-faq-item summary span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--pf-green-dark);
    background: #edf8f4;
    font-size: 16px;
    transition: transform .2s ease;
}

.pf-faq-item[open] summary span {
    transform: rotate(45deg);
}

.pf-faq-item > div {
    padding: 0 45px 22px 4px;
}

.pf-faq-item p {
    margin: 0;
    color: var(--pf-muted);
    line-height: 1.7;
    font-size: 14px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.pf-final-section {
    padding: 85px 0;
    background: #fff;
}

.pf-final-box {
    position: relative;
    overflow: hidden;
    padding: 75px 50px;
    border-radius: 18px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(56,211,159,.22), transparent 35%),
        radial-gradient(circle at 10% 80%, rgba(78,167,255,.10), transparent 35%),
        linear-gradient(135deg, #0a1722, #102a38);
    box-shadow: var(--pf-shadow);
}

.pf-final-box h2 {
    margin: 0 auto 16px;
    color: #ffffff !important;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    opacity: 1 !important;
    visibility: visible !important;
}

.pf-final-box p {
    max-width: 670px;
    margin: 0 auto 28px;
    color: #b7c8d1 !important;
    line-height: 1.7;
    opacity: 1 !important;
}

.pf-final-actions {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
    .pf-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .pf-hero-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
    .pf-hero-lead,
    .pf-hero-support {
        margin-right: auto;
        margin-left: auto;
    }
    .pf-hero-actions,
    .pf-hero-trust {
        justify-content: center;
    }
    .pf-browser {
        max-width: 850px;
        margin: 0 auto;
        transform: none;
    }
    .pf-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-trust-item:nth-child(2) {
        border-right: 0;
    }
    .pf-module-panel.active {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .pf-calculator-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-privacy-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .pf-privacy-visual {
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .personal-finance-page .container {
        width: min(100% - 28px, 1180px);
    }
    .pf-hero {
        padding: 65px 0;
    }
    .pf-hero h1 {
        font-size: 32px;
    }
    .pf-hero-lead {
        font-size: 16px;
    }
    .pf-hero-support {
        font-size: 14px;
    }
    .pf-dashboard-stats {
        grid-template-columns: 1fr;
    }
    .pf-dashboard-main-grid {
        grid-template-columns: 1fr;
    }
    .pf-trust-grid {
        grid-template-columns: 1fr;
    }
    .pf-trust-item {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--pf-border);
    }
    .pf-trust-item:last-child {
        border-bottom: 0;
    }
    .pf-module-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 2px;
        padding-bottom: 8px;
    }
    .pf-module-tab {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .pf-module-tab span {
        display: none;
    }
    .pf-module-panel.active {
        gap: 24px !important;
    }
    .pf-module-content h3 {
        font-size: 20px;
    }
    .pf-cash-columns {
        grid-template-columns: 1fr 1fr;
    }
    .pf-debt-comparison {
        grid-template-columns: 1fr;
    }
    .pf-analytics-bars {
        height: 80px;
    }
    .pf-analytics-bars > div {
        width: 30px;
    }
    .pf-analytics-bars > div span {
        width: 20px;
    }
    .pf-calculator-links {
        grid-template-columns: 1fr;
    }
    .pf-privacy-points {
        grid-template-columns: 1fr;
    }
    .pf-final-box {
        padding: 40px 24px;
    }
    .pf-final-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .pf-hero h1 {
        font-size: 26px;
    }
    .pf-module-tab {
        font-size: 11px;
        padding: 6px 10px;
    }
    .pf-cash-columns {
        grid-template-columns: 1fr;
    }
    .pf-goal-card {
        flex-direction: column;
        text-align: center;
    }
    .pf-debt-comparison {
        grid-template-columns: 1fr;
    }
    .pf-privacy-visual {
        min-height: 290px;
    }
    .pf-final-box {
        padding: 30px 16px;
    }
    .pf-final-box h2 {
        font-size: 26px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .personal-finance-page *,
    .personal-finance-page *::before,
    .personal-finance-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
    .pf-browser,
    .pf-calculator-link-card:hover,
    .pf-btn:hover,
    .pf-module-tab:hover {
        transform: none !important;
    }
}