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

:root {
    --dressy-main: #FF5B85;
    --white-text: #FFF;
    --button-bg: #242424;
    --grey-4: #BDBDBD;
    --gray-6: #F2F2F2;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}

/* Header & Logo */
header {
    padding-top: 2rem;
    z-index: 10;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 52px;
    height: 26px;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.text-section {
    width: 50%;
    z-index: 2;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-size: 55px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -3px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.pink-text {
    color: var(--dressy-main);
}

.white-text {
    color: var(--white-text);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.text-section p.description {
    color: var(--grey-4);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* App Buttons */
.app-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    max-width: 100%;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    width: 122px;
    height: 40px;
    padding: 0 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--button-bg);
    color: white;
    justify-content: center;
}

.store-icon {
    width: 86px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.app-store-icon {
    background-image: url("/images/appstore.svg");
}

.google-play-icon {
    background-image: url("/images/googleplay.svg");
}

.ru-store-icon {
    background-image: url("/images/rustore.svg");
}

.app-store, .google-play, .ru-store {
    background-color: var(--button-bg);
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Decoration */
.decoration {
    position: relative;
    width: 50%;
    height: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heart-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-31%, -30%);
    width: 512px;
    height: 488px;  
    z-index: 0;
    scale: 1.7;
    overflow: visible;
}

.heart-bg svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.phones-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    z-index: 1;
}

.phones-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    padding: 2rem 0;
    z-index: 10;
    position: relative;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--dressy-main);
}

.copyright {
    margin-top: 1rem;
    text-align: right;
}

.copyright span {
    color: var(--grey-4);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -1px;
}

/* Responsive */
@media (max-width: 992px) {
    .content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .text-section {
        width: 100%;
        margin-top: 3rem;
    }
    
    h1 {
        font-size: 45px;
        margin: 0 auto 1rem;
        justify-content: center;
    }
    
    .text-section p.description {
        margin: 0 auto 2rem;
    }
    
    .app-buttons {
        margin: 0 auto;
        justify-content: center;
    }
    
    .decoration {
        width: 100%;
        min-height: 400px;
    }
    
    .heart-bg {
        max-width: 400px;
        transform: translate(-38%, -36%);
        scale: 1.3;
    }
    
    .phones-image {
        max-width: 300px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .logo {
        justify-content: center;
    }
    
    h1 {
        font-size: 38px;
    }
    
    .app-button {
        width: 122px;
        height: 40px;
        padding: 0 10px;
    }
    
    .store-icon {
        width: 80px;
        height: 22px;
    }
    
    footer {
        padding: 1rem 0;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .copyright {
        margin-top: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 30px;
        letter-spacing: -1.5px;
    }
    
    .text-section p.description {
        font-size: 14px;
    }
    
    .logo img {
        width: 42px;
        height: 21px;
    }
    
    header {
        margin-bottom: 3rem;
    }
    
    .decoration {
        min-height: 350px;
    }
    
    .heart-bg {
        max-width: 300px;
        scale: 1.06; 
        transform: translate(-50%, -36%);
    }
    
    .phones-image {
        max-width: 250px;
    }
    
    .app-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .app-button {
        width: 110px;
        height: 36px;
        padding: 0 6px;
    }
    
    .store-icon {
        width: 76px;
        height: 20px;
    }
    
    footer {
        padding-bottom: 1.5rem;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .copyright {
        margin-top: 1.5rem;
        text-align: center;
    }
} 