/* Scripts Listing Page Styles */

.scripts-hero {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.scripts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 50px 50px;
}

.scripts-hero .container {
    position: relative;
    z-index: 1;
}

.scripts-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.scripts-hero .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: #7c3aed;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: #7c3aed;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

.scripts-stats {
    background: #030303;
    padding: 40px 0;
    color: white;
}

.scripts-stats .stat-item {
    text-align: center;
    padding: 20px;
}

.scripts-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.scripts-stats .stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #606060;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #0dcaf0;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 202, 240, 0.3);
}

.products-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #030303;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #606060;
    max-width: 700px;
    margin: 0 auto;
}

.modern-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(13, 202, 240, 0.2);
    border-color: #0dcaf0;
}

.modern-product-card .card-header-gradient {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.modern-product-card .product-emoji {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.modern-product-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.modern-product-card .card-body-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-product-card .card-description {
    color: #606060;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.modern-product-card .best-for-badge {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border: 1px solid #fdba74;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 20px;
    color: #9a3412;
    font-size: 0.9rem;
    line-height: 1.5;
}

.modern-product-card .best-for-badge i {
    color: #ea580c;
    margin-right: 5px;
}

.modern-product-card .best-for-badge strong {
    color: #9a3412;
}

.modern-product-card .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.modern-product-card .features-list li {
    padding: 8px 0;
    color: #606060;
    font-size: 0.95rem;
}

.modern-product-card .features-list li i {
    color: #10b981;
    margin-right: 8px;
    width: 18px;
}

.modern-product-card .price-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.modern-product-card .price-label {
    font-size: 0.85rem;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modern-product-card .price-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.modern-product-card .price-note {
    font-size: 0.85rem;
    color: #606060;
}

.modern-product-card .price-note i {
    color: #10b981;
    margin-right: 5px;
}

.modern-product-card .action-buttons {
    display: flex;
    gap: 10px;
}

.modern-product-card .btn-view-details {
    flex: 1;
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modern-product-card .btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(13, 202, 240, 0.4);
    color: white;
}

.modern-product-card .btn-view-demo {
    flex: 1;
    background: white;
    border: 2px solid #0dcaf0;
    color: #0dcaf0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modern-product-card .btn-view-demo:hover {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    border-color: #0dcaf0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(13, 202, 240, 0.4);
}

.modern-product-card .action-buttons-small {
    display: flex;
    gap: 8px;
}

.modern-product-card .btn-small {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #606060;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modern-product-card .btn-small:hover {
    background: #e9ecef;
    border-color: #0dcaf0;
    color: #0dcaf0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.2);
}

.modern-product-card .trust-badge {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #606060;
}

.modern-product-card .trust-badge i {
    color: #10b981;
    margin-right: 5px;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #030303;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 1.1rem;
    color: #606060;
    max-width: 500px;
    margin: 0 auto 30px;
}

.cta-section {
    background: linear-gradient(135deg, #0dcaf0 0%, #7c3aed 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-cta {
    background: white;
    color: #7c3aed;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.cta-section .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Types Section */
.types-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.types-section .section-header {
    margin-bottom: 50px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.type-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(13, 202, 240, 0.15);
    border-color: #0dcaf0;
}

.type-card .type-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.type-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #030303;
    margin-bottom: 12px;
}

.type-card p {
    color: #606060;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Who This Is For Section */
.audience-section {
    padding: 80px 0;
    background: white;
}

.audience-section .section-header {
    margin-bottom: 40px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.audience-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: #0dcaf0;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.audience-card .audience-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.audience-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #030303;
    margin-bottom: 10px;
}

.audience-card p {
    color: #606060;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scripts-hero h1 {
        font-size: 2rem;
    }

    .scripts-hero .lead {
        font-size: 1.1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .scripts-stats .stat-number {
        font-size: 2rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}
