/* =========================================
   SCRIPTS STUDIO PRO - SMART ELITE CSS
   ========================================= */

.scripts-wrapper {
    background: #020617;
    min-height: 100vh;
    padding: 80px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

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

.badge-pill {
    display: inline-block;
    background: rgba(255, 51, 102, 0.1);
    color: #ff3366;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.section-title {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.highlight-text {
    color: #ff3366;
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
}

.section-subtitle {
    color: #94a3b8;
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Logic */
.scripts-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Script Card Design */
.script-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.script-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 51, 102, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Header & Meta */
.script-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.script-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gradient-pink {
    background: linear-gradient(135deg, #ff3366, #ff6b6b);
}

.gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.gradient-teal {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}

.script-meta {
    text-align: right;
}

.script-badge {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 5px;
}

.script-badge.new {
    background: #ff3366;
    color: #fff;
}

.script-badge.popular {
    background: #3b82f6;
    color: #fff;
}

.script-version {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

/* Body */
.script-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.script-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 65px;
}

.script-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.script-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
}

/* Footer */
.script-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.script-price {
    font-weight: 900;
    font-size: 16px;
    color: #fff;
}

.btn-get-script {
    background: #ffffff;
    color: #020617;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    transition: 0.3s;
}

.btn-get-script:hover {
    background: #ff3366;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .scripts-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 34px;
    }
}