/* =========================================================
   ORI69 Security - Product Authentication System
   Stylesheet
   ========================================================= */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 20px 100px;
    text-align: center;
}

.brand-blue {
    color: #0071BE;
}

/* ================= HEADER ================= */

.site-header {
    background-color: #0071BE;
    padding: 18px 20px;
    text-align: center;
}

.site-header .logo {
    max-height: 55px;
}

/* ================= HERO SECTION (Homepage) ================= */

.hero-section {
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    min-height: 500px;
}

.products-image {
    max-width: 100%;
    width: 460px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 560px;
    margin: 0 auto 35px;
}

/* ================= AUTH SECTION (Authenticate page) ================= */

.auth-section {
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    min-height: 500px;
}

.auth-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 18px;
}

.auth-text {
    font-size: 15px;
    color: #333;
    max-width: 480px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.form-group {
    max-width: 420px;
    margin: 0 auto;
}

.pill-input {
    display: block;
    width: 100%;
    padding: 14px 22px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease;
}

.pill-input:focus {
    border-color: #0071BE;
}

.how-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 8px;
}

.how-text {
    font-size: 14px;
    color: #333;
    max-width: 480px;
    margin: 0 auto 25px;
    line-height: 1.5;
}

.how-gif {
    max-width: 100%;
    width: 260px;
    border-radius: 6px;
}

/* ================= BUTTONS ================= */

.btn-pill {
    background-color: #0071BE;
    color: #fff;
    border: none;
    padding: 15px 65px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-pill:hover {
    background-color: #005a94;
}

.btn-pill:active {
    transform: scale(0.98);
}

.btn-pill:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ================= FOOTER ================= */

.site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.footer-link {
    color: #0071BE;
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ================= RESULT MODAL ================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
}

.result-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 340px;
    padding: 40px 30px 30px;
    border-radius: 14px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}

.result-icon {
    font-size: 46px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 12px;
}

.result-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
}

.result-message {
    font-size: 14px;
    color: #444;
}

/* Authentic state (green) */
.result-modal.authentic .result-icon,
.result-modal.authentic .result-title {
    color: #1e8e3e;
}

/* Fake state (red) */
.result-modal.fake .result-icon,
.result-modal.fake .result-title {
    color: #d93025;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 600px) {
    .hero-title {
        font-size: 26px;
    }
    .auth-title {
        font-size: 24px;
    }
    .btn-pill {
        padding: 14px 45px;
        font-size: 15px;
    }
    .container {
        padding: 35px 18px 80px;
    }
}
