 /* Scoped CSS for Compound Interest Calculator - Does not affect header/footer */
        .ci-calculator-wrapper {
            --ci-primary: #50c879;
            --ci-secondary: #2a1f76;
            --ci-light: #f8f6fe;
            --ci-gradient: linear-gradient(135deg, #50c879 0%, #2a1f76 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .ci-calculator-wrapper * {
            box-sizing: border-box;
        }
        
        .ci-hero-section {
            background: var(--ci-gradient);
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        
        .ci-hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        
        .ci-hero-content {
            position: relative;
            z-index: 1;
        }
        
        .ci-hero-title {
            color: #ffffff;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
        
        .ci-hero-subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
            margin-bottom: 0;
        }
        
        .ci-rating-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(255,255,255,0.2);
            padding: 8px 16px;
            border-radius: 50px;
            margin-top: 20px;
        }
        
        .ci-rating-badge i {
            color: #ffc107;
            margin-right: 3px;
        }
        
        .ci-rating-badge span {
            color: #ffffff;
            font-weight: 600;
            margin-left: 8px;
        }
        
        .ci-main-content {
            background: var(--ci-light);
            padding: 50px 0;
        }
        
        .ci-calculator-card {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(42, 31, 118, 0.1);
            padding: 35px;
            border: none;
            margin-bottom: 30px;
        }
        
        .ci-card-title {
            color: var(--ci-secondary);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 3px solid var(--ci-primary);
            display: inline-block;
        }
        
        .ci-form-label {
            color: var(--ci-secondary);
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }
        
        .ci-input-group {
            position: relative;
            margin-bottom: 25px;
        }
        
        .ci-input-group .ci-input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ci-primary);
            font-weight: 600;
            z-index: 10;
        }
        
        .ci-form-control {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 15px 15px 15px 45px;
            font-size: 1rem;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .ci-form-control:focus {
            border-color: var(--ci-primary);
            box-shadow: 0 0 0 4px rgba(80, 200, 121, 0.15);
            outline: none;
        }
        
        .ci-form-select {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 15px;
            font-size: 1rem;
            transition: all 0.3s ease;
            width: 100%;
            cursor: pointer;
            background-color: #fff;
        }
        
        .ci-form-select:focus {
            border-color: var(--ci-primary);
            box-shadow: 0 0 0 4px rgba(80, 200, 121, 0.15);
            outline: none;
        }
        
        .ci-slider-container {
            margin-bottom: 25px;
        }
        
        .ci-range-slider {
            width: 100%;
            height: 8px;
            -webkit-appearance: none;
            appearance: none;
            background: linear-gradient(to right, var(--ci-primary) 0%, var(--ci-primary) 50%, #e0e0e0 50%, #e0e0e0 100%);
            border-radius: 4px;
            outline: none;
            margin-top: 10px;
        }
        
        .ci-range-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 24px;
            background: var(--ci-primary);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(80, 200, 121, 0.4);
            transition: transform 0.2s ease;
        }
        
        .ci-range-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }
        
        .ci-range-slider::-moz-range-thumb {
            width: 24px;
            height: 24px;
            background: var(--ci-primary);
            border-radius: 50%;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 10px rgba(80, 200, 121, 0.4);
        }
        
        .ci-range-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-size: 0.85rem;
            color: #666;
        }
        
        .ci-btn-calculate {
            background: var(--ci-gradient);
            color: #ffffff;
            border: none;
            border-radius: 12px;
            padding: 16px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .ci-btn-calculate:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(80, 200, 121, 0.4);
            color: #ffffff;
        }
        
        .ci-btn-reset {
            background: transparent;
            color: var(--ci-secondary);
            border: 2px solid var(--ci-secondary);
            border-radius: 12px;
            padding: 14px 40px;
            font-size: 1rem;
            font-weight: 600;
            width: 100%;
            transition: all 0.3s ease;
            margin-top: 15px;
        }
        
        .ci-btn-reset:hover {
            background: var(--ci-secondary);
            color: #ffffff;
        }
        
        .ci-results-card {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(42, 31, 118, 0.1);
            padding: 35px;
            border: none;
            height: 100%;
        }
        
        .ci-result-item {
            background: var(--ci-light);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 15px;
            border-left: 4px solid var(--ci-primary);
            transition: all 0.3s ease;
        }
        
        .ci-result-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(80, 200, 121, 0.15);
        }
        
        .ci-result-label {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }
        
        .ci-result-value {
            color: var(--ci-secondary);
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        .ci-result-value.ci-highlight {
            color: var(--ci-primary);
        }
        
        .ci-chart-container {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(42, 31, 118, 0.1);
            padding: 35px;
            margin-top: 30px;
        }
        
        .ci-chart-title {
            color: var(--ci-secondary);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .ci-pie-chart-wrapper {
            max-width: 300px;
            margin: 0 auto;
        }
        
        .ci-line-chart-wrapper {
            height: 350px;
        }
        
        .ci-breakdown-table {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(42, 31, 118, 0.1);
            padding: 35px;
            margin-top: 30px;
        }
        
        .ci-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }
        
        .ci-table thead th {
            background: var(--ci-secondary);
            color: #ffffff;
            padding: 15px;
            font-weight: 600;
            text-align: center;
        }
        
        .ci-table thead th:first-child {
            border-radius: 10px 0 0 0;
        }
        
        .ci-table thead th:last-child {
            border-radius: 0 10px 0 0;
        }
        
        .ci-table tbody td {
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid #eee;
            color: var(--ci-secondary);
        }
        
        .ci-table tbody tr:hover {
            background: var(--ci-light);
        }
        
        .ci-table tbody tr:last-child td:first-child {
            border-radius: 0 0 0 10px;
        }
        
        .ci-table tbody tr:last-child td:last-child {
            border-radius: 0 0 10px 0;
        }
        
        /* Ad Spaces */
        .ci-ad-space {
            background: linear-gradient(135deg, #f8f6fe 0%, #e8e6f0 100%);
            border: 2px dashed #ccc;
            border-radius: 10px;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: #999;
            font-size: 0.9rem;
        }
        
        .ci-ad-space i {
            font-size: 2rem;
            margin-bottom: 10px;
        }
        
        .ci-ad-horizontal {
            min-height: 120px;
            margin: 30px 0;
        }
        
        /* Content Section */
        .ci-content-section {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(42, 31, 118, 0.1);
            padding: 40px;
            margin-top: 40px;
        }
        
        .ci-content-title {
            color: var(--ci-secondary);
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .ci-content-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--ci-primary);
            border-radius: 2px;
        }
        
        .ci-content-text {
            color: #555;
            line-height: 1.8;
            font-size: 1rem;
        }
        
        .ci-content-text h3 {
            color: var(--ci-secondary);
            font-size: 1.4rem;
            font-weight: 600;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .ci-content-text ul {
            list-style: none;
            padding-left: 0;
        }
        
        .ci-content-text ul li {
            padding: 10px 0 10px 30px;
            position: relative;
        }
        
        .ci-content-text ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--ci-primary);
            font-weight: bold;
        }
        
        .ci-formula-box {
            background: var(--ci-light);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            margin: 25px 0;
            border-left: 5px solid var(--ci-primary);
        }
        
        .ci-formula {
            font-size: 1.3rem;
            color: var(--ci-secondary);
            font-weight: 600;
            font-family: 'Courier New', monospace;
        }
        
        /* FAQ Section */
        .ci-faq-section {
            margin-top: 40px;
        }
        
        .ci-accordion-item {
            border: none;
            margin-bottom: 15px;
            border-radius: 15px !important;
            overflow: hidden;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
        }
        
        .ci-accordion-button {
            background: #ffffff;
            color: var(--ci-secondary);
            font-weight: 600;
            padding: 20px 25px;
            border: none;
        }
        
        .ci-accordion-button:not(.collapsed) {
            background: var(--ci-light);
            color: var(--ci-secondary);
            box-shadow: none;
        }
        
        .ci-accordion-button:focus {
            box-shadow: none;
            border-color: transparent;
        }
        
        .ci-accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232a1f76'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }
        
        .ci-accordion-body {
            padding: 20px 25px;
            color: #555;
            line-height: 1.7;
        }
        
        /* Modal Styles */
        .ci-modal .modal-content {
            border-radius: 20px;
            border: none;
            overflow: hidden;
        }
        
        .ci-modal .modal-header {
            background: var(--ci-gradient);
            color: #ffffff;
            border: none;
            padding: 20px 30px;
        }
        
        .ci-modal .modal-title {
            font-weight: 700;
        }
        
        .ci-modal .btn-close {
            filter: brightness(0) invert(1);
        }
        
        .ci-modal .modal-body {
            padding: 30px;
            text-align: center;
        }
        
        .ci-modal .modal-icon {
            font-size: 4rem;
            margin-bottom: 20px;
        }
        
        .ci-modal .modal-icon.success {
            color: var(--ci-primary);
        }
        
        .ci-modal .modal-icon.error {
            color: #dc3545;
        }
        
        .ci-modal .modal-message {
            font-size: 1.1rem;
            color: #555;
        }
        
        .ci-modal .modal-footer {
            border: none;
            padding: 20px 30px;
            justify-content: center;
        }
        
        .ci-modal .btn-modal-close {
            background: var(--ci-primary);
            color: #ffffff;
            border: none;
            border-radius: 10px;
            padding: 12px 40px;
            font-weight: 600;
        }
        
        /* Features Grid */
        .ci-features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .ci-feature-item {
            background: var(--ci-light);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .ci-feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(80, 200, 121, 0.2);
        }
        
        .ci-feature-icon {
            width: 60px;
            height: 60px;
            background: var(--ci-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
        }
        
        .ci-feature-icon i {
            color: #ffffff;
            font-size: 1.5rem;
        }
        
        .ci-feature-title {
            color: var(--ci-secondary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .ci-feature-text {
            color: #666;
            font-size: 0.9rem;
        }
        
        /* Related Tools */
        .ci-related-tools {
            margin-top: 40px;
        }
        
        .ci-tool-card {
            background: #ffffff;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .ci-tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(80, 200, 121, 0.2);
        }
        
        .ci-tool-icon {
            width: 70px;
            height: 70px;
            background: var(--ci-light);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
        }
        
        .ci-tool-icon i {
            color: var(--ci-primary);
            font-size: 2rem;
        }
        
        .ci-tool-name {
            color: var(--ci-secondary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .ci-tool-link {
            color: var(--ci-primary);
            text-decoration: none;
            font-weight: 500;
        }
        
        .ci-tool-link:hover {
            color: var(--ci-secondary);
        }
        
        /* Currency Toggle */
        .ci-currency-toggle {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .ci-currency-btn {
            padding: 8px 20px;
            border: 2px solid var(--ci-primary);
            background: transparent;
            color: var(--ci-primary);
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .ci-currency-btn.active {
            background: var(--ci-primary);
            color: #ffffff;
        }
        
        .ci-currency-btn:hover:not(.active) {
            background: rgba(80, 200, 121, 0.1);
        }
        
        /* Responsive */
        @media (max-width: 991px) {
            .ci-ad-space {
                min-height: 120px;
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .ci-hero-title {
                font-size: 1.8rem;
            }
            
            .ci-calculator-card {
                padding: 25px;
            }
            
            .ci-result-value {
                font-size: 1.4rem;
            }
        }
        
        /* Animation */
        @keyframes ci-fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .ci-animate {
            animation: ci-fadeInUp 0.6s ease forwards;
        }
        
        /* Print Styles */
        @media print {
            .ci-ad-space,
            .ci-btn-calculate,
            .ci-btn-reset {
                display: none;
            }
        }