/* Home Page Styles */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
    padding-top: 80px;
}

#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-highlight {
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-magic 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.hero-cta {
    margin-top: 3rem;
}

.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    animation: pulse-cta 2s ease-in-out infinite;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

.pulse-effect {
    animation: pulse-cta 2s ease-in-out infinite;
}

.hero-promise {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.promise-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 0.9rem;
    color: white;
    animation: glow-promise 3s ease-in-out infinite;
}

.promise-text {
    font-weight: 600;
    color: white;
}

.hero-guarantee {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Passion Tech Section */
.passion-tech {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
}

.passion-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.passion-tech .container {
    position: relative;
    z-index: 2;
}

.passion-tech h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #10b981, #059669, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.passion-tech p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.5s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item h3 {
    font-size: 1.3rem;
    color: #10b981;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.tech-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.passion-description {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto;
}

.passion-description p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-style: italic;
}

.cta-primary.large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    margin: 2rem auto;
    max-width: 300px;
}

.passion-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* Services Preview Section */
.services-preview {
    padding: 4rem 0;
    background: #0a0a0a;
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.services-preview .container {
    position: relative;
    z-index: 2;
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-preview-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-preview-item:hover,
.service-preview-item:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.service-preview-item h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-preview-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* Modern Services Section */
.modern-services {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.modern-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
}

.modern-services .container {
    position: relative;
    z-index: 2;
}

.services-intro {
    text-align: center;
    margin-bottom: 6rem;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ff6b6b, #4ecdc4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-magic 4s ease-in-out infinite;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.service-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.service-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.service-card[data-service="ecommerce"] .service-visual {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-card[data-service="apps"] .service-visual {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #0a0a0a;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: glow-pulse 3s ease-in-out infinite;
}

.services-cta {
    text-align: center;
}

.cta-modern {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-modern:hover::before {
    left: 100%;
}

.cta-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.6);
}

/* Why Me Section */
.why-me {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
}

.why-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.why-me .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

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

.why-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.why-item h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.process .container {
    position: relative;
    z-index: 2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.step-content h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.testimonial-result {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author strong {
    color: white;
    font-weight: 600;
    display: block;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* CTA Final Section */
.cta-final {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-guarantee {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations */
@keyframes gradient-magic {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6); }
}

@keyframes glow-promise {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Tablettes paysage 1024x600 */
@media (max-width: 1024px) and (max-height: 700px) {
    .hero {
        padding-top: 90px;
        height: 100vh;
    }
    
    .hero-content {
        max-width: 800px;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .hero-promise {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .passion-tech {
        padding: 4rem 0;
    }
    
    .passion-tech h2 {
        font-size: 2.2rem;
    }
    
    .tech-showcase {
        gap: 2rem;
    }
    
    .tech-item {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .hero-promise {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .promise-item {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-item {
        padding: 2rem;
    }
    
    .passion-tech h2 {
        font-size: 2rem;
    }
    
    .passion-tech p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .cta-primary.large {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}

/* Petits téléphones */
@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 0;
        min-height: 100vh;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-promise {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .promise-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .cta-primary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-guarantee {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    
    .passion-tech {
        padding: 4rem 0;
    }
    
    .passion-tech h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .passion-tech p {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
        padding: 0 10px;
    }
    
    .tech-item {
        padding: 1.5rem;
    }
    
    .tech-item h3 {
        font-size: 1.1rem;
    }
    
    .tech-item p {
        font-size: 0.9rem;
    }
    
    .passion-description {
        padding: 0 10px;
    }
    
    .passion-description p {
        font-size: 1rem;
    }
    
    .cta-primary.large {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        margin: 1.5rem auto;
    }
    
    .passion-note {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .promise-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .passion-tech h2 {
        font-size: 1.6rem;
    }
    
    .tech-item {
        padding: 1.2rem;
    }
}