/* --- Global Styles & Variables --- */
:root {
    --bg-color: #ffffff;
    --bg-accent: #dc2626; /* Мощный красный */
    --text-color: #374151;
    --heading-color: #111827;
    --primary-yellow: #facc15; /* Яркий желтый */
    --primary-yellow-hover: #eab308;
    --border-color: #e5e7eb;
    --radius: 16px;
}

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

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--heading-color); font-weight: 800; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; }
.subtitle { max-width: 550px; margin-top: 1rem; font-size: 1.15rem; color: #4b5563; }
.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: white; background-color: var(--bg-accent); padding: 4px 12px; border-radius: 50px; width: fit-content; margin: 0 auto 1.5rem auto; }
section { padding: 80px 0; }

/* --- Buttons & Links --- */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); text-decoration: none; font-weight: 700; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background-color: var(--primary-yellow); color: var(--heading-color); }
.btn-primary:hover { background-color: var(--primary-yellow-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(250, 204, 21, 0.4); }
.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: 15px 0; background-color: rgba(255, 255, 255, 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: 60px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-image { text-align: center; animation: fadeInUp 1s ease-out; }
.hero-image img { max-width: 100%; height: auto; }

/* --- Features Section --- */
.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; }

/* --- Solution Section --- */
.solution { background-color: var(--bg-accent); }
.solution h2, .solution .section-subtitle { color: white; }
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 4rem; }
.solution-card { background: white; padding: 25px; border-radius: var(--radius); }
.solution-card h4 { margin-bottom: 0.5rem; }

/* --- FAQ Section --- */
.faq-accordion { max-width: 800px; margin: 3.5rem auto 0 auto; }
details { background: #f9fafb; border: 1px solid var(--border-color); border-radius: var(--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; color: var(--heading-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(--heading-color); color: #d1d5db; padding: 30px 0; text-align: center; font-size: 0.9rem; }

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