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

:root {
    --level-1-color: #10b981;
    --level-2-color: #3b82f6;
    --level-3-color: #8b5cf6;
    --level-4-color: #f59e0b;
    --level-5-color: #ef4444;
    --bg-dark: #0f172a;
    --bg-medium: #1e293b;
    --bg-light: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    text-align: center;
    padding: 40px 24px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

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

.hero-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    font-size: 2rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Progress Overview */
.progress-overview {
    padding: 80px 0;
    background: var(--bg-medium);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

.journey-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.1);
}

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 12px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.timeline-item[data-level="1"] .timeline-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.timeline-item[data-level="2"] .timeline-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.timeline-item[data-level="3"] .timeline-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.timeline-item[data-level="4"] .timeline-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.timeline-item[data-level="5"] .timeline-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.timeline-duration {
    font-size: 0.85rem;
    opacity: 0.6;
    font-style: italic;
}

.timeline-connector {
    width: 40px;
    height: 4px;
    background: var(--bg-light);
    flex-shrink: 0;
}

/* Level Cards */
.levels-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.level-card {
    background: var(--bg-medium);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.level-5-special {
    border: 3px solid #ef4444;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
}

.level-header {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.level-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="1"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
}

.level-1-bg {
    background: linear-gradient(135deg, #10b981, #059669);
}

.level-2-bg {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.level-3-bg {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.level-4-bg {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.level-5-bg {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.level-badge {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.level-info h2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.level-tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 12px;
}

.level-timeline {
    font-size: 1.1rem;
    opacity: 0.9;
}

.level-timeline i {
    margin-right: 8px;
}

.level-body {
    padding: 40px;
}

.level-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.milestones-section {
    margin-bottom: 40px;
}

.milestones-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.milestone-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.milestone-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.master-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.tier-x-highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border: 2px solid rgba(251, 191, 36, 0.5);
}

.milestone-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.milestone-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.milestone-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.speed-milestone {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
}

.speed-list {
    list-style: none;
    margin-top: 12px;
}

.speed-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.speed-time {
    background: rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.transition-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    margin-top: 30px;
}

.transition-box h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.level-achievements {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    margin-top: 30px;
}

.level-achievements h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.level-achievements ul {
    list-style: none;
}

.level-achievements li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.level-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.master-summary {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(239, 68, 68, 0.5);
    margin-top: 30px;
}

.master-summary h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.master-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.master-point {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.master-point i {
    color: #10b981;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.celebration-box {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
    color: #1f2937;
}

.celebration-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.celebration-box h4 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.celebration-box p {
    font-size: 1.1rem;
    font-weight: 500;
}

.level-footer {
    text-align: center;
    margin-top: 30px;
}

.expand-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Stats Dashboard */
.stats-dashboard {
    padding: 80px 0;
    background: var(--bg-medium);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.dashboard-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-value {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
}

.progress-slider {
    width: 100%;
    margin-top: 16px;
    height: 8px;
    border-radius: 4px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    -webkit-appearance: none;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
}

.progress-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    border: none;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.5s ease;
    border-radius: 6px;
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

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

.tip-card {
    background: var(--bg-medium);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tip-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tip-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.tip-card p {
    opacity: 0.85;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-message {
    margin-bottom: 40px;
}

.footer-message h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.footer-message p {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.8;
}

.footer-quote {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid rgba(102, 126, 234, 0.8);
}

.footer-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 12px;
}

.footer-quote span {
    font-size: 1rem;
    opacity: 0.7;
}

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

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

    .hero-stats {
        gap: 30px;
    }

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

    .stat-label {
        font-size: 0.9rem;
    }

    .journey-timeline {
        flex-direction: column;
    }

    .timeline-connector {
        width: 4px;
        height: 40px;
    }

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

    .level-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .level-badge {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .level-info h2 {
        font-size: 2rem;
    }

    .level-tagline {
        font-size: 1.1rem;
    }

    .level-body {
        padding: 20px;
    }

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

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.level-card {
    animation: fadeInUp 0.6s ease-out;
}

.milestone-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.milestone-card:nth-child(1) { animation-delay: 0.1s; }
.milestone-card:nth-child(2) { animation-delay: 0.2s; }
.milestone-card:nth-child(3) { animation-delay: 0.3s; }
.milestone-card:nth-child(4) { animation-delay: 0.4s; }
.milestone-card:nth-child(5) { animation-delay: 0.5s; }
.milestone-card:nth-child(6) { animation-delay: 0.6s; }
.milestone-card:nth-child(7) { animation-delay: 0.7s; }
.milestone-card:nth-child(8) { animation-delay: 0.8s; }