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

        body {
            font-family: 'Georgia', serif;
            background: linear-gradient(135deg, #0f1419 0%, #1a237e 25%, #2d1b69 50%, #6a1b9a 75%, #bf360c 100%);
            min-height: 100vh;
            color: #fff;
            overflow-x: hidden;
        }

        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        .star {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #fff;
            border-radius: 50%;
            animation: twinkle 3s infinite;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        .hero {
            text-align: center;
            margin-bottom: 40px;
            padding: 40px 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 215, 0, 0.3);
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #ffd700, #ffb700, #ff8f00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero p {
            font-size: 1.2rem;
            color: #e1bee7;
            font-style: italic;
            margin-bottom: 30px;
        }

        .form-card {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 20px;
            padding: 40px;
            border: 1px solid rgba(255, 215, 0, 0.2);
            backdrop-filter: blur(15px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #ffd700;
            font-weight: bold;
            font-size: 1.1rem;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 15px;
            border: 2px solid rgba(255, 215, 0, 0.3);
            border-radius: 10px;
            background: rgba(0, 0, 0, 0.5);
            color: #fff;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #ffd700;
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
        }

        .cta-button {
            width: 100%;
            padding: 20px;
            background: linear-gradient(45deg, #ffd700, #ff8f00);
            border: none;
            border-radius: 15px;
            color: #000;
            font-size: 1.3rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 30px;
            position: relative;
            overflow: hidden;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: rotate(45deg);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .result-container {
            display: none;
            margin-top: 40px;
        }

        .wealth-meter {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            margin-bottom: 30px;
            border: 2px solid rgba(255, 215, 0, 0.3);
        }

        .meter-circle {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: conic-gradient(from 0deg, #ffd700 0%, #ffb700 25%, #ff8f00 50%, #666 50%);
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .meter-inner {
            width: 160px;
            height: 160px;
            background: rgba(0, 0, 0, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .score-text {
            font-size: 2.5rem;
            font-weight: bold;
            color: #ffd700;
        }

        .tier-text {
            font-size: 1.2rem;
            color: #e1bee7;
            margin-top: 10px;
        }

        .insight-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .insight-card {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 15px;
            padding: 25px;
            border-left: 5px solid #ffd700;
            backdrop-filter: blur(10px);
        }

        .insight-card h3 {
            color: #ffd700;
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .insight-card p {
            color: #e1bee7;
            line-height: 1.6;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 30px;
        }

        .action-btn {
            padding: 15px 25px;
            border: 2px solid #ffd700;
            background: rgba(255, 215, 0, 0.1);
            color: #ffd700;
            border-radius: 10px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .action-btn:hover {
            background: #ffd700;
            color: #000;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .form-card {
                padding: 20px;
            }
            
            .insight-cards {
                grid-template-columns: 1fr;
            }
            
            .action-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .action-btn {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
        }

        .hidden {
            display: none;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #ffd700;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 215, 0, 0.3);
            border-top: 4px solid #ffd700;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    
        /* SEO Content Section with Width Control */
        .seo-content-section {
            margin-top: 40px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 215, 0, 0.3);
            max-width: 1200px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

        .seo-card {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 20px;
            border-left: 5px solid #ffd700;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
        }

        .seo-card h2 {
            color: #ffd700;
            font-size: 1.8rem;
            margin-bottom: 15px;
            border-bottom: 2px solid rgba(255, 215, 0, 0.5);
            padding-bottom: 10px;
            word-wrap: break-word;
        }

        .seo-card p {
            color: #e1bee7;
            line-height: 1.7;
            margin-bottom: 10px;
            word-wrap: break-word;
        }

        .seo-card ul {
            list-style: none;
            padding-left: 20px;
            margin-bottom: 10px;
            max-width: 100%;
        }

        .seo-card ul li {
            color: #e1bee7;
            margin-bottom: 8px;
            position: relative;
            word-wrap: break-word;
        }

        .seo-card ul li::before {
            content: '✨';
            position: absolute;
            left: -20px;
        }

        /* FAQ Section with Width Control */
        .faq-section {
            margin-top: 40px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 215, 0, 0.3);
            max-width: 1200px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

        .faq-section h2 {
            color: #ffd700;
            font-size: 2rem;
            text-align: center;
            margin-bottom: 30px;
            word-wrap: break-word;
        }

        .faq-item {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 10px;
            margin-bottom: 15px;
            border: 1px solid rgba(255, 215, 0, 0.2);
            overflow: hidden;
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
        }

        .faq-question {
            width: 100%;
            background: rgba(255, 215, 0, 0.1);
            color: #ffd700;
            padding: 18px 25px;
            text-align: left;
            border: none;
            outline: none;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: bold;
            transition: background-color 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-sizing: border-box;
            word-wrap: break-word;
        }

        .faq-question::after {
            content: '\002B'; /* Plus sign */
            font-size: 1.5rem;
            color: #ffd700;
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 10px;
        }

        .faq-item.active .faq-question::after {
            transform: rotate(45deg); /* Rotate to form an 'X' */
        }

        .faq-answer {
            padding: 0 25px;
            background-color: rgba(0, 0, 0, 0.5);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            box-sizing: border-box;
            width: 100%;
        }

        .faq-item.active .faq-answer {
            max-height: 500px; /* Adjust as needed to fit content */
            padding: 15px 25px;
        }

        .faq-answer p {
            color: #e1bee7;
            line-height: 1.6;
            margin-bottom: 10px;
            word-wrap: break-word;
        }

        /* Enhanced Mobile Responsiveness for SEO and FAQ */
        @media (max-width: 768px) {
            .seo-content-section,
            .faq-section {
                margin-left: 10px;
                margin-right: 10px;
                padding: 15px;
                max-width: calc(100% - 20px);
            }
            
            .seo-card {
                padding: 20px;
                margin-bottom: 15px;
            }
            
            .seo-card h2 {
                font-size: 1.5rem;
            }
            
            .faq-question {
                font-size: 1rem;
                padding: 15px 20px;
                flex-wrap: wrap;
            }
            
            .faq-question::after {
                font-size: 1.3rem;
            }
            
            .faq-answer {
                padding: 0 20px;
            }
            
            .faq-item.active .faq-answer {
                padding: 12px 20px;
            }
        }

        @media (max-width: 480px) {
            .seo-content-section,
            .faq-section {
                margin-left: 5px;
                margin-right: 5px;
                padding: 10px;
                max-width: calc(100% - 10px);
            }
            
            .seo-card {
                padding: 15px;
            }
            
            .seo-card h2 {
                font-size: 1.3rem;
            }
            
            .faq-question {
                padding: 12px 15px;
                font-size: 0.95rem;
            }
            
            .faq-answer {
                padding: 0 15px;
            }
            
            .faq-item.active .faq-answer {
                padding: 10px 15px;
            }
        }