@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
    border:10px solid red;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lotus" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="8" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23lotus)"/></svg>');
    opacity: 0.3;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.urgent-focus {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Navigation Styles */
.navigation {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.nav-item {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #4fa8d8, #3498db);
}

/* Section Styles */
.section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
    scroll-margin-top: 100px;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #34495e;
    margin: 30px 0 20px 0;
}

/* Core Problem Section */
.core-misunderstanding {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.core-misunderstanding h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Step Sequence - FIXED VERSION */
.step-sequence {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
}

.step-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
    white-space: nowrap;
    width: auto;
    display: inline-block;
    min-width: fit-content;
}

.step-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.arrow {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    margin: 0 10px;
}

/* Practical Method Styles */
.practical-method {
    background: #e8f5e8;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #27ae60;
}

.practical-method h3 {
    color: #27ae60;
    margin-top: 0;
}

.practical-method ul {
    padding-left: 20px;
}

.practical-method li {
    margin-bottom: 10px;
}

/* Four Efforts Grid */
.four-efforts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.effort-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #ecf0f1;
    transition: transform 0.3s ease;
    border-top: 4px solid #3498db;
}

.effort-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.effort-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.effort-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.effort-card li {
    margin-bottom: 8px;
    color: #555;
}

/* Foundations Grid */
.foundations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.foundation-card {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.3);
    transition: transform 0.3s ease;
}

.foundation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
}

.foundation-card h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 1.3rem;
}

/* Technique Boxes */
.technique-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #9b59b6;
}

.technique-box h4 {
    color: #9b59b6;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.technique-box ul {
    padding-left: 20px;
}

.technique-box li {
    margin-bottom: 8px;
}

/* Liberation Insight */
.liberation-insight {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(253, 203, 110, 0.3);
}

.liberation-insight h3 {
    color: #8b4513;
    margin-top: 0;
}

/* Moment by Moment */
.moment-by-moment {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid #00cec9;
}

.moment-by-moment h3 {
    color: #00695c;
    margin-top: 0;
}

/* Collective Impact */
.collective-impact {
    background: linear-gradient(135deg, #d63031, #e84393);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(214, 48, 49, 0.3);
}

.collective-impact h3 {
    color: white;
    margin-top: 0;
}

/* Key Points and Emphasis */
.key-point {
    background: rgba(52, 152, 219, 0.15);
    color: #2980b9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.emphasis {
    color: #e74c3c;
    font-weight: 600;
}

/* Return Button */
.return-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.return-button.visible {
    opacity: 1;
    visibility: visible;
}

.return-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* Lists */
ul {
    margin: 15px 0;
}

li {
    margin-bottom: 8px;
}

ol {
    margin: 15px 0;
    padding-left: 25px;
}

ol li {
    margin-bottom: 12px;
}

/* Strong emphasis */
strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    .header h1 {
        font-size: 2.5rem;
    }

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

    .four-efforts-grid,
    .foundations-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 25px 20px;
    }

    .step-sequence {
        flex-direction: column;
        gap: 10px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .step-box {
        width: auto;
        max-width: 250px;
    }

    .return-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section h3 {
        font-size: 1.5rem;
    }
}