:root {
    --yellow: #FFB703;
    --navy: #023047;
    --coral: #FB8500;
    --sky: #8ECAE6;
    --teal: #219EBC;
    --white: #FFFFFF;
    --bg-light: #FFFBFA;
}

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

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: var(--bg-light);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
.logo,
.streak-badge,
.coins,
h3 {
    font-family: 'Fredoka One', cursive;
}

/* Blobs */
.blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    opacity: 0.2;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--sky);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--yellow);
    bottom: 20%;
    right: -150px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    color: var(--coral);
}

.btn-download {
    background-color: var(--teal);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 6px 0 #126b80;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-download:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #126b80;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70vh;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.streak-badge {
    display: inline-block;
    background: #FFF3E0;
    color: var(--coral);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    margin-bottom: 20px;
    border: 2px solid var(--coral);
    transform: rotate(-5deg);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--navy);
}

.highlight {
    color: var(--coral);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.btn-start {
    background-color: var(--yellow);
    color: var(--navy);
    border: none;
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 0 #D49600;
    font-family: inherit;
    transition: transform 0.1s, box-shadow 0.1s;
    animation: bounce 2s infinite;
}

.btn-start:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 #D49600;
    animation: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Phone Mockup */
.hero-app-mock {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 20px 20px 60px rgba(2, 48, 71, 0.2);
    transform: rotate(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.avatar {
    font-size: 30px;
    background: var(--sky);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.coins {
    background: #FFFDF0;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    font-size: 16px;
}

.lesson-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 3px solid var(--teal);
    box-shadow: 0 8px 0 var(--teal);
    margin-bottom: 40px;
}

.lesson-card h3 {
    color: var(--teal);
    margin-bottom: 10px;
    font-size: 20px;
}

.lesson-card p {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-play {
    background: var(--coral);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    width: 100%;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 6px 0 #cc6b00;
    font-family: inherit;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #E0E0E0;
    border-radius: 10px;
    margin-bottom: 'auto';
    overflow: hidden;
}

.progress-fill {
    width: 60%;
    height: 100%;
    background: var(--yellow);
    border-radius: 10px;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    border-top: 2px solid #E0E0E0;
    padding-top: 15px;
    font-weight: 800;
    font-size: 12px;
    color: var(--navy);
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    border: 4px solid var(--navy);
    box-shadow: 8px 8px 0 var(--navy);
}

.feature-box .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--navy);
}

.card-yellow {
    background: var(--yellow);
}

.card-coral {
    background: var(--coral);
    color: white;
}

.card-teal {
    background: var(--teal);
    color: white;
}

.card-coral h3,
.card-teal h3 {
    color: white;
}

.footer {
    text-align: center;
    padding: 40px;
    background: var(--navy);
    color: var(--white);
    font-weight: 800;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

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