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

:root {
    --color-primary: #499FA4;
    /* Teal */
    --color-bg: #BEC6C3;
    /* Slate */
    --color-accent: #E9BC8B;
    /* Tangerine */
    --color-text: #3D4A55;
    /* Charcoal */
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-speed);
}

a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    /* Soft gradient overlay for depth */
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.brand-name {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.developer-name {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 0.2rem;
    font-weight: 400;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: white !important;
    /* Ensure text is white */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    min-width: 180px;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
    box-shadow: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: none;
    background-color: #3b8c91;
    /* Slightly darker teal */
    opacity: 1;
}

.btn .icon {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-bottom: 0.1rem;
}

.btn .store-name {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer structure */
.footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 0.5rem;
}

.footer-links a {
    margin: 0 0.5rem;
    font-weight: 400;
}

.separator {
    opacity: 0.5;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
    /* Footer comes in last */
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

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

@keyframes fadeIn {
    to {
        opacity: 0.7;
        /* Match intended opacity */
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .brand-name {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}
/* Modal Styles */
.hidden {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 74, 85, 0.6); /* Charcoal with opacity */
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    animation: scaleUp 0.3s ease-out forwards;
}

.modal-content h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}

.btn-text:hover {
    opacity: 1;
}

@keyframes scaleUp {
    to {
        transform: scale(1);
    }
}

/* Legal Page Styles */
.legal-content {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}
