/* CampagneVirale.com - Custom Styles */

:root {
    --primary-blue: #0057ff;
    --primary-orange: #ff901d;
    --sky-blue: #4d89fd;
    --light-gray: #f1f2f1;
    --graphite: #1b1a27;
    --sable-orange: #fcb80d;
}

body {
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

.heading-font {
    font-family: "Space Grotesk", sans-serif;
}

/* Logo Styles - RESTRICTED SIZE */
.logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
}

.logo-white-img {
    height: 60px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
}

.logo-hero-img {
    height: 80px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
}

.logo-target {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.target-icon {
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}

.target-icon-large {
    width: 80px;
    height: 80px;
}

.target-outer {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-blue);
    position: absolute;
}

.target-middle {
    width: 65%;
    height: 65%;
    border-radius: 50%;
    background: var(--primary-orange);
    position: absolute;
    top: 17.5%;
    left: 17.5%;
}

.target-inner {
    width: 20%;
    height: 20%;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 40%;
    left: 40%;
}

/* Gradient Hero */
.gradient-hero {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--sky-blue) 50%,
        var(--primary-orange) 100%
    );
}

/* Buttons */
.btn-primary {
    background: var(--primary-orange);
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 144, 29, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Timeline */
.timeline-step {
    position: relative;
}

.timeline-line-l {
    position: absolute;
    left: 31px;
    top: 64px;
    width: 2px;
    height: calc(100% - 64px);
    background: linear-gradient(
        to bottom,
        var(--primary-blue),
        var(--primary-orange)
    );
}

.timeline-line-r {
    position: absolute;
    right: 31px;
    top: 64px;
    width: 2px;
    height: calc(100% - 64px);
    background: linear-gradient(
        to bottom,
        var(--primary-orange),
        var(--primary-blue)
    );
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 144, 29, 0.4);
    border: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 144, 29, 0.5);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Cards */
.feature-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 87, 255, 0.15);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Tabs */
.tab-button {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-button.active {
    background: var(--primary-blue);
    color: white;
}

/* Modal */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.demo-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

/* Language Dropdown */
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 120px;
    z-index: 1000;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: #f3f4f6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-img {
        height: 35px !important;
        max-width: 120px !important;
    }

    .logo-hero-img {
        height: 60px !important;
        max-width: 150px !important;
    }

    .target-icon {
        width: 35px;
        height: 35px;
    }

    .target-icon-large {
        width: 60px;
        height: 60px;
    }

    .timeline-line {
        left: 27px;
    }
}
