/* AuditFinance Pro - Styles CSS */
/* Цветовая палитра: 
   - Основной фон: #2B2E4A (глубокий индиго)
   - Акцент: #E84545 (яркий фуксия)
   - Вторичный фон: #903749 (серо-голубой)
   - Тексты: #F8F8F8 (мягкий белый) и #B8B8B8 (стальной серый)
*/

/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #F8F8F8;
    background-color: #2B2E4A;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #F8F8F8;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    color: #B8B8B8;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #E84545, #C73638);
    color: #F8F8F8;
    box-shadow: 0 4px 15px rgba(232, 69, 69, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C73638, #A82B2B);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 69, 69, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #E84545;
    border: 2px solid #E84545;
}

.btn-secondary:hover {
    background: #E84545;
    color: #F8F8F8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #903749, #7A2F3F);
    color: #F8F8F8;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    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-popup h3 {
    margin-bottom: 10px;
    color: #F8F8F8;
    font-size: 18px;
}

.cookie-popup p {
    margin-bottom: 15px;
    color: #B8B8B8;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accept {
    background: #E84545;
    color: #F8F8F8;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: #C73638;
}

.btn-decline {
    background: transparent;
    color: #B8B8B8;
    border: 1px solid #B8B8B8;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-decline:hover {
    color: #F8F8F8;
    border-color: #F8F8F8;
}

/* Header */
.header {
    background: rgba(43, 46, 74, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #F8F8F8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #B8B8B8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #E84545;
}

/* Special styles for header CTA button */
.nav-menu .btn-primary {
    padding: 10px 20px;
    border-radius: 50px; /* Более овальная форма */
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-menu .btn-primary:hover {
    color: #F8F8F8;
    text-decoration: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: relative;
}

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #F8F8F8;
    transition: all 0.3s ease;
}

.mobile-nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(43, 46, 74, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    min-width: 200px;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-checkbox:checked + .mobile-nav-menu {
    display: flex;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2B2E4A 0%, #903749 100%);
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.shape {
    position: absolute;
    background: #E84545;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #F8F8F8 0%, #E84545 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #B8B8B8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #F8F8F8 0%, #E84545 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: #B8B8B8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #903749 0%, #2B2E4A 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 10px;
    color: #B8B8B8;
    font-size: 1.1rem;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Principles Section */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.principle-card {
    background: rgba(144, 55, 73, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(232, 69, 69, 0.1);
}

.principle-card:hover {
    transform: translateY(-5px);
    background: rgba(144, 55, 73, 0.2);
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #2B2E4A 0%, #903749 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(248, 248, 248, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(232, 69, 69, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E84545;
    margin: 20px 0;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 8px;
    color: #B8B8B8;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: rgba(144, 55, 73, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(232, 69, 69, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #903749 0%, #2B2E4A 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: rgba(248, 248, 248, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(232, 69, 69, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #B8B8B8;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: #E84545;
}

.testimonial-author span {
    color: #B8B8B8;
    font-size: 0.9rem;
}

/* Order Form Section */
.order {
    background: linear-gradient(135deg, #2B2E4A 0%, #903749 100%);
}

.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(248, 248, 248, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(232, 69, 69, 0.1);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #F8F8F8;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid rgba(232, 69, 69, 0.3);
    border-radius: 8px;
    background: rgba(248, 248, 248, 0.05);
    color: #F8F8F8;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #E84545;
    box-shadow: 0 0 0 3px rgba(232, 69, 69, 0.1);
}

.form-group select option {
    background: #2B2E4A;
    color: #F8F8F8;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #B8B8B8;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E84545;
}

.checkbox-label a {
    color: #E84545;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-submit {
    padding: 15px 30px;
    font-size: 18px;
    margin-top: 20px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 2rem;
    color: #E84545;
}

.contact-details h4 {
    color: #F8F8F8;
    margin-bottom: 5px;
}

.contact-details p {
    color: #B8B8B8;
    margin: 0;
}

.contact-details a {
    color: #E84545;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #903749 0%, #2B2E4A 100%);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #F8F8F8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #B8B8B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #E84545;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(232, 69, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #E84545;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(232, 69, 69, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #B8B8B8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile menu CTA button */
    .mobile-nav-menu .btn-primary {
        padding: 12px 20px;
        border-radius: 50px; /* Более овальная форма для мобильной версии */
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        margin-top: 10px;
    }
    
    .mobile-nav-menu .btn-primary:hover {
        color: #F8F8F8;
        text-decoration: none;
    }
    
    .hero {
        padding-top: 100px; /* Добавляем отступ сверху для компенсации фиксированного header */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .order-form-container {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px; /* Увеличиваем отступ для очень маленьких экранов */
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-popup {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
} 