/* --- Global Styles & Variables --- */
:root {
    --bg-dark: #0B131A;
    --bg-dark-secondary: #1A232C;
    --text-color: #a1a1aa;
    --heading-color: #f0fdf4;
    --primary-color: #9333ea;
    --secondary-color: #d946ef;
    --border-color: #27313a;
    --gradient: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

* { 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-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.8rem; letter-spacing: -2px; }
h2 { font-size: 2.5rem; text-align: center; }
.subtitle { max-width: 600px; margin: 1rem auto 0 auto; font-size: 1.15rem; color: #d4d4d8; }
.section-subtitle { max-width: 700px; margin: 1rem auto 3.5rem auto; text-align: center; font-size: 1.1rem; }
.section-tag { display: block; font-weight: 700; color: var(--primary-color); margin-bottom: 1rem; }
section { padding: 80px 0; }

/* --- Buttons & Links --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; 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(147, 51, 234, 0.25); }
.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; }

/* --- Header --- */
.header { border-bottom: 1px solid var(--border-color); padding: 15px 0; background-color: rgba(11, 19, 26, 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 { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero-aurora { position: absolute; top: 50%; left: 50%; width: 1200px; height: 1200px; background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(11, 19, 26, 0) 60%); transform: translate(-50%, -50%); z-index: 0; }
.hero-content { position: relative; z-index: 1; animation: fadeInUp 1s ease-out; }
.hero-benefits { display: flex; justify-content: center; gap: 20px; margin-top: 1.5rem; color: #d4d4d8; font-size: 0.9rem; }

/* --- Social Proof Section --- */
.social-proof { padding-top: 0; padding-bottom: 40px; text-align: center; }
.social-proof p { font-size: 0.8rem; color: #6b7280; letter-spacing: 1px; margin-bottom: 1.5rem; }
.logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.logos span { font-size: 1.2rem; font-weight: bold; color: #6b7280; opacity: 0.8; transition: opacity 0.3s; }

/* --- Comparison Section --- */
.comparison { background-color: var(--bg-dark-secondary); }
.comparison-table { background: var(--bg-dark); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; margin-top: 3rem; }
.table-header, .table-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding: 20px; align-items: center; }
.table-header { font-weight: 700; color: var(--heading-color); background-color: rgba(0,0,0,0.1); }
.table-row:not(:last-child) { border-bottom: 1px solid var(--border-color); }
.premium-col { font-weight: 700; color: var(--heading-color); background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- Solution Section --- */
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.solution-text ul { list-style: none; margin-top: 2rem; margin-bottom: 2rem; }
.solution-text li { margin-bottom: 1rem; position: relative; padding-left: 25px; }
.solution-text li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; }
.solution-visual { text-align: center; position: relative; }
.solution-visual::before { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(147, 51, 234, 0.2), transparent 70%); transform: translate(-50%, -50%); z-index: 0; filter: blur(50px); }
.solution-visual img { max-width: 200px; position: relative; z-index: 1; }

/* --- 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: 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: #000; padding: 30px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid var(--border-color); }

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .table-header { display: none; }
    .table-row { grid-template-columns: 1fr; text-align: center; gap: 10px; }
    .table-row div:nth-child(2)::before { content: 'Бесплатно: '; font-weight: bold; color: var(--text-color); }
    .table-row div:nth-child(3)::before { content: 'Premium: '; font-weight: bold; color: var(--text-color); }
    .solution-grid { grid-template-columns: 1fr; }
    .solution-visual { margin-top: 2rem; }
}