/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #F5F5DC;
    background: linear-gradient(135deg, #4B0082 0%, #2E0A4F 25%, #4B0082 50%, #6B1A9A 75%, #4B0082 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #F5F5DC;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #F5F5DC;
}

a {
    color: #CCFF00;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #D5B5FF;
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #CCFF00 0%, #D5B5FF 100%);
    color: #4B0082;
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.4);
    color: #4B0082;
}

.btn-secondary {
    background: linear-gradient(45deg, #E854B2 0%, #FF8A42 100%);
    color: #F5F5DC;
    box-shadow: 0 4px 15px rgba(232, 84, 178, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 84, 178, 0.4);
    color: #F5F5DC;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(75, 0, 130, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(204, 255, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #F5F5DC;
    text-decoration: none;
}

.logo svg {
    margin-right: 10px;
}

.nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: #CCFF00;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #F5F5DC;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #CCFF00;
    border-bottom-color: #CCFF00;
}

.contact-info .phone {
    background: linear-gradient(45deg, #E854B2 0%, #FF8A42 100%);
    color: #F5F5DC;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info .phone:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(232, 84, 178, 0.4);
}

/* === HERO SECTION === */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #4B0082 0%, #2E0A4F 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(204,255,0,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #CCFF00 0%, #D5B5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #F5F5DC;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* === SECTIONS === */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #CCFF00 0%, #D5B5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: #F5F5DC;
    opacity: 0.8;
}

/* === ABOUT SECTION === */
.about {
    background: linear-gradient(135deg, #2E0A4F 0%, #4B0082 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(204, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(204, 255, 0, 0.2);
}

.feature h4 {
    color: #CCFF00;
    margin-bottom: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* === ADVANTAGES SECTION === */
.advantages {
    background: linear-gradient(135deg, #4B0082 0%, #6B1A9A 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(232, 84, 178, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(232, 84, 178, 0.3);
    border-color: #E854B2;
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: #CCFF00;
    margin-bottom: 15px;
}

/* === SERVICES SECTION === */
.services {
    background: linear-gradient(135deg, #2E0A4F 0%, #4B0082 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 138, 66, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 138, 66, 0.3);
    border-color: #FF8A42;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.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-content {
    padding: 30px;
}

.service-content h3 {
    color: #CCFF00;
    margin-bottom: 15px;
}

.service-content ul {
    list-style: none;
    margin: 20px 0;
}

.service-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-content li::before {
    content: '✓';
    color: #E854B2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-price {
    background: linear-gradient(45deg, #E854B2 0%, #FF8A42 100%);
    color: #F5F5DC;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background: linear-gradient(135deg, #4B0082 0%, #2E0A4F 100%);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(213, 181, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(213, 181, 255, 0.2);
    border-color: #D5B5FF;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: #F5F5DC;
}

.testimonial-author strong {
    color: #CCFF00;
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #D5B5FF;
    font-size: 0.9rem;
}

/* === CONTACT SECTION === */
.contact {
    background: linear-gradient(135deg, #2E0A4F 0%, #4B0082 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(204, 255, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #CCFF00;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #F5F5DC;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select option {
    background: #2E0A4F;
    color: #F5F5DC;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #CCFF00;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.form-checkboxes {
    margin: 30px 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E854B2;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #CCFF00;
    text-decoration: underline;
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    color: #CCFF00;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    color: #E854B2;
    display: block;
    margin-bottom: 5px;
}

.contact-item a {
    color: #CCFF00;
}

/* === FOOTER === */
.footer {
    background: #1A0433;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(204, 255, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #CCFF00;
    margin-bottom: 20px;
}

.footer-section p {
    color: #F5F5DC;
    opacity: 0.8;
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 10px;
}

.legal-links a {
    color: #F5F5DC;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: #CCFF00;
    opacity: 1;
}

.contact-details a {
    color: #CCFF00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: #F5F5DC;
    opacity: 0.6;
}

/* === MERCI PAGE === */
.merci-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #4B0082 0%, #2E0A4F 100%);
}

.merci-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.merci-content {
    text-align: center;
}

.merci-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #CCFF00 0%, #D5B5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.merci-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    text-align: left;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(204, 255, 0, 0.2);
}

.info-item strong {
    color: #CCFF00;
    display: block;
    margin-bottom: 15px;
}

.info-item ul {
    list-style: none;
    margin: 15px 0;
}

.info-item li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.info-item li::before {
    content: '→';
    color: #E854B2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.merci-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.equipe-section {
    background: linear-gradient(135deg, #2E0A4F 0%, #4B0082 100%);
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.equipe-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(232, 84, 178, 0.2);
    transition: all 0.3s ease;
}

.equipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(232, 84, 178, 0.3);
    border-color: #E854B2;
}

.equipe-avatar {
    margin-bottom: 20px;
}

.equipe-role {
    color: #E854B2;
    font-weight: 600;
    margin-bottom: 15px;
}

.equipe-card h3 {
    color: #CCFF00;
    margin-bottom: 10px;
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(75, 0, 130, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 255, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content p {
    color: #F5F5DC;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-accept,
.cookie-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: linear-gradient(45deg, #CCFF00 0%, #D5B5FF 100%);
    color: #4B0082;
}

.cookie-decline {
    background: transparent;
    color: #F5F5DC;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-accept:hover,
.cookie-decline:hover {
    transform: scale(1.05);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS-only анимации при скролле */
.advantage-card,
.service-card,
.testimonial-card,
.equipe-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.advantage-card:nth-child(2) { animation-delay: 0.4s; }
.advantage-card:nth-child(3) { animation-delay: 0.6s; }
.advantage-card:nth-child(4) { animation-delay: 0.8s; }
.advantage-card:nth-child(5) { animation-delay: 1.0s; }
.advantage-card:nth-child(6) { animation-delay: 1.2s; }

.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

.equipe-card:nth-child(2) { animation-delay: 0.4s; }
.equipe-card:nth-child(3) { animation-delay: 0.6s; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(75, 0, 130, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 50px;
        backdrop-filter: blur(10px);
    }
    
    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .merci-content {
        text-align: center;
    }
    
    .merci-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .merci-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* === PRINT STYLES === */
@media print {
    .header,
    .cookie-popup,
    .hero-buttons,
    .merci-actions,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    section {
        padding: 20px 0;
    }
} 