/* --- Global Styles & Variables --- */
:root {
    --bg-color: #ffffff;
    --bg-light: #fffaf0; /* Очень светлый оранжево-кремовый */
    --text-color: #3f3f46;
    --heading-color: #18181b;
    --primary-color: #f97316; /* Яркий оранжевый */
    --primary-hover: #ea580c;
    --border-color: #e4e4e7;
}

* { 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-color);
    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; color: #52525b; }
.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; position: relative; }

/* Динамичные разделители секций */
section.angled {
    margin-top: -80px;
    padding-top: 160px;
    background-color: var(--bg-light);
    clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%);
}

/* --- Buttons & Links --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; /* Округлые кнопки */ text-decoration: none; font-weight: 600; transition: all 0.2s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(45deg, var(--primary-color), #fb923c); color: white; border: none; }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2); }
.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(255, 255, 255, 0.8); 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; }
.hero .subtitle { margin-left: 0; margin-right: auto; }
.hero .btn-large { margin-left: 0; margin-right: auto; }

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

/* --- 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-light); padding: 25px; border-radius: 12px; border: 1px solid transparent; border-left: 4px solid var(--primary-color); }
.solution-card h4 { margin-bottom: 0.5rem; }

/* --- FAQ Section --- */
.faq { background-color: var(--bg-light); }
.faq-accordion { max-width: 800px; margin: 3.5rem auto 0 auto; }
details { background: white; border: 1px solid var(--border-color); border-radius: 8px; 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: #18181b; color: #a1a1aa; padding: 40px 0; text-align: center; font-size: 0.9rem; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .challenge-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; }
    .btn-large { margin: 2rem auto 0 auto; }
}