/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра */
    --electric-blue: #005DFF;
    --mint-green: #00FFC2;
    --graphite-black: #121212;
    --smoky-gray: #F3F3F3;
    --bright-yellow: #FFF700;
    
    /* Дополнительные цвета */
    --white: #FFFFFF;
    --gray-light: #E5E5E5;
    --gray-medium: #999999;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 93, 255, 0.2);
    
    /* Типографика */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Отступы */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--graphite-black);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-blue), var(--mint-green));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
}

.btn-secondary:hover {
    background: var(--electric-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--bright-yellow);
    color: var(--graphite-black);
    font-size: 18px;
    padding: 16px 40px;
}

.btn-cta:hover {
    background: #FFE500;
    transform: scale(1.05);
}

.btn-submit {
    background: linear-gradient(135deg, var(--electric-blue), var(--mint-green));
    color: var(--white);
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--graphite-black);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-accept {
    background: var(--mint-green);
    color: var(--graphite-black);
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.btn-more {
    color: var(--mint-green);
    text-decoration: underline;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-svg {
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--graphite-black);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--electric-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--graphite-black);
    transition: all 0.3s ease;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-medium);
    margin-top: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--smoky-gray) 0%, var(--white) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--mint-green) 0%, transparent 70%);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.highlight {
    background: linear-gradient(135deg, var(--electric-blue), var(--mint-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-medium);
    margin-bottom: 30px;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out 0.6s both;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px var(--shadow);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-blue);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-medium);
    margin-top: 5px;
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px var(--shadow);
}

/* Services Section */
.services {
    background: var(--smoky-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--electric-blue), var(--mint-green));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-hover);
}

.service-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.service-icon {
    margin-bottom: 20px;
}

.service-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--electric-blue);
    margin-top: 20px;
}

/* Advantages Section */
.advantages {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq {
    background: var(--smoky-gray);
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    color: var(--electric-blue);
    margin-bottom: 15px;
}

.faq-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px var(--shadow);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--electric-blue), var(--mint-green));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item strong {
    color: var(--electric-blue);
    display: block;
    margin-bottom: 5px;
}

.contact-img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

/* Form Styles */
.form {
    background: var(--smoky-gray);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--graphite-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(0, 93, 255, 0.1);
}

.form-checkboxes {
    margin-bottom: 30px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--electric-blue);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--graphite-black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--mint-green);
    margin-bottom: 20px;
}

.footer-links,
.footer-legal {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--mint-green);
}

.footer-contact a {
    color: var(--mint-green);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    color: var(--gray-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 20px var(--shadow);
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        left: 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-content,
    .about-content,
    .faq-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-stats {
        justify-content: space-around;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .form {
        padding: 30px 20px;
    }
}

/* Legal Pages Styles */
.legal-section {
    padding: 100px 0 80px;
    background: var(--white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    color: var(--electric-blue);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--gray-medium);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-intro {
    background: var(--smoky-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border-left: 4px solid var(--electric-blue);
}

.legal-section-content {
    margin-bottom: 40px;
}

.legal-section-content h2 {
    color: var(--electric-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.legal-section-content h3 {
    color: var(--graphite-black);
    font-size: 1.25rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-section-content h4 {
    color: var(--graphite-black);
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.legal-section-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section-content li {
    margin-bottom: 8px;
}

.contact-info {
    background: var(--smoky-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.back-link {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .form {
        padding: 20px 15px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-intro,
    .contact-info {
        padding: 20px;
    }
} 