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

:root {
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --accent-blue: #3b82f6;
    --accent-amber: #d97706;
    --accent-green: #10b981;
    --accent-rose: #ec4899;
    --accent-red: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-dark: #1e293b;
    --text-soft: #64748b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* hero indicator circle on left */
.scroll-indicator {
    position: fixed;
    left: 15px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    transition: top 0.3s, background 0.3s;
    z-index: 300;
}

#meqsed .section-number {
    opacity: 1;
    color: var(--accent-amber);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a4c 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
    font-size: 50px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-accent {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--primary) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.fade-in {
    animation: fadeInDown 1s ease;
}

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

/* STICKY NAV */
.sticky-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    gap: 40px;
    padding: 15px 20px;
    overflow-x: auto;
    position: relative;
}

.nav-underline {
    position: absolute;
    bottom: 6px;
    height: 3px;
    background: var(--accent-amber);
    border-radius: 4px;
    transition: left 0.45s cubic-bezier(.2,.9,.2,1), width 0.45s cubic-bezier(.2,.9,.2,1), background 0.25s ease;
    z-index: 120;
    left: 0;
    width: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-icon-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.3s ease;
}

.nav-icon-display .section-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* MAIN CONTENT */
main {
    padding: 60px 0;
}

.section-block {
    margin-bottom: 80px;
    animation: slideInUp 0.6s ease;
}

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

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
}

.section-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-blue { background: linear-gradient(135deg, var(--accent-blue) 0%, #0ea5e9 100%); }
.icon-amber { background: linear-gradient(135deg, var(--accent-amber) 0%, #f59e0b 100%); }
.icon-green { background: linear-gradient(135deg, var(--accent-green) 0%, #14b8a6 100%); }
.icon-purple { background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%); }
.icon-rose { background: linear-gradient(135deg, var(--accent-rose) 0%, #f472b6 100%); }
.icon-red { background: linear-gradient(135deg, var(--accent-red) 0%, #f87171 100%); }

.section-title-group {
    flex: 1;
}

.section-number {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.section-title-group h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 30px;
}

.icon-gradient-1 { background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%); }
.icon-gradient-2 { background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%); }
.icon-gradient-3 { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); }
.icon-gradient-4 { background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%); }

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* OBJECTIVES LIST */
.objectives-list {
    display: grid;
    gap: 20px;
}

.objective-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.objective-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

.objective-marker {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.objective-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.objective-content p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* PHASES TIMELINE */
.phases-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.phase-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.35s ease;
    position: relative;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-blue));
    border-radius: 12px 12px 0 0;
}

.phase-1::before { background: linear-gradient(90deg, #3b82f6, #0ea5e9); }
.phase-2::before { background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.phase-3::before { background: linear-gradient(90deg, #10b981, #14b8a6); }

.phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.phase-header {
    margin-bottom: 25px;
}

.phase-badge {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.phase-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

.phase-features {
    list-style: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.phase-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.checkmark {
    color: var(--accent-green);
    font-weight: bold;
}

.phase-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.phase-metrics span {
    color: var(--text-soft);
}

.phase-metrics strong {
    color: var(--text-dark);
}

/* PRINCIPLES GRID */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.principle-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.35s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.principle-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.principle-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.principle-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* VISION CONTENT */
.vision-content {
    display: grid;
    gap: 30px;
}

.vision-statement,
.vision-goals,
.vision-directions {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.vision-statement h3,
.vision-goals h3,
.vision-directions h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.not-list {
    list-style: none;
}

.not-list li {
    padding: 12px;
    margin-bottom: 10px;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 0.95rem;
}

.not-list strong {
    color: var(--accent-red);
    font-weight: 700;
}

.goals-list {
    list-style: none;
}

.goals-list li {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.goal-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.goals-list span:last-child {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.directions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
    transform: translateY(-2px);
}

/* LIMITS SECTION */
.limits-section {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(249, 115, 115, 0.05) 100%);
}

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

.limit-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    position: relative;
}

.limit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.12);
}

.limit-badge {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent-red), #f87171);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.limit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.limit-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer p {
    margin: 10px 0;
    font-size: 0.95rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .section-title-group h2 {
        font-size: 1.6rem;
    }

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

    .nav-content {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .phase-card,
    .feature-card,
    .principle-card {
        margin-bottom: 15px;
    }

    main {
        padding: 40px 0;
    }

    .section-block {
        margin-bottom: 50px;
    }
}
