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

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.splash-screen.active {
    opacity: 1;
    visibility: visible;
}

.splash-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 440px;
    width: 90%;
    padding: 48px 32px;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.splash-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.splash-title {
    font-size: 24px;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 8px;
    line-height: 1.3;
}

.splash-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: #1877f2;
    margin-bottom: 16px;
}

.splash-description {
    font-size: 15px;
    color: #65676b;
    line-height: 1.4;
    margin-bottom: 32px;
}

.splash-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.splash-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.splash-btn-back {
    background-color: #e4e6eb;
    color: #1c1e21;
}

.splash-btn-back:hover {
    background-color: #d8dadf;
}

.splash-btn-back:active {
    background-color: #cccfd4;
}

.splash-btn-continue {
    background-color: #1877f2;
    color: #ffffff;
}

.splash-btn-continue:hover {
    background-color: #166fe5;
}

.splash-btn-continue:active {
    background-color: #1464d4;
}

.splash-btn svg {
    flex-shrink: 0;
}

/* Main Content - hidden initially */
.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.main-content.active {
    opacity: 1;
    visibility: visible;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #1c1e21;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    cursor: pointer;
    padding: 4px;
    margin: -4px;
}

.logo:active {
    opacity: 0.7;
}

.logo svg {
    display: block;
}

.user-menu {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.user-profile:hover {
    background-color: #f2f2f2;
}

.user-profile:active {
    background-color: #e4e6eb;
}

.user-profile span {
    font-size: 15px;
    font-weight: 600;
    color: #050505;
}

.user-profile svg {
    color: #65676b;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.checkpoint-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    padding: 40px 32px;
    text-align: center;
}

.security-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 12px;
    line-height: 1.3;
}

.description {
    font-size: 15px;
    color: #65676b;
    line-height: 1.4;
    margin-bottom: 32px;
}

.steps-section {
    text-align: left;
    margin-bottom: 32px;
}

.steps-section h2 {
    font-size: 17px;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e4e6eb;
}

.step-item:last-child {
    border-bottom: none;
}

.step-icon {
    width: 36px;
    height: 36px;
    background-color: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon svg {
    color: #050505;
}

.step-item span {
    font-size: 15px;
    color: #1c1e21;
    font-weight: 500;
}

.get-started-btn {
    width: 100%;
    background-color: #1877f2;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.get-started-btn:hover {
    background-color: #166fe5;
}

.get-started-btn:active {
    background-color: #1464d4;
}

.get-started-btn.error {
    border: 2px solid #E74C3C;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.verification-message {
    display: none;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background-color: #FFEBEE;
    border-left: 4px solid #E74C3C;
    border-radius: 4px;
    text-align: left;
}

.verification-message.show {
    display: flex;
}

.verification-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.verification-message span {
    font-size: 14px;
    color: #C0392B;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 20px 16px;
    margin-top: auto;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #65676b;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links.secondary {
    padding-top: 8px;
    border-top: 1px solid #dadde1;
}

.footer-copyright {
    margin-top: 16px;
    padding-top: 8px;
}

.footer-copyright span {
    color: #65676b;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .header-container {
        padding: 0 12px;
        height: 50px;
    }

    .logo svg {
        width: 32px;
        height: 32px;
    }

    .user-profile {
        padding: 8px 10px;
    }

    .user-profile span {
        font-size: 14px;
    }

    main {
        padding: 20px 12px;
    }

    .checkpoint-card {
        padding: 24px 16px;
        border-radius: 6px;
    }

    .security-icon svg {
        width: 90px;
        height: 90px;
    }

    h1 {
        font-size: 17px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .steps-section {
        margin-bottom: 24px;
    }

    .steps-section h2 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .step-item {
        padding: 10px 0;
        gap: 10px;
    }

    .step-icon {
        width: 32px;
        height: 32px;
    }

    .step-icon svg {
        width: 18px;
        height: 18px;
    }

    .step-item span {
        font-size: 14px;
        line-height: 1.4;
    }

    .get-started-btn {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 8px;
    }

    .verification-message {
        padding: 12px;
        gap: 10px;
        margin-top: 12px;
    }

    .verification-message span {
        font-size: 13px;
    }

    .footer-links {
        gap: 6px 10px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-copyright span {
        font-size: 10px;
    }

    /* Splash Screen Mobile */
    .splash-card {
        padding: 32px 20px;
        width: 95%;
    }

    .splash-icon svg {
        width: 100px;
        height: 100px;
    }

    .splash-title {
        font-size: 20px;
    }

    .splash-subtitle {
        font-size: 15px;
    }

    .splash-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .splash-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .splash-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
}
