/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, hsl(257, 40%, 49%) 0%, hsl(257, 40%, 49%) 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/bg-mobile.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

@media (min-width: 768px) {
    body::before {
        background-image: url('./images/bg-desktop.svg');
    }
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* Header */
.header {
    padding: 30px 0;
}

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

.logo {
    height: 30px;
    width: auto;
}

@media (min-width: 768px) {
    .logo {
        height: 40px;
    }
}

/* Main content */
.main {
    flex: 1;
    padding: 20px 0 60px;
}

@media (min-width: 768px) {
    .main {
        padding: 40px 0 80px;
    }
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        gap: 60px;
        text-align: left;
        align-items: center;
    }
}

.hero-image {
    flex: 1;
    max-width: 100%;
}

.mockup-img {
    width: 100%;
    height: auto;
    max-width: 650px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
}

/* CTA Button */
.cta-button {
    background: white;
    color: hsl(257, 40%, 49%);
    border: none;
    padding: 15px 60px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: hsl(300, 69%, 71%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: 20px 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 30px 0;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .social-links {
        justify-content: flex-end;
        gap: 20px;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: hsl(300, 69%, 71%);
    border-color: hsl(300, 69%, 71%);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 18px;
}

@media (min-width: 768px) {
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 20px;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 12px 50px;
        font-size: 0.9rem;
    }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
}
