/* Основные стили */
:root {
    --primary-color: #0A2463;
    --accent-color: #FF6B35;
    --bg-color: #F8F9FA;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --light-color: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-accent {
    background-color: var(--accent-color);
    color: white;
}

/* Типография */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.subsection-title {
    font-size: 1.8rem;
    margin: 3rem 0 2rem;
    text-align: center;
}

.highlight {
    color: var(--accent-color);
}

/* Навигация */
.navbar {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--accent-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: #e05a2b;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e05a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Герой секция */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
}

.data-visual {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.metric {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 120px;
}

.metric span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 10px;
}

/* Карточки особенностей */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Решения (теги) */
.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.solution-tag {
    background-color: var(--light-color);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.solution-tag:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Таблицы */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.segments-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.segments-table th, .comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
}

.segments-table td, .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.segments-table tr:last-child td, .comparison-table tr:last-child td {
    border-bottom: none;
}

.segments-table tr:hover, .comparison-table tr:hover {
    background-color: #f7fafc;
}

/* Архетипы */
.archetypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.archetype-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.archetype-card:hover {
    transform: translateY(-5px);
}

.archetype-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.archetype-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Методология Resonance Score */
.methodology-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.methodology-chart {
    flex: 1;
    display: flex;
    justify-content: center;
}

.chart-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(
        #3B82F6 0% 30%,
        #10B981 30% 70%,
        #8B5CF6 70% 100%
    );
}

.chart-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chart-center {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--light-color);
    border-radius: 50%;
    top: 50px;
    left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.chart-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.chart-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.methodology-details {
    flex: 1;
}

.metric-detail {
    margin-bottom: 2rem;
}

.metric-detail h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Шаги работы */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.step h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Форма контактов */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.bg-accent .contact-form {
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.bg-accent .form-group input, .bg-accent .form-group select {
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.bg-accent .contact-info h3 {
    color: white;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bg-accent .contact-info p {
    color: rgba(255, 255, 255, 0.9);
}

.bg-accent .section-subtitle {
    color: rgba(255, 255, 255, 0.95); /* Более непрозрачный белый */
    font-weight: 500; /* Немного жирнее */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Легкая тень для объема */
}

/* Футер */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-tagline {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-copyright {
    opacity: 0.6;
}

/* Кнопка наверх */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e05a2b;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .methodology-container {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2.section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: block;
    }

    .features-grid, .archetypes-grid, .steps {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}