@import url('base.css');

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 2rem 4rem;
    min-height: 100vh;
    position: relative;
}

main h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #0096ff 50%, #66b3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.intro-section {
    margin: 2rem 0;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(0, 150, 255, 0.2);
    backdrop-filter: blur(20px);
}

.intro-section h2 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-section p {
    font-size: 0.875rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0.875rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-section strong {
    color: #0096ff;
    font-weight: 600;
}

.intro-section a {
    color: #66b3ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.intro-section a:hover {
    color: #0096ff;
}

.guide-pathway {
    margin: 2rem 0;
    position: relative;
}

.guide-pathway::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #0096ff, transparent);
    z-index: -1;
}

.pathway-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    position: relative;
}

.pathway-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
}

.pathway-number {
    background: linear-gradient(135deg, #0096ff 0%, #0066cc 100%);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.pathway-section > p {
    color: #cccccc;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    margin-left: 3rem;
    position: relative;
    padding-left: 0.875rem;
}

.pathway-section > p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #0096ff, #66b3ff);
    border-radius: 2px;
}

.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-left: 3rem;
}

.guide-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.guide-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #0096ff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 150, 255, 0.2);
}

.guide-item h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.guide-item h4 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.guide-item h4 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0096ff, #66b3ff);
    transition: width 0.3s ease;
}

.guide-item h4 a:hover::after {
    width: 100%;
}

.guide-item h4 a:hover {
    color: #0096ff;
}

.guide-item p {
    margin: 0;
    font-size: 0.75rem;
    color: #cccccc;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.pathway-arrow {
    text-align: center;
    color: #0096ff;
    font-size: 2rem;
    margin: 2rem 0;
    font-weight: 300;
}

.simple-navigation {
    margin: 2rem 0;
    padding: 0;
}

.nav-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-section-link {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nav-section-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #0096ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 150, 255, 0.2);
}

.nav-section-link.active {
    background: rgba(0, 150, 255, 0.1);
    border-color: #0096ff;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
}

.section-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    display: block;
    font-size: 0.7rem;
    color: #cccccc;
    opacity: 0.8;
}

.optional-guides {
    margin: 2rem 0;
    padding: 1.25rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
    border-left: 4px solid #4A90E2;
}

.optional-content {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.optional-guides h3 {
    margin: 0 0 0.5rem 0;
    color: #4A90E2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 150, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

mark {
    background: rgba(0, 150, 255, 0.15);
    color: #0096ff;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

@media (max-width: 768px) {
    main {
        padding: 60px 1.5rem 3rem;
    }
    
    main h1 {
        font-size: 1.4rem;
    }
    
    .intro-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .intro-section h2 {
        font-size: 1rem;
    }
    
    .intro-section p {
        font-size: 0.8rem;
    }
    
    .pathway-title {
        font-size: 1.1rem;
    }
    
    .pathway-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .pathway-section > p {
        margin-left: 0;
        font-size: 0.8rem;
        padding-left: 0;
    }
    
    .pathway-section > p::before {
        display: none;
    }
    
    .guide-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-left: 0;
    }
    
    .guide-item {
        padding: 1rem;
        transform: none !important;
    }
    
    .guide-item:hover {
        transform: translateY(-3px) !important;
    }
    
    .pathway-arrow {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .guide-pathway::before {
        display: none;
    }
    
    .nav-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .nav-section-link {
        padding: 0.75rem 1rem;
    }
    
    .section-title {
        font-size: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    main h1 {
        font-size: 1.3rem;
    }
    
    .intro-section {
        padding: 1rem 0.5rem;
    }
    
    .intro-section h2 {
        font-size: 0.95rem;
    }
    
    .pathway-title {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .pathway-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .guide-item {
        padding: 0.875rem;
    }
    
    .guide-item h4 {
        font-size: 0.9rem;
    }
    
    .guide-item p {
        font-size: 0.7rem;
    }
    
    .nav-sections {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}