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

:root {
    --primary-blue: #4682B4;
    --secondary-blue: #5B9BD5;
    --light-blue: #87CEEB;
    --dark-blue: #2F5F8F;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --background: #f5f7fa;
    --card-background: rgba(255, 255, 255, 0.85);
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Gradient Background */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(0, 122, 255, 0.4) 0%, rgba(255, 149, 0, 0.35) 100%),
        #f5f5f7;
    z-index: -1;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.app-icon-container {
    margin-bottom: 1.5rem;
}

.app-icon {
    width: 160px;
    height: 160px;
    border-radius: 32px;
    background: white;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge {
    height: 50px;
    width: auto;
}

.app-store-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Card Styles */
.card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(70, 130, 180, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

/* Features Section */
.features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(245, 247, 250, 0.5);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: background 0.2s ease;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:hover {
    background: rgba(245, 247, 250, 0.8);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Screenshots Section */
.screenshots {
    margin-bottom: 2rem;
}

.screenshots-grid {
    display: grid;
    gap: 1rem;
}

.screenshot-placeholder {
    background: rgba(245, 247, 250, 0.5);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
    border: 2px dashed rgba(70, 130, 180, 0.3);
}

.screenshot-placeholder p {
    font-size: 1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

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

    .tagline {
        font-size: 1.1rem;
    }

    .app-icon {
        width: 140px;
        height: 140px;
        border-radius: 28px;
    }

    .card {
        padding: 1.25rem;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .feature-icon {
        margin-top: 0;
    }
}

@media (min-width: 641px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
