/* 
Main Color Palette:
- Background: Gradient ultramarine → graphite black (#3A0CA3 → #1C1C1E)
- Accent: Neon lime (#B9FBC0) for CTA buttons and highlights
- Headings: Snow white (#F8F9FA)
- Text: Ash gray (#B0B3B8)
- Block backgrounds: Textured elements with mask-gradient
*/

/* ===== Base Styles ===== */
:root {
    --color-primary: #3A0CA3;
    --color-primary-dark: #1C1C1E;
    --color-accent: #B9FBC0;
    --color-heading: #F8F9FA;
    --color-text: #B0B3B8;
    --color-text-dark: #7A7D82;
    --color-background: #121214;
    --color-card: rgba(255, 255, 255, 0.05);
    --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition-main: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--gradient-main) fixed;
    min-height: 100vh;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-main);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: -0.5rem;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ===== Header & Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 28, 30, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.main-nav a.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition-main);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 12rem 0 6rem;
    text-align: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="%23B9FBC0" opacity="0.1"/></svg>');
    background-size: 20px 20px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-main);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(185, 251, 192, 0.3);
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-image {
    order: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-main);
    position: relative;
}

.about-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(58, 12, 163, 0.3), rgba(28, 28, 30, 0.3));
}

/* ===== Advantages Section ===== */
.advantages-section {
    position: relative;
}

.advantages-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 30, 0.7);
    z-index: -1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-main);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-card);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-main);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-main);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p, .service-card ul {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-card ul {
    margin: 1rem 0 1.5rem;
    padding-left: 3rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

.service-card .btn-secondary {
    margin: 0 1.5rem 1.5rem;
}

/* ===== Process Section ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-card);
    border-radius: 10px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition-main);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-content {
    position: relative;
    padding-bottom: 1.5rem;
}

.testimonial-content:before {
    content: '"';
    font-size: 5rem;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--color-text-dark);
}

/* ===== Contact Form Section ===== */
.contact-form-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(28, 28, 30, 0.7);
    color: var(--color-text);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: rgba(28, 28, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-container input:checked ~ .checkmark:after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--color-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
}

.form-submit {
    margin-top: 1rem;
}

.form-errors {
    background-color: rgba(255, 87, 87, 0.1);
    border-left: 3px solid #ff5757;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.form-errors ul {
    list-style-type: none;
}

.form-errors li {
    margin-bottom: 0.5rem;
}

.contact-info {
    padding: 1rem 0;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

/* ===== FAQ Section ===== */
.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--color-card);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-toggle:before,
.faq-toggle:after {
    content: '';
    position: absolute;
    background-color: var(--color-accent);
    transition: var(--transition-main);
}

.faq-toggle:before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-toggle:after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-toggle:after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: rgba(28, 28, 30, 0.9);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-contact,
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Policy Pages ===== */
.policy-section {
    padding-top: 10rem;
    max-width: 800px;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 3rem;
    text-align: center;
}

.policy-content h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* ===== Thank You Page ===== */
.thanks-section {
    padding: 12rem 0 6rem;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-card);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.thanks-content h1 {
    margin-bottom: 2rem;
}

.thanks-content p {
    margin-bottom: 1.5rem;
}

.thanks-content .btn-primary {
    margin-top: 1rem;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1001;
    animation: slideUp 0.5s ease-in-out;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner p {
    margin-bottom: 0;
}

.cookie-accept-btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(185, 251, 192, 0.2);
    transition: all 0.3s ease;
}

.cookie-accept-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(185, 251, 192, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 10rem 0 4rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .policy-section {
        padding-top: 8rem;
    }
    
    .thanks-content {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .policy-content {
        padding: 0 1rem;
    }
} 