/* --- Global Styles & Variables --- */
:root {
    --bg-dark: #0a192f; /* Основной темно-синий фон */
    --bg-dark-light: #112240; /* Чуть светлее для секций */
    --text-color: #8892b0; /* Светло-серый для текста */
    --heading-color: #ccd6f6; /* Светлый для заголовков */
    --primary-color: #64ffda; /* Акцентный циан/бирюзовый */
    --primary-hover: #79ffee;
    --border-color: #233554;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.7;
    background-color: var(--bg-dark);
    color: var(--text-color);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--heading-color); font-weight: 800; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; }
.subtitle { max-width: 600px; margin: 1rem 0 0 0; font-size: 1.15rem; }
.section-subtitle { max-width: 700px; margin: 1rem auto 3.5rem auto; text-align: center; font-size: 1.1rem; }
.section-tag { display: block; text-align: center; font-weight: 700; color: var(--primary-color); margin-bottom: 1rem; }
section { padding: 80px 0; border-bottom: 1px solid var(--border-color); }
section:last-of-type { border-bottom: none; }

/* --- Buttons & Links --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; /* Более строгие углы */ text-decoration: none; font-weight: 600; transition: all 0.2s; cursor: pointer; border: 1px solid var(--primary-color); }
.btn-primary { background-color: var(--primary-color); color: var(--bg-dark); }
.btn-primary:hover { background-color: transparent; color: var(--primary-color); }
.nav-btn { font-size: 0.9rem; padding: 8px 18px; }
.btn-large { padding: 16px 36px; font-size: 1.1rem; font-weight: 700; margin-top: 2.5rem; }
.cta-button { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

/* --- Header --- */
.header { border-bottom: 1px solid var(--border-color); padding: 15px 0; background-color: rgba(10, 25, 47, 0.85); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); }
.main-nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 35px; margin-right: 12px; }
.logo span { font-size: 1.3rem; font-weight: 800; color: var(--heading-color); }

/* --- Hero Section --- */
.hero { padding: 80px 0; text-align: left; min-height: 60vh; display: flex; align-items: center; }

/* --- About Section --- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 3.5rem; }
.about-card { background-color: var(--bg-dark-light); padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); }
.about-card h3 { font-size: 1.2rem; }

/* --- Challenge Section --- */
.challenge { background-color: var(--bg-dark-light); text-align: center; }
.challenge-points { margin-top: 2rem; }
.challenge-points p { font-size: 1.1rem; color: var(--heading-color); font-weight: 600; margin-bottom: 0.5rem; }

/* --- Solution Section --- */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 4rem; }
.solution-card { background: var(--bg-dark-light); padding: 25px; border-radius: 8px; border: 1px solid var(--border-color); transition: transform 0.2s; }
.solution-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.solution-card h4 { margin-bottom: 0.5rem; color: var(--primary-color); }

/* --- FAQ Section --- */
.faq { background-color: var(--bg-dark-light); }
.faq-accordion { max-width: 800px; margin: 3.5rem auto 0 auto; }
details { background: var(--bg-dark); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 10px; padding: 20px; }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--heading-color); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--primary-color); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details[open] p { padding-top: 15px; margin-top: 15px; border-top: 1px solid var(--border-color); }

/* --- Footer --- */
.footer { background-color: var(--bg-dark); padding: 30px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid var(--border-color); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero { text-align: center; }
    .subtitle { margin: 1rem auto 0 auto; }
    .btn-large { margin: 2rem auto 0 auto; }
}