/* --- Global Styles & Variables --- */
:root {
    --bg-dark: #0a192f; /* Глубокий темно-синий */
    --bg-dark-secondary: #112240; /* Чуть светлее для секций */
    --text-color: #a8b2d1; /* Светло-серый/голубой для текста */
    --heading-color: #ccd6f6; /* Светлый для заголовков */
    --primary-color: #64ffda; /* Акцентный циан/бирюзовый */
    --primary-hover: #79ffee;
    --gradient: linear-gradient(90deg, #38bdf8, #818cf8); /* Голубой -> фиолетовый */
    --border-color: #233554;
    --strong-radius: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--heading-color); font-weight: 800; }
h1 { font-size: 4rem; text-shadow: 0 0 20px rgba(100, 255, 218, 0.3); }
h2 { font-size: 2.8rem; text-align: center; }
.subtitle { max-width: 550px; margin-top: 1.5rem; 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: 1.5rem; }
section { padding: 90px 0; }

/* --- Buttons & Links --- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--gradient); color: white; }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 25px rgba(129, 140, 248, 0.3); }
.nav-btn { font-size: 0.9rem; padding: 10px 20px; }
.btn-large { padding: 18px 40px; font-size: 1.1rem; 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: 20px 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 span { font-size: 1.5rem; font-weight: 800; color: var(--heading-color); }

/* --- Hero Section --- */
.hero { padding: 80px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-image img { width: 100%; height: auto; animation: fadeInUp 0.8s ease-out 0.2s; animation-fill-mode: backwards; }

/* --- Features Section --- */
.features { background-color: var(--bg-dark-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 3.5rem; }
.feature-card { text-align: center; }
.feature-card h3 { font-size: 1.2rem; color: var(--primary-color); }

/* --- Solution Section --- */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 4rem; }
.solution-card { background: var(--bg-dark-secondary); padding: 30px; border-radius: var(--strong-radius); border: 1px solid var(--border-color); }
.solution-card h4 { margin-bottom: 0.5rem; }

/* --- FAQ Section --- */
.faq { background-color: var(--bg-dark-secondary); }
.faq-accordion { max-width: 800px; margin: 3.5rem auto 0 auto; }
details { background: var(--bg-dark); border: 1px solid var(--border-color); border-radius: var(--strong-radius); margin-bottom: 15px; padding: 25px 30px; }
summary { font-weight: 700; 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; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; 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: #000; padding: 30px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid var(--border-color); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .subtitle { margin: 1.5rem auto; }
    .hero-image { margin-top: 3rem; }
    .features-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    :root { --strong-radius: 24px; }
}