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

:root {
    --bg-dark: #070a13;
    --bg-card: #101626;
    --primary: #00f2fe;
    --primary-hover: #00c2cc;
    --accent: #ff7a59;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-glow: rgba(0, 242, 254, 0.12);
    --border-color: #1e293b;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    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;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 10px;
}

/* Base Layout & Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-hover);
}

/* Header & Navigation */
header {
    background: rgba(16, 22, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-link img {
    width: 40px;
    height: 40px;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-menu a {
    color: var(--text-main);
    font-weight: 400;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Unique Graphical Effect: Glowing Background Blobs */
.glow-effect {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,242,254,0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 35px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-dark);
}
.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.btn-secondary:hover {
    background-color: var(--bg-card);
}
.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

/* Statistics */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 24px;
}
.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.stat-card p {
    color: var(--text-muted);
}

/* Features */
.features-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.feature-list {
    list-style: none;
    margin-top: 20px;
}
.feature-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Social Proof (Testimonials & Trust logos) */
.social-proof-section {
    background: rgba(16, 22, 38, 0.5);
    padding: 80px 24px;
    border-top: 1px solid var(--border-color);
}
.logos-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.6;
}
.logos-container i {
    font-size: 2.5rem;
    color: var(--text-muted);
}
.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 6px;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Services Page & Section */
.services-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.service-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.service-card p {
    color: var(--text-muted);
}

/* Pricing Grid with Smooth Scroll Hooks */
.pricing-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pricing-card.recommended {
    border-color: var(--primary);
    box-shadow: 0 0 25px var(--border-glow);
}
.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
}
.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}
.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

/* Form Section */
.form-section {
    padding: 100px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
}
.form-container h2 {
    text-align: center;
    margin-bottom: 40px;
}
.lead-form {
    display: grid;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.lead-form input, .lead-form textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 14px;
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-body);
}
.lead-form input:focus, .lead-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.form-checkbox input {
    margin-top: 4px;
}

/* Random Content Blocks (For diversity and compliance) */
.random-info-block {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.random-info-block h2 {
    margin-bottom: 24px;
}
.random-info-block p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Accordion FAQs */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 6px;
    padding: 15px;
}
summary {
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 5px 0;
}
details p {
    margin-top: 15px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Trust Layer (Слой доверия) */
.trust-layer {
    background: rgba(16, 22, 38, 0.9);
    border-top: 2px solid var(--border-color);
    padding: 40px 24px;
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}
.trust-identity h4 {
    color: var(--primary);
    margin-bottom: 10px;
}
.trust-identity p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-disclaimer h4 {
    color: var(--accent);
    margin-bottom: 10px;
}
.trust-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #0b0f19;
    padding: 60px 24px 40px;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-main);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-corporate {
    grid-column: span 3;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: -300px;
    left: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    z-index: 2000;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 800px;
    margin: 0 auto;
}
.cookie-banner.visible {
    bottom: 20px;
}
.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Grid adjustments for contacts & inner pages */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}
.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 350px;
}

/* Mobile Responsiveness (Mobile-first) */
@media (max-width: 992px) {
    .hero-section, .feature-row, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image {
        order: -1;
    }
    .services-grid, .pricing-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .trust-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 15px;
    }
    .nav-menu.mobile-open {
        display: flex;
    }
    .burger-btn {
        display: block;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}