@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@400;500&display=swap');

:root {
    --font-headings: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --bg-dark: #08090f;
    --bg-card: #121420;
    --primary: #10b981;
    --secondary: #6366f1;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Уникальный графический эффект: неоновые туманности на заднем фоне */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Ссылка доступности (Accessibility) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    font-weight: bold;
    z-index: 99999;
    transition: top 0.2s;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 10px;
}

/* Хедер */
.site-header {
    background: rgba(8, 9, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    z-index: 101;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Герой блок */
.hero-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 600px;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(15%);
}

/* Секция статистики */
.stats-section {
    background: rgba(18, 20, 32, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 20px;
    margin: 60px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-card h3 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Секция асимметричных преимуществ */
.features-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.features-content h2 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.features-list li i {
    color: var(--primary);
    margin-top: 5px;
}

/* Блок Trust с отзывами */
.trust-brands {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.brands-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    opacity: 0.6;
}

.brands-grid i {
    font-size: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.review-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 500;
}

/* Карточки услуг */
.services-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Тарифные сетки */
.pricing-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 4px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-family: var(--font-headings);
    color: var(--primary);
    margin-bottom: 25px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* Форма захвата */
.form-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-family: var(--font-headings);
    font-size: 2.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-group input {
    margin-top: 3px;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
}

/* Секция Контактов */
.contact-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 3px;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 400px;
}

/* Trust Layer (Слой доверия) */
.trust-layer {
    background: rgba(18, 20, 32, 0.7);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 80px;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-container h3 {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.trust-container p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.trust-container a {
    color: var(--primary);
    text-decoration: underline;
}

.trust-disclaimer {
    border-left: 3px solid var(--secondary);
    padding-left: 15px;
    font-style: italic;
}

/* Футер */
.site-footer {
    background: #05060a;
    padding: 60px 20px 30px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h5, .footer-legal-links h5 {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links a, .footer-legal-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover, .footer-legal-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Баннер куки */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(18, 20, 32, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    bottom: 20px;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-banner a {
    color: var(--primary);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-cookie.accept {
    background: var(--primary);
    color: #000;
}

.btn-cookie.reject {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

/* Детали / Accordion FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-accordion details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
}

.faq-accordion summary {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.4rem;
}

.faq-accordion details[open] summary::after {
    content: '-';
}

.faq-accordion p {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Юридические страницы - Оформление */
.legal-page-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-page-container h1 {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    margin: 35px 0 15px 0;
}

.legal-content p, .legal-content li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

/* Мобильная адаптивность */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        margin: 40px auto;
    }
    .hero-content p {
        margin: 0 auto 35px auto;
    }
    .btn-group {
        justify-content: center;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .features-section {
        grid-template-columns: 1fr;
    }
    .services-grid, .pricing-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 71px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .burger-menu {
        display: flex;
    }
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}