/* 
Modern Finance Audits - Main Stylesheet
Color Palette:
- Main: Electric purple #8A2BE2
- Secondary: Bright lemon #DFFF00
- Background: Rich graphite #2C2C2E
- Accents: Icy mint #98FF98, white text on dark blocks
*/

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8A2BE2;
    --secondary: #DFFF00;
    --dark: #2C2C2E;
    --accent: #98FF98;
    --light: #ffffff;
    --gray: #f4f4f4;
    --text-dark: #222222;
    --text-light: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header.light h2,
.section-header.light .section-intro {
    color: var(--light);
}

.section-intro {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
}

.accent-line {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.accent-line.light {
    background: var(--secondary);
}

/* --- BUTTONS & INPUTS --- */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-button.primary {
    background: var(--primary);
    color: var(--light);
    box-shadow: var(--shadow);
}

.cta-button.primary:hover {
    background: #7623c8;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

.cta-button.secondary {
    background: var(--dark);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.cta-button.secondary:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
}

.submit-button {
    background: var(--primary);
    color: var(--light);
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    width: 100%;
}

.submit-button:hover {
    background: #7623c8;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    position: sticky;
    top: 0;
    background: var(--dark);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    width: 180px;
    height: auto;
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--light);
    border-radius: 3px;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--light);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--secondary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .cta-button {
    background: var(--primary);
    color: var(--light);
    padding: 8px 15px;
    border-radius: var(--radius);
}

.main-nav .cta-button:hover {
    background: #7623c8;
    color: var(--light);
}

.main-nav .cta-button::after {
    display: none;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #3a3a3c 100%);
    color: var(--light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero h1 {
    color: var(--light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-img {
    transition: transform 0.5s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

/* --- ABOUT SECTION --- */
.about {
    padding: 80px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img {
    transition: transform 0.5s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f1f1f1 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 80px 0;
    background: #f9f9f9;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.service-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    margin: 15px 0;
}

.service-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--light);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    background: #7623c8;
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

/* --- ADVANTAGES SECTION --- */
.advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #3a3a3c 100%);
    color: var(--light);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.advantages .container {
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.icon {
    width: 100%;
    height: 100%;
}

.advantage-item h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--light);
    opacity: 0.8;
}

/* --- PROCESS SECTION --- */
.process {
    padding: 80px 0;
    background: var(--light);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 30px);
    background: var(--primary);
    z-index: 1;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.step-content {
    background: #f9f9f9;
    border-radius: var(--radius);
    padding: 25px;
    flex-grow: 1;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #3a3a3c 100%);
    color: var(--light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel input[type="radio"] {
    display: none;
}

.testimonial-slides {
    overflow: hidden;
    position: relative;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

#t1:checked ~ .testimonial-slides .testimonial-slide:nth-child(1),
#t2:checked ~ .testimonial-slides .testimonial-slide:nth-child(2),
#t3:checked ~ .testimonial-slides .testimonial-slide:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
}

.client-position {
    font-size: 0.9rem;
    color: var(--light);
    opacity: 0.8;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-controls label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls label:hover {
    background: rgba(255, 255, 255, 0.5);
}

#t1:checked ~ .testimonial-controls label:nth-child(1),
#t2:checked ~ .testimonial-controls label:nth-child(2),
#t3:checked ~ .testimonial-controls label:nth-child(3) {
    background: var(--secondary);
    transform: scale(1.2);
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 80px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.map-container {
    margin-top: auto;
    border-radius: var(--radius);
    overflow: hidden;
    height: 200px;
    background: #f1f1f1;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9e9e9 0%, #f5f5f5 100%);
    font-style: italic;
    color: #999;
}

.contact-form {
    background: #f9f9f9;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.radio-group, .checkbox-group {
    margin-top: 10px;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-company p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-contact h3, .footer-links h3 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact address {
    font-style: normal;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--accent);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--light);
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 220px;
    font-size: 0.95rem;
}

.cookie-content form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.consent-checkbox {
    display: flex;
    align-items: center;
}

.consent-checkbox input {
    margin: 0 10px 0 0;
    width: auto;
}

.cookie-btn {
    background: var(--primary);
    color: var(--light);
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn:hover {
    background: #7623c8;
}

/* --- POLICY PAGES --- */
.policy-page {
    padding: 60px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.policy-last-updated {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.policy-section h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-section ul, .policy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-section li {
    margin-bottom: 5px;
}

/* --- THANK YOU PAGE --- */
.thank-you {
    padding: 80px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.submission-details {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: var(--radius);
    text-align: left;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-grid, 
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .hero-image {
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .service-cards, 
    .advantages-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-button {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-step::before {
        display: none;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .cookie-content {
        text-align: center;
        justify-content: center;
    }
    
    .cookie-content form {
        justify-content: center;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
} 