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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Image Loading Styles */
img {
    transition: opacity 0.3s ease;
}

img.loading {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Image placeholder while loading */
.feature-image.loading, 
.gallery-image.loading, 
.app-screenshot.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 200px;
    border-radius: 15px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Stop shimmer when image is loaded */
.feature-image.loaded,
.gallery-image.loaded,
.app-screenshot.loaded {
    background: none;
    animation: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-logo h2 {
    font-family: 'Fredoka One', cursive;
    color: #FF6B6B;
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B6B;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

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

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #FFD93D, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 2.5rem;
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-3px);
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFE4E6, #E6F3FF);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-demo {
    padding: 2rem 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.demo-header {
    font-size: 1.2rem;
    color: #FF6B6B;
    font-weight: 700;
    margin-bottom: 2rem;
}

.demo-letter {
    font-size: 4rem;
    color: #4ECDC4;
    font-weight: 900;
    margin-bottom: 1rem;
}

.demo-word {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-image {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-emoji:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-emoji:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.floating-emoji:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.floating-emoji:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.floating-emoji:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

/* Section Styles */
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Why Love Section */
.why-love {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFE4E6, #E6F3FF);
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #fff;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

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

.feature-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.feature-icon-large {
    font-size: 4rem;
    min-width: 100px;
    text-align: center;
}

.feature-screenshot {
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.feature-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-image:hover::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInZoom 0.3s ease forwards;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.feature-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-text p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.feature-list li {
    color: #4ECDC4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.story-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.story-item {
    background: linear-gradient(45deg, #FFE4E6, #E6F3FF);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* Adventure Section */
.adventure {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.adventure .section-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

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

.adventure-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.adventure-card:hover {
    transform: translateY(-10px);
}

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

.adventure-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* App Gallery Section */
.app-gallery {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-description {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Perfect For Section */
.perfect-for {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.stage-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #FF6B6B;
}

.stage-card:nth-child(2) {
    border-left-color: #4ECDC4;
}

.stage-card:nth-child(3) {
    border-left-color: #FFD93D;
}

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

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

.stage-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFE4E6, #E6F3FF);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FF6B6B;
    font-family: 'Fredoka One', cursive;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-download i {
    font-size: 2rem;
    color: #4ECDC4;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.download-large {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #fff;
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: #FF6B6B;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #4ECDC4;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    font-family: 'Fredoka One', cursive;
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-info h4 {
    color: #4ECDC4;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links ul,
.footer-info ul {
    list-style: none;
}

.footer-links ul li,
.footer-info ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #FF6B6B;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
        padding: 15px;
    }

    .demo-letter {
        font-size: 3rem;
    }

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

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

    .feature-content {
        flex-direction: column;
        text-align: center;
    }

    .feature-screenshot {
        min-width: auto;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .feature-image {
        max-height: 300px;
    }

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

    .gallery-image {
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

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

    .badge {
        font-size: 0.9rem;
    }

    .floating-emoji {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }
} 