/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #BF00FF; /* Electric Purple */
    --accent-color: #FF6B6B; /* Neon Coral */
    --bg-color: #222222; /* Dark Charcoal */
    --text-color: #F0F0F0; /* Light Gray */
    --text-secondary: #B0B0B0;
    --border-radius: 20px;
    --border-radius-small: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 40px rgba(191, 0, 255, 0.1);
    --shadow-hover: 0 30px 60px rgba(191, 0, 255, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Градиентные фоны */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.gradient-bg-alt {
    background: linear-gradient(45deg, var(--bg-color) 0%, #333333 50%, var(--bg-color) 100%);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: var(--transition);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.cookie-text a {
    color: white;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-accept, .btn-decline {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-accept {
    background: white;
    color: var(--primary-color);
}

.btn-accept:hover {
    background: var(--text-color);
    transform: translateY(-2px);
}

.btn-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header и Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(191, 0, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-svg {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 12px 24px;
    border-radius: var(--border-radius-small);
    color: white !important;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-nav::after {
    display: none;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-color) 0%, #2a2a2a 50%, var(--bg-color) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./img/3MqN9B.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Section Dividers */
.section-divider {
    height: 100px;
    overflow: hidden;
    margin: 0;
}

.divider-svg {
    width: 100%;
    height: 100%;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    border: 1px solid rgba(191, 0, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(191, 0, 255, 0.3);
}

/* Service Cards with Images */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0; /* Remove default padding for image cards */
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0; /* Remove negative margins */
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Round top corners only */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block; /* Remove any spacing around image */
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px; /* Add padding back to content area */
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Form Styles */
.form-section {
    background: linear-gradient(135deg, #2a2a2a 0%, var(--bg-color) 50%, #2a2a2a 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #333333;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(191, 0, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-input, .form-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #444444;
    border-radius: var(--border-radius-small);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(191, 0, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.checkbox-group label a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.checkbox-group label a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 18px;
    border-radius: var(--border-radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--bg-color) 50%, #1a1a1a 100%);
    border-top: 1px solid rgba(191, 0, 255, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.contact-info a {
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
}

/* Ensure contact text is white */
.contact-info p {
    color: var(--text-secondary);
}

.contact-info strong {
    color: var(--text-color);
}

/* Specific styling for contact links */
.contact-link {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
    text-decoration: underline !important;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-divider {
    height: 60px;
    overflow: hidden;
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Trust Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: #333333;
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Map */
.contact-map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(34, 34, 34, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        transform: translateX(-100%);
        transition: var(--transition);
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-container {
        padding: 0 15px;
    }

    .card {
        padding: 25px;
    }

    .form-container {
        padding: 25px 15px;
    }
    
    /* Service cards mobile adjustments */
    .service-image {
        height: 150px;
        margin: 0;
        border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
    }
    
    .service-content {
        padding: 25px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Policy Pages Styles */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.policy-content {
    background: #333333;
    padding: 40px;
    border-radius: var(--border-radius);
    line-height: 1.8;
}

.policy-content h1 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.policy-content h2 {
    color: var(--text-color);
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.policy-content ul {
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}
