﻿/* ==========================================================
   Secure Message Center v1.0
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI",Arial,sans-serif;
    background: radial-gradient(circle at top, #EEF5FF 0%, #F7FAFF 45%, #FFFFFF 100%);
    color: #1F2937;
}

.page {
    width: 100%;
    padding: 20px 20px 10px;
    display: flex;
    justify-content: center;
}

.hero {
    width: 100%;
    max-width: 1040px;
    text-align: center;
}

/* ==========================================================
   Logo
   ========================================================== */

.logo {
    margin-bottom: 15px;
}

    .logo img {
        width: 80px;
    }

/* ==========================================================
   Headings
   ========================================================== */

h1 {
    font-size: 46px;
    font-weight: 700;
    color: #0F172A;
}

.subtitle {
    margin-top: 18px;
    font-size: 20px;
    font-weight: 600;
    color: #334155;
}

.description {
    width: 720px;
    max-width: 94%;
    margin: 15px auto 20px;
    line-height: 1.7;
    font-size: 16px;
    color: #64748B;
}

/* ==========================================================
   Redirect Card
   ========================================================== */

.redirect-card {
    width: 720px;
    max-width: 95%;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
}

.lock-icon {
    width: 72px;
    height: 72px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #EDF4FF;
}

    .lock-icon img {
        width: 36px;
    }

.redirect-title {
    margin-top: 18px;
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
}

.redirect-description {
    width: 90%;
    margin: 14px auto 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #64748B;
}

/* ==========================================================
   Progress
   ========================================================== */

.progress {
    width: 100%;
    height: 6px;
    border-radius: 30px;
    overflow: hidden;
    background: #E5E7EB;
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, #2563EB, #60A5FA);
}

/* ==========================================================
   Countdown
   ========================================================== */

.countdown {
    margin-top: 18px;
}

    .countdown span {
        display: block;
        font-size: 48px;
        font-weight: 700;
        color: #2563EB;
    }

    .countdown small {
        color: #64748B;
        font-size: 14px;
    }

/* ==========================================================
   Button
   ========================================================== */

.secure-button {
    display: block;
    width: 380px;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 10px 25px rgba(37,99,235,.28);
}

    .secure-button:hover {
        background: #1D4ED8;
        transform: translateY(-2px);
    }

.redirect-note {
    margin-top: 15px;
    color: #64748B;
    font-size: 14px;
}
/* ==========================================================
   Security Section
   ========================================================== */

.security-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    margin: 20px auto;
    flex-wrap: wrap;
}

.security-card {
    flex: 1;
    min-width: 210px;
    max-width: 240px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
    transition: .25s;
}

    .security-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(15,23,42,.10);
    }

.security-icon {
    font-size: 30px;
    margin-bottom: 8px;
}
    .security-icon img {
        width: 30px;
        height: 30px;
    }
.security-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0F172A;
}

.security-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

/* ==========================================================
   Information Panel
   ========================================================== */

.info-panel {
    margin: 20px auto 10px;
    max-width: 760px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

    .info-panel h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .info-panel p {
        font-size: 15px;
        color: #64748B;
        line-height: 1.6;
    }

/* ==========================================================
   Footer
   ========================================================== */

.footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #64748B;
    border-top: 1px solid #E5E7EB;
    background: #FFFFFF;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width:900px) {

    h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .description {
        font-size: 15px;
    }

    .redirect-card {
        padding: 22px;
    }

    .security-section {
        flex-direction: column;
        align-items: center;
    }

    .security-card {
        max-width: 100%;
        width: 100%;
    }
}

/* ==========================================================
   Fade In Animation
   ========================================================== */

.hero {
    animation: fadeIn .7s ease forwards;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   Disabled Button
   ========================================================== */

.secure-button:disabled {
    background: #94A3B8;
    color: #FFFFFF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: .9;
}