:root {
    --bg: #f6f6f6;
    --panel: rgba(16, 18, 26, 0.72);
    --ink: #2f2f2f;
    --line: #cfcfcf;
    --dark: #0e1018;
    --muted: #666666;
}

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

body {
    font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
}

header {
    background: rgba(6, 7, 11, 0.75); backdrop-filter: saturate(150%) blur(14px);
    color: #ffffff;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 18px;
}

.logo-wrap img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 600;
}

nav a {
    text-decoration: none;
    color: #f5f5f5;
    padding: 10px 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

nav a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

nav a.active {
    color: #ffffff;
    border-color: #ffffff;
}

.nav-icons {
    display: flex;
    gap: 18px;
    font-size: 14px;
    opacity: 0.98;
    align-items: center;
}

.nav-login-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #9b9b9b;
    border-radius: 6px;
    padding: 6px 14px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.9px;
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nav-login-btn-link:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.is-hidden {
    display: none !important;
}

.nav-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-icon:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

.nav-menu-toggle {
    display: none;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nav-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.nav-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.nav-menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(220px, 90vw);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(10, 12, 18, 0.97);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    z-index: 30;
}

.nav-menu-panel a {
    display: block;
    padding: 11px 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu-panel a:last-child {
    border-bottom: 0;
}

.nav-menu-panel a:hover {
    background: rgba(230, 57, 70, 0.1);
    color: #f6e4cb;
}

.nav-menu-panel.is-hidden {
    display: none;
}

.nav-menu-panel:not(.is-hidden) {
    display: block;
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 20px 60px;
    display: flex;
    justify-content: center;
}

.forgot-panel {
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.brand-mark img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-mark span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
    text-transform: none;
}

.subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.title-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
    margin: 0 auto 22px;
}

.form-card {
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 24px 20px 18px;
    text-align: left;
    background: var(--panel);
    box-shadow: none;
}

.field-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

input[type="email"] {
    width: 100%;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 7, 11, 0.6);
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: #a9a9a9;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

input[type="email"]::placeholder {
    color: #5a6a82;
}

.send-btn {
    width: 100%;
    height: 44px;
    border: 0; border-radius: 12px; background: #06070b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 20px;
    transition: opacity 0.2s ease;
}

.send-btn:hover {
    opacity: 0.95;
}

.foot-line {
    border-top: 1px solid #cecece;
    padding-top: 12px;
    text-align: center;
    font-size: 12px;
    color: #8a9cb8;
}

.foot-line a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer { background: #06070b;
    color: #f1f1f1;
    padding: 28px 20px 18px;
}

.footer-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.8px;
}

.footer-col p,
.footer-col a {
    font-size: 12px;
    line-height: 1.5;
    color: #dddddd;
    text-decoration: none;
}

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

.footer-note {
    margin-top: 8px;
    color: #7a8ca6;
}

.footer-bottom {
    max-width: 1180px;
    margin: 16px auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    color: #c6c6c6;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    header {
        padding: 12px 14px;
    }

    .nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 12px;
    }

    .logo-wrap {
        font-size: 16px;
        letter-spacing: 1.6px;
    }

    .logo-wrap img {
        width: 48px;
        height: 48px;
    }

    nav,
    .nav-icons,
    .nav-login-btn-link,
    .nav-contact-link,
    .nav-account-link,
    .nav-order-link {
        display: none !important;
    }

    .nav-menu-toggle {
        display: inline-flex !important;
    }

    .form-card {
        padding: 20px 16px 16px;
    }

    .forgot-panel {
        max-width: 100%;
    }

    .footer-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    main {
        padding: 24px 12px 44px;
    }

    .logo-wrap {
        gap: 10px;
        font-size: 15px;
        letter-spacing: 1.4px;
    }

    .logo-wrap img {
        width: 44px;
        height: 44px;
    }

    .logo-wrap span {
        display: inline !important;
        white-space: nowrap;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .brand-mark {
        gap: 8px;
        margin-bottom: 8px;
    }

    .brand-mark img {
        width: 40px;
        height: 40px;
    }

    .brand-mark span {
        font-size: 13px;
        letter-spacing: 1.2px;
    }

    h1 {
        font-size: 18px;
        letter-spacing: 0.3px;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 12px;
        line-height: 1.55;
        max-width: 320px;
        margin: 0 auto 16px;
    }

    .title-line {
        margin-bottom: 16px;
    }

    .form-card {
        padding: 18px 14px 14px;
        border-radius: 12px;
    }

    label {
        font-size: 13px;
    }

    input[type="email"] {
        height: 44px;
        font-size: 16px;
        border-radius: 10px;
    }

    .send-btn {
        height: 46px;
        border-radius: 10px;
        font-size: 14px;
        letter-spacing: 0.9px;
        margin-bottom: 16px;
    }

    .foot-line {
        font-size: 11px;
        padding-top: 10px;
    }

    .site-footer {
        padding: 20px 14px 14px;
    }

    .footer-wrap {
        grid-template-columns: 1fr;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 12px;
    }

    .footer-col p,
    .footer-col a,
    .footer-bottom {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    main {
        padding: 20px 10px 38px;
    }

    .form-card {
        padding: 16px 12px 12px;
    }

    .send-btn {
        font-size: 13px;
        letter-spacing: 0.7px;
    }
}
