/* Global Styles */
:root {
    --primary-color: #FF6B6B; /* Soft Red */
    --secondary-color: #4ECDC4; /* Soft Teal */
    --accent-color: #FFE66D; /* Soft Yellow */
    --text-color: #2D3436;
    --bg-color: #F7FFF7;
    --card-bg: #FFFFFF;
    --footer-bg: #2D3436;
    --footer-text: #F7FFF7;
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Quicksand', sans-serif;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

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

a:hover {
    opacity: 0.8;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.download-btn-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Add a fun background blob/shape */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 50% 0 0 50%;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-direction: column-reverse; /* Mobile first: text below image or change to column normally */
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-image {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #636e72;
}

.app-store-btn img {
    height: 50px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px; /* Constrain height */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.1);
}

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

/* Gallery Section */
.gallery {
    padding: 4rem 0;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.gallery-item {
    text-align: center;
    max-width: 400px;
}

.gallery-item img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.caption {
    margin-top: 1rem;
    font-weight: 700;
    color: #636e72;
}

/* Privacy Section */
.privacy {
    padding: 4rem 0;
    background-color: #f1f2f6;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.privacy-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.text-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
}

.full-policy {
    text-align: left;
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hidden {
    display: none;
}

.full-policy h3, .full-policy h4 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: var(--secondary-color);
}
