/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles fournis par l'utilisateur */
body {
    font-weight: 400;
    background-image: url(/src/assets/img/bg.svg);
    background-size: 100%;
    background-repeat: repeat-y;
    background-position: top;
    overflow-x: hidden!important;
    background-color: #000;
    --sb-track-color: #000000;
    --sb-thumb-color: #6d7180;
    --sb-size: 6px;
}

body, html {
    width: 100%;
    min-height: 100%;
    font-family: "Montserrat SemiBold", "Montserrat", sans-serif;
    font-weight: 600;
    background: #030202;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #7f88a5;
    line-height: 1.6;
}

/* Variables CSS */
:root {
    --primary-color: #cb1258;
    --text-color: #7f88a5;
    --text-light: #a8b0c8;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --gradient: linear-gradient(135deg, #cb1258 0%, #ff1e6e 100%);
}

/* Placeholder pour les images manquantes - Style amélioré */
img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/* Style spécifique pour les images manquantes */
img[src*="src/img/"]:not([src$=".svg"]) {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

img[src*="src/img/"]:not([src$=".svg"])::after {
    content: attr(alt) " - " attr(src);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 12px;
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,0.8);
    border-radius: 4px;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Style pour visualiser les emplacements d'images */
.image-placeholder {
    background: #2a2a2a;
    border: 2px dashed #444;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '📷';
    font-size: 48px;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* Navigation flottante */
.floating-nav {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(3, 2, 2, 0.8);
    border-bottom: 1px solid rgba(203, 18, 88, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.logo-img {
    height: 100%;
    width: auto;
    display: block;
    padding: 3px;
}

.cta-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-nav .short-text {
    display: none;
}

.cta-nav .full-text {
    display: inline-block;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(203, 18, 88, 0.3);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #ff1e6e;
    bottom: -150px;
    left: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(203, 18, 88, 0.3);
}

.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(203, 18, 88, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(203, 18, 88, 0); }
    100% { box-shadow: 0 0 0 0 rgba(203, 18, 88, 0); }
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
}

/* AI Sphere */
.hero-image-container .ai-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.sphere-inner {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(203, 18, 88, 0.2), transparent 70%);
    border-radius: 50%;
    border: 2px solid rgba(203, 18, 88, 0.3);
    animation: rotate 20s linear infinite;
}

.sphere-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 50% 50%;
    background-repeat: no-repeat;
    animation: rotate -10s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

/* Deep Conversations Section */
.deep-conversations {
    padding: 30px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(203, 18, 88, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(203, 18, 88, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2a2a;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Live Experience Section */
.live-experience {
    padding: 30px 0;
    background: linear-gradient(to bottom, transparent, rgba(203, 18, 88, 0.03), transparent);
}

.live-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.live-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.live-features {
    list-style: none;
    margin-bottom: 40px;
}

.live-features li {
    padding: 16px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 24px;
}

.live-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-badge {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Live Demo */
.live-demo {
    position: relative;
}

.demo-screen {
    background: var(--bg-card);
    border: 1px solid rgba(203, 18, 88, 0.2);
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.demo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.demo-placeholder {
    text-align: center;
    color: var(--text-light);
}

.pulse-effect {
    width: 80px;
    height: 80px;
    background: rgba(203, 18, 88, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    border-radius: 50%;
    animation: ping 2s infinite;
}

@keyframes ping {
    0% { transform: scale(0.8); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

.demo-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particle 3s infinite;
}

.demo-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.demo-particles span:nth-child(2) { top: 80%; right: 10%; animation-delay: 1s; }
.demo-particles span:nth-child(3) { bottom: 10%; left: 50%; animation-delay: 2s; }

@keyframes particle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Variety Section */
.variety {
    padding: 40px 0;
}

.personality-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.personality-card {
    background: var(--bg-card);
    border: 1px solid rgba(203, 18, 88, 0.1);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #2a2a2a;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.personality-card:hover .card-image img {
    transform: scale(1.1);
}

.personality-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 20px 0 8px;
    position: relative;
}

.personality-card p {
    font-size: 14px;
    color: var(--text-color);
    position: relative;
    padding: 0 20px 20px;
}

.variety-cta {
    text-align: center;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Security Section */
.security {
    padding: 120px 0;
    background: linear-gradient(to right, rgba(203, 18, 88, 0.03), transparent);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.shield-animation {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.shield-outer {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(203, 18, 88, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.shield-inner {
    position: absolute;
    inset: 40px;
    background: rgba(203, 18, 88, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.security-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.security-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.item-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.security-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.security-item p {
    color: var(--text-color);
}

/* Unlimited Section */
.unlimited {
    padding: 120px 0;
    text-align: center;
}

.unlimited-content {
    max-width: 800px;
    margin: 0 auto;
}

.unlimited-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.unlimited-content > p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.unlimited-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--text-color);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary-color);
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(203, 18, 88, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-button.large {
    font-size: 18px;
    padding: 20px 40px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(203, 18, 88, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    margin: 0 auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container,
    .live-content,
    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-container {
        max-width: 400px;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-image-container .ai-sphere {
        width: 250px;
        height: 250px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .live-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .floating-nav {
        padding: 16px 0;
    }
    
    .nav-container {
        padding: 0 16px;
        justify-content: space-between;
    }
    
    .logo {
        height: 35px;
        max-width: 45%;
    }
    
    .hero {
        padding-top: 10px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-image {
        height: auto;
    }
    
    .hero-image-container .ai-sphere {
        width: 200px;
        height: 200px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .section-header h2,
    .live-text h2,
    .security-text h2,
    .unlimited-content h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-image {
        height: 150px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .card-image {
        height: 140px;
    }
    
    .unlimited-features {
        gap: 32px;
    }
    
    .security-features {
        gap: 20px;
    }
    
    .deep-conversations,
    .live-experience,
    .variety,
    .security,
    .unlimited,
    .final-cta {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .cta-nav {
        font-size: 14px;
        padding: 10px 20px;
        white-space: nowrap;
        max-width: none;
        overflow: visible;
    }
    
    .cta-nav .full-text {
        display: none;
    }
    
    .cta-nav .short-text {
        display: inline-block;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .personality-card {
        padding: 24px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        width: 100%;
    }
    
    .stat {
        flex: 1;
        text-align: center;
    }
}

.footer-links a,
.modal-content a {
  color: #7f88a5;
  text-decoration: none;
}

.footer-links a:hover,
.modal-content a:hover {
  text-decoration: underline;
}