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

/* System theme detection */
:root {
    color-scheme: light dark;
}

/* Light mode (default) */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: white;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: white;
    }
    
    .app-button {
        background-color: #1a1a1a !important;
        border: 1px solid #333 !important;
    }
    
    .app-button:hover {
        background-color: #2a2a2a !important;
        border-color: #444 !important;
    }
}

/* Container and layout */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* Quote styling */
.quote {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    font-style: italic;
    line-height: 1.4;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Get App title */
.get-app-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* App buttons container */
.app-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Individual app button */
.app-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    min-width: 180px;
    max-width: 200px;
    gap: 0.75rem;
}

.app-button:hover {
    background-color: #e8e8e8;
    border-color: #bbb;
    transform: translateY(-1px);
}

/* App button icons */
.app-button img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

/* Button text container */
.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.button-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.button-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .app-buttons {
        gap: 0.75rem;
    }
    
    .app-button {
        min-width: 160px;
        max-width: 180px;
        padding: 0.625rem 1rem;
    }
    
    .button-text {
        gap: 0.1rem;
    }
    
    .button-subtitle {
        font-size: 0.7rem;
    }
    
    .button-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    
    .quote {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .get-app-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .app-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .app-button {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 0.875rem 1.25rem;
    }
}

/* Accessibility improvements */
.app-button:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Smooth animations */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
