/* Audivis Analytics - Main Stylesheet */
/* Color Palette */
:root {
    --deep-malachite: #1E635F;
    --pastel-amber: #FFDCA2;
    --indigo-smoky: #394867;
    --charcoal-graphite: #222831;
    --snow-cream: #FAF9F6;
    --neon-lime: #C6FF00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--charcoal-graphite);
    background-color: var(--snow-cream);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: var(--deep-malachite);
}

h3 {
    font-size: 1.8rem;
    color: var(--indigo-smoky);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--deep-malachite), var(--indigo-smoky));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--snow-cream);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo svg {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--snow-cream);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--neon-lime);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--indigo-smoky) 0%, var(--deep-malachite) 100%);
    color: var(--snow-cream);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(198, 255, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    top: -50%;
    left: -50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--snow-cream);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--pastel-amber);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--neon-lime);
    color: var(--charcoal-graphite);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--pastel-amber);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-lime);
    border: 2px solid var(--neon-lime);
}

.btn-secondary:hover {
    background: var(--neon-lime);
    color: var(--charcoal-graphite);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: linear-gradient(45deg, rgba(255, 220, 162, 0.1), rgba(30, 99, 95, 0.05));
}

.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(--neon-lime);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: slideInLeft 1s ease-out;
}

.about-image {
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Advantages */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--snow-cream);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--neon-lime);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--deep-malachite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--snow-cream);
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--snow-cream);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: var(--neon-lime);
}

.service-card:hover .service-header {
    background: linear-gradient(135deg, var(--neon-lime), var(--pastel-amber));
}

.service-card:hover .service-header h3 {
    color: var(--charcoal-graphite) !important;
    text-shadow: none;
}

.service-card:hover .service-header p {
    color: var(--indigo-smoky);
}

.service-card:hover .service-price {
    color: var(--charcoal-graphite);
    text-shadow: 0 0 15px rgba(255, 220, 162, 0.8);
}

.service-header {
    background: linear-gradient(135deg, var(--deep-malachite), var(--indigo-smoky));
    color: var(--snow-cream);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(198, 255, 0, 0.1), transparent);
    pointer-events: none;
}

.service-header h3 {
    color: var(--snow-cream) !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.service-header p {
    color: var(--pastel-amber);
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--neon-lime);
    text-shadow: 0 0 15px rgba(198, 255, 0, 0.5);
    position: relative;
    z-index: 1;
    margin: 0.5rem 0;
}

.service-content {
    padding: 2rem;
    background: var(--snow-cream);
    color: var(--charcoal-graphite);
    line-height: 1.6;
}

.service-content p {
    color: var(--charcoal-graphite);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.service-content li {
    padding: 0.5rem 0;
    color: var(--indigo-smoky);
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-content li:hover {
    color: var(--deep-malachite);
    transform: translateX(5px);
}

.service-content li::before {
    content: '✓';
    color: var(--neon-lime);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* How it works */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--neon-lime);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: var(--snow-cream);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--neon-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--charcoal-graphite);
    z-index: 2;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--snow-cream);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--neon-lime);
    font-family: serif;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--deep-malachite);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--snow-cream);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 99, 95, 0.1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.faq-question {
    background: linear-gradient(135deg, var(--deep-malachite), var(--indigo-smoky));
    color: var(--snow-cream);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    text-decoration: none;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--indigo-smoky), var(--deep-malachite));
    transform: scale(1.02);
}

.faq-question a {
    color: var(--snow-cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    width: 100%;
    transition: color 0.3s ease;
}

.faq-question a:hover {
    color: var(--neon-lime);
    text-shadow: 0 0 10px rgba(198, 255, 0, 0.3);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--neon-lime);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(198, 255, 0, 0.3);
}

.faq-answer {
    padding: 2rem;
    display: none;
    background: var(--snow-cream);
    color: var(--charcoal-graphite);
    line-height: 1.7;
    border-top: 2px solid var(--pastel-amber);
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
}

.faq-item:target {
    border-color: var(--neon-lime);
    box-shadow: 0 15px 40px rgba(198, 255, 0, 0.2);
}

.faq-item:target .faq-question {
    background: linear-gradient(135deg, var(--neon-lime), var(--pastel-amber));
    color: var(--charcoal-graphite);
}

.faq-item:target .faq-question a {
    color: var(--charcoal-graphite);
    font-weight: bold;
}

.faq-item:target .faq-question::after {
    content: '−';
    color: var(--charcoal-graphite);
    transform: translateY(-50%) rotate(180deg);
}

.faq-item:target .faq-answer {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0 2rem;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding: 2rem;
    }
}

/* FAQ Section Title Enhancement */
.section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Enhanced FAQ section title */
.faq-section-title {
    background: linear-gradient(135deg, var(--deep-malachite), var(--indigo-smoky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

/* FAQ Section Title Enhancement - fallback for browsers without :has() support */
.section:has(.faq-container) .section-title {
    background: linear-gradient(135deg, var(--deep-malachite), var(--indigo-smoky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--deep-malachite);
    color: var(--snow-cream);
    padding: 3rem;
    border-radius: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--neon-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--charcoal-graphite);
}

/* Form */
.form-container {
    background: var(--snow-cream);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deep-malachite);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-lime);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Footer */
.footer {
    background: var(--charcoal-graphite);
    color: var(--snow-cream);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--neon-lime);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--snow-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-lime);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--charcoal-graphite);
    color: var(--snow-cream);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 50px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-number {
        left: -25px;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .advantages,
    .services {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
} 