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

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-card: #1e2442;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --accent-green: #25d366;
    --accent-purple: #833ab4;
    --accent-purple-light: #a855f7;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header {
    padding: 60px 0;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%),
                      url('8d2ddc29-cc94-45b2-91b8-fa84ed14689f.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, rgba(10, 14, 39, 1), transparent);
    pointer-events: none;
    z-index: 1;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.header-text {
    z-index: 1;
}

.header-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #b8bcc8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.header-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.header-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-icon {
    flex-shrink: 0;
}

.btn-whatsapp {
    background-color: var(--accent-green);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-light) 100%);
    color: #ffffff;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(131, 58, 180, 0.3);
}

.btn-price {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.btn-price:hover {
    background-color: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 24px;
    color: var(--text-primary);
    line-height: 1.4;
}

.about-right {
    display: flex;
    align-items: start;
}

.about-text {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%),
                      url('why.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Trade-in Section */
.tradein-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    position: relative;
    min-height: 380px;
}

.tradein-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tradein-text-wrapper {
    text-align: left;
}

.tradein-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.tradein-text {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.8;
}

.tradein-image {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.tradein-img {
    width: 100%;
    text-align: center;
}

.tradein-help-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff6b35;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
    z-index: 10;
}

.tradein-help-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Footer CTA */
.footer-cta {
    padding: 120px 0;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%),
                      url('why.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
}

.footer-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 1;
}

.footer-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.footer-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Map Section */
.map-section {
    padding: 0;
    margin-bottom: 70px;
    background-color: var(--bg-primary);
}

.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.map-2gis-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.map-2gis-link:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Contacts Section */
.contacts-section {
    padding: 50px 0;
    background-color: var(--bg-primary);
    text-align: center;
}

.contacts-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contacts-phone {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.phone-number {
    font-size: 18px;
}

.contacts-address {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-image {
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tradein-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tradein-text-wrapper {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .header {
        padding: 40px 0;
        min-height: auto;
    }

    .header-title {
        font-size: 32px;
    }

    .header-subtitle {
        font-size: 18px;
    }

    .header-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
    }

    .btn {
        width: auto;
        flex: 0 0 auto;
        padding: 12px 16px;
        font-size: 14px;
    }

    .logo-image {
        max-width: 210px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-section,
    .features-section,
    .tradein-section,
    .footer-cta,
    .contacts-section {
        padding: 60px 0;
    }

    .map-wrapper {
        height: 350px;
    }

    .contacts-title {
        font-size: 24px;
    }

    .contacts-phone {
        font-size: 20px;
    }

    .phone-number {
        font-size: 20px;
    }

    .contacts-address {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-left {
        text-align: center;
    }

    .about-right {
        text-align: center;
    }

    .tradein-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tradein-text-wrapper {
        text-align: center;
    }

    .about-title {
        font-size: 36px;
    }

    .about-subtitle {
        font-size: 20px;
    }

    .about-text {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tradein-title {
        font-size: 36px;
    }

    .tradein-text {
        font-size: 16px;
    }

    .tradein-help-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .footer-title {
        font-size: 28px;
    }

    .footer-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
    }
    
    .footer-buttons .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-title {
        font-size: 24px;
    }

    .header-subtitle {
        font-size: 16px;
    }

    .header-buttons {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .header-buttons .btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-buttons {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .footer-buttons .btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .map-wrapper {
        height: 300px;
    }

    .about-content {
        text-align: center;
    }

    .about-left {
        text-align: center;
    }

    .about-right {
        text-align: center;
    }

    .about-title {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .about-text {
        font-size: 15px;
    }

    .tradein-title {
        font-size: 28px;
    }

    .tradein-text {
        font-size: 15px;
    }

    .contacts-title {
        font-size: 28px;
    }

    .contacts-phone {
        font-size: 18px;
    }

    .phone-number {
        font-size: 18px;
    }

    .contacts-address {
        font-size: 15px;
    }

    .feature-card {
        padding: 20px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.5s;
}

.delay-4 {
    transition-delay: 0.7s;
}

