/* --- Project Detail Pages --- */
.project-detail {
    padding-top: 4rem;
}

.detail-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.detail-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .detail-card {
        padding: 1.5rem;
    }

    .detail-card h2 {
        font-size: 1.5rem;
    }
}

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

.detail-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.detail-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.tech-stack {
    list-style: none;
    padding: 0;
}

.tech-stack li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.15rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .tech-stack li {
        font-size: 1rem;
        gap: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

.tech-stack li:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

/* Feature and Step Lists */
.feature-list,
.step-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li,
.step-list li {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.feature-list li:hover,
.step-list li:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.feature-list li strong,
.step-list li strong {
    color: var(--secondary-color);
}

.step-list {
    counter-reset: step-counter;
}

.step-list li {
    position: relative;
    padding-left: 3.5rem;
}

.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-stack i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.btn-small:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(-5px);
}