/* Reset и базовые стили */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
    margin: 0;
    line-height: inherit;
    background-color: #f8fafc;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Утилиты */
.min-h-screen { min-height: 100vh; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-white { background-color: #ffffff; }
.bg-blue-600 { background-color: #2563eb; }
.bg-green-600 { background-color: #16a34a; }
.bg-purple-600 { background-color: #9333ea; }
.bg-orange-500 { background-color: #f97316; }
.bg-orange-600 { background-color: #f97316; }
.bg-pink-600 { background-color: #db2777; }
.bg-indigo-600 { background-color: #4f46e5; }

.text-white { color: #ffffff; }
.text-gray-900 { color: #111827; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-blue-600 { color: #2563eb; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1.125rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-8 { padding-top: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

.space-x-3 > * + * { margin-left: 0rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-100 { border-color: #f3f4f6; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

.relative { position: relative; }
.absolute { position: absolute; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.z-10 { z-index: 10; }

.backdrop-blur-sm { backdrop-filter: blur(4px); }

.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }

.hidden { display: none; }

/* Компоненты */
.language-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background: transparent;
    transition: all 0.2s;
}

.language-btn.active {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.language-btn:not(.active):hover {
    background-color: #f3f4f6;
}

.progress-bar {
    width: 100%;
    height: 0.75rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

/* Карточки */
.card {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.card-content {
    padding: 1.5rem;
}

.section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.section-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.section-content {
    display: none;
}

.section-content.expanded {
    display: block;
}

.chevron {
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.chevron.rotated {
    transform: rotate(180deg);
}

/* Задачи */
.task {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox {
    width: 1rem;
    height: 1rem;
    border: 2px solid #2563eb;
    border-radius: 0.25rem;
    background: white;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.3rem;
    transition: all 0.2s;
}

.checkbox.checked {
    background-color: #2563eb;
    position: relative;
}

.checkbox.checked::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: bold;
}

.task-label {
    flex: 1;
    color: #374151;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4rem;
}

.task-label strong {
    word-break: break-word;
}

/* Адаптивность */
@media (min-width: 640px) {
    .sm\\:flex-row { flex-direction: row; }
    .sm\\:items-center { align-items: center; }
    .sm\\:space-x-3 > * + * { margin-left: 0.75rem; }
    .sm\\:space-y-0 > * + * { margin-top: 0; }
    .sm\\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    .sm\\:pt-0 { padding-top: 0; }
    .sm\\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .w-4 { width: 1rem; }
    .h-4 { height: 1rem; }
}

/* Анимации */
.checklist-item {
    transition: all 0.2s ease-in-out;
}

.checklist-item:hover {
    transform: translateX(4px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    animation: slideDown 0.3s ease-out;
}

.break-words {
    word-break: break-word;
}

.text-lg {
    margin: 0;
}

.text-sm {
    margin: 0;
}

.flex.items-start.space-x-3 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .flex.items-start.space-x-3 {
        margin-bottom: 1rem;
    }
}

.bg-card { background-color: #ffffff; }
.text-card-foreground { color: #111827; }

.bg-primary { background-color: #2563eb; }
.text-primary-foreground { color: #ffffff; }
.border-primary { border-color: #2563eb; }

.ring-ring { --tw-ring-color: #2563eb; }

.ring-offset-background { --tw-ring-offset-color: #f8fafc; }

.data-\[state\=checked\]\:bg-primary[data-state="checked"] { background-color: #2563eb; }
.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] { color: #ffffff; }

