body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
}

.project-row {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 1.5rem;
    position: relative;
}

.project-row:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.project-screenshot {
    width: 240px;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

img.project-screenshot {
    display: block;
    color: white;
}

.project-info {
    flex: 1;
    padding: 2rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-tagline {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.4;
}

.project-description {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.btn-minimal {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-details {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-view-details:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
    text-decoration: none;
}

.btn-quick-view {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-quick-view:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
}

.btn-website {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-website:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    text-decoration: none;
    transform: translateY(-1px);
}

.project-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.project-tag {
    background: #1a1a1a;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.project-tag:hover {
    background: #000000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.industry-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.industry-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.industry-chip:hover {
    background-color: #667eea;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.industry-chip.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.search-section {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.page-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.page-header h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.page-header .page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.page-header .page-subtitle {
    font-size: 1.25rem;
    font-weight: bold;
}

.results-count {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: #6c757d;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 0.2rem;
    border: 2px solid #e9ecef;
    color: #667eea;
    font-weight: 500;
}

.pagination .page-link:hover {
    background: #667eea;
    border-color: #667eea;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.project-details-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: none;
}

.project-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.project-detail-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.project-detail-carousel {
    margin-bottom: 2rem;
}

.project-detail-info .project-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.project-detail-tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.project-detail-badges {
    margin-bottom: 1.5rem;
}

.project-detail-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.project-detail-meta {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.project-detail-tags {
    margin-top: 1rem;
}

.project-detail-actions {
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.payment-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.payment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.payment-header h4 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    font-size: 1.75rem;
}

.payment-back-button {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.payment-back-button:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.payment-form {
    max-width: 600px;
    margin: 0 auto;
}

.payment-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: center;
    border: 1px solid #dee2e6;
    position: relative;
}

.payment-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 4px 4px;
}

.payment-stats h6 {
    margin-bottom: 1.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 1.1rem;
}

.payment-stats .d-flex {
    justify-content: space-around;
}

.payment-stats h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.payment-stats small {
    color: #6c757d;
    font-weight: 500;
}

.amount-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid #e9ecef;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: white;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.amount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.amount-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.amount-btn:hover::before {
    left: 100%;
}

.amount-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.payment-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.payment-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.payment-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

.payment-form .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-weight: 600;
    color: #495057;
}

.payment-form .input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.payment-form .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.payment-form .btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.payment-form .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
    transition: all 0.3s ease;
}

.payment-form .btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.payment-form .alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #b8daff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.btn-website {
    font-weight: bold;
}

.project-stage {
    font-size: 1rem;
    font-weight: 500;
}

.industry-filter-btn,
.stage-filter-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.industry-filter-btn:hover,
.stage-filter-btn:hover {
    opacity: 0.8;
}

.project-detail-description {
    white-space: pre-line;
}

.payment-project-name {
    color: #495057;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .project-row {
        flex-direction: column;
    }

    .project-row .flex-shrink-0,
    .project-screenshot {
        width: 100%;
    }

    .project-screenshot {
        height: 180px;
    }

    .project-info {
        padding: 1.25rem;
    }

    .project-row .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .page-header .page-title {
        font-size: 2rem;
    }

    .payment-section {
        padding: 1.5rem;
    }

    .payment-header {
        flex-direction: column;
        gap: 1rem;
    }
}
