:root {
            --pci-turquoise: #00A99D;
            --pci-yellow-alert: #FFC107;
            --pci-dark-bg: #111827;      
            --pci-dark-card: #1F2937;    
            --pci-dark-border: #374151;  
            --text-light: #F9FAFB;      
            --text-medium: #9CA3AF;      
            --risk-low: #00A99D;         
            --risk-medium: #FFC107;      
            --risk-high: #EF4444;        
            --white: #ffffff;
        }

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

       body {
            font-family: 'Lato', sans-serif;
            color: var(--pci-gray-text);
            background-color: var(--pci-dark-bg);
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            color: var(--pci-light-text);
        }

        .hero-bg {
            background-color: var(--pci-dark-bg);
            background-image: 
                radial-gradient(circle at 25% 30%, hsla(175, 100%, 33%, 0.3), transparent 50%),
                radial-gradient(circle at 75% 70%, hsla(175, 100%, 33%, 0.2), transparent 50%);
        }
       


        main {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-grow: 1;
			padding-top: 45px;
			padding-bottom: 45px;
        }

        .card {
            background-color: var(--pci-dark-card);
            width: 100%;
            max-width: 800px;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
            border: 1px solid var(--pci-dark-border);
            overflow: hidden;
        }

        .footer {
            width: 100%;
            max-width: 900px;
            text-align: center;
            padding: 20px 0;
            font-size: 0.8rem;
            color: var(--text-medium);
        }
        
        .footer a {
            color: var(--text-medium);
            text-decoration: none;
        }
        .footer a:hover {
            color: var(--pci-turquoise);
        }

        #intro-section h1 {
            font-size: 2.8rem;
            font-weight: 900;
            margin-bottom: 1.5rem;
            color: var(--pci-turquoise);
            line-height: 1.2;
        }

        #intro-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 2rem;
        }

        #intro-section p {
            font-size: 1.1rem;
            line-height: 1.7;
            color: var(--text-medium);
            margin-bottom: 2.5rem;
        }

        #quiz-section {
            display: none;
        }
        
        #quiz-section h3 {
            font-size: 2rem;
            font-weight: 900;
            text-align: center;
            margin-bottom: 2.5rem;
            color: var(--white);
        }
        
        .risk-meter-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 3rem;
        }

        .meter-gauge {
            width: 250px;
            height: 125px;
            position: relative;
            border-radius: 250px 250px 0 0;
            background: conic-gradient(from -90deg at 50% 100%, var(--risk-low) 0%, var(--risk-medium) 50%, var(--risk-high) 100%);
            overflow: hidden;
        }

        .meter-gauge::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 220px;
            height: 110px;
            background: var(--pci-dark-card);
            border-radius: 220px 220px 0 0;
        }

        .meter-needle {
            width: 4px;
            height: 100px;
            background-color: var(--white);
            position: absolute;
            bottom: 0;
            left: calc(50% - 2px);
            transform-origin: bottom center;
            transform: rotate(-90deg);
            transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            border-radius: 4px 4px 0 0;
        }
        
        .meter-needle::after {
            content: '';
            position: absolute;
            width: 15px;
            height: 15px;
            background: var(--white);
            border-radius: 50%;
            bottom: -7.5px;
            left: 50%;
            transform: translateX(-50%);
        }

        .risk-level-text {
            margin-top: 1rem;
            font-size: 1.2rem;
            font-weight: 700;
            transition: color 0.5s ease;
        }

        .question-block {
            display: none;
            animation: fadeIn 0.5s ease-in-out;
            min-height: 150px;
        }

        .question-block.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .question-text {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 2.5rem;
            text-align: center;
        }
        
        .answers-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .radio-option label {
            display: block;
            background-color: var(--pci-dark-bg);
            border: 2px solid var(--pci-dark-border);
            border-radius: 8px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 700;
            color: var(--text-light);
            text-align: center;
        }

        .radio-option input[type="radio"] {
            position: absolute;
            opacity: 0;
        }

        .radio-option label:hover {
            border-color: var(--pci-turquoise);
        }
        
        .radio-option input[type="radio"]:checked + label {
            background-color: rgba(0, 169, 157, 0.1);
            border-color: var(--pci-turquoise);
            color: var(--white);
        }

        #calculating-section {
            text-align: center;
            padding: 4rem 0;
        }
        
        #calculating-section h3 {
            font-size: 2rem;
            font-weight: 900;
            margin-bottom: 1.5rem;
            color: var(--white);
        }

        #calculating-section p {
            font-size: 1.1rem;
            color: var(--text-medium);
        }

        .quiz-navigation {
            display: flex;
            justify-content: flex-end;
            margin-top: 3rem;
        }

        #results-section {
            display: none;
            text-align: center;
            animation: fadeIn 0.5s ease;
        }

        .result-risk-meter {
            margin: 0 auto 1.5rem;
            display: flex;
            justify-content: center;
        }

        .meter-gauge-small {
            width: 100px;
            height: 50px;
            position: relative;
            border-radius: 100px 100px 0 0;
            background: conic-gradient(from -90deg at 50% 100%, var(--risk-low) 0%, var(--risk-medium) 50%, var(--risk-high) 100%);
            overflow: hidden;
        }

        .meter-gauge-small::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 90px;
            height: 45px;
            background: var(--pci-dark-card);
            border-radius: 90px 90px 0 0;
        }

        .meter-needle-small {
            width: 2px;
            height: 40px;
            background-color: var(--white);
            position: absolute;
            bottom: 0;
            left: calc(50% - 1px);
            transform-origin: bottom center;
            transform: rotate(-90deg);
            transition: transform 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            border-radius: 2px 2px 0 0;
        }

        #results-section #result-title {
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 1rem;
        }

        #results-section > #result-message {
            font-size: 1.1rem;
            line-height: 1.6;
            color: var(--text-medium);
            max-width: 600px;
            margin: 0 auto 2.5rem;
        }
        
        #gemini-analysis-container {
            text-align: left;
            margin-top: 2.5rem;
            padding: 1.5rem;
            background-color: var(--pci-dark-bg);
            border-radius: 8px;
            border: 1px solid var(--pci-dark-border);
        }
        #gemini-analysis-container h4 {
            color: var(--pci-turquoise);
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        #gemini-analysis-container p, #gemini-analysis-container li {
            color: var(--text-light);
            line-height: 1.7;
        }
         #gemini-analysis-container ul {
            list-style-position: inside;
            padding-left: 0;
         }
        
        #gemini-analysis-container li {
            margin-bottom: 0.8rem;
        }

        #gemini-analysis-container strong {
            font-weight: 700;
            color: var(--white);
        }
        
        .loader {
            border: 4px solid var(--pci-dark-border);
            border-top: 4px solid var(--pci-turquoise);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 2rem auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .form-container {
            margin-top: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
            padding: 2rem;
            border: 1px solid var(--pci-dark-border);
            border-radius: 8px;
            background-color: var(--pci-dark-bg);
        }

        .form-container p {
            font-size: 1.1rem;
            line-height: 1.6;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
            text-align: left;
        }
        
        .form-group input {
            width: 100%;
            padding: 1rem;
            background-color: var(--pci-dark-card);
            border: 1px solid var(--pci-dark-border);
            border-radius: 8px;
            color: var(--text-light);
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }
        
        .form-group input::placeholder {
            color: var(--text-medium);
        }
        
        .form-group input:focus {
            outline: none;
            border-color: var(--pci-turquoise);
        }

        .buttons-container {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2.5rem;
            flex-wrap: wrap;
        }
        
        .btn {
            background: transparent;
            border: 2px solid var(--pci-turquoise);
            color: var(--pci-turquoise);
            padding: 1rem 2rem;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn:hover {
            background-color: rgba(0, 169, 157, 0.1);
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-primary {
            background-color: var(--pci-turquoise);
            color: var(--white);
        }

        .btn-primary:hover {
            background-color: #00877e;
            border-color: #00877e;
        }
        
        .btn-secondary {
            border-color: var(--text-medium);
            color: var(--text-medium);
        }
        
        .btn-secondary:hover {
            background-color: rgba(156, 163, 175, 0.1);
            border-color: var(--text-light);
            color: var(--text-light);
        }

        @media (max-width: 768px) {
            body { padding: 10px; }
            .card { padding: 25px; }
            #intro-section h1 { font-size: 2.2rem; }
            #intro-section h2 { font-size: 1.2rem; }
            #results-section #result-title { font-size: 2rem; }
        }
        
        @media (max-width: 480px) {
            .header { flex-direction: column; gap: 10px; text-align: center; }
            .card { padding: 20px; }
            .btn { width: 100%; text-align: center; }
            .buttons-container { flex-direction: column; width: 100%; }
            .form-container { padding: 1.5rem; }
        }