/* Основные цвета 
 * Основной фон: Cosmic Indigo (#2E1F47)
 * Акцентный: Ultra Orange (#FF6F3C)
 * Вторичный: Glacier Mint (#C3F5E9)
 * Фон секций: Deep Charcoal (#1D1D2F)
 * Текст: Alabaster (#FAFAFA)
 * Кнопки: Electric Lime (#D1FF00)
*/

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2E1F47;
    color: #FAFAFA;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FF6F3C;
}

h3 {
    font-size: 1.75rem;
    color: #FF6F3C;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.cta-button, .submit-button {
    display: inline-block;
    background-color: #D1FF00;
    color: #1D1D2F;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before, .submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.cta-button:hover::before, .submit-button:hover::before {
    left: 100%;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(209, 255, 0, 0.3);
}

/* Header */
.site-header {
    background-color: #1D1D2F;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 2rem;
    font-weight: 800;
    color: #FF6F3C;
    letter-spacing: 1px;
    position: relative;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #D1FF00;
    transition: width 0.3s ease;
}

.logo a:hover::after {
    width: 100%;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C3F5E9;
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.nav-cta {
    background-color: #FF6F3C;
    color: #FAFAFA !important;
    padding: 8px 16px !important;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: #D1FF00;
    color: #1D1D2F !important;
}

.nav-cta::after {
    display: none;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.toggle-icon, .toggle-icon::before, .toggle-icon::after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #FAFAFA;
    transition: all 0.3s ease;
}

.toggle-icon {
    top: 50%;
    transform: translateY(-50%);
}

.toggle-icon::before, .toggle-icon::after {
    content: '';
    left: 0;
}

.toggle-icon::before {
    top: -8px;
}

.toggle-icon::after {
    bottom: -8px;
}

.toggle-checkbox:checked + .toggle-label .toggle-icon {
    background-color: transparent;
}

.toggle-checkbox:checked + .toggle-label .toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.toggle-checkbox:checked + .toggle-label .toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #1D1D2F;
    border: 1px solid #FF6F3C;
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.cookie-content {
    text-align: center;
}

.cookie-button {
    background-color: #D1FF00;
    color: #1D1D2F;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: #FF6F3C;
    color: #FAFAFA;
}

.cookie-link {
    display: block;
    margin-top: 10px;
    color: #C3F5E9;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Banner Section */
.banner-section {
    background-color: #2E1F47;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.banner-content {
    max-width: 700px;
    padding: 2rem 0;
    text-align: center;
    margin: 0 auto;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #1D1D2F;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: #FF6F3C;
    border-radius: 0 0 0 100%;
    opacity: 0.1;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.fact-item {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: #2E1F47;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

.fact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(195, 245, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fact-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Advantages Section */
.advantages-section {
    padding: 5rem 0;
    background-color: #2E1F47;
    position: relative;
}

.advantages-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.advantage-card {
    flex: 1 1 250px;
    max-width: 300px;
    background-color: #1D1D2F;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(195, 245, 233, 0.1) 50%, transparent 70%);
    transition: all 0.6s ease;
}

.advantage-card:hover::before {
    top: 100%;
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 111, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Audit Types Section */
.audit-types-section {
    padding: 5rem 0;
    background-color: #1D1D2F;
    position: relative;
    overflow: hidden;
}

.audit-types-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #2E1F47;
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
}

.audit-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.audit-type {
    flex: 1 1 300px;
    max-width: 400px;
    background-color: #2E1F47;
    padding: 0 0 2.5rem 0;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.audit-type h3, 
.audit-type p, 
.audit-type ul {
    padding: 0 2.5rem;
}

.audit-type:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.audit-icon {
    width: 100%;
    height: 200px;
    background-color: rgba(209, 255, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.audit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.audit-icon:hover img {
    transform: scale(1.05);
}

.audit-type ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.audit-type ul li {
    margin-bottom: 0.5rem;
    color: #C3F5E9;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: #2E1F47;
}

.statistics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat-item {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item h3 {
    font-size: 3rem;
    color: #D1FF00;
    margin-bottom: 0.5rem;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: #1D1D2F;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    color: rgba(255, 111, 60, 0.2);
}

.testimonial-author {
    text-align: right;
    color: #C3F5E9;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #1D1D2F;
    position: relative;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background-color: #2E1F47;
    color: #FAFAFA;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #3a2a5a;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(46, 31, 71, 0.5);
    transition: max-height 0.4s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
}

/* Form Section */
.form-section {
    padding: 5rem 0;
    background-color: #2E1F47;
    position: relative;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1D1D2F;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-color: #FF6F3C;
    border-radius: 0 0 0 100%;
    opacity: 0.1;
}

.form-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    background-color: #C3F5E9;
    border-radius: 0 100% 0 0;
    opacity: 0.1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #C3F5E9;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(250, 250, 250, 0.1);
    border: 1px solid rgba(250, 250, 250, 0.3);
    border-radius: 4px;
    color: #FAFAFA;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    background-color: rgba(255, 111, 60, 0.1);
    border: 1px solid rgba(255, 111, 60, 0.3);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.form-group select option {
    background-color: #2E1F47;
    color: #FAFAFA;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #FF6F3C;
    box-shadow: 0 0 0 2px rgba(255, 111, 60, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: #C3F5E9;
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: #FF6F3C;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-button {
    padding: 12px 36px;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: #1D1D2F;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1 1 300px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #FF6F3C;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #C3F5E9;
    max-width: 300px;
}

.footer-contact h3, .footer-links h3 {
    color: #FAFAFA;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: #FF6F3C;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 250, 250, 0.1);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Media Queries */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1D1D2F;
        padding-top: 80px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
    }
    
    .banner-section {
        min-height: 80vh;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
    
    .fact-item, .advantage-card, .audit-type, .testimonial {
        flex-basis: 100%;
    }
    
    .cookie-popup {
        width: 95%;
    }
}
