﻿:root {
    --bg-main: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #475569;
    --primary: #10b981;
    --primary-hover: #059669;
    --secondary: #0f172a;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-main); color: var(--text-dark); font-family: var(--font-body);
    line-height: 1.7; overflow-x: hidden;
}

/* Уникальный графический элемент - органические формы (Blobs) */
.organic-shape {
    position: absolute; background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(15,23,42,0.05) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1; animation: morph 15s ease-in-out infinite alternate; pointer-events: none;
}
.shape-1 { top: -100px; right: -100px; width: 600px; height: 600px; }
.shape-2 { bottom: 20%; left: -200px; width: 700px; height: 700px; background: linear-gradient(135deg, rgba(15,23,42,0.05) 0%, rgba(16,185,129,0.08) 100%); }

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

header { padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.brand-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text-dark); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-logo img { width: 35px; height: 35px; }
nav a { color: var(--text-dark); text-decoration: none; margin-left: 2.5rem; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
nav a:hover { color: var(--primary); }

.container { max-width: 1400px; margin: 0 auto; padding: 6rem 5%; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--secondary); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2.5rem; }

.hero-wrapper { display: flex; align-items: center; gap: 5rem; min-height: 75vh; }
.hero-text { flex: 1; min-width: 320px; }
.hero-text p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2.5rem; }
.hero-visual { flex: 1; min-width: 320px; position: relative; }
.hero-visual img { width: 100%; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 4/5; }

.cta-button { display: inline-flex; align-items: center; gap: 10px; background: var(--secondary); color: #fff; padding: 1.2rem 3rem; border-radius: 8px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s ease; font-size: 1.1rem; }
.cta-button:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(16,185,129,0.2); }
.cta-button:disabled { background: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }

.methodology-section { text-align: center; background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; margin-top: 4rem; }
.method-item { padding: 2rem; }
.method-item i { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; }
.method-item h3 { margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; }

.benefits-wrapper { display: flex; align-items: center; gap: 5rem; flex-wrap: wrap-reverse; }
.benefits-image { flex: 1; min-width: 320px; }
.benefits-image img { width: 100%; border-radius: 24px; object-fit: cover; }
.benefits-content { flex: 1; min-width: 320px; }
.bullet-list { list-style: none; margin-top: 2rem; }
.bullet-list li { position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-light); }
.bullet-list li::before { content: '\f058'; font-family: 'FontAwesome'; position: absolute; left: 0; top: 2px; color: var(--primary); font-size: 1.3rem; }

.capture-section { background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.capture-container { max-width: 700px; margin: 0 auto; background: rgba(255,255,255,0.05); padding: 4rem; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.capture-container h2 { color: #fff; text-align: center; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.input-box { display: flex; flex-direction: column; }
.input-box label { margin-bottom: 0.5rem; font-size: 0.9rem; color: #cbd5e1; }
.input-box input, .input-box select { padding: 1rem; background: rgba(255,255,255,0.9); border: 1px solid transparent; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); outline: none; transition: border 0.3s; }
.input-box input:focus, .input-box select:focus { border-color: var(--primary); }
.legal-check { display: flex; gap: 1rem; margin: 2rem 0; align-items: flex-start; }
.legal-check input { width: 20px; height: 20px; margin-top: 3px; cursor: pointer; }
.legal-check label { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; }
.legal-check a { color: var(--primary); }
#formStatus { display: none; text-align: center; padding: 2rem; background: var(--primary); border-radius: 12px; margin-top: 2rem; }

.faq-section { max-width: 900px; margin: 0 auto; }
.accordion { border-bottom: 1px solid var(--border); }
.accordion-summary { padding: 1.5rem 0; font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--secondary); }
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary:after { content: '\f067'; font-family: 'FontAwesome'; color: var(--primary); transition: transform 0.3s; font-size: 1rem; }
details[open] .accordion-summary:after { transform: rotate(45deg); }
.accordion-content { padding-bottom: 1.5rem; color: var(--text-light); }

.site-footer { background: #0f172a; color: #cbd5e1; padding: 4rem 5% 2rem; text-align: center; border-top: 4px solid var(--primary); }
.footer-nav { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-nav a:hover { color: var(--primary); }
.copyright { font-size: 0.85rem; color: #64748b; }

.cookie-modal { position: fixed; bottom: -100%; left: 0; width: 100%; background: #ffffff; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; box-shadow: 0 -10px 40px rgba(0,0,0,0.08); transition: bottom 0.6s cubic-bezier(0.22, 1, 0.36, 1); border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1.5rem; }
.cookie-modal.visible { bottom: 0; }
.cookie-desc { flex: 1; min-width: 300px; font-size: 0.9rem; color: var(--text-light); }
.cookie-actions { display: flex; gap: 1rem; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--secondary); padding: 0.8rem 1.5rem; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-solid { background: var(--primary); border: none; color: #fff; padding: 0.8rem 1.5rem; border-radius: 6px; cursor: pointer; font-weight: 600; }

/* Юридические страницы */
.legal-wrapper { max-width: 1000px; margin: 4rem auto; background: var(--card-bg); padding: 5rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.legal-wrapper h1 { font-size: 2.5rem; margin-bottom: 2rem; border-bottom: 2px solid var(--bg-main); padding-bottom: 1rem; }
.legal-wrapper h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--secondary); font-family: var(--font-body); }
.legal-wrapper p, .legal-wrapper ul { margin-bottom: 1.2rem; color: var(--text-light); }
.legal-wrapper ul { padding-left: 1.5rem; }
.legal-wrapper a { color: var(--primary); text-decoration: none; }

@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; }
    nav a { margin: 0 1rem; }
    .input-row { grid-template-columns: 1fr; }
    .legal-wrapper { padding: 2rem; margin: 2rem 5%; }
}
