:root {
    /* Color Palette */
    --primary: #00667B;
    --primary-light: #4FBCCF;
    --secondary: #3AC1D1;
    --accent: #FFD700;
    --accent-light: #FFF9E6;
    --white: #FFFFFF;
    --bg-light: #F8FBFC;
    --bg-soft: #EDF4F6;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --success: #10B981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00667B 0%, #008AA8 100%);
    --gradient-hero: linear-gradient(135deg, #00667B 0%, #3AC1D1 100%);
    --gradient-card: linear-gradient(160deg, #4FBCCF 0%, #00667B 100%);
    
    /* Spacing & Sizes */
    --container-max-width: 1200px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography */
h1 { font-size: 4rem; line-height: 1.1; font-weight: 800; }
h2 { font-size: 2.5rem; line-height: 1.2; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
p { font-size: 1.1rem; color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 123, 0.4);
}

.btn-primary:hover {
    background-color: #004d5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 123, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #E2E8F0;
    color: var(--text-muted);
}

.btn-outline:hover {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
}

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

.btn-white:hover {
    background-color: #F8FBFC;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Header */
.header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo-icon {
    background: var(--gradient-primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.9rem;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--white);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 100% 0%, var(--bg-soft) 0%, transparent 40%);
}

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

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

/* New Badge Card Overlapping Image */
.badge-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 20;
    min-width: 260px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-icon-circle {
    width: 44px;
    height: 44px;
    background-color: #0F8A4B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.check-icon {
    width: 24px;
    height: 24px;
    stroke-width: 3px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image-container .image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--accent);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
    transform: rotate(15deg);
    line-height: 1;
}

.floating-badge strong { font-size: 1.5rem; display: block; margin-top: 4px; }

/* Features Section */
.section-header h2 { margin-bottom: 10px; }
.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #F1F5F9;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.icon-bg-1 { background-color: #E0F2FE; color: #0EA5E9; }
.icon-bg-2 { background-color: #F0FDF4; color: #22C55E; }
.icon-bg-3 { background-color: #FEF3C7; color: #F59E0B; }
.icon-bg-4 { background-color: #F1F5F9; color: #64748B; }

/* Cognitive Section */
.bg-soft { background-color: var(--bg-soft); }
.cognitive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    margin-top: 60px;
}

.cognitive-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.card-white { background: var(--white); }
.card-dark { background: var(--primary); color: var(--white); }
.card-grey { background: #E2E8F0; grid-column: span 2; }

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    color: var(--secondary);
}

.card-dark .card-tag { color: var(--primary-light); }
.card-dark p { color: rgba(255, 255, 255, 0.8); }

.card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-progress {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 8px solid var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.progress-bar {
    width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-top: 24px;
}

.progress-fill {
    height: 100%;
    background: var(--white);
    border-radius: 3px;
}

.card-content.row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.avatar-group {
    display: flex;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.bg-teal { background-color: var(--secondary); }
.bg-green { background-color: var(--success); }
.bg-yellow { background-color: var(--accent); color: var(--text-dark); }

/* Parents Choice Section */
.parents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rounded-img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.shadowed { box-shadow: var(--shadow-xl); }

.benefits-list {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.benefits-list h4 { margin-bottom: 4px; }
.benefits-list p { font-size: 0.95rem; }

/* CTA Section */
.cta-section {
    padding-bottom: 100px;
}

.cta-box {
    background: var(--gradient-card);
    border-radius: calc(var(--radius-lg) * 1.5);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("https://www.transparenttextures.com/patterns/cubes.png");
    opacity: 0.1;
    pointer-events: none;
}

.cta-title { font-size: 3rem; margin-bottom: 20px; }
.cta-subtitle { color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; }

.cta-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--white);
    border-top: 1px solid #F1F5F9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 40px;
    align-items: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .parents-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-toggle { display: block; }
    .cognitive-grid { grid-template-columns: 1fr; }
    .cognitive-card.grey { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-nav { justify-content: center; gap: 16px; }
    .footer-social { justify-content: center; }
    .cta-info { flex-direction: column; gap: 15px; }
    .section-padding { padding: 60px 0; }
    
    /* Reset badge position on mobile to prevent overflow */
    .badge-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        min-width: unset;
        width: 90%;
    }
}
