/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #EAEAEA;
    background: #1E1B3A;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1E1B3A 0%, #2A2557 100%);
    border-top: 2px solid #39FF14;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
}

.cookie-content a {
    color: #39FF14;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    color: #1E1B3A;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    transform: scale(1.05);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 27, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(57, 255, 20, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-svg {
    height: 40px;
    width: auto;
}

.logo-text {
    fill: #39FF14;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
}

/* Mobile Menu Toggle */
.menu-toggle-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle-icon {
    width: 25px;
    height: 3px;
    background: #39FF14;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #39FF14;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #39FF14, #00F7FF);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1E1B3A 0%, #2A2557 50%, #1E1B3A 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/0Ixxoi.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    color: #1E1B3A;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(57, 255, 20, 0.3);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(57, 255, 20, 0.3);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(42, 37, 87, 0.3);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(42, 37, 87, 0.5);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.2);
    border-color: #39FF14;
}

.service-card * {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #39FF14;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(42, 37, 87, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(42, 37, 87, 0.6);
    transform: translateX(10px);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #1E1B3A;
}

.advantage-content h4 {
    color: #39FF14;
    margin-bottom: 10px;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1E1B3A;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: #39FF14;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(42, 37, 87, 0.5);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #39FF14;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(57, 255, 20, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    color: #39FF14;
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 50px auto 0;
    background: rgba(42, 37, 87, 0.3);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(57, 255, 20, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #39FF14;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(57, 255, 20, 0.3);
    border-radius: 10px;
    background: rgba(30, 27, 58, 0.5);
    color: #EAEAEA;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select option {
    background: #1E1B3A;
    color: #EAEAEA;
    padding: 10px;
    border: none;
}

.form-group select option:checked,
.form-group select option:hover {
    background: #39FF14;
    color: #1E1B3A;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #39FF14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #39FF14;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #39FF14 0%, #00F7FF 100%);
    color: #1E1B3A;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1E1B3A 0%, #0F0D1A 100%);
    padding: 60px 0 20px;
    border-top: 2px solid rgba(57, 255, 20, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: #39FF14;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-subtitle {
    color: #39FF14;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #00F7FF;
}

.footer-contact a:hover {
    color: #39FF14;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #EAEAEA;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #39FF14;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px !important; /* Увеличенный отступ для мобильных */
        min-height: 100vh !important;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Специальные стили для страницы благодарности */
    .hero .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(30, 27, 58, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: right 0.3s ease;
        border-left: 2px solid rgba(57, 255, 20, 0.3);
        z-index: 1000;
    }
    
    .menu-toggle-checkbox:checked + .nav-overlay {
        display: block;
    }
    
    .menu-toggle-checkbox:checked + .nav-overlay + .nav-container .nav-menu {
        right: 0;
    }
    
    .menu-toggle-checkbox:checked + .nav-overlay + .nav-container .nav-toggle .nav-toggle-icon {
        background: transparent;
    }
    
    .menu-toggle-checkbox:checked + .nav-overlay + .nav-container .nav-toggle .nav-toggle-icon::before {
        transform: rotate(45deg);
    }
    
    .menu-toggle-checkbox:checked + .nav-overlay + .nav-container .nav-toggle .nav-toggle-icon::after {
        transform: rotate(-45deg);
    }
    
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: #39FF14;
        transition: 0.3s;
    }
    
    .nav-toggle-icon::before {
        transform: translateY(-8px);
    }
    
    .nav-toggle-icon::after {
        transform: translateY(8px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin: 30px 20px 0;
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .service-image {
        height: 160px;
    }
    
    /* Дополнительное центрирование для маленьких экранов */
    .hero .container {
        padding: 0 15px;
    }
    
    .hero-content {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #39FF14;
    outline-offset: 2px;
}

/* Обеспечение кликабельности на странице благодарности */
.hero a,
.hero button,
.cta-button {
    position: relative;
    z-index: 100;
    pointer-events: auto;
    cursor: pointer;
}

.hero .hero-content * {
    pointer-events: auto;
} 