* { box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; background: #f5f7fa; color: #333; }
header { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); color: white; text-align: center; padding: 3rem 1rem; }
.subtitle { font-size: 1.2rem; opacity: 0.9; }
.container { max-width: 1000px; margin: 2rem auto; padding: 0 1rem; }

/* Стили для вкладок (Tabs) */
.tabs { display: flex; flex-wrap: wrap; background: white; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.tablink { flex: 1; padding: 1.2rem; border: none; background: #f8f9fa; cursor: pointer; font-size: 1rem; text-align: center; transition: all 0.3s; color: #555; }
.tablink:hover { background: #e9ecef; }
.tablink.active { background: white; color: #2575fc; font-weight: bold; border-bottom: 3px solid #2575fc; }

/* Стили для содержимого вкладок */
.tabcontent { display: none; background: white; padding: 2rem; border-radius: 0 0 10px 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 2rem; }
.tabcontent.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

/* Стили для раскрывающихся секций (Accordion) */
.accordion { margin-top: 1rem; }
.accordion-item { border: 1px solid #e1e5eb; border-radius: 8px; margin-bottom: 0.8rem; overflow: hidden; }
.accordion-header { width: 100%; padding: 1.2rem; text-align: left; background: #f8f9fa; border: none; cursor: pointer; font-size: 1rem; font-weight: 600; color: #495057; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.accordion-header:hover { background: #e9ecef; }
.accordion-body { padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s; background: white; }
.accordion-body p { margin: 0; padding: 1.2rem; border-top: 1px solid #e1e5eb; }
.accordion-item.active .accordion-body { max-height: 500px; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-header i { transition: transform 0.3s; }

/* Адаптивность */
@media (max-width: 768px) {
    .tabs { flex-direction: column; }
    .tablink { border-right: none; border-bottom: 1px solid #dee2e6; }
}
