/* Global Styles */
:root {
    --primary-color: #3B82F6; /* Blue */
    --secondary-color: #8B5CF6; /* Violet */
    --accent-color: #4F46E5; /* Indigo */
    --text-color: #111827;
    --bg-color: #FFFFFF;
    --light-bg: #F5F7FF;
    --footer-bg: #EEF2FF;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 800;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section[id] {
    scroll-margin-top: 90px;
}

/* Header / Nav */
header {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.nav-links a {
    margin-left: 20px;
    font-weight: 600;
    color: var(--text-color);
}

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

/* Hero Section */
.hero {
    padding: 64px 0 32px;
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 55%, #F5F3FF 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #4B5563;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.hero-card-image {
    max-width: 360px;
    border-radius: 28px;
    box-shadow: 0 20px 55px rgba(79, 70, 229, 0.18);
    border: 6px solid #fff;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
}

.apple-mark {
    font-size: 1.35rem;
    line-height: 1;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
}

.store-text-top {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 700;
}

.store-text-bottom {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
    filter: brightness(0.98);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #fff;
    color: var(--text-color);
    border: 2px solid #eee;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 30px;
    background: white;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding: 60px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    background: #fff;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-image {
        margin-bottom: 30px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .btn-store {
        justify-content: center;
    }
}
