/* =================================
   Complete Styles for Project Details Page
   ================================= */

/* --- Foundational Styles (Variables & Buttons) --- */
:root {
    --primary: #2563eb;
    --secondary: #7c3aed;
    --accent: #ec4899;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
}

.gradient-text-1 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-free, .btn-paid {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.btn-free {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.btn-free:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-paid {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.btn-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* --- Page Specific Styles --- */

/* Project Hero Section */
.project-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

/* Badge on Hero */
.project-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 1rem;
    color: white;
}
.badge-free {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.badge-paid {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}


/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    color: white;
}

/* Technology Stack */
.tech-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Screenshots */
.screenshot-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Related Projects Card */
.related-project {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.related-project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-project:hover img {
    transform: scale(1.05);
}

/* Prose class for text content styling */
.prose {
    color: #334155;
    line-height: 1.75;
}

.prose p {
    margin-bottom: 1.25em;
}