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

/* Dark room ambient simulation - subtle glow effect */
body {
    background: #0a0c10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', system-ui, 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    position: relative;
}

/* Laptop screen glow effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 100, 200, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Main browser container - simulates laptop screen */
.browser-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: all 0.2s;
}

/* Webpage content area - clean white background */
.webpage-content {
    background: #ffffff;
    min-height: 560px;
    padding: 2rem 2rem 2rem 2rem;
    position: relative;
}

/* Two-page system: show page1 or page2 */
.page {
    transition: opacity 0.3s ease;
}

.page.hidden {
    display: none;
}

/* ID.me logo - BIGGER, centered */
.logo-container {
    text-align: center;
    margin-bottom: 1.8rem;
}

.idme-logo {
    height: 58px;
    width: auto;
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.idme-logo:hover {
    opacity: 0.9;
}

/* Page 1 styles - official verification page */
.status-badge-large {
    background: #eef2fa;
    color: #0a5c8e;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.document-card {
    background: #fafcff;
    border: 1px solid #e6edf5;
    border-radius: 28px;
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.document-icon {
    font-size: 56px;
    margin-bottom: 1rem;
}

.document-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0a2540;
    margin: 0.5rem 0 0.5rem 0;
}

.document-sub {
    color: #5b6f8c;
    font-size: 1rem;
    margin-bottom: 1.8rem;
}

.preparing-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #f1f6fd;
    padding: 14px 24px;
    border-radius: 60px;
    margin: 1.5rem auto;
    width: fit-content;
}

.spinner-dots {
    display: flex;
    gap: 7px;
}

.spinner-dots span {
    width: 10px;
    height: 10px;
    background: #2b7e9e;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.2s infinite ease-in-out both;
}

.spinner-dots span:nth-child(1) { animation-delay: -0.32s; }
.spinner-dots span:nth-child(2) { animation-delay: -0.16s; }
.spinner-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.secure-badge {
    background: #eef6ec;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    color: #1f6e43;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.2rem;
}

.info-note {
    background: #fef8e7;
    border-left: 3px solid #f5b042;
    padding: 0.9rem 1.2rem;
    font-size: 0.85rem;
    color: #8a6e2e;
    margin-top: 2rem;
    border-radius: 14px;
    text-align: left;
}

/* Page 2 (landing) styles */
.download-header {
    margin-bottom: 1.5rem;
    border-left: 4px solid #0a66b9;
    padding-left: 1rem;
}

.download-header h2 {
    font-size: 1.65rem;
    color: #0a2540;
    font-weight: 600;
}

.success-check {
    background: #e9f7ef;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 1rem 0;
}

.check-circle {
    background: #2b7e3a;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.download-btn {
    background: #0a66b9;
    width: 100%;
    padding: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 56px;
    cursor: pointer;
    transition: 0.2s;
    margin: 1.2rem 0 0.6rem 0;
    box-shadow: 0 2px 8px rgba(10,102,185,0.2);
    text-align: center;
}

.download-btn:hover {
    background: #095aa3;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(10,102,185,0.25);
}

.instruction-tip {
    background: #fef6e0;
    border-radius: 18px;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    color: #7a6300;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 1.5rem;
    border: 1px solid #ffe2a4;
}

.redirect-message {
    background: #f0f4fa;
    border-radius: 48px;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1.6rem;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.redirect-message:hover {
    background: #e6edf6;
}

.footer-help {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #6f85a3;
}

.footer-help a {
    color: #0a66b9;
    text-decoration: none;
    font-weight: 500;
}

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

/* Windows taskbar simulation */
.windows-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e1e2e;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    z-index: 100;
    backdrop-filter: blur(4px);
    border-top: 1px solid #3a3a4a;
}

.taskbar-icon {
    background: #2a2a38;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-size: 18px;
}

.taskbar-start {
    background: #2b5797;
}

.taskbar-time {
    margin-left: auto;
    color: #ddd;
    font-size: 12px;
    font-family: monospace;
    background: #2a2a38;
    padding: 4px 12px;
    border-radius: 20px;
}

/* subtle camera movement */
@keyframes subtleShake {
    0% { transform: translate(0px, 0px) rotate(0deg); }
    30% { transform: translate(0.6px, -0.2px) rotate(0.02deg); }
    60% { transform: translate(-0.3px, 0.4px) rotate(-0.01deg); }
    85% { transform: translate(0.3px, 0.1px) rotate(0.01deg); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
}

.browser-container {
    animation: subtleShake 5s infinite ease-in-out;
    transform-origin: center;
}

@media (max-width: 680px) {
    .webpage-content {
        padding: 1.5rem;
    }
    .document-title {
        font-size: 1.4rem;
    }
    .download-header h2 {
        font-size: 1.3rem;
    }
    .idme-logo {
        height: 48px;
    }
}