  /* --- Global Styles --- */
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; background-color: #f8f9fc; color: #333; margin: 0; line-height: 1.7; position: relative; overflow-x: hidden; }
        body::before, body::after { content: ''; position: absolute; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(237, 234, 255, 0.6) 0%, rgba(248, 249, 252, 0) 70%); }
        body::before { top: 120px; right: -150px; width: 400px; height: 400px; }
        body::after { top: 250px; left: -200px; width: 500px; height: 500px; }
        .container { max-width: 1000px; margin: 0 auto; padding: 20px; }
        .card { background-color: #fff; border-radius: 12px; padding: 32px 40px; box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06); margin-bottom: 30px; }
        h1, h2, h3 { color: #333; text-align: center; }
        h1 { font-size: 48px; color: #7b61ff; margin-bottom: 10px; }
        .main-subtitle { text-align: center; font-size: 18px; color: #666;  }
        h2 { font-size: 28px; margin-top: 50px; margin-bottom: 20px; }
        h3 { font-size: 22px; text-align: center; margin-top: 0; color: #333; }
        h4 { font-size: 18px; font-weight: bold; margin-top: 25px; margin-bottom: 10px; text-align: center; }
        
        /* --- Calculator Styles --- */
        .calculator-card .tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 25px; }
        .calculator-card .tab { padding: 10px 20px; cursor: pointer; color: #666; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
        .calculator-card .tab.active { color: #7b61ff; border-bottom-color: #7b61ff; font-weight: bold; }
        .tab-content { display: none; }
        .tab-content.active { display: block; }
        .form-group { display: flex; align-items: center; margin-bottom: 20px; position: relative; }
        .form-group label { width: 150px; color: #555; font-size: 16px; flex-shrink: 0; }
        .form-group input[type="number"], .form-group select { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; box-sizing: border-box; }
        .form-group .unit { margin-left: 10px; font-size: 16px; color: #555; }
        .button-group { display: flex; gap: 15px; margin-top: 15px; }
        .btn-calculate, .btn-reset { width: 100%; padding: 14px; color: #fff; border: none; border-radius: 8px; font-size: 18px; font-weight: 500; cursor: pointer; transition: all 0.3s; }
        .btn-calculate { background-color: #7b61ff; }
        .btn-calculate:hover { background-color: #6a50e0; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(123, 97, 255, 0.4); }
        .btn-reset { background-color: #6c757d; }
        .btn-reset:hover { background-color: #5a6268; }
        
        /* --- Results Section --- */
        #results-area { background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%); padding: 50px 0; margin-top: 40px; display: none; box-shadow: 0 -5px 25px rgba(0,0,0,0.05); }
        .result-summary { display: flex; justify-content: space-around; text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; flex-wrap: wrap; gap: 20px; }
        .result-summary-item { background: #fff; border: 1px solid #e9e9e9; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 20px; border-radius: 12px; flex: 1; min-width: 220px; transition: transform 0.2s, box-shadow 0.2s; }
        .result-summary-item:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
        .result-summary-item .label { font-size: 15px; color: #666; margin-bottom: 8px; }
        .result-summary-item .value { font-size: 28px; font-weight: bold; color: #7b61ff; }
        #descriptive-summary { font-size: 16px; line-height: 1.6; color: #333; background-color: #e9e6ff; border-left: 4px solid #7b61ff; padding: 15px 20px; margin: 35px auto; border-radius: 0 8px 8px 0; max-width: 90%; }
        .chart-container { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 4px 25px rgba(0,0,0,0.06); margin-top: 20px; }
        .table-responsive-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 15px; }
        #results-table { white-space: nowrap; width: 100%; min-width: 600px; border-collapse: collapse; }
        #results-table th, #results-table td { padding: 12px 15px; text-align: right; border-bottom: 1px solid #eee; }
        #results-table th { color: #333; font-weight: bold; background-color: #f0f2f5; text-align: right; }
        #results-table th:first-child, #results-table td:first-child { text-align: center; }
        .hide-column { display: none !important; }

        /* --- Content & Shared Styles --- */
        .explanation-card { text-align: left; }
        .explanation-card h2 { text-align: center; }
        .explanation-card ul { padding-left: 20px; }
        .explanation-card li { margin-bottom: 10px; }
        .two-column-layout { display: flex; align-items: center; gap: 50px; margin-top: 30px; }
        .two-column-layout .text-column { flex: 1; }
        .two-column-layout .image-column { flex-shrink: 0; width: 100%; max-width: 380px; }
        .content-image { max-width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07); }

        /* --- OPTIMIZED FAQ Section Styles --- */
        .faq-item { border-bottom: 1px solid #eee; padding: 15px 0; }
        .faq-item:last-child { border-bottom: none; }
        .faq-item summary { font-weight: bold; font-size: 18px; cursor: pointer; position: relative; padding-right: 30px; list-style: none; /* Removes the default triangle */ color: #333; transition: color 0.2s; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary:hover { color: #7b61ff; }
        .faq-item summary::after { content: '+'; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: #7b61ff; transition: transform 0.2s ease-in-out; }
        .faq-item[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
        .faq-answer { padding: 15px 5px 0 5px; line-height: 1.7; color: #555; }
        
        /* --- Header & Footer --- */
        .site-header { position: sticky; top: 0; left: 0; width: 100%; z-index: 1000; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
        .header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .main-nav a { color: #555; text-decoration: none; margin-left: 25px; font-size: 16px; }
        .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
        .hamburger { display: block; position: relative; width: 24px; height: 2px; background-color: #333; transition: all 0.3s ease-in-out; }
        .hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background-color: #333; transition: all 0.3s ease-in-out; }
        .hamburger::before { top: -8px; } .hamburger::after { bottom: -8px; }
        .nav-open .hamburger { background-color: transparent; }
        .nav-open .hamburger::before { transform: translateY(8px) rotate(45deg); }
        .nav-open .hamburger::after { transform: translateY(-8px) rotate(-45deg); }
        .site-footer-full { background-color: #222; color: #ccc; padding: 60px 0; margin-top: 50px; }
        .footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #444; flex-wrap: wrap; gap: 15px; }
        .footer-bottom p { margin: 0; }
        .footer-links a { color: #ccc; text-decoration: none; margin: 0 10px; }

        /* --- Media Queries --- */
        @media (max-width: 900px) {
            .two-column-layout { flex-direction: column; text-align: center; }
            .two-column-layout .text-column { order: 2; }
            .two-column-layout .image-column { order: 1; margin-bottom: 30px; max-width: 450px; }
        }
        
        @media (max-width: 800px) {
            h1 { font-size: 32px; }
            .card { padding: 24px; }
            .result-summary { flex-direction: column; gap: 15px; }
            
            .calculator-card .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
            .calculator-card .form-group { flex-direction: column; align-items: flex-start; margin-bottom: 25px; }
            .calculator-card .form-group label { width: auto; margin-bottom: 8px; font-weight: 500; }
            .calculator-card .form-group input[type="number"], .calculator-card .form-group select { width: 100%; }
            .calculator-card .form-group .unit { position: absolute; right: 15px; bottom: 13px; color: #888; pointer-events: none; margin-left: 0; }
            .calculator-card .form-group input[type="number"], .calculator-card .form-group select { padding-right: 65px; }
            #fv-principal, #fv-monthly-contribution, #pv-future-value { padding-right: 35px !important; }
            #fv-rate, #pv-rate, #fv-contribution-increase { padding-right: 40px !important; }

            .main-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background-color: #fff; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.3s ease-in-out; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 70px; }
            .nav-open .main-nav { right: 0; }
            .main-nav a { margin: 20px 0; font-size: 20px; }
            .nav-toggle { display: block; }
            .footer-bottom { justify-content: center; text-align: center; }
        }