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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 50%, #e8f5e8 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.store-icon {
    height: 30px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.header-nav {
    display: flex;
    gap: 25px;
}

.header-nav a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-nav a:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

/* App Showcase Section */
.app-showcase {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: white;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50vw;
    width: 50vw;
    height: 100%;
    background-image: url('/static/img/background.jpg');
    background-position: 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom-left-radius: 120px;
    border-top-left-radius: 120px;
    z-index: 1;
}

.app-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
    z-index: 2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.showcase-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    animation: fadeInUp 1.2s ease-out;
    min-height: calc(100vh - 200px);
    padding: 80px 40px;
    z-index: 3;
}

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

.phone-frame {
    position: relative;
    width: 280px;
    max-width: 280px;
    z-index: 3;
}



.app-screen {
    width: 100%;
    height: auto;
    border-radius: 28px;
    display: block;
}

.app-details {
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.app-icon-wrapper {
    margin-bottom: 24px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-info {
    max-width: 500px;
}

.app-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.1;
}

.app-category {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 400;
}

.app-description {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.download-btn {
    display: block;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn img {
    height: 50px;
    display: block;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page content for other pages */
.page-content {
    min-height: calc(100vh - 240px);
    max-width: 800px;
    margin: 20px auto;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

.page-content h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.last-updated {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 30px;
}

.page-content section {
    margin-bottom: 30px;
}

.page-content h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.page-content h3 {
    font-size: 1.3rem;
    color: #495057;
    margin: 20px 0 10px 0;
}

.page-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-content li {
    margin-bottom: 5px;
    color: #212529;
}

.page-content p {
    color: #212529;
}

.page-content a {
    color: #007bff;
    text-decoration: none;
}

.page-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Contact page specific */
.contact-info {
    display: grid;
    gap: 40px;
    margin-top: 30px;
}

.contact-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-section h2 {
    border-bottom: none;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-methods {
    display: grid;
    gap: 20px;
}

.contact-method h3 {
    color: #007bff;
    margin-bottom: 5px;
}

.contact-method p {
    color: #212529;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.faq-item p {
    color: #212529;
}

/* Footer */
#footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #2c3e50;
    padding: 25px 0 20px 0;
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-nav {
    text-align: center;
    margin-bottom: 15px;
}

.footer-nav a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #007bff;
}

.footer-copyright {
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-copyright a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: #0056b3;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    
    .header-container {
        padding: 10px 15px;
    }
    
    .header-title {
        font-size: 1.2rem;
    }
    
    .header-nav {
        gap: 15px;
    }
    
    .header-nav a {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    
    #content {
        padding: 0;
    }
    
    .app-showcase::before,
    .app-showcase::after {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background-position: center;
    }
    
    .app-showcase {
        min-height: calc(100vh - 350px);
        background: white;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
        text-align: center;
        min-height: calc(100vh - 350px);
    }
    
    .phone-mockup {
        padding: 0;
        order: 2;
        display: none;
    }
    
    
    .app-details {
        padding: 0 20px;
        order: 1;
        align-items: center;
    }
    
    .phone-frame {
        max-width: 280px;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .app-title {
        font-size: 2.5rem;
    }
    
    .app-description {
        font-size: 1.1rem;
    }
    
    .download-buttons {
        justify-content: center;
        gap: 12px;
    }
    
    .download-btn img {
        width: 140px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 30px 15px;
        border-radius: 15px;
        margin: 10px;
    }
    
    .footer-nav a {
        margin: 0 10px;
        font-size: 0.9rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-title {
        display: none;
    }
    .header-nav {
        gap: 10px;
    }
    
    .header-nav a {
        padding: 4px 6px;
        font-size: 0.8rem;
    }
    
    .showcase-container {
        gap: 20px;
    }
    
    .phone-mockup {
        padding: 0;
    }
    
    .app-details {
        background-color: rgba(0, 0, 0, 0.25);
        padding: 20px 10px;
        border-radius: 20px;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .phone-frame {
        max-width: 240px;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .download-buttons {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .download-btn img {
        width: 130px;
        height: auto;
    }
    
    .footer-nav a {
        display: block;
        margin: 5px 0;
    }
}