/* assets/css/add-ai.css */
.add-ai-page {
    padding: 40px 0;
    font-family: var(--font-primary);
    color: var(--color-text-primary);
}

/* Hero */
.add-ai-page .hero { padding: 20px 0 32px; text-align: center; }
.add-ai-page .breadcrumbs { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px; flex-wrap: wrap; }
.add-ai-page .breadcrumbs a:hover { color: var(--color-link); }
.add-ai-page .hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px; }
.add-ai-page .hero h1 .grad { background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.add-ai-page .hero p.lead { font-size: clamp(15px, 1.5vw, 18px); color: var(--color-text-muted); max-width: 720px; margin: 0 auto; }

/* Benefits */
.add-ai-page .benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0; }
.add-ai-page .benefit { background: var(--color-bg-primary); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.add-ai-page .benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: #e5e5f0; }
.add-ai-page .benefit-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(10, 186, 181, 0.12), rgba(30, 111, 217, 0.12)); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.add-ai-page .benefit h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.add-ai-page .benefit p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5; }

/* Pricing */
.add-ai-page .section-title { text-align: center; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.add-ai-page .section-sub { text-align: center; color: var(--color-text-muted); font-size: 15px; margin-bottom: 40px; }
.add-ai-page .pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-bottom: 56px; }
.add-ai-page .plan { background: var(--color-bg-primary); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative; }
.add-ai-page .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.add-ai-page .plan.featured { border: 2px solid transparent; background: linear-gradient(var(--color-bg-primary), var(--color-bg-primary)) padding-box, var(--primary-gradient) border-box; box-shadow: 0 20px 48px rgba(10, 186, 181, 0.15); transform: translateY(-8px); }
.add-ai-page .plan.featured:hover { transform: translateY(-12px); }
.add-ai-page .plan.premium { background: linear-gradient(180deg, #1a1a2e 0%, #252540 100%); color: #fff; border-color: transparent; }
.add-ai-page .plan.premium .plan-desc, .add-ai-page .plan.premium .plan-price-unit, .add-ai-page .plan.premium .feature-list li { color: rgba(255,255,255,.78); }
.add-ai-page .plan.premium .feature-list li::before { background: rgba(245,200,66,.15); color: #f5c842; }
.add-ai-page .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary-gradient); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; }
.add-ai-page .plan.premium .badge { background: linear-gradient(135deg, #f5c842, #e0a800); color: #1a1a2e; }
.add-ai-page .plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); margin-bottom: 8px; }
.add-ai-page .plan.premium .plan-name { color: rgba(255,255,255,.6); }
.add-ai-page .plan.featured .plan-name { background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.add-ai-page .plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.add-ai-page .plan-price .amount { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.add-ai-page .plan-price-unit { font-size: 14px; color: var(--color-text-muted); font-weight: 500; }
.add-ai-page .plan-desc { font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px; min-height: 42px; }
.add-ai-page .feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; padding: 0; }
.add-ai-page .feature-list li { font-size: 14px; line-height: 1.4; display: flex; gap: 10px; color: var(--color-text-primary); }
.add-ai-page .feature-list li::before { content: '✓'; color: #22c55e; font-weight: 800; flex-shrink: 0; width: 18px; height: 18px; display: grid; place-items: center; background: rgba(34,197,94,.12); border-radius: 50%; font-size: 11px; margin-top: 1px; }
.add-ai-page .feature-list li strong { font-weight: 700; }
.add-ai-page .feature-list li a { color: var(--color-primary-start); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.add-ai-page .plan.premium .feature-list li a { color: #f5c842; }
.add-ai-page .plan-btn { display: block; text-align: center; padding: 14px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: all .2s; cursor: pointer; border: none; width: 100%; }
.add-ai-page .btn-outline { background: transparent; color: var(--color-text-primary); border: 1.5px solid #d8d8e4; }
.add-ai-page .btn-outline:hover { border-color: var(--color-primary-start); color: var(--color-primary-start); background: rgba(10, 186, 181, 0.04); }
.add-ai-page .btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 8px 20px rgba(10, 186, 181, 0.3); }
.add-ai-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 186, 181, 0.45); }
.add-ai-page .btn-premium { background: linear-gradient(135deg,#f5c842,#e0a800); color:#1a1a2e; box-shadow: 0 8px 20px rgba(224,168,0,.3); }
.add-ai-page .btn-premium:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(224,168,0,.45); }

/* Form */
.add-ai-page .form-wrap { background: var(--color-bg-primary); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-card); margin-bottom: 56px; }
.add-ai-page .form-head { text-align: center; margin-bottom: 36px; }
.add-ai-page .form-head h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.add-ai-page .form-head p { color: var(--color-text-muted); font-size: 15px; }
.add-ai-page .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.add-ai-page .field { display: flex; flex-direction: column; gap: 8px; }
.add-ai-page .field.full { grid-column: 1/-1; }
.add-ai-page .field label { font-size: 14px; font-weight: 600; color: var(--color-text-primary); }
.add-ai-page .field label .req { color: #ef4444; margin-left: 2px; }

/* Поля ввода */
.add-ai-page .field input, 
.add-ai-page .field textarea, 
.add-ai-page .field select { 
    width: 100%; 
    box-sizing: border-box;
    padding: 13px 16px; 
    border: 1.5px solid var(--color-border); 
    border-radius: 12px; 
    font-family: inherit; 
    font-size: 15px; 
    background: var(--color-bg-light); 
    color: var(--color-text-primary); 
    transition: border-color .2s, box-shadow .2s; 
}
.add-ai-page .field input:focus, 
.add-ai-page .field textarea:focus, 
.add-ai-page .field select:focus { 
    outline: none; 
    border-color: var(--color-primary-start); 
    box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.12); 
    background: var(--color-bg-primary); 
}
.add-ai-page .field textarea { resize: vertical; min-height: 100px; }
.add-ai-page .field .hint { font-size: 12.5px; color: var(--color-text-muted); }

/* Поле загрузки файла */
.add-ai-page .field input[type="file"] {
    padding: 10px 14px;
    background: var(--color-bg-light);
    cursor: pointer;
    font-size: 14px;
}
.add-ai-page .field input[type="file"]::file-selector-button {
    padding: 6px 16px;
    border: none;
    border-radius: 8px;
    background: var(--color-primary-start);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: background .2s;
}
.add-ai-page .field input[type="file"]::file-selector-button:hover {
    background: var(--color-link-hover);
}

/* Выбор тарифа */
.add-ai-page .plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.add-ai-page .plan-option { position: relative; cursor: pointer; border: 1.5px solid var(--color-border); border-radius: 12px; padding: 16px 14px; text-align: center; transition: all .2s; background: var(--color-bg-light); }
.add-ai-page .plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.add-ai-page .plan-option .opt-name { font-weight: 700; font-size: 14px; display: block; margin-bottom: 2px; }
.add-ai-page .plan-option .opt-price { font-size: 12.5px; color: var(--color-text-muted); }
.add-ai-page .plan-option:hover { border-color: var(--color-primary-start); }
.add-ai-page .plan-option:has(input:checked) { border-color: var(--color-primary-start); background: rgba(10, 186, 181, 0.06); box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.08); }
.add-ai-page .plan-option:has(input:checked) .opt-name, .add-ai-page .plan-option:has(input:checked) .opt-price { color: var(--color-primary-start); }

/* Чекбокс */
.add-ai-page .agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--color-text-muted); cursor: pointer; }
.add-ai-page .agree input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--color-primary-start); cursor: pointer; }
.add-ai-page .agree a { color: var(--color-primary-start); text-decoration: underline; }

/* Кнопка отправки */
.add-ai-page .form-submit { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.add-ai-page .btn-submit { padding: 16px 56px; border-radius: 14px; background: var(--primary-gradient); color: #fff; font-weight: 800; font-size: 16px; border: none; cursor: pointer; box-shadow: 0 12px 28px rgba(10, 186, 181, 0.35); transition: transform .2s, box-shadow .2s; letter-spacing: .01em; }
.add-ai-page .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10, 186, 181, 0.5); }
.add-ai-page .form-submit .note { font-size: 13px; color: var(--color-text-muted); text-align: center; }

/* FAQ */
.add-ai-page .faq { max-width: 840px; margin: 0 auto 56px; }
.add-ai-page .faq-title { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 32px; }
.add-ai-page .faq-item { background: var(--color-bg-primary); border: 1px solid var(--color-border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.add-ai-page .faq-item[open] { box-shadow: var(--shadow-card); border-color: #e0e0ee; }
.add-ai-page .faq-item summary { padding: 20px 24px; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.add-ai-page .faq-item summary::-webkit-details-marker { display: none; }
.add-ai-page .faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--color-primary-start); transition: transform .2s; flex-shrink: 0; }
.add-ai-page .faq-item[open] summary::after { transform: rotate(45deg); }
.add-ai-page .faq-answer { padding: 0 24px 20px; font-size: 14.5px; color: var(--color-text-muted); line-height: 1.65; }
.add-ai-page .faq-answer a { color: var(--color-primary-start); text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
    .add-ai-page .benefits { grid-template-columns: repeat(2, 1fr); }
    .add-ai-page .pricing { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
    .add-ai-page .plan.featured { transform: none; }
    .add-ai-page .plan.featured:hover { transform: translateY(-4px); }
}
@media (max-width: 640px) {
    .add-ai-page { padding: 20px 0; }
    .add-ai-page .benefits { gap: 12px; margin: 32px 0; }
    .add-ai-page .benefit { padding: 18px 16px; }
    .add-ai-page .plan { padding: 28px 22px; }
    .add-ai-page .form-wrap { padding: 28px 20px; }
    .add-ai-page .form-grid { grid-template-columns: 1fr; }
    .add-ai-page .plan-picker { grid-template-columns: 1fr; }
    .add-ai-page .btn-submit { width: 100%; padding: 16px; }
}