/* General Setup */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F9F6F2; /* Warm cream */
    color: #333333; /* Charcoal */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
}

/* Header */
.header {
    margin-bottom: 50px;
}

.app-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #8C1F33; /* Elegant burgundy */
    margin: 0;
}

.app-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333333;
    margin-top: 10px;
}

/* Screenshots */
.screenshots-container {
    position: relative;
    height: 600px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* New Device Mockup */
.device-mockup {
    position: absolute;
    width: 290px;
    height: 590px;
    transition: transform 0.3s ease-in-out;
    border-radius: 40px;
}

.device-mockup .bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.device-mockup .screenshot {
    position: absolute;
    top: 2.5%;
    left: 5.2%;
    width: 89.6%;
    height: 95.5%;
    z-index: 1;
    border-radius: 35px;
    object-fit: cover;
}

.mockup1 {
    transform: translateX(-120px);
    z-index: 1;
}

.mockup2 {
    transform: translateX(0);
    z-index: 3;
}

.mockup3 {
    transform: translateX(120px);
    z-index: 1;
}

.screenshots-container:hover .mockup1 {
    transform: translateX(-130px) scale(1.05);
}

.screenshots-container:hover .mockup2 {
    transform: translateX(0) scale(1.05);
}

.screenshots-container:hover .mockup3 {
    transform: translateX(130px) scale(1.05);
}


/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0; /* Light border color */
}

.footer a {
    color: #8C1F33; /* Elegant burgundy */
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer a:hover {
    color: #D4AF37; /* Gold */
    text-decoration: underline;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: left;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.legal-header .back-link {
    display: block;
    text-align: center;
    color: #8C1F33;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
}

.legal-header .back-link:hover {
    color: #D4AF37;
}

.legal-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #8C1F33;
    margin: 0 0 10px 0;
}

.legal-header .last-updated {
    color: #888888;
    font-style: italic;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333333;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content p, .legal-content li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333333;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content a {
    color: #8C1F33;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #D4AF37;
}

.legal-footer {
    margin-top: 50px;
    text-align: center;
}


/* Responsive */
@media (max-width: 768px) {
    .app-title {
        font-size: 3rem;
    }

    .screenshots-container {
        height: auto;
        flex-direction: column;
        gap: 30px;
        padding: 20px 0;
    }

    .device-mockup {
        position: relative;
        width: 280px;
        height: 570px;
        transform: none !important;
        z-index: 1;
    }

    .mockup1, .mockup2, .mockup3 {
        transform: none !important;
        z-index: 1;
    }

    .screenshots-container:hover .mockup1,
    .screenshots-container:hover .mockup2,
    .screenshots-container:hover .mockup3 {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2.5rem;
    }
    
    .screenshots-container {
        height: auto;
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .device-mockup {
        position: relative;
        width: 260px;
        height: 530px;
        transform: none !important;
        z-index: 1;
    }

    .mockup1, .mockup2, .mockup3 {
        transform: none !important;
        z-index: 1;
    }

    .screenshots-container:hover .mockup1,
    .screenshots-container:hover .mockup2,
    .screenshots-container:hover .mockup3 {
        transform: scale(1.02) !important;
    }

    .footer a {
        display: block;
        margin: 10px 0;
    }
}
