/* Future-Ready Kids - Modern Educational Design */

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

:root {
    --primary-blue: #2E86C1;
    --deep-purple: #6C5CE7;
    --bright-green: #00B894;
    --warm-orange: #FF7675;
    --soft-yellow: #FDCB6E;
    --light-blue: #E3F2FD;
    --light-purple: #F3E5F5;
    --light-green: #E8F5E8;
    --warm-white: #FEFEFE;
    --text-dark: #2D3436;
    --text-medium: #636E72;
    --text-light: #B2BEC3;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--light-blue) 100%);
    background-attachment: fixed;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-purple) 100%);
    color: var(--warm-white);
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(46, 134, 193, 0.3);
}

header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff 0%, var(--soft-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--light-blue);
    font-style: italic;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--warm-white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

nav a:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--soft-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--light-green) 50%, var(--light-purple) 100%);
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid var(--bright-green);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,184,148,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.hero h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* Skills Overview */
.skills-overview {
    margin: 4rem 0;
    padding: 3rem 0;
}

.skills-overview h2 {
    color: var(--deep-purple);
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.skill-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.critical-thinking {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--warm-white) 100%);
    border: 2px solid var(--primary-blue);
}

.critical-thinking::before {
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(46, 134, 193, 0.1) 100%);
}

.adaptability {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--warm-white) 100%);
    border: 2px solid var(--bright-green);
}

.adaptability::before {
    background: linear-gradient(135deg, var(--bright-green) 0%, rgba(0, 184, 148, 0.1) 100%);
}

.creativity {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--warm-white) 100%);
    border: 2px solid var(--deep-purple);
}

.creativity::before {
    background: linear-gradient(135deg, var(--deep-purple) 0%, rgba(108, 92, 231, 0.1) 100%);
}

.emotional {
    background: linear-gradient(135deg, #FFE8E6 0%, var(--warm-white) 100%);
    border: 2px solid var(--warm-orange);
}

.emotional::before {
    background: linear-gradient(135deg, var(--warm-orange) 0%, rgba(255, 118, 117, 0.1) 100%);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.skill-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    position: relative;
    z-index: 2;
}

.skill-card a {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-blue);
    color: var(--warm-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.skill-card a:hover {
    background: var(--deep-purple);
    transform: translateY(-2px);
}

/* Posts Section */
.posts-section {
    margin: 4rem 0;
}

.posts-section h2 {
    color: var(--deep-purple);
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.post-card {
    background: var(--warm-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.critical-thinking-post {
    border-color: var(--primary-blue);
}

.critical-thinking-post::before {
    background: var(--primary-blue);
}

.adaptability-post {
    border-color: var(--bright-green);
}

.adaptability-post::before {
    background: var(--bright-green);
}

.creativity-post {
    border-color: var(--deep-purple);
}

.creativity-post::before {
    background: var(--deep-purple);
}

.emotional-post {
    border-color: var(--warm-orange);
}

.emotional-post::before {
    background: var(--warm-orange);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.skill-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.critical-thinking-post .skill-badge {
    background: var(--primary-blue);
}

.adaptability-post .skill-badge {
    background: var(--bright-green);
}

.creativity-post .skill-badge {
    background: var(--deep-purple);
}

.emotional-post .skill-badge {
    background: var(--warm-orange);
}

.post-card h3 {
    margin-bottom: 0.5rem;
}

.post-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.post-card h3 a:hover {
    color: var(--primary-blue);
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.post-card p {
    color: var(--text-medium);
    line-height: 1.6;
    font-weight: 400;
}

/* Featured Resources */
.featured-resources {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-blue) 100%);
    padding: 3rem 2rem;
    margin: 4rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.featured-resources h2 {
    color: var(--deep-purple);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.resource-card {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.resource-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--bright-green);
    color: var(--warm-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: var(--deep-purple);
    transform: translateY(-2px);
}

/* Why These Skills */
.why-these-skills {
    background: var(--warm-white);
    padding: 3rem 2rem;
    margin: 4rem 0;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-left: 6px solid var(--bright-green);
}

.why-these-skills h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.why-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-purple) 100%);
    color: var(--warm-white);
    padding: 3rem 2rem;
    margin: 4rem 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(46, 134, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.newsletter-signup h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.newsletter-signup p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.signup-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem auto;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.signup-form input {
    flex: 1;
    min-width: 280px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: var(--warm-white);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.signup-form input::placeholder {
    color: var(--text-light);
}

.signup-form button {
    background: var(--bright-green);
    color: var(--warm-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.signup-form button:hover {
    background: var(--warm-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.privacy-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 2;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--warm-white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer small {
    color: var(--text-light);
}

/* Post Content Styles */
.post-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--warm-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-blue);
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-blue);
}

.post-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.post-meta {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.post-content h2 {
    color: var(--deep-purple);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--bright-green);
    font-weight: 600;
}

.post-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.post-content ul, .post-content ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.amazon-product {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--warm-white) 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.amazon-product h4 {
    color: var(--deep-purple);
    margin-bottom: 1rem;
    font-weight: 600;
}

.amazon-link {
    background: linear-gradient(135deg, var(--bright-green) 0%, var(--primary-blue) 100%);
    color: var(--warm-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.amazon-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Activity Cards */
.activity-card {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--warm-white) 100%);
    border: 2px solid var(--bright-green);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.activity-card h4 {
    color: var(--deep-purple);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.age-range {
    display: inline-block;
    background: var(--soft-yellow);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.difficulty {
    display: inline-block;
    background: var(--warm-orange);
    color: var(--warm-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .signup-form input,
    .signup-form button {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .post-content {
        padding: 1.5rem 1rem;
    }
    
    .skill-card {
        padding: 2rem 1.5rem;
    }
}