/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.banner-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.banner-img:hover {
    transform: scale(1.02);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(240, 147, 251, 0.02) 100%);
    pointer-events: none;
}

.hero-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #667eea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-text p {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.download-btn {
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.download-btn:hover .store-badge {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.download-btn-text {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.download-btn-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-btn-text:hover::before {
    left: 100%;
}

.download-btn-text:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 250px;
    height: 500px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 35px;
    padding: 15px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #333;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #555;
    border-radius: 2px;
    /* Speaker grille */
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.03);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.app-screenshot {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    box-shadow: 
        inset 0 0 0 1px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.01) 0%, rgba(240, 147, 251, 0.01) 100%);
    pointer-events: none;
}

.info-section h3 {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2d3748 0%, #667eea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.info-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    border-radius: 2px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(240, 147, 251, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit:hover::before {
    opacity: 1;
}

.benefit:hover {
    border-color: #667eea;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.benefit h4 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit p {
    color: #4a5568;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: white;
    margin-top: 2rem;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .banner-img {
        max-height: 80px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-text h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .download-btn-text {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
        transform: none;
        padding: 10px;
        margin: 0 auto;
        animation: none; /* Disable floating on mobile */
    }

    .phone-mockup:hover {
        transform: scale(1.01);
    }

    .store-badge {
        height: 60px;
        width: auto;
    }

    .download-btn-text {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .banner-img {
        max-height: 60px;
    }

    .hero-section {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .info-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .phone-mockup {
        width: 160px;
        height: 320px;
        padding: 8px;
        margin: 0 auto;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.info-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

.feature-icon {
    animation: pulse 3s ease-in-out infinite;
}

/* Loading placeholder for images */
.logo-img[src="images/logo.png"],
.app-screenshot[src="images/app-preview.png"],
.store-badge[src="images/play-store-badge.png"] {
    background-color: #f0f0f0;
    background-image: 
        linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent
        );
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}
