/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3d3d3d;
    --secondary-color: #f5f5f7;
    --accent-color: #99D590;
    --text-primary: #2c2e35;
    --text-secondary: #6e6e73;
    --white: #ffffff;
    --gradient-start: #99D590;
    --gradient-end: #83c979;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.logo i {
    font-size: 24px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.4;
}

.hero-description p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s both;
}

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

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */
.philosophy-section {
    background: var(--secondary-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.philosophy-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.philosophy-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.philosophy-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================
   DAILY INSPIRATION
   =================================== */
.daily-inspiration {
    background: var(--white);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--primary-color);
    border-radius: 24px;
    position: relative;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-align: center;
}

.quote-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 24px;
}

.daily-quote {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.quote-date {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   DAILY PRACTICE
   =================================== */
.daily-practice {
    background: var(--secondary-color);
}

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

.practice-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.practice-number {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.practice-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 20px;
    color: var(--text-primary);
}

.practice-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.practice-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--secondary-color);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.practice-tip i {
    color: var(--accent-color);
    font-size: 18px;
}

/* ===================================
   WEEKLY CHALLENGES
   =================================== */
.weekly-challenges {
    background: var(--white);
}

.challenge-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px;
    background: var(--primary-color);
    border-radius: 24px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.challenge-container h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.challenge-container p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.challenge-list {
    list-style: none;
    margin-top: 24px;
}

.challenge-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
}

.challenge-list li:last-child {
    border-bottom: none;
}

.challenge-list li i {
    margin-right: 12px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: var(--secondary-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button i {
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 24px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 16px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description p {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .daily-quote {
        font-size: 22px;
    }

    .philosophy-grid,
    .practice-grid {
        grid-template-columns: 1fr;
    }

    .challenge-container {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.logo-img {
    max-height: 40px;
}
