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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 0;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 40px 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
}

.selector-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    margin: 0 20px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.selector-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    font-size: 15px;
}

.selector-card select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.selector-card select:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.report-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 0 20px 30px;
}

.report-card h2 {
    color: #1e3c72;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.report-card h3 {
    color: #1e3c72;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.performance-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin: 15px 0;
    font-size: 15px;
}

.badge-outstanding {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.badge-above-average {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.badge-average {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.badge-needs-support {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.score-section {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .score-grid {
        grid-template-columns: 1fr;
    }
}

.score-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.score-item:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.1);
    transform: translateY(-2px);
}

.score-item h4 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.comparison-chart {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    align-items: flex-end;
    flex: 1;
}

.round-bar {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar {
    width: 100%;
    background: linear-gradient(to top, #2a5298, #1e3c72);
    border-radius: 8px 8px 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.2);
    transition: all 0.3s;
}

.round-bar small {
    display: block;
    margin-top: 8px;
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 500;
}

.diagnostic-box {
    background: #e8f4f8;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid #3498db;
}

.diagnostic-box h3 {
    color: #2980b9;
    margin-bottom: 12px;
}

.diagnostic-box p {
    color: #34495e;
    line-height: 1.6;
}

.eligibility-box {
    background: #e8f8f5;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid #27ae60;
}

.eligibility-box h3 {
    color: #229954;
    margin-bottom: 12px;
}

.eligibility-box p {
    color: #34495e;
    line-height: 1.6;
}

.offer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.offer-text {
    flex: 1;
}
.offer-image {
    flex-shrink: 0;
    width: 50%;
}

.emphasize {
    font-weight: 700;
    color: #e67e22;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .offer-content {
        flex-direction: column;
        gap: 20px;
    }
    .offer-image {
        order: 2;
        width: 100%;
        margin-top: 15px;
    }
    .offer-img {
        max-width: 200px;
        width: 100%;
    }
    .offer-text {
        order: 1;
    }
    .scholarship-box {
        padding: 20px;
        margin: 15px 0;
    }
    .scholarship-box h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .offer-img {
        width: 100%;
    }
    .scholarship-box {
        padding: 18px;
    }
    .scholarship-box h3 {
        font-size: 1.2rem;
    }
}

/*
.scholarship-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}
.scholarship-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}
.scholarship-box ul {
    padding-left: 20px;
    margin: 0;
}
.scholarship-box li {
    margin-bottom: 10px;
    color: #34495e;
}
.scholarship-box li:last-child {
    margin-bottom: 0;
}
*/
.scholarship-box {
    background: #fef5e7;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid #f39c12;
}

.scholarship-box h3 {
    color: #e67e22;
    margin-bottom: 15px;
}

.scholarship-box ul {
    list-style-position: inside;
    color: #34495e;
    line-height: 1.8;
}

.scholarship-box li {
    margin-bottom: 8px;
}

.cta-box {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 35px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

.cta-box h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.cta-box ul {
    text-align: left;
    margin: 20px auto;
    list-style-position: inside;
    max-width: 600px;
    line-height: 1.8;
}

.cta-box li {
    margin-bottom: 10px;
    font-size: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin: 10px 8px;
    cursor: pointer;
    border: none;
    font-size: 15px;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-download {
    background: #27ae60;
    color: white;
}

.btn-download:hover {
    background: #229954;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

#loader {
    text-align: center;
    padding: 60px 40px;
    color: #1e3c72;
    font-size: 18px;
    font-weight: 500;
}

#loader::after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    margin: 20px auto 0;
    border: 5px solid #e0e0e0;
    border-top-color: #2a5298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: #e74c3c;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-size: 16px;
}

/* Language Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #1e3c72;
    margin-bottom: 30px;
    font-size: 24px;
}

.language-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.lang-btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

/* Phone Input Section */
.phone-input-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 40px auto;
}

.phone-input-card h2 {
    color: #1e3c72;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.phone-input-card .form-group {
    margin-bottom: 20px;
}

.phone-input-card input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.phone-input-card input:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.phone-input-card .submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.phone-input-card .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

.error-text {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}
