/* ===== CLEAN BLUE FINAL UPDATED (REFACTORED) ===== */

/* ===== COLORS ===== */
:root {
    --blue: #2F80ED;
    --blue-dark: #1C4FA1;
    --blue-light: #EAF2FF;
    --white: #FFFFFF;
    --black: #111111;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
}

/* ===== BASE ===== */
body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION SPACING ===== */
section {
    padding: 80px 0;
}

section:first-of-type {
    padding-top: 0;
}

/* ===== HERO BANNER (ПРЯМОУГОЛЬНЫЙ) ===== */
.hero-banner {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    margin-bottom: 20px;
}

/* Фоновые элементы */
.bg-gradient-banner {
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.95), rgba(28, 79, 161, 0.98));
}

.hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}

.hero-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.hero-circle-2 {
    width: 500px;
    height: 500px;
    bottom: -250px;
    left: -250px;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
}

/* Hero контент */
.hero-content {
    max-width: 900px;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

/* Бейдж - БЕЛЫЙ ФОН С СИНИМ ТЕКСТОМ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2F80ED;
    margin-bottom: 32px;
    border: 1px solid rgba(47, 128, 237, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero-badge svg {
    stroke: #2F80ED;
    width: 16px;
    height: 16px;
}

.hero-badge:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: rgba(47, 128, 237, 0.4);
}

/* Заголовок - ГРАДИЕНТНЫЙ ТЕКСТ */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #003087 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Описание - БЕЛЫЙ ТЕКСТ */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #FFFFFF;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Hero кнопки */
.hero-buttons {
    margin-top: 40px;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--blue-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: var(--white);
    color: var(--blue-dark);
}

.btn-hero-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* Hero волна */
.hero-wave {
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    background: var(--white);
    padding: 60px 0 80px;
}

.mission-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--white), var(--gray-light));
    padding: 60px 50px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid rgba(47, 128, 237, 0.1);
}

.mission-label {
    display: inline-block;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 4px 12px;
    background: var(--blue-light);
    border-radius: 50px;
}

.mission-quote {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--black);
    margin: 0;
    quotes: none;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-overline {
    display: inline-block;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ===== GOALS SECTION - ОБНОВЛЕННЫЙ ДИЗАЙН ===== */
.goals-section {
    background: var(--white);
    padding: 80px 0;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.goal-card {
    background: linear-gradient(135deg, var(--white), var(--gray-light));
    padding: 40px 30px;
    border-radius: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(47, 128, 237, 0.15);
    cursor: pointer;
}

/* Верхняя линия с градиентом */
.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-dark), var(--blue));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

/* Анимированный фон при наведении */
.goal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(47, 128, 237, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(47, 128, 237, 0.15);
    border-color: rgba(47, 128, 237, 0.3);
}

.goal-card:hover::before {
    transform: translateX(0);
}

.goal-card:hover::after {
    opacity: 1;
}

/* Иконка */
.goal-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.goal-icon i {
    font-size: 48px;
    color: var(--blue);
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    display: inline-block;
}

.goal-card:hover .goal-icon i {
    transform: scale(1.1) rotate(5deg);
    color: var(--blue-dark);
}

/* Заголовок */
.goal-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.goal-card:hover .goal-title {
    color: var(--blue-dark);
}

/* Описание */
.goal-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== VALUES SECTION ===== */
.values-section {
    background: var(--blue-light);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(47, 128, 237, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    margin-bottom: 20px;
}

.value-icon i {
    font-size: 36px;
    color: var(--blue);
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon i {
    transform: scale(1.1);
}

.value-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.value-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    margin: 40px auto;
    max-width: 1400px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveGrid 20s linear infinite;
    opacity: 0.3;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

.cta-section .section-title {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section .section-subtitle {
    color: rgba(255,255,255,0.9) !important;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--blue-dark);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: transparent;
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* ===== ANIMATION ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .mission-quote {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-banner {
        min-height: 70vh;
        border-radius: 0 0 24px 24px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        color: #FFFFFF;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-outline {
        width: auto;
        min-width: 200px;
    }

    .mission-card {
        padding: 40px 25px;
        margin: 0 20px;
        border-radius: 28px;
    }

    .mission-quote {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .goals-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .goal-card,
    .value-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .cta-section {
        padding: 60px 20px;
        margin: 20px;
        border-radius: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

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

    .hero-description {
        font-size: 0.9rem;
        color: #FFFFFF;
    }

    .mission-card {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .goal-title,
    .value-title {
        font-size: 1.1rem;
    }

    .goal-description,
    .value-description {
        font-size: 0.9rem;
    }

    .cta-section {
        border-radius: 20px;
        margin: 15px;
    }
}