:root {
    --main-background-color: #D6F9E1;
    --primary-green: #059669;
    --primary-green-dark: #047857;
    --primary-green-light: #10B981;
    --green-accent: #87A96B;
    --beige-accent: #F5F5DC;
    --light-mint: #A8E6CF;
    --white: #FFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --yellow-400: #FACC15;
    --purple-100: #F3E8FF;
    --purple-600: #9333EA;
    --pink-100: #FCE7F3;
    --pink-600: #DB2777;
}

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

body {
    font-family: 'Quicksand', -apple-system, Roboto, Helvetica, sans-serif;
    color: var(--gray-900);
    background: var(--main-background-color);
    line-height: 1.5;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 32px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
}

.logo-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--gray-900);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.icon-btn:hover {
    opacity: 0.7;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(135, 169, 107, 0.90) 0%, rgba(168, 230, 207, 0.90) 100%);
}

.hero-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    height: 100%;
}

.hero-content {
    position: relative;
    max-width: 672px;
    padding: 150px 32px;
}

.hero-title {
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title-highlight {
    color: var(--beige-accent);
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 33px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 32px;
    border-radius: 9999px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--gray-50);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Categories Section */
.categories-section {
    padding: 64px 80px;
    background: transparent;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-title {
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 48px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(183px, 1fr));
    gap: 24px;
    max-width: 1216px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
}

.category-title {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.category-count {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: var(--gray-600);
}

/* Trending Section */
.trending-section {
    padding: 64px 80px;
    background: var(--white);
}

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

.view-all-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary-green);
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
    gap: 32px;
}

.class-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.class-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.class-image {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.class-content {
    padding: 24px;
}

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

.class-badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.badge-yoga {
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-green);
}

.badge-meditation {
    background: var(--purple-100);
    color: var(--purple-600);
}

.badge-dance {
    background: var(--pink-100);
    color: var(--pink-600);
}

.class-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-value {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #000;
}

.class-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.class-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.class-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--gray-500);
}

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

.btn-join {
    padding: 8px 24px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-join:hover {
    background: var(--primary-green-dark);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px;
    background: transparent;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title-large {
    font-size: 36px;
    font-weight: 400;
    line-height: 40px;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--gray-600);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.author-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--gray-600);
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 24px;
    color: var(--gray-700);
}

/* CTA Section */
.cta-section {
    padding: 80px 272px;
    background: linear-gradient(90deg, var(--green-accent) 0%, var(--light-mint) 100%);
}

.cta-container {
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 48px;
    color: var(--white);
    margin-bottom: 32px;
}

.cta-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary-cta:hover {
    background: var(--gray-50);
}

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

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--gray-900);
    padding: 48px 80px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-content {
    padding: 0 32px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-400);
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    .nav {
        display: none;
    }

    .hero-container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 80px 16px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 40px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 28px;
    }

    .categories-section,
    .trending-section,
    .testimonials-section {
        padding: 40px 16px;
    }

    .categories-grid,
    .classes-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 60px 16px;
    }

    .cta-title {
        font-size: 32px;
        line-height: 36px;
    }

    .footer {
        padding: 40px 16px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
