* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003366;
    --light-blue: #0066cc;
    --accent-blue: #0099ff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #333333;
    --text-dark: #000000;
    --text-light: #666666;
    --success-green: #008000;
    --border-color: #cccccc;
    --white: #ffffff;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 20px 0;
    border-bottom: 4px solid var(--light-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-seal {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.logo-seal svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
}

.header-text p {
    font-size: 14px;
    margin: 4px 0 0 0;
    opacity: 0.95;
}

.header-right {
    text-align: right;
}

.help-text {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

/* Main Content */
.main-content {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Sections */
section {
    margin-bottom: 30px;
}

/* Welcome Section */
.welcome-section {
    animation: fadeIn 0.5s ease-in;
}

.welcome-box {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.welcome-box h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: bold;
}

.welcome-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.info-box {
    background-color: #f9f9f9;
    border-left: 5px solid var(--light-blue);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.8;
}

.info-box p {
    margin-bottom: 15px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 22px;
}

.btn-text {
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 20px 50px;
    font-size: 20px;
    width: 100%;
    justify-content: center;
}

/* Security Info */
.security-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.security-icon {
    color: var(--success-green);
    font-size: 24px;
    font-weight: bold;
}

.security-text {
    color: var(--text-dark);
    font-weight: 500;
}

/* Verification Section */
.verification-section {
    animation: fadeIn 0.5s ease-in;
}

.verification-box {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.verification-box h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: bold;
}

.verification-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.verification-step {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
}

.step-number {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.verification-step h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    margin-top: 0;
}

.verification-step p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
    justify-content: center;
}

.checkbox-container:hover {
    border-color: var(--light-blue);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.checkbox-box {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-box.checked {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.checkbox-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
}

.spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--light-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.verification-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

/* Processing Section */
.processing-section {
    animation: fadeIn 0.5s ease-in;
}

.processing-box {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.processing-box h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: bold;
}

.processing-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.processing-steps {
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-item.completed {
    border-left-color: var(--success-green);
    background-color: #f0f8f0;
}

.step-indicator {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    color: var(--white);
    font-size: 20px;
}

.step-item.completed .step-indicator {
    background-color: var(--success-green);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.step-status {
    font-size: 14px;
    color: var(--text-light);
}

.step-item.completed .step-status {
    color: var(--success-green);
    font-weight: bold;
}

.progress-container {
    margin-top: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    font-weight: bold;
}

/* Download Section */
.download-section {
    animation: fadeIn 0.5s ease-in;
}

.download-box {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-color: var(--success-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 48px;
    line-height: 80px;
    margin-bottom: 20px;
    font-weight: bold;
}

.download-box h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: bold;
}

.download-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.document-box {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.document-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.document-icon {
    font-size: 40px;
}

.document-info {
    flex: 1;
}

.document-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.document-details {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    gap: 8px;
}

.document-description {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

.document-description p {
    margin-bottom: 12px;
}

.document-description p:last-child {
    margin-bottom: 0;
}

.download-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

.security-footer {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
}

.security-footer p {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
}

.security-footer p strong {
    color: var(--primary-blue);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 30px 20px;
    border-top: 4px solid var(--light-blue);
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-text {
    text-align: center;
    font-size: 13px;
    opacity: 0.9;
}

.footer-text p {
    margin: 5px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-text h1 {
        font-size: 28px;
    }

    .header-right {
        text-align: center;
    }

    .help-text {
        font-size: 14px;
    }

    .welcome-box,
    .verification-box,
    .processing-box,
    .download-box {
        padding: 25px;
    }

    .welcome-box h2,
    .verification-box h2,
    .processing-box h2,
    .download-box h2 {
        font-size: 24px;
    }

    .welcome-subtitle,
    .verification-subtitle,
    .processing-subtitle,
    .download-subtitle {
        font-size: 16px;
    }

    .security-info {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        padding: 16px 30px;
        font-size: 16px;
    }

    .btn-large {
        padding: 18px 30px;
        font-size: 18px;
    }

    .checkbox-container {
        min-width: auto;
        flex-wrap: wrap;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 24px;
    }

    .welcome-box h2,
    .verification-box h2,
    .processing-box h2,
    .download-box h2 {
        font-size: 20px;
    }

    .info-box,
    .verification-step {
        padding: 15px;
        font-size: 14px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
    }

    .btn-primary {
        padding: 14px 20px;
        font-size: 14px;
    }

    .checkbox-container {
        padding: 15px 20px;
    }

    .checkbox-box {
        width: 30px;
        height: 30px;
    }

    .checkbox-text {
        font-size: 16px;
    }
}
