/* Base Styles */
:root {
    --primary-bg: #1C1E26;
    --accent-purple: #9B4DFF;
    --accent-turquoise: #26E6C9;
    --secondary-orange: #FFB74D;
    --text-white: #FFFFFF;
    --text-light-gray: #D1D5DB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-turquoise);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-purple);
}

.accent {
    color: var(--accent-turquoise);
    position: relative;
    display: inline-block;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-turquoise));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease;
}

.accent:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

section {
    padding: 5rem 0;
    position: relative;
}

.company-name {
    font-weight: bold;
    color: var(--accent-purple);
    letter-spacing: 1px;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(28, 30, 38, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-white);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-turquoise);
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

.menu-icon::before {
    transform: translateY(-9px);
}

.menu-icon::after {
    transform: translateY(9px);
}

.menu-toggle:checked + .menu-button .menu-icon {
    background-color: transparent;
}

.menu-toggle:checked + .menu-button .menu-icon::before {
    transform: rotate(45deg);
}

.menu-toggle:checked + .menu-button .menu-icon::after {
    transform: rotate(-45deg);
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.main-nav ul li a {
    color: var(--text-white);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-turquoise));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-cta {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-turquoise));
    color: var(--text-white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    font-weight: bold !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 77, 255, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    text-align: center;
    background-image: url('../img/ZVqAJ.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 30, 38, 0.8), rgba(28, 30, 38, 0.95));
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--text-light-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-turquoise));
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 77, 255, 0.4);
    color: var(--text-white);
}

/* About Section */
.about-section {
    background-color: rgba(28, 30, 38, 0.97);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.advantage-item {
    background: linear-gradient(145deg, rgba(155, 77, 255, 0.1), rgba(38, 230, 201, 0.05));
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-turquoise));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.advantage-item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.advantage-icon {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.advantage-item h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-turquoise);
}

/* Services Section */
.services-section {
    background-color: var(--primary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: linear-gradient(145deg, rgba(28, 30, 38, 0.9), rgba(28, 30, 38, 0.7));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(155, 77, 255, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--accent-turquoise);
    margin-bottom: 0.75rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-purple);
    font-weight: bold;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-turquoise));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(to bottom, rgba(28, 30, 38, 0.95), rgba(28, 30, 38, 0.9)), url('../img/VNkBY.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
    gap: 20px;
}

.benefit-item {
    background: rgba(28, 30, 38, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-turquoise));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item:hover::before {
    transform: scaleY(1);
}

.benefit-item h3 {
    color: var(--secondary-orange);
    margin-bottom: 0.75rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(155, 77, 255, 0.1), rgba(38, 230, 201, 0.05));
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(155, 77, 255, 0.2);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--accent-turquoise);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* SEO Section */
.seo-section {
    background: linear-gradient(to bottom, rgba(28, 30, 38, 0.97), rgba(28, 30, 38, 0.93));
    padding: 5rem 0;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-bg);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(28, 30, 38, 0.9), rgba(28, 30, 38, 0.7));
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-light-gray);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid rgba(155, 77, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(28, 30, 38, 0.8);
    color: var(--text-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 2px rgba(155, 77, 255, 0.2);
}

.form-group select option {
    background-color: white;
    color: #333;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-purple);
}

.submit-btn {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-turquoise));
    color: var(--text-white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 77, 255, 0.4);
}

/* FAQ Section */
.faq-section {
    background-color: rgba(28, 30, 38, 0.97);
}

.faq-container {
    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: linear-gradient(145deg, rgba(155, 77, 255, 0.1), rgba(38, 230, 201, 0.05));
    color: var(--text-white);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(28, 30, 38, 0.7);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    background: linear-gradient(145deg, rgba(155, 77, 255, 0.2), rgba(38, 230, 201, 0.1));
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Footer Styles */
.site-footer {
    background-color: rgba(20, 22, 30, 0.95);
    color: var(--text-light-gray);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--text-white);
    margin-bottom: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(155, 77, 255, 0.2);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(20, 22, 30, 0.95);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cookie-accept {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-turquoise));
    color: var(--text-white);
}

#cookie-decline {
    background: transparent;
    border: 1px solid var(--text-light-gray);
    color: var(--text-light-gray);
}

.cookie-buttons button:hover {
    transform: translateY(-3px);
}

#cookie-accept:hover {
    box-shadow: 0 5px 15px rgba(155, 77, 255, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page styles for legal pages */
.page-content {
    max-width: 800px;
    margin: 8rem auto 5rem;
    background: linear-gradient(145deg, rgba(28, 30, 38, 0.9), rgba(28, 30, 38, 0.7));
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-turquoise));
}

.page-content h1 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-content h2 {
    color: var(--accent-turquoise);
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 300px);
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 8rem auto 5rem;
    background: linear-gradient(145deg, rgba(28, 30, 38, 0.9), rgba(28, 30, 38, 0.7));
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
    position: relative;
}

.thank-you-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-turquoise));
}

.thank-you-content h1 {
    color: var(--accent-turquoise);
    margin-bottom: 1.5rem;
}

.return-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-turquoise));
    color: var(--text-white);
    padding: 0.8rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.return-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 77, 255, 0.4);
    color: var(--text-white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .menu-button {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(20, 22, 30, 0.97);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .main-nav {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .footer-content {
        gap: 3rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .page-content,
    .thank-you-content {
        margin: 6rem auto 3rem;
        padding: 1.5rem;
    }
}
