/* --- General Setup & Variables --- */
:root {
    --bg-color: #0d0c22;
    --card-bg: #13122c;
    --primary-gradient: linear-gradient(98.37deg, #8A2BE2 0%, #4A90E2 100%);
    --secondary-color: #8987b1;
    --text-color: #dcdce6;
    --heading-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', sans-serif;
    --glow-color: rgba(74, 144, 226, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; overflow-x: hidden; }
html { scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; }
img { max-width: 100%; display: block; }
a { color: var(--text-color); text-decoration: none; }

/* --- Background Glow Effect --- */
.background-glow { position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, var(--glow-color) 0%, rgba(13, 12, 34, 0) 60%); animation: rotateGlow 20s linear infinite; z-index: -1; }
@keyframes rotateGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- Header & Navigation --- */
header { position: sticky; top: 0; width: 100%; padding: 20px 0; z-index: 1000; background: rgba(13, 12, 34, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; color: var(--heading-color); }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a:hover { color: var(--heading-color); }
.nav-buttons { display: flex; gap: 15px; }
.menu-toggle { display: none; background: none; border: none; color: var(--heading-color); cursor: pointer; }

/* --- Buttons --- */
.btn { padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; border: 1px solid transparent; }
.btn-primary { background: var(--primary-gradient); color: white; }
.btn-primary:hover { box-shadow: 0 0 15px rgba(138, 43, 226, 0.5); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--card-bg); border-color: var(--secondary-color); color: var(--heading-color); }
.btn-large { padding: 14px 28px; font-size: 1rem; }

/* --- Hero Section --- */
.hero { text-align: center; padding: 120px 0; min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--heading-color); background: linear-gradient(90deg, #ffffff, #dcdce6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--secondary-color); margin-bottom: 30px; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }
.hero-trust { margin-top: 60px; }
.hero-trust p { font-size: 0.9rem; color: var(--secondary-color); margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.hero-trust .logos { display: flex; justify-content: center; align-items: center; gap: 40px; filter: grayscale(100%) opacity(0.6); }
.hero-trust .logos span { font-size: 1.2rem; font-weight: 500; }

/* --- Section General Styling --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--heading-color); margin-bottom: 10px; }
.section-header p { color: var(--secondary-color); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Features Section --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background-color: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border-color: rgba(138, 43, 226, 0.5); }
.icon-wrapper { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-gradient); color: white; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; color: var(--heading-color); margin-bottom: 10px; }
.feature-card p { color: var(--secondary-color); }

/* --- Product Showcase --- */
.showcase-wrapper { position: relative; padding: 20px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.showcase-image { border-radius: 8px; }
.glow-point { position: absolute; width: 80px; height: 80px; background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, transparent 70%); border-radius: 50%; animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } }

/* --- How It Works Section --- */
.steps-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; position: relative; }
.step-card { background: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); flex: 1; text-align: center; }
.step-card span { font-size: 1.5rem; font-weight: 700; color: var(--heading-color); display: block; margin-bottom: 15px; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; border: 2px solid var(--border-color); margin-left: auto; margin-right: auto; }
.step-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--heading-color); }
.step-connector { flex-grow: 1; height: 2px; background: var(--border-color); margin-top: 55px; }

/* --- Use Cases Section --- */
.use-cases-container { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }
.tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.tab-button { background: none; border: none; color: var(--secondary-color); padding: 15px 20px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; border-bottom: 2px solid transparent; }
.tab-button.active { color: var(--heading-color); border-bottom-color: #8A2BE2; }
.tab-pane { padding: 20px; display: none; }
.tab-pane.active { display: block; }
.tab-pane h3 { font-size: 1.5rem; color: var(--heading-color); margin-bottom: 10px; }
.tab-pane p { margin-bottom: 20px; }
.tab-pane ul { list-style: none; }
.tab-pane li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tab-pane li i { color: #8A2BE2; width: 18px; }

/* --- Integrations Section --- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 30px; }
.logo-item { background: var(--card-bg); border-radius: 12px; padding: 20px; display: grid; place-items: center; border: 1px solid var(--border-color); }
.logo-item img { filter: grayscale(100%) opacity(0.7); transition: all 0.3s ease; }
.logo-item:hover img { filter: none; opacity: 1; transform: scale(1.1); }

/* --- Testimonials Section --- */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card { background-color: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }
.quote { font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-left: 20px; }
.quote::before { content: '“'; position: absolute; left: -10px; top: 0; font-size: 3rem; color: #8A2BE2; opacity: 0.5; line-height: 1; }
.author { display: flex; align-items: center; gap: 15px; }
.author img { width: 50px; height: 50px; border-radius: 50%; }
.author h4 { color: var(--heading-color); margin: 0; }
.author span { color: var(--secondary-color); font-size: 0.9rem; }

/* --- Competitor Comparison Table --- */
.comparison-table-wrapper { overflow-x: auto; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); }
th { color: var(--heading-color); }
td i { width: 20px; height: 20px; }
td:not(:first-child) { text-align: center; }
tbody tr:last-child td { border-bottom: none; }
th.highlight, td.highlight { background: rgba(138, 43, 226, 0.1); }
th.highlight { border-top-left-radius: 8px; border-top-right-radius: 8px; }
tbody tr:last-child td.highlight { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
td i[data-feather="check-circle"] { color: #8A2BE2; }
td i[data-feather="x-circle"] { color: var(--secondary-color); }

/* --- Pricing Section --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card { background-color: var(--card-bg); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.pricing-card.popular { border-color: #8A2BE2; position: relative; overflow: hidden; box-shadow: 0 0 30px rgba(138, 43, 226, 0.3); }
.popular-badge { position: absolute; top: 15px; right: -45px; background: var(--primary-gradient); color: white; padding: 5px 40px; font-size: 0.8rem; font-weight: 600; transform: rotate(45deg); }
.pricing-card h3 { font-size: 1.5rem; color: var(--heading-color); }
.pricing-card .price-desc { color: var(--secondary-color); margin-bottom: 20px; min-height: 40px; }
.price { font-size: 3rem; font-weight: 700; color: var(--heading-color); margin-bottom: 20px; }
.price sup { font-size: 1.5rem; font-weight: 500; }
.price span { font-size: 1rem; font-weight: 400; color: var(--secondary-color); }
.pricing-card ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.pricing-card li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.pricing-card li i { color: #8A2BE2; width: 18px; height: 18px; }

/* --- FAQ Section --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; padding: 20px 0; font-size: 1.2rem; color: var(--heading-color); cursor: pointer; text-align: left; }
.faq-question span { flex: 1; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; }
.faq-answer p { padding: 0 0 20px 0; color: var(--secondary-color); }

/* --- Resources Section --- */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.resource-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s ease; display: block; }
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.resource-card img { aspect-ratio: 16/10; object-fit: cover; }
.resource-content { padding: 25px; }
.resource-content span { color: #8A2BE2; font-weight: 600; font-size: 0.9rem; }
.resource-content h3 { color: var(--heading-color); font-size: 1.3rem; margin: 10px 0; }
.resource-content p { color: var(--secondary-color); }

/* --- Final CTA --- */
.final-cta { padding: 100px 0; }
.cta-content { background: var(--primary-gradient); border-radius: 20px; padding: 80px 40px; text-align: center; color: white; }
.cta-content h2 { font-size: 2.8rem; margin-bottom: 15px; }
.cta-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.cta-content .btn-primary { background: white; color: #4A90E2; }

/* --- Footer --- */
footer { padding: 80px 0 30px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.1rem; color: var(--heading-color); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--heading-color); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: var(--secondary-color); font-size: 0.9rem; }
.social-links { display: flex; gap: 15px; }
.social-links a:hover { color: var(--heading-color); }

/* --- Animations --- */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    section { padding: 80px 0; }
    .nav-links, .nav-buttons .btn-secondary { display: none; }
    .nav-links { position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; background: var(--bg-color); padding: 20px; text-align: center; border-bottom: 1px solid var(--border-color); }
    .nav-links.active { display: flex; }
    .nav-links li { margin-bottom: 15px; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.8rem; } .hero p { font-size: 1.1rem; }
    .steps-container { flex-direction: column; align-items: center; }
    .step-connector { display: none; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { max-width: 450px; margin: 0 auto; }
    .resources-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .section-header h2 { font-size: 2rem; }
    .features-grid, .pricing-grid, .resources-grid { grid-template-columns: 1fr; }
    .tabs { flex-wrap: wrap; justify-content: center; }
    .cta-content h2 { font-size: 2rem; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col .logo { justify-content: center; }
}


#copy-btn {
    background:var(--card-bg);
}

#copy-btn:hover {
    background-color: #161635;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    transition: background-color 0.3s ease;
}

#copy-btn:active {
    background-color: #222153;
}

.logo img {
    max-width: 50px; /* Ajustez la taille selon vos besoins */
    height: auto;
    margin: 0px;
    padding: 0px;
}
