/* Project Detail Page Styles */
.project-detail-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Hero Section */
.project-hero-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .project-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 127, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="light"] .project-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgb(114 137 72 / 8%) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgb(207 255 121 / 10%) 0%, transparent 50%);
    pointer-events: none;
}

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

.project-breadcrumb {
    margin-bottom: 24px;
}

.project-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
    color: var(--accent-primary);
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tag-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.project-hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
}

.project-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(var(--accent-primary), 0.3);
}

.project-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(var(--accent-primary), 0.4);
}

.project-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Span Mother Hover Text Transitions */
    .button-text-wrapper {
        position: relative;
        display: inline-flex;
        overflow: hidden;
        height: 1.4em;
        align-items: center;
    }

    .span-mother {
        display: flex;
        position: relative;
    }

    .span-mother2 {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
    }

    .span-mother span {
        display: inline-block;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .span-mother2 span {
        display: inline-block;
        transform: translateY(-1.4em);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .cta-primary:hover .span-mother span,
    .cta-secondary:hover .span-mother span {
        transform: translateY(1.4em);
    }

    .cta-primary:hover .span-mother2 span,
    .cta-secondary:hover .span-mother2 span {
        transform: translateY(0);
    }

/* Overview Section */
.project-overview-section {
    padding: 80px 0;
}

.project-overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.overview-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Screenshot Section */
.project-screenshot-section {
    padding: 80px 0;
}

.screenshot-header {
    text-align: center;
    margin-bottom: 40px;
}

.screenshot-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.screenshot-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.screenshot-wrapper {
    display: flex;
    justify-content: center;
}

.desktop-mockup {
    width: 100%;
    max-width: 1000px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    font-family: monospace;
}

.mockup-content {
    width: 100%;
    height: auto;
    background: var(--bg-primary);
}

.mockup-content img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-mockup {
    width: 320px;
    background: #000;
    border: 12px solid #1c1b22;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    position: relative;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.mobile-content {
    width: 100%;
    height: auto;
    background: var(--bg-primary);
}

.mobile-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.project-features-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Tech Section */
.project-tech-section {
    padding: 80px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.tech-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-primary), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-primary);
    margin: 0 auto 16px;
}

.tech-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tech-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Section */
.project-cta-section {
    padding: 80px 0;
    text-align: center;
}

.project-cta-inner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.project-cta-inner p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .project-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .project-hero-section {
        padding: 40px 0;
    }
    
    .project-hero-section h1 {
        font-size: 36px;
    }

    .overview-content h2,
    .section-header h2,
    .project-cta-inner h2 {
        font-size: 30px;
    }
    
    .project-hero-desc,
    .project-cta-inner p {
        font-size: 16px;
    }
    
    .project-hero-actions {
        flex-direction: column;
    }
    
    .project-btn-primary,
    .project-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .project-overview-section,
    .project-screenshot-section,
    .project-features-section,
    .project-tech-section {
        padding: 40px 0;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-cta-section {
        padding: 40px 0;
    }

    .project-cta-inner {
        padding: 0;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .project-btn-primary,
    .cta-actions .project-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .feature-card {
        padding: 20px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-icon {
        height: 44px;
        width: 44px;
    }
    .tech-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .project-hero-section h1 {
        font-size: 28px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}