/* Global Styles */
:root {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --accent-color: #ff9a9e;
    --text-color: #333;
    --bg-color: #f0f8ff;
    --white: #ffffff;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: #2c3e50;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    font-weight: 700;
    color: #555;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.btn-download:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #e0f7fa, #fff);
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-bottom: 2rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    padding: 5px 15px;
    transition: opacity 0.3s;
}

.store-badge:hover {
    opacity: 0.8;
}

.store-badge img {
    height: 100%;
}

.apple-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    line-height: 1.1;
    min-width: 140px;
}

.apple-badge strong {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Features */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fdfdfd;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Gallery */
.gallery {
    padding: 4rem 0;
    background-color: #eef2f3;
}

.gallery h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.screenshot-scroller {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #ddd;
}

.screenshot-scroller::-webkit-scrollbar {
    height: 8px;
}

.screenshot-scroller::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 4px;
}

.screenshot-scroller::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.screenshot-scroller img {
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.screenshot-scroller img:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: rgba(255,255,255,0.8);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
}
