/* ======== СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ ======== */

/* --- Блок 1: Первый экран --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 71px);
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 4.5rem;
    margin: 0;
    text-transform: uppercase;
}

.hero-section .subtitle {
    font-size: 1.5rem;
    color: #A0A0A0;
    margin-top: 10px;
}

.logo-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 10px #00BFFF,
                0 0 20px #00BFFF,
                0 0 35px #00BFFF;
}

.logo-container img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* --- Блок 2: Манифест --- */
.manifesto-section {
    padding: 100px 20px;
    background-color: #111;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.manifesto-section h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.manifesto-section .pain-points h2 {
    color: #FF4136;
}

.manifesto-section .our-way h2 {
    color: #39FF14;
}

.manifesto-section ul {
    list-style-type: none;
    padding-left: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.manifesto-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.manifesto-section ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #555;
    font-size: 1.5rem;
    line-height: 0.9;
}

/* --- Блок 3: Экосистема --- */
.ecosystem-section {
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.ecosystem-section h2 {
    font-size: 3rem;
    margin: 0 0 80px;
}

.cards-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px 100px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.connector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.connector-svg path {
    fill: none;
    stroke: #E53935;
    stroke-width: 1;
    stroke-linecap: round;
    animation: sith-pulse 2s ease-in-out infinite;
}

@keyframes sith-pulse {
    0% {
        filter: drop-shadow(0 0 2px #E53935);
        stroke-width: 1;
    }
    70% {
        filter: drop-shadow(0 0 5px #E53935) drop-shadow(0 0 1px #FF8A80);
        stroke-width: 1.25;
    }
    100% {
        filter: drop-shadow(0 0 2px #E53935);
        stroke-width: 1;
    }
}

.card-logo-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 5px #00BFFF,
                0 0 10px #00BFFF;
}

.card-logo-container img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.card--main {
    grid-row: 1 / span 3;
    grid-column: 1 / 2;
}

.card--main .card {
    padding: 40px;
    border-width: 2px;
    border-color: #00BFFF;
}

.card--main .card h3 {
    font-size: 2rem;
}

.card--sub.item-1 { grid-area: 1 / 2 / 2 / 3; }
.card--sub.item-2 { grid-area: 2 / 2 / 3 / 3; }
.card--sub.item-3 { grid-area: 3 / 2 / 4 / 3; }

/* --- Блок 4: Финальный призыв --- */
.final-cta-section {
    padding: 120px 20px;
    text-align: center;
    background-color: #111;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.final-cta-section h2 {
    font-size: 3rem;
}

.final-cta-section p {
    font-size: 1.2rem;
    color: #A0A0A0;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 0;
}

/* --- Адаптивность --- */
@media (max-width: 900px) {
    .cards-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }
    .card--main, .card--sub.item-1, .card--sub.item-2, .card--sub.item-3 {
        grid-area: auto;
    }
    .connector-svg {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 3rem; }
    .hero-section .subtitle { font-size: 1.2rem; }
    .ecosystem-section h2, .final-cta-section h2 { font-size: 2.2rem; }
}
