/* Project Page Specific Styles */
.project-nav {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.project-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    transform: translateX(-5px);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-intro {
    padding: 4rem 0 3rem;
}

.project-title-section {
    margin-bottom: 3rem;
}

.project-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 1rem;
    display: block;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-white);
    line-height: 1.1;
    overflow-wrap: break-word;
}

.project-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 800px;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.sidebar-section {
    position: sticky;
    top: 140px;
}

.info-card {
    background: var(--bg-dark-card);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.info-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

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

.info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    line-height: 1.6;
}

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

.info-list li strong {
    color: var(--text-white);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.stat-card {
    background: rgba(32, 78, 207, 0.08);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(32, 78, 207, 0.2);
    text-align: center;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.main-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    letter-spacing: -0.01em;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.main-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tech-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.tech-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.tech-column ul {
    list-style: none;
}

.tech-column li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    position: relative;
    line-height: 1.6;
}

.tech-column li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.architecture-box {
    background: var(--bg-dark-card);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2rem 0;
    text-align: center;
}

.architecture-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.challenge-box {
    background: var(--bg-dark-card);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.challenge-box::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
}

.challenge-number {
    display: none;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.challenge-box h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.challenge-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.challenge-item h5 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.challenge-item.problem h5 {
    color: #507eff;
}

.challenge-item.solution h5 {
    color: var(--accent-green);
}

.challenge-item p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.challenge-item ul {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.challenge-item ul li {
    margin-bottom: 0.5rem;
}

.impact-banner {
    background: #ffffff21;
    border: 1px solid rgb(255 255 255 / 20%);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
}

.impact-banner strong {
    color: var(--accent-yellow);
    font-weight: 700;
}

.impact-banner p {
    margin: 0;
}

.impact-banner ul {
    margin: 0.5rem 0 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.impact-banner ul li {
    margin-bottom: 0.5rem;
}

.impact-banner ul li:last-child {
    margin-bottom: 0;
}

.results-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.result-metric {
    background: var(--bg-dark-card);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.result-metric:hover {
    transform: translateY(-8px);
    border-color: rgba(32, 78, 207, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.result-metric::before {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.project-cta {
    display: flex;
    gap: 1rem;
    margin-top: 4rem;
}

@media (max-width: 968px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar-section {
        position: static;
    }

    .project-title {
        font-size: 2.5rem;
    }

    .tech-section,
    .challenge-content,
    .results-showcase {
        grid-template-columns: 1fr;
    }
}
