/* Domain - CSS Styles */
/* Цветовая палитра:
   - Основной: электрический лайм #CCFF00
   - Акцент: насыщенный синий #0047FF
   - Фон: ультра светлый серый #FAFAFA
   - Заголовки: угольный #111111
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #111111;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0047FF 0%, #CCFF00 100%);
    color: white;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 71, 255, 0.3);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-accept {
    background: #111111;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: #333333;
    transform: translateY(-2px);
}

.cookie-policy {
    color: white;
    text-decoration: underline;
    font-size: 14px;
}

/* Header */
.header {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 71, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0047FF;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #111111;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #0047FF;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0047FF, #CCFF00);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #0047FF 0%, #CCFF00 100%);
    color: white;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 71, 255, 0.3);
}

.btn-secondary {
    background: #111111;
    color: white;
}

.btn-secondary:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0047FF 0%, #CCFF00 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: slideInRight 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Section Styles */
.section {
    padding: 80px 0;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0047FF, #CCFF00);
    margin: 20px auto;
    border-radius: 2px;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 71, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0047FF, #CCFF00);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #CCFF00, #0047FF);
    border-radius: 50%;
    margin: -30px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 71, 255, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111111;
    padding: 0 30px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    padding: 0 30px 40px;
}

/* About Section */
.about {
    background: #FAFAFA;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Advantages Section */
.advantages {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0047FF, #CCFF00);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #111111;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* Case Study Section */
.case-study {
    background: linear-gradient(135deg, #0047FF 0%, #CCFF00 100%);
    color: white;
}

.case-content {
    text-align: center;
}

.case-study h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    animation: pulse 2s ease infinite;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    background: #FAFAFA;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 71, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.15);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: #111111;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form {
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #FAFAFA;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #111111;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0047FF;
    box-shadow: 0 0 10px rgba(0, 71, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #0047FF 0%, #CCFF00 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 71, 255, 0.3);
}

/* Footer */
.footer {
    background: #111111;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #CCFF00;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #CCFF00;
}

.footer-description {
    line-height: 1.6;
    color: #CCC;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #CCFF00;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom-content {
    text-align: center;
    color: #999;
}

.footer-bottom-content p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .logo {
        justify-content: center;
    }
    
    .logo svg {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 0;
    }
    
    .nav li {
        margin: 0;
    }
    
    .nav a {
        font-size: 13px;
        padding: 6px 12px;
        background: rgba(0, 71, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background: rgba(0, 71, 255, 0.2);
    }
    
    .header-cta {
        margin-top: 8px;
    }
    
    .header-cta .btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .main {
        margin-top: 145px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .case-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main {
        margin-top: 120px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .nav ul {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav ul::-webkit-scrollbar {
        display: none;
    }
    
    .nav a {
        font-size: 12px;
        padding: 5px 10px;
        white-space: nowrap;
    }
    
    .header-cta {
        margin-top: 5px;
    }
    
    .header-cta .btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .services-grid {
        gap: 30px;
    }
    
    .service-card {
        padding: 0;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        padding: 0 20px;
    }
    
    .service-card p {
        padding: 0 20px 30px;
        font-size: 0.9rem;
    }
} 