:root {
    --primary-color: #FFCF00; /* Lego Yellow-ish */
    --secondary-color: #006CB7; /* Bright Blue */
    --accent-color: #E3000B; /* Bright Red */
    --bg-color: #F8F9FA;
    --text-color: #333;
    --text-light: #666;
    --card-bg: #FFFFFF;
    --hero-bg: #E0F7FA;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Fredoka', sans-serif; /* Friendly, rounded font */
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 16px;
}

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

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

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-large {
    font-size: 1.25rem;
    padding: 16px 32px;
}

/* Header */
.navbar {
    padding: 20px 0;
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

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

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.logo .dot {
    color: var(--accent-color);
}

.navbar nav a {
    margin-left: 20px;
    font-weight: 600;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #E0F7FA 0%, #FFF3E0 100%);
    padding: 140px 0 80px;
    text-align: center;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-color);
}

.hero .highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--primary-color);
    z-index: -1;
    opacity: 0.6;
    border-radius: 4px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Features */
.features {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease;
}

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

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #f0f0f0;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Learning */
.learning {
    padding: var(--spacing-lg) 0;
    background-color: white;
    text-align: center;
}

.learning .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag {
    background: var(--bg-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #ddd;
    font-size: 1.1rem;
}

/* Parents Section */
.parents-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    border-radius: 40px;
    margin: var(--spacing-lg) 20px; /* Slight inset */
}

.parent-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.parents-section h2 {
    font-size: 2.5rem;
    margin: 20px 0;
}

.parents-section p {
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.safety-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.safety-item {
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 12px;
}

.quote-box {
    background: white;
    color: var(--text-color);
    padding: 30px;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.2rem;
    position: relative;
}

.quote-box::after {
    content: '💬';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-logo {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

.footer-links span {
    margin: 0 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .parents-section {
        margin: var(--spacing-md) 10px;
        border-radius: 20px;
        padding: 40px 20px;
    }
}
