/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ===== */
:root {
    /* Пастельные цвета Вайбкодинг 2.0 */
    --color-bg: #fef8f4;
    --color-white: #ffffff;
    --color-cream: #fdf5ed;

    /* Акцентные цвета */
    --color-primary: #ff9d76;
    --color-primary-dark: #ff8558;
    --color-secondary: #a8dadc;
    --color-accent: #ffd97d;

    /* Пастельные градиенты */
    --gradient-warm: linear-gradient(135deg, #ff9d76 0%, #ffd97d 100%);
    --gradient-cool: linear-gradient(135deg, #a8dadc 0%, #c7b8ea 100%);
    --gradient-soft: linear-gradient(135deg, #ffd97d 0%, #ffc8dd 100%);

    /* Текст */
    --color-text: #4a4a4a;
    --color-text-light: #757575;
    --color-text-dark: #2d2d2d;

    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Шрифт */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-vibecoding {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-version {
    font-size: 14px;
    color: var(--color-text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ===== ГЕРОЙ ===== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    color: var(--color-text-dark);
}

.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 2px solid #f0f0f0;
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--color-cream);
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 56px;
    color: var(--color-text-dark);
}

/* ===== КАРТОЧКИ ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.benefits-list {
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-md);
}

.benefit-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe8dc 0%, #ffd4bc 100%);
    border-radius: 12px;
}

.benefit-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.benefit-content p {
    color: var(--color-text-light);
}

/* ===== ПРОГРАММА КУРСА ===== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.program-module {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.program-module:hover {
    box-shadow: var(--shadow-md);
}

.module-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f5f5f5;
}

.module-number {
    display: inline-block;
    background: var(--gradient-warm);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.module-header h3 {
    font-size: 22px;
}

.module-list {
    list-style: none;
}

.module-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.5;
}

.module-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ===== CTA БЛОК ===== */
.cta {
    padding: 80px 0;
}

.cta-card {
    background: var(--gradient-warm);
    padding: 64px 48px;
    border-radius: 24px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-card h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: white;
}

.cta-card p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* ===== ФУТЕР ===== */
.footer {
    background: white;
    padding: 48px 0 24px;
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-left p {
    color: var(--color-text-light);
    margin-top: 8px;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.footer-menu a {
    color: var(--color-text-light);
}

.footer-menu a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    color: var(--color-text-light);
    font-size: 14px;
}

/* ===== СТРАНИЦЫ ===== */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--color-cream);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: var(--color-text-light);
}

/* ===== КОНТЕНТ ===== */
.content-block {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.large-text {
    font-size: 20px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.content-block p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.checklist {
    list-style: none;
    margin: 24px 0;
}

.checklist li {
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.6;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 18px;
}

/* ===== ФОРМАТЫ ОБУЧЕНИЯ ===== */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.format-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.format-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* ===== ПРОЕКТЫ ===== */
.projects-list {
    max-width: 900px;
    margin: 0 auto;
}

.project-item {
    display: flex;
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.project-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 12px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.project-tech {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
}

/* ===== ДВЕ КОЛОНКИ ===== */
.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.column {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.checklist.green li::before {
    color: #22c55e;
}

.checklist.red li::before {
    content: '✗';
    color: #ef4444;
}

/* ===== РЕЗУЛЬТАТЫ ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.result-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.result-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.result-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* ===== КОНТАКТЫ ===== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.telegram-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f4ff 100%);
}

.contact-icon {
    margin-bottom: 24px;
}

.contact-card h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-description {
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.question-examples {
    list-style: none;
    margin: 24px 0;
}

.question-examples li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-light);
}

.question-examples li::before {
    content: '💬';
    position: absolute;
    left: 0;
}

.guarantee-box {
    background: var(--color-cream);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
}

.guarantee-box h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.guarantee-list {
    list-style: none;
}

.guarantee-list li {
    padding: 8px 0;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* ===== ФИНАЛЬНЫЙ CTA ===== */
.final-cta {
    padding: 80px 0;
    background: var(--gradient-warm);
}

.final-cta-content {
    text-align: center;
    color: white;
}

.final-cta-content h2 {
    font-size: 44px;
    margin-bottom: 16px;
    color: white;
}

.final-cta-content p {
    font-size: 20px;
    margin-bottom: 16px;
}

.highlight-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px !important;
}

.small-text {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 16px !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .nav-menu {
        gap: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 32px 24px;
    }

    .cta-card {
        padding: 48px 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
