/* ===============================================
   DOMAIN - SERVICES COMPTABLES CSS
   Цветовая палитра:
   - Основной фон: градиент #00c9ff → #92fe9d
   - Акценты: #ff6f61 (коралловый), #ffd700 (золотисто-лимонный)
   - Текст: #2e2e2e, белый на темных фонах
   - Фоны блоков: белый, пастельно-фиолетовый
   =============================================== */

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2e2e2e;
    overflow-x: hidden;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    min-height: 100vh;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================
   COOKIE BANNER
   =============================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 46, 46, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.cookie-content h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #ffd700;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: #00c9ff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-accept, .btn-decline {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-accept {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    color: #2e2e2e;
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 201, 255, 0.3);
}

.btn-decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 201, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo .logo-svg {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-svg {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #ff6f61, #ffd700);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 97, 0.3);
}

/* Menu mobile */
.mobile-menu-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2e2e2e;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-checkbox:checked + .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-checkbox:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-checkbox:checked + .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===============================================
   MAIN CONTENT SECTIONS
   =============================================== */
.main-content {
    margin-top: 80px;
}

/* Общие стили для секций */
.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.section:nth-child(odd) {
    background: rgba(186, 149, 235, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/1JOXit.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6f61, #ffd700);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 111, 97, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 111, 97, 0.4);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #2e2e2e;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Features/Avantages */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 201, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: #2e2e2e;
    margin-bottom: 1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.service-content {
    padding: 2rem;
}

.service-button {
    background: linear-gradient(135deg, #ff6f61, #ffd700);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 97, 0.3);
    color: white;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: #00c9ff;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.pricing-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.pricing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pricing-card:hover .pricing-image img {
    transform: scale(1.1);
}

.pricing-card h3 {
    margin: 1.5rem 2rem 0.5rem;
    color: #2e2e2e;
}

.pricing-price {
    margin: 0 2rem 1.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6f61;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 2rem 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .service-button {
    margin: 0 2rem 2rem;
    width: calc(100% - 4rem);
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #00c9ff;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin: 2rem 0;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #ff6f61;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2e2e2e;
}

.form-input, .form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 201, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #00c9ff;
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* Выделение для предварительно выбранного сервиса */
.form-select[data-selected="true"],
.form-select-highlighted {
    background: #e3f2fd;
    border-color: #00c9ff;
    animation: highlightService 3s ease-out;
}

.form-select:target {
    background: #e3f2fd;
    border-color: #00c9ff;
    animation: highlightService 2s ease-out;
}

@keyframes highlightService {
    0% { background: #e3f2fd; }
    50% { background: #e3f2fd; }
    100% { background: #f8f9fa; }
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
}

.submit-button {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 201, 255, 0.3);
}

/* ===============================================
   FOOTER
   =============================================== */
.footer {
    background: #2e2e2e;
    color: white;
    padding: 2.5rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-logo .logo-svg {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00c9ff;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .mobile-menu-checkbox:checked + .nav-menu {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .nav-menu {
        order: 2;
    }

    .nav-logo {
        order: 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-image {
        height: 150px;
    }
    
    .pricing-card h3 {
        margin: 1rem 1.5rem 0.5rem;
    }
    
    .pricing-price {
        margin: 0 1.5rem 1rem;
    }
    
    .pricing-features {
        margin: 1rem 1.5rem 1.5rem;
    }
    
    .pricing-card .service-button {
        margin: 0 1.5rem 1.5rem;
        width: calc(100% - 3rem);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }

    .section {
        padding: 3rem 0;
    }

    .feature-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

/* ===============================================
   ANIMATIONS & EFFECTS
   =============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.gradient-text {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover эффекты */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
} 