/* ========== scripts.css ========== */

/* Херо */
.scripts-hero { padding: 60px 40px; text-align: center; border-bottom: 1px solid rgba(244,60,118,0.1); }
.scripts-hero-title { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; color: #fff; margin-bottom: 10px; }
.scripts-hero-subtitle { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: #9977aa; letter-spacing: 1px; }

/* Каталог */
.scripts-section { padding: 50px 60px; }
.scripts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Карточка */
.script-card { background: rgba(12,7,28,0.6); border: 1px solid rgba(244,60,118,0.12); padding: 25px; transition: all 0.3s; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); display: flex; flex-direction: column; gap: 15px; }
.script-card:hover { border-color: #f43c76; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(244,60,118,0.15); }
.script-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.script-card-title { font-family: 'Orbitron', sans-serif; font-size: 1rem; letter-spacing: 1px; }
.script-card-title a { color: #fff; text-decoration: none; transition: color 0.3s; }
.script-card-title a:hover { color: #f43c76; }
.script-card-price { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; color: #f43c76; white-space: nowrap; }
.script-card-desc { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: #9977aa; line-height: 1.5; flex: 1; }
.script-card-actions { display: flex; gap: 8px; align-items: center; }
.script-detail-btn { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; padding: 8px 14px; border: 1px solid rgba(244,60,118,0.2); color: #bb99dd; text-decoration: none; transition: all 0.3s; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.script-detail-btn:hover { border-color: #f43c76; color: #fff; background: rgba(244,60,118,0.1); }
.script-card .script-buy-btn { font-size: 0.6rem; padding: 8px 16px; }

/* CTA */
.scripts-cta { padding: 50px 60px; text-align: center; }
.scripts-cta-card { background: radial-gradient(circle at center, rgba(244,60,118,0.06) 0%, transparent 70%); border: 1px solid rgba(244,60,118,0.15); padding: 40px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); max-width: 500px; margin: 0 auto; }
.scripts-cta-title { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.scripts-cta-text { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: #9977aa; margin-bottom: 20px; }

/* Детальная страница */
.script-detail-wrapper { display: grid; grid-template-columns: 1fr 320px; gap: 50px; max-width: 1200px; margin: 0 auto; padding: 50px 40px; }
.script-detail-main { min-width: 0; }
.script-back { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: #9977aa; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; display: inline-block; margin-bottom: 25px; transition: color 0.3s; }
.script-back:hover { color: #f43c76; }
.script-detail-title { font-family: 'Orbitron', sans-serif; font-size: 2rem; color: #fff; margin-bottom: 15px; text-shadow: 0 0 20px rgba(244,60,118,0.3); }
.script-detail-desc { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #9977aa; line-height: 1.6; margin-bottom: 30px; }
.script-detail-content { color: #aabbcc; font-size: 0.88rem; line-height: 1.9; }
.script-detail-content h2 { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; color: #fff; margin: 30px 0 12px; }
.script-detail-content h3 { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #bb99dd; margin: 20px 0 8px; }
.script-detail-content p { margin-bottom: 12px; }
.script-detail-content ul, .script-detail-content ol { padding-left: 20px; margin: 12px 0; }
.script-detail-content li { margin-bottom: 6px; }
.script-detail-content li::marker { color: #f43c76; }
.script-detail-content a { color: #f43c76; text-decoration: none; border-bottom: 1px dashed rgba(244,60,118,0.3); }
.script-detail-content a:hover { border-bottom-style: solid; }

/* Боковая панель */
.script-detail-sidebar { position: relative; }
.script-sidebar-card { background: rgba(12,7,28,0.8); border: 1px solid rgba(244,60,118,0.2); padding: 30px 25px; position: sticky; top: 30px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); text-align: center; }
.script-sidebar-price { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; font-weight: 800; color: #f43c76; margin-bottom: 20px; text-shadow: 0 0 20px rgba(244,60,118,0.5); }
.script-sidebar-card .script-buy-btn { width: 100%; padding: 14px; font-size: 0.85rem; margin-bottom: 20px; }
.script-sidebar-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.script-sidebar-features li { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: #9977aa; padding-left: 16px; position: relative; }
.script-sidebar-features li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-size: 0.7rem; }

/* Юридическая пометка */
.script-legal { margin-top: 30px; padding: 16px 20px; background: rgba(244,60,118,0.04); border: 1px solid rgba(244,60,118,0.1); text-align: center; }
.script-legal p { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: #664477; margin-bottom: 6px; }
.script-legal a { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: #f43c76; text-decoration: none; border-bottom: 1px dashed rgba(244,60,118,0.3); }
.script-legal a:hover { border-bottom-style: solid; }

/* Заметка (контент) */
.script-note { background: rgba(12,7,28,0.7); border: 1px solid rgba(244,60,118,0.2); padding: 30px; margin: 30px 0; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: #aabbcc; line-height: 1.7; }
.script-note-warning { display: flex; align-items: center; gap: 10px; background: rgba(244,60,118,0.1); border: 1px solid rgba(244,60,118,0.3); padding: 12px 16px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: #f43c76; }
.script-note-icon { width: 24px; height: 24px; background: #f43c76; color: #060210; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.script-note-step { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid rgba(244,60,118,0.08); }
.script-note-step:last-of-type { border-bottom: none; }
.script-note-step-num { font-family: 'Orbitron', sans-serif; font-size: 0.7rem; color: #f43c76; letter-spacing: 2px; margin-bottom: 5px; }
.script-note-step-title { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; color: #fff; margin-bottom: 12px; letter-spacing: 1px; }
.script-note-step ol { padding-left: 18px; }
.script-note-step li { margin-bottom: 8px; }
.script-note-step li::marker { color: #f43c76; font-weight: bold; }
.script-note code { background: rgba(0,0,0,0.4); padding: 2px 6px; font-size: 0.65rem; color: #10b981; word-break: break-all; }
.script-note-faq { background: rgba(0,0,0,0.2); padding: 20px; border: 1px solid rgba(255,255,255,0.05); }
.script-note-faq-title { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; color: #fff; margin-bottom: 15px; letter-spacing: 2px; }
.script-note-faq p { margin-bottom: 12px; font-size: 0.7rem; }
.script-note-faq strong { color: #bb99dd; }

@media (max-width: 900px) {
    .scripts-grid { grid-template-columns: repeat(2, 1fr); }
    .scripts-section { padding: 40px 20px; }
    .script-detail-wrapper { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px; }
    .script-sidebar-card { position: static; }
}
@media (max-width: 600px) {
    .scripts-grid { grid-template-columns: 1fr; }
    .scripts-hero { padding: 40px 20px; }
    .scripts-hero-title { font-size: 1.8rem; }
    .script-detail-title { font-size: 1.5rem; }
}