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

html, body {
    min-height: 100%;
}

html{
    background-color: #000;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    background-image:
        url('/bg.jpg'),
            linear-gradient(180deg, rgba(94, 75, 67, 0.69) 0%, rgba(46, 31, 27, 0.69) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    background-blend-mode: multiply;
}
.landing {
    max-width: 1920px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    color: white;
    margin: auto;
    width: 100%;
    padding: 0 15px;
    min-height: 100vh;
}
.content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    align-items: flex-start;
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    width: 100%;
    padding: 30px 0;
}

.logo {
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    flex-shrink: 0;
    max-width: 150px;
}

.legal-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: end;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    padding: 6px;
    transition: none;
    white-space: nowrap;
}

.catalog-container {
    width: 100%;
    z-index: 10;
}

.catalog-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 88px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.85);
    letter-spacing: 1px;
    width: 100%;
    white-space: normal;
}

.download-phrase {
    color: rgba(255, 255, 255, 0.85);
    font-size: 44px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.phone-form {
    height: 125px;
    background: #02060e;
    border-radius: 5px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 15;
    gap: 20px;
}

.phone-input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 42px;
    font-weight: 600;
    padding: 0 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.8px;

    width: 19ch;
}

.phone-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 42px;
    letter-spacing: 0.8px;
}

.phone-input:focus {
    outline: none;
}

.request-btn {
    height: 100%;
    width: 450px;
    margin: 0;
    flex-shrink: 0;
    background: #bf9e77;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(191, 158, 119, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.request-btn:hover:not(:disabled) {
    background: #a88b68;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(191, 158, 119, 0.7);
}

.request-btn:disabled {
    background: #666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.footer-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 10;
    padding: 30px 0;
}

.consent-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    line-height: 1.4;
    flex: 1;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.consent-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-phone {
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    text-align: right;
}

.contact-phone a {
    color: inherit;
    text-decoration: none;
}

/* МОДАЛЬНЫЕ ОКНА */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, #02060e 0%, #1a1f2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    max-width: 100%;
    width: 410px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    overflow-y: auto;
    margin: 0 20px;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal h3 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkmark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.checkmark-circle {
    stroke: #bf9e77;
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    stroke-linecap: round;
    animation: drawCircle 0.5s ease-in-out forwards;
}

.checkmark-path {
    stroke: #bf9e77;
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    stroke-linecap: round;
    animation: drawCheck 0.5s ease-in-out 0.3s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.modal p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.choice-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.choice-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #bf9e77, #a88b68);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(191, 158, 119, 0.4);
    white-space: nowrap;
}

.choice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(191, 158, 119, 0.6);
}

.success-text {
    color: #bf9e77 !important;
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
}

.email-form {
    margin-top: 15px;
}

.email-input {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    margin-bottom: 12px;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    outline: none;
    border-color: #bf9e77;
    box-shadow: 0 0 0 3px rgba(191, 158, 119, 0.2);
}

.footer-info .legal-links{
    display: none;
}

@media (max-width: 1600px) {
    .catalog-text{
        font-size: 58px;
    }

    .download-phrase{
        font-size: 34px;
    }

    .phone-input, .phone-input::placeholder, .request-btn{
        font-size: 28px;
    }

    .phone-input{
        width: 20ch;
    }

    .phone-form{
        height: 85px;
    }
}

@media (max-width: 1024px) {
    .catalog-text{
        font-size: 42px;
    }

    .download-phrase{
        font-size: 28px;
    }

    .phone-input, .phone-input::placeholder, .request-btn{
        font-size: 24px;
    }

    .phone-input{
        width: 21ch;
    }

    .phone-form{
        height: 60px;
    }
}

@media (max-width: 992px) {
    .phone-form{
        flex-wrap: wrap;
        height: auto;
        gap: 0;
        width: 100%;
    }

    .phone-input{
        text-align: center;
        height: 46px;
    }

    .request-btn{
        width: 100%;
        height: 46px;
    }
}

@media (max-width: 768px) {
    .catalog-text{
        font-size: 32px;
    }

    .download-phrase{
        font-size: 22px;
    }

    .phone-input, .phone-input::placeholder, .request-btn{
        font-size: 20px;
    }
}

@media (max-width: 580px) {
    .header-container{
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .header-container .legal-links{
        display: none;
    }

    .legal-links{
        justify-content: center;
    }

    .footer-info{
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-info .legal-links{
        display: flex;
        gap: 5px;
    }

    .consent-text{
        width: 100%;
        order: 2;
        text-align: center;

        font-size: 10px;
    }

    .legal-links a{
        font-size: 10px;
    }

    .contact-phone{
        width: 100%;
        text-align: center
    }


}