/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #2c3e66;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1f2c48;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
}
nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}
nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c3e66;
    transition: width 0.3s;
}
nav a:hover::after {
    width: 100%;
}
nav a:hover {
    color: #2c3e66;
}
.contact-info {
    display: flex;
    gap: 24px;
    align-items: center;
}
.contact-info a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.2s;
}
.contact-info i {
    font-size: 1.4rem;
}
.contact-info a:hover {
    color: #2c3e66;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: #2c3e66;
    color: white;
    box-shadow: 0 4px 12px rgba(44,62,102,0.2);
}
.btn-primary:hover {
    background: #1f2c48;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44,62,102,0.3);
}
.btn-outline {
    background: transparent;
    border-color: #2c3e66;
    color: #2c3e66;
}
.btn-outline:hover {
    background: #2c3e66;
    color: white;
    transform: translateY(-3px);
}

/* Ripple эффект (встроенный в .btn, но можно оставить как отдельный класс) */
.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease-out, height 0.4s ease-out;
}
.btn:active:after {
    width: 300px;
    height: 300px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}
.hero-image {
    flex: 1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 40px -20px rgba(0,0,0,0.2);
    transition: transform 0.4s;
    animation: fadeSlideUp 0.8s ease-out forwards;
}
.hero-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}
.hero-image:hover img {
    transform: scale(1.03);
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.emphasis {
    font-style: italic;
    color: #2c3e66;
    font-weight: 500;
    position: relative;
    display: inline-block;
}
.emphasis::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2c3e66, transparent);
    opacity: 0.4;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.4;
}
.hero-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #7a7a7a;
}
.hero-bg-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(44,62,102,0.03) 0%, rgba(44,62,102,0) 70%);
    pointer-events: none;
}
.hero-parallax-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(circle at 30% 40%, rgba(44,62,102,0.02) 0%, rgba(44,62,102,0) 70%);
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
}
.alt-bg {
    background: #fafafc;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
    border-left: 4px solid #2c3e66;
    padding-left: 1.5rem;
    position: relative;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2c3e66, transparent);
}
.no-border {
    border-left: none;
    padding-left: 0;
}
.no-border::before {
    display: none;
}

/* Двуколоночный текст */
.two-columns {
    display: flex;
    gap: 60px;
    margin: 2rem 0 3rem;
}
.col {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.6;
}
.accent-text {
    font-weight: 600;
    color: #2c3e66;
    background: linear-gradient(120deg, #f0f3fc 0%, #f0f3fc 40%, transparent 60%);
    padding: 0 0.2em;
}
.lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2c3e66;
    font-weight: 500;
}
.insight-text {
    margin-top: 2.5rem;
    font-size: 1.05rem;
    font-style: italic;
    border-left: 3px solid #2c3e66;
    padding-left: 1.5rem;
    color: #3a3a3a;
}

/* Проблемы (карточки) */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 3rem 0;
}
.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 10px 20px -10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.problem-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.15);
    border-color: #2c3e6620;
}
.problem-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e66;
}
.problem-card p {
    color: #4a4a4a;
    line-height: 1.5;
}

/* Подход (карточки с иконками) */
.approach-quote {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    background: #f5f7fe;
    padding: 2rem;
    border-radius: 32px;
    border-left: 4px solid #2c3e66;
}
.approach-grid {
    display: flex;
    gap: 40px;
    margin: 3rem 0;
    flex-wrap: wrap;
}
.approach-card {
    flex: 1;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 15px 25px -12px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.approach-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.15);
}
.approach-icon {
    font-size: 2.5rem;
    color: #2c3e66;
    margin-bottom: 1rem;
}
.approach-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.approach-card p {
    color: #5a5a5a;
}

/* Процесс (шаги) */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 2rem;
}
.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e66;
    background: #edf2f7;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.step:hover .step-number {
    transform: scale(1.05);
}
.step p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Список результатов */
.results-list ul {
    list-style: none;
    margin: 2rem 0;
}
.results-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}
.results-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c3e66;
    font-weight: bold;
}

/* Обо мне */
.about-container {
    display: flex;
    gap: 60px;
    align-items: center;
}
.about-image {
    flex: 1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 35px -15px rgba(0,0,0,0.15);
}
.about-image img {
    width: 100%;
    display: block;
}
.about-text {
    flex: 1;
}
.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Предупреждение */
.warning-text {
    background: #fef8e7;
    padding: 2rem;
    border-radius: 28px;
    border-left: 4px solid #2c3e66;
    font-size: 1.05rem;
}

/* Контакты */
.contact-section {
    text-align: center;
}
.contact-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Telegram */
.telegram-section {
    background: #fff;
    padding: 60px 0;
}
.telegram-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.telegram-card {
    background: white;
    border-radius: 80px;
    padding: 1rem 2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 12px rgba(0,0,0,0.02);
}
.telegram-card i {
    font-size: 2rem;
    color: #2c3e66;
}
.telegram-card span {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1rem;
}
.telegram-card small {
    font-size: 0.7rem;
    color: #6c6c6c;
    display: block;
}
.telegram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.1);
    border-color: #2c3e6620;
}

/* Footer */
footer {
    background: linear-gradient(0deg, #fff, #fafafc);
    text-align: center;
    padding: 32px;
    font-size: 0.85rem;
    color: #6c6c6c;
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2c3e66, transparent);
}

/* Анимации появления */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    .hero-container {
        gap: 40px;
    }
    .two-columns {
        gap: 30px;
    }
    .approach-grid {
        gap: 25px;
    }
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 24px;
    }
    nav ul {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    .hero-text {
        order: 2;
    }
    .two-columns {
        flex-direction: column;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-text .section-title {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .telegram-container {
        gap: 20px;
    }
    .section {
        padding: 70px 0;
    }
    .section-title {
        padding-left: 1rem;
    }
    .section-title::before {
        width: 40px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    .btn {
        padding: 12px 28px;
    }
}