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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #e5e5e5;
    min-height: 100vh;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Main content */
main {
    width: 100%;
    max-width: 1200px;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 80vh;
}

/* Hero content */
.hero-content {
    flex: 1;
    max-width: 400px;
}

.hero-content h1 {
    font-family: 'Adamina', serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 3rem;
    line-height: 1.3;
}

/* App store button */
.app-store-buttons {
    margin-top: 2rem;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-store-button img {
    height: 60px;
    width: auto;
}

/* Hero phones */
.hero-phones {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phones-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.phones-image:hover {
    transform: scale(1.02);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
        justify-content: flex-start;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-phones {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .phones-image {
        max-width: 400px;
        content: url('images/phone-mobile.png');
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }
    
    .hero-content h2 {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        margin-bottom: 2rem;
    }
    
    .app-store-button img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 0.5rem;
    }
    
    .hero {
        gap: 2rem;
    }
    
    .hero-phones {
        max-width: 300px;
    }
    
    .phones-image {
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .app-store-button img {
        height: 45px;
    }
}

/* Creative mobile interactions */
@media (hover: none) and (pointer: coarse) {
    .phones-image {
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .phones-image:active {
        transform: scale(0.98);
    }
}

/* Smooth animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading animation */
.phones-image {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}