:root {
    --primary-color: #065f46;
    --secondary-color: #047857;
    --accent-color: #10b981;
    --accent-light: #34d399;
    --text-primary: #064e3b;
    --text-secondary: #6b7280;
    --background-light: #f0fdf4;
    --background-gradient: linear-gradient(135deg, #065f46 0%, #10b981 100%);
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

header {
    background: var(--white);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

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

.main-nav {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::before {
    content: '🌱';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-nav a:hover::before {
    left: -15px;
    opacity: 1;
}

.main-nav a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.join-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.join-link:hover {
    color: var(--accent-color);
}

.logo {
    width: 150px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.cta-button {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.cta-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

#hero {
    background: var(--background-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,32L48,64C96,96,192,160,288,170.7C384,181,480,139,576,128C672,117,768,139,864,170.7C960,203,1056,245,1152,234.7C1248,224,1344,160,1392,128L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-position: bottom;
    background-size: cover;
    opacity: 0.3;
}

#hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    animation: slideInUp 0.8s ease 0.4s both;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    filter: grayscale(0);
}

.stat-info h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.stat-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideInUp 0.8s ease 0.6s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

.community-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--background-gradient);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.member-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.activity-indicator {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: var(--background-light);
    color: var(--text-secondary);
}

.activity-indicator.active {
    background: #dcfce7;
    color: #16a34a;
}

.community-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.recent-activity {
    display: flex;
    align-items: center;
    gap: -10px;
}

.recent-activity img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-right: -10px;
}

.more-users {
    margin-left: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.next-session {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-tag {
    font-weight: 600;
    color: var(--primary-color);
}

.session-time {
    font-size: 0.85rem;
    color: var(--accent-color);
}

.trending-topics {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.topic-tag {
    background: var(--background-light);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.topic-tag:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
}

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

#table-of-contents {
    padding: 4rem 2rem;
}

#table-of-contents ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

#table-of-contents li {
    background: var(--white);
    border: 2px solid var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

#table-of-contents li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

#table-of-contents li:hover::before {
    transform: scaleY(1);
}

#table-of-contents li:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

#table-of-contents a {
    display: block;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

#table-of-contents li:hover a {
    color: var(--secondary-color);
    padding-left: 2rem;
}

.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-light));
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: 35px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 0 4px var(--background-light);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--background-light);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: width 0.6s ease;
}

.duration {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--background-light);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--background-light);
    transition: left 0.3s ease;
}

.faq-item:hover::before {
    left: 0;
}

.faq-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.faq-item p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

#cta {
    background: var(--background-gradient);
    color: var(--white);
    text-align: center;
    padding: 6rem 3rem;
    border-radius: 30px;
    margin: 4rem auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(6, 95, 70, 0.3);
}

#cta::before,
#cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

#cta::before {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    top: -200px;
    left: -100px;
}

#cta::after {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    bottom: -150px;
    right: -50px;
}

#cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

#cta h2::after {
    display: none;
}

#cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

#cta .cta-button {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1rem 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

#cta .cta-button:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23ffffff" d="M0,32L48,37.3C96,43,192,53,288,58.7C384,64,480,64,576,58.7C672,53,768,43,864,48C960,53,1056,75,1152,80C1248,85,1344,75,1392,69.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
    background-size: cover;
    top: -99px;
}

footer p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    opacity: 0.85;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .nav-buttons {
        gap: 1rem;
    }
    
    .join-link {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .platform-cards {
        grid-template-columns: 1fr;
    }
    
    #table-of-contents ul {
        grid-template-columns: 1fr;
    }
    
    #cta h2 {
        font-size: 2rem;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-box {
        justify-content: center;
        text-align: center;
    }
    
    .journey-timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 5px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
}