/* =====================================================
   DOMAIN - CSS STYLES FOR FINANCIAL AUDIT WEBSITE
   Color Palette: Deep Purple-Blue, Neon Lime, Turquoise
   =====================================================*/

/* CSS Variables for Color Palette */
:root {
    --primary-bg: #1A1446;          /* Deep purple-blue background */
    --accent-lime: #D4FF3B;         /* Neon lime accent */
    --secondary-teal: #28E0B9;      /* Turquoise secondary */
    --text-white: #FAF8F5;          /* Soft milky white text */
    --decorative-coral: #FF6F61;    /* Coral-pink decorative */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A1446 0%, #28E0B9 100%);
    --gradient-accent: linear-gradient(45deg, #D4FF3B 0%, #28E0B9 100%);
    --gradient-hero: linear-gradient(135deg, #1A1446 0%, #2A1B5C 50%, #28E0B9 100%);
    
    /* Typography */
    --font-primary: 'Segoe UI', 'Arial', sans-serif;
    --font-size-h1: clamp(2.5rem, 5vw, 4rem);
    --font-size-h2: clamp(2rem, 4vw, 3rem);
    --font-size-h3: clamp(1.5rem, 3vw, 2rem);
    --font-size-body: clamp(1rem, 2vw, 1.125rem);
    
    /* Spacing */
    --section-padding: clamp(3rem, 8vw, 6rem);
    --container-max-width: 1200px;
    
    /* Animation timing */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Error messages styling */
.error-messages {
    background: rgba(255, 111, 97, 0.1);
    border: 1px solid var(--decorative-coral);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--decorative-coral);
}

.error-message {
    margin-bottom: 0.5rem;
}

.error-message:last-child {
    margin-bottom: 0;
}

.form-input.error,
.form-select.error,
.form-checkbox.error {
    border-color: var(--decorative-coral);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Intersection Observer Classes for Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    font-size: var(--font-size-body);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-lime);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-teal);
    text-decoration: underline;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 255, 59, 0.3);
    color: var(--primary-bg);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--secondary-teal);
}

.btn-secondary:hover {
    background: var(--secondary-teal);
    color: var(--primary-bg);
    text-decoration: none;
}

/* =====================================================
   HEADER
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 20, 70, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-fast);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition-fast);
}

.nav-link:hover {
    background: rgba(212, 255, 59, 0.1);
    color: var(--accent-lime);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-lime);
    transition: var(--transition-fast);
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */

.main-content {
    margin-top: 80px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 20, 70, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s var(--transition-medium);
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-teal);
}

.hero-cta {
    margin-top: 2rem;
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s var(--transition-medium);
}

.about-image {
    animation: fadeInRight 0.8s var(--transition-medium);
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(40, 224, 185, 0.2);
    transition: var(--transition-medium);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(40, 224, 185, 0.3);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(40, 224, 185, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid rgba(40, 224, 185, 0.2);
    animation: fadeInUp 0.6s var(--transition-medium);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(40, 224, 185, 0.15);
    box-shadow: 0 20px 40px rgba(40, 224, 185, 0.2);
}

.service-image {
    margin: -2rem -2rem 1.5rem -2rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-title {
    color: var(--accent-lime);
    margin-bottom: 1rem;
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    animation: fadeInUp 0.8s var(--transition-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--decorative-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 111, 97, 0.1);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    animation: fadeInUp 0.8s var(--transition-medium);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--decorative-coral);
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
    animation: fadeInUp 0.8s var(--transition-medium);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* =====================================================
   FORM SECTION
   ===================================================== */

.form-section {
    background: rgba(40, 224, 185, 0.05);
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-lime);
}

.form-input,
.form-select {
    padding: 1rem;
    border: 2px solid rgba(40, 224, 185, 0.3);
    border-radius: 10px;
    background: rgba(26, 20, 70, 0.8);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary-teal);
    box-shadow: 0 0 0 3px rgba(40, 224, 185, 0.2);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
}

.form-checkbox {
    margin-top: 0.2rem;
}

.form-checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    animation: fadeInLeft 0.8s var(--transition-medium);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--accent-lime);
    margin-bottom: 0.5rem;
}

.contact-map {
    animation: fadeInRight 0.8s var(--transition-medium);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-medium);
}

.contact-map iframe:hover {
    box-shadow: 0 15px 40px rgba(40, 224, 185, 0.2);
}

/* Fallback for map images if iframe fails */
.contact-map img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: rgba(26, 20, 70, 0.95);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-lime);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-white);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(40, 224, 185, 0.2);
    color: rgba(250, 248, 245, 0.7);
}

/* =====================================================
   COOKIE POPUP
   ===================================================== */

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 20, 70, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 10000;
    border-top: 3px solid var(--accent-lime);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-accept {
    background: var(--gradient-accent);
    color: var(--primary-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 255, 59, 0.3);
}

.btn-info {
    color: var(--secondary-teal);
    font-size: 0.9rem;
}

/* =====================================================
   POLICY PAGES
   ===================================================== */

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    animation: fadeInUp 0.8s var(--transition-medium);
}

.policy-content h1 {
    color: var(--accent-lime);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    color: var(--secondary-teal);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(40, 224, 185, 0.3);
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    color: var(--decorative-coral);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content h4 {
    color: var(--accent-lime);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.policy-content a {
    color: var(--secondary-teal);
    font-weight: 500;
}

.policy-content a:hover {
    color: var(--accent-lime);
}

.policy-content strong {
    color: var(--accent-lime);
}

/* =====================================================
   THANK YOU PAGE
   ===================================================== */

.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s var(--transition-medium);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background: rgba(40, 224, 185, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--decorative-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.thank-you-actions {
    margin-top: 3rem;
}

.contact-urgent {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(40, 224, 185, 0.2);
}

.phone-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-lime);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 2rem;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding-top: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .form-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
}
