/* ===== CSS Variables ===== */
:root {
    --color-primary: #7BC47F;
    --color-primary-dark: #5BA05F;
    --color-secondary: #FFB6C1;
    --color-accent: #FFE4B5;
    --color-background: #FFF9F0;
    --color-text: #4A4A4A;
    --color-text-light: #7A7A7A;
    --color-white: #FFFFFF;
    --color-cream: #FFF5E6;
    --gradient-hero: linear-gradient(135deg, #E8F5E9 0%, #FFF9F0 50%, #FFE4E1 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.1);
    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 30px;
    --radius-full: 50%;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

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

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

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-small);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 600;
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: var(--radius-small);
}

.nav a:hover {
    color: var(--color-primary-dark);
    background: rgba(123, 196, 127, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 54px;
    transition: var(--transition);
}

.store-badge:hover img {
    transform: scale(1.05);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot {
    width: 100%;
    max-width: 400px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

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

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: floatIcon 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.icon-1 { top: 10%; left: 5%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 5%; animation-delay: 1s; }
.icon-3 { bottom: 20%; left: 0; animation-delay: 2s; }
.icon-4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-background);
    padding: 40px 32px;
    border-radius: var(--radius-medium);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== Highlights Section ===== */
.highlights {
    padding: 80px 0;
    background: var(--color-cream);
}

.highlight-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.highlight-item.reverse {
    flex-direction: row-reverse;
}

.highlight-mascot {
    width: 280px;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.highlight-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.highlight-text p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 400px;
}

/* ===== Download Section ===== */
.download {
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-icon {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    margin-bottom: 32px;
}

.download h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.download p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.download-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.15;
    pointer-events: none;
}

.footer-image {
    width: 100%;
    object-fit: cover;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-small);
}

.footer-logo span {
    font-size: 24px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-weight: 600;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 32px;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 8px;
}

.support-email {
    font-size: 20px;
    font-weight: 700;
}

.support-email:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-badges {
        justify-content: center;
    }

    .mascot {
        max-width: 300px;
    }

    .float-icon {
        width: 50px;
        height: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-item,
    .highlight-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .highlight-text p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .highlight-mascot {
        width: 200px;
    }

    .highlight-text h3 {
        font-size: 26px;
    }

    .download h2 {
        font-size: 32px;
    }

    .download-icon {
        width: 100px;
        height: 100px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .store-badge img {
        height: 44px;
    }

    .mascot {
        max-width: 240px;
    }

    .floating-icons {
        display: none;
    }
}
