/* 
==========================================================================
  Main Styles - domain Financial Audit Website
  Colors:
  - Background: #0F172A (dark blue, almost black)
  - Accent: #FACC15 (yellow lime)
  - Secondary: #1E3A8A (electric indigo), #A855F7 (purple), #14B8A6 (teal)
  - Text: #F1F5F9 (almost white), #94A3B8 (light gray)
==========================================================================
*/

/* Base styles and CSS Reset */
:root {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --accent-primary: #FACC15;
    --accent-secondary: #A855F7;
    --accent-tertiary: #14B8A6;
    --indigo: #1E3A8A;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(250, 204, 21, 0.5);
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

/* Typography */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto;
    border-radius: var(--border-radius-sm);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--bg-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.animated-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.animated-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.animated-btn:hover::before {
    left: 100%;
}

/* Header and Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-list li {
    margin-left: 1.5rem;
}

.nav-list a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    bottom: -5px;
    left: 0;
    transition: width var(--transition-speed) ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list .cta-button a::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.glow-effect {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.2) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
    top: 10%;
    left: 10%;
    filter: blur(30px);
    z-index: 0;
    animation: pulse 6s infinite ease-in-out;
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
}

.icon-svg {
    width: 100%;
    height: 100%;
}

.mission-statement {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1.5rem;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '✓';
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Comparison table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background-color: rgba(30, 58, 138, 0.7);
    font-size: 1.1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.check {
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.cross {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Testimonials section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0.5rem 0;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background-color: var(--bg-secondary);
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed) ease;
    border-radius: var(--border-radius-md);
}

.faq-question:hover,
.faq-question.active {
    background-color: rgba(30, 58, 138, 0.7);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: var(--bg-secondary);
    padding: 0 1.25rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Order form */
.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.order-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);
}

.radio-group,
.checkbox-group {
    margin-bottom: 1.5rem;
}

.radio-label {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.radio-options,
.checkbox-option {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.radio-option input,
.checkbox-option input {
    width: auto;
    margin-right: 0.5rem;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: var(--bg-secondary);
    padding: 5rem 0 2rem;
    position: relative;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-column h3 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent-primary);
    bottom: 0;
    left: 0;
    border-radius: var(--border-radius-sm);
}

.contact-list,
.legal-links {
    list-style: none;
}

.contact-list li,
.legal-links li {
    margin-bottom: 0.75rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: var(--text-secondary);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: calc(100% - 2rem);
    z-index: 1000;
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1rem;
}

/* Thank you page */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(250, 204, 21, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.icon-svg.large {
    width: 50px;
    height: 50px;
}

.thank-you-title {
    margin-bottom: 1.5rem;
}

.thank-you-message {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Legal pages */
.legal-section {
    padding: 5rem 0;
}

.legal-container {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    margin: 2.5rem 0 1.5rem;
    font-size: 1.75rem;
}

.legal-content h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.35rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Responsive design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hamburger-btn {
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        position: relative;
    }
    
    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: all var(--transition-speed) ease;
    }
    
    .hamburger-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--bg-secondary);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-speed) ease;
        z-index: 99;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* PHP-based animations for scroll */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.8s ease;
}
