﻿/* =========================================================
   SMART LOCKER HOME
   ========================================================= */

:root {
    --locker-green: #16a34a;
    --locker-dark: #166534;
    --locker-bright: #22c55e;
    --locker-light: #dcfce7;
    --locker-very-light: #f0fdf4;
    --locker-bg: #f8fafc;
    --locker-text: #172033;
    --locker-muted: #64748b;
    --locker-white: #ffffff;
    --locker-border: #e2e8f0;
}


/* =========================================================
   BASE
   ========================================================= */

.locker-home {
    background: var(--locker-bg);
    color: var(--locker-text);
    overflow: hidden;
}

    .locker-home a {
        text-decoration: none;
    }


/* =========================================================
   NAVBAR
   ========================================================= */

.locker-navbar {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--locker-border);
    padding: 15px 0;
    position: relative;
    z-index: 20;
}

.locker-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--locker-text);
}

    .locker-brand > span:last-child > span {
        color: var(--locker-green);
    }

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--locker-green);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    box-shadow: 0 8px 20px rgba(22,163,74,.22);
}

.locker-navbar .nav-link {
    color: #475569;
    font-weight: 600;
    padding: 9px 14px !important;
}

    .locker-navbar .nav-link:hover {
        color: var(--locker-green);
    }

.locker-login-btn {
    border-radius: 10px;
    font-weight: 600;
}

.locker-primary-btn {
    background: var(--locker-green);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
}

    .locker-primary-btn:hover {
        background: var(--locker-dark);
        color: white;
    }


/* =========================================================
   HERO
   ========================================================= */

.locker-hero {
    position: relative;
    padding: 90px 0 100px;
    background: radial-gradient(circle at 80% 20%, #dcfce7 0, transparent 35%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    background: var(--locker-light);
    color: var(--locker-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.locker-hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

    .locker-hero h1 span {
        color: var(--locker-green);
    }

.hero-description {
    color: var(--locker-muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.locker-hero-btn {
    background: var(--locker-green);
    color: white;
    border-radius: 12px;
    padding: 13px 24px;
    font-weight: 700;
}

    .locker-hero-btn:hover {
        background: var(--locker-dark);
        color: white;
    }

.locker-outline-btn {
    border: 1px solid var(--locker-border);
    background: white;
    color: var(--locker-text);
    border-radius: 12px;
    padding: 13px 24px;
    font-weight: 700;
}

    .locker-outline-btn:hover {
        border-color: var(--locker-green);
        color: var(--locker-green);
    }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: var(--locker-muted);
    font-size: 14px;
}

    .hero-trust i {
        color: var(--locker-green);
        margin-right: 5px;
    }


/* =========================================================
   LOCKER VISUAL
   ========================================================= */

.locker-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.locker-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #dcfce7;
    filter: blur(50px);
    opacity: .8;
}

.locker-machine {
    position: relative;
    width: 380px;
    background: #1e293b;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 30px 70px rgba(15,23,42,.25);
}

.locker-machine-top {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    margin-bottom: 18px;
}

.locker-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--locker-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.locker-machine-top strong {
    display: block;
    font-size: 14px;
}

.locker-machine-top small {
    color: #94a3b8;
    font-size: 10px;
}

.locker-screen {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    margin-bottom: 18px;
}

.screen-icon {
    font-size: 30px;
    color: var(--locker-green);
}

.locker-screen strong {
    display: block;
    font-size: 15px;
}

.locker-screen small {
    color: var(--locker-muted);
}

.locker-doors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.locker-door {
    aspect-ratio: 1;
    border: 1px solid #475569;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #cbd5e1;
    background: #334155;
    font-size: 11px;
}

    .locker-door i {
        font-size: 9px;
        margin-top: 5px;
        color: #94a3b8;
    }


/* =========================================================
   SEARCH
   ========================================================= */

.locker-search-section {
    position: relative;
    margin-top: -35px;
    z-index: 5;
}

.search-card {
    background: white;
    border: 1px solid var(--locker-border);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(15,23,42,.08);
}

.search-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.search-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--locker-light);
    color: var(--locker-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.search-title h3 {
    font-size: 19px;
    margin: 0;
}

.search-title p {
    color: var(--locker-muted);
    margin: 3px 0 0;
    font-size: 13px;
}

.search-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--locker-border);
    border-radius: 10px;
    padding: 0 14px;
    background: white;
}

    .search-input i {
        color: var(--locker-green);
    }

    .search-input input {
        border: none;
        box-shadow: none !important;
        padding: 12px;
    }

.search-button {
    background: var(--locker-green);
    color: white;
    border-radius: 10px;
    font-weight: 700;
}

    .search-button:hover {
        background: var(--locker-dark);
        color: white;
    }


/* =========================================================
   SECTION
   ========================================================= */

.locker-section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

    .section-heading > span,
    .section-label {
        color: var(--locker-green);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .section-heading h2 {
        font-size: 38px;
        font-weight: 800;
        margin: 10px 0 15px;
    }

    .section-heading p {
        color: var(--locker-muted);
        line-height: 1.7;
    }


/* =========================================================
   STEP CARDS
   ========================================================= */

.step-card {
    position: relative;
    background: white;
    border: 1px solid var(--locker-border);
    border-radius: 18px;
    padding: 35px;
    height: 100%;
    transition: .2s ease;
}

    .step-card:hover {
        transform: translateY(-5px);
        border-color: #bbf7d0;
        box-shadow: 0 15px 35px rgba(15,23,42,.08);
    }

.step-number {
    position: absolute;
    right: 25px;
    top: 22px;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
}

.step-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: var(--locker-light);
    color: var(--locker-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.step-card h4 {
    font-weight: 800;
}

.step-card p {
    color: var(--locker-muted);
    line-height: 1.7;
}


/* =========================================================
   MEMBER
   ========================================================= */

.member-section {
    padding: 100px 0;
    background: white;
}

.member-content h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin: 12px 0 20px;
}

    .member-content h2 span {
        color: var(--locker-green);
    }

.member-content > p {
    color: var(--locker-muted);
    line-height: 1.8;
    font-size: 17px;
}

.benefit-list {
    margin: 25px 0;
}

    .benefit-list div {
        margin-bottom: 13px;
        font-weight: 600;
    }

    .benefit-list i {
        color: var(--locker-green);
        margin-right: 8px;
    }


/* =========================================================
   PHONE
   ========================================================= */

.phone-card {
    display: flex;
    justify-content: center;
}

.phone {
    width: 280px;
    background: #0f172a;
    border-radius: 38px;
    padding: 10px;
    box-shadow: 0 30px 70px rgba(15,23,42,.2);
}

.phone-notch {
    width: 90px;
    height: 20px;
    background: #0f172a;
    border-radius: 0 0 15px 15px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: #f8fafc;
    border-radius: 30px;
    min-height: 500px;
    padding: 30px 18px;
    margin-top: -10px;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--locker-green);
    margin-bottom: 25px;
}

.phone-locker-card {
    background: white;
    border: 1px solid var(--locker-border);
    border-radius: 15px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-locker-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--locker-light);
    color: var(--locker-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-locker-card strong,
.phone-locker-card small {
    display: block;
}

.phone-locker-card small {
    color: var(--locker-muted);
    margin-top: 2px;
}

.active-status {
    margin-left: auto;
    font-size: 8px;
    font-weight: 800;
    color: var(--locker-green);
}

.phone-open-button {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: var(--locker-green);
    color: white;
    padding: 13px;
    font-weight: 700;
    margin-top: 15px;
}

.phone-history {
    margin-top: 25px;
    padding: 15px;
    background: var(--locker-light);
    border-radius: 12px;
}

    .phone-history small {
        display: block;
        color: var(--locker-muted);
        margin-bottom: 8px;
    }

    .phone-history div {
        font-size: 12px;
        font-weight: 700;
    }

    .phone-history i {
        color: var(--locker-green);
    }


/* =========================================================
   OWNER
   ========================================================= */

.owner-section {
    padding: 100px 0;
    background: var(--locker-bg);
}

.owner-card {
    background: white;
    border: 1px solid var(--locker-border);
    border-radius: 18px;
    padding: 35px;
    height: 100%;
}

.owner-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: var(--locker-light);
    color: var(--locker-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.owner-card h4 {
    font-weight: 800;
}

.owner-card p {
    color: var(--locker-muted);
    line-height: 1.7;
}

.owner-login-box {
    margin-top: 40px;
    background: var(--locker-dark);
    color: white;
    padding: 25px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .owner-login-box strong,
    .owner-login-box span {
        display: block;
    }

    .owner-login-box span {
        color: #bbf7d0;
        margin-top: 4px;
    }


/* =========================================================
   SMART
   ========================================================= */

.smart-section {
    padding: 100px 0;
    background: white;
}

    .smart-section h2 {
        font-size: 40px;
        font-weight: 800;
        margin: 12px 0 20px;
    }

    .smart-section > .container p {
        color: var(--locker-muted);
        line-height: 1.8;
        font-size: 17px;
    }

.smart-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

    .smart-features div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
    }

    .smart-features i {
        color: var(--locker-green);
        font-size: 20px;
    }

.iot-card {
    max-width: 450px;
    margin: auto;
    background: #0f172a;
    border-radius: 20px;
    padding: 25px;
    color: white;
    box-shadow: 0 25px 60px rgba(15,23,42,.18);
}

.iot-header {
    color: #bbf7d0;
    font-size: 13px;
    font-weight: 700;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 7px;
}

.iot-body {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.iot-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.iot-body strong,
.iot-body small {
    display: block;
}

.iot-body small {
    color: #94a3b8;
    margin-top: 4px;
}

.iot-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid #334155;
    padding-top: 20px;
}

    .iot-status span,
    .iot-status strong {
        display: block;
    }

    .iot-status span {
        color: #94a3b8;
        font-size: 11px;
    }

    .iot-status strong {
        font-size: 13px;
        margin-top: 5px;
    }


/* =========================================================
   CTA
   ========================================================= */

.locker-cta {
    padding: 70px 0;
    background: var(--locker-bg);
}

.cta-box {
    background: var(--locker-green);
    border-radius: 22px;
    padding: 45px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

    .cta-box > div > span {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1px;
        color: #dcfce7;
    }

    .cta-box h2 {
        font-size: 32px;
        font-weight: 800;
        margin: 10px 0;
    }

    .cta-box p {
        color: #dcfce7;
        margin: 0;
    }

.cta-button {
    color: var(--locker-dark);
    border-radius: 11px;
    padding: 13px 22px;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   FOOTER
   ========================================================= */

.locker-footer {
    background: #0f172a;
    color: white;
    padding: 65px 0 20px;
}

.footer-brand {
    color: white;
    margin-bottom: 18px;
}

.locker-footer p {
    color: #94a3b8;
    line-height: 1.8;
    max-width: 450px;
}

.locker-footer h5 {
    font-size: 15px;
    margin-bottom: 18px;
}

.locker-footer a {
    display: block;
    color: #94a3b8;
    margin-bottom: 11px;
    font-size: 14px;
}

    .locker-footer a:hover {
        color: #4ade80;
    }

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 45px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .locker-hero {
        padding: 60px 0 80px;
    }

    .locker-machine {
        width: min(380px, 90%);
    }

    .locker-visual {
        min-height: 430px;
    }

    .owner-login-box,
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {

    .locker-navbar {
        padding: 10px 0;
    }

    .locker-brand {
        font-size: 19px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .locker-hero {
        padding: 45px 0 65px;
    }

        .locker-hero h1 {
            font-size: 42px;
            letter-spacing: -1.5px;
        }

    .hero-description {
        font-size: 16px;
    }

    .hero-trust {
        display: block;
    }

        .hero-trust div {
            margin-bottom: 8px;
        }

    .locker-visual {
        min-height: 390px;
    }

    .locker-machine {
        padding: 16px;
    }

    .locker-section,
    .member-section,
    .owner-section,
    .smart-section {
        padding: 70px 0;
    }

        .section-heading h2,
        .member-content h2,
        .smart-section h2 {
            font-size: 31px;
        }

    .smart-features {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 30px 25px;
    }

        .cta-box h2 {
            font-size: 26px;
        }

    .footer-bottom {
        flex-direction: column;
    }
}
