/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Image Rules */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    color: #ffffff;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: #8B5CF6;
    border-color: #8B5CF6;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 100%);
}

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

.app-logo {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    margin: 0 auto 30px auto !important;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    animation: float 3s ease-in-out infinite;
    object-fit: cover !important;
    display: block !important;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a8a8a8;
    margin-bottom: 40px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* App Store Button */
.app-store-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.app-store-badge {
    height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    max-height: 50px !important;
    object-fit: contain !important;
}

.app-store-badge-large {
    height: 60px !important;
    max-width: 240px !important;
    max-height: 60px !important;
}

/* Legacy button styles (kept for compatibility) */
.app-store-button {
    display: inline-flex;
    align-items: center;
    background: #000000;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333;
    min-width: 180px;
    justify-content: center;
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
}

.app-store-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-text {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: -2px;
}

.app-store-button-large {
    min-width: 200px;
    padding: 16px 32px;
}

.app-store-button-large .store-name {
    font-size: 24px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #0f0f0f;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #a8a8a8;
}

/* App Showcase Section */
.app-showcase {
    padding: 80px 0;
    background: #0f0f0f;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    max-height: 650px !important;
    object-fit: contain !important;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.showcase-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.showcase-text h3 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.showcase-text p {
    color: #a8a8a8;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #1a1a1a;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.step p {
    color: #a8a8a8;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d1b69 0%, #1a1a1a 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta p {
    font-size: 1.25rem;
    color: #a8a8a8;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-info p {
    color: #a8a8a8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #a8a8a8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B5CF6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-logo {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .app-screenshot {
        max-width: 250px;
    }
    
    .showcase-features {
        padding: 0 20px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}