* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5b6cff;
    --primary-dark: #4a5bff;
    --secondary: #ff6b6b;
    --bg-dark: #0a0a0b;
    --bg-lighter: #111114;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

@font-face {
    font-family: 'Moon Walk';
    src: url('../font/moon-walk-futuristic-modern-fonts-2023-11-27-05-06-44-utc/Moon Walk.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}
h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
/* Effet de gradient animé en arrière-plan */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(91, 108, 255, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
}

/* Animation des particules */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(91, 108, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite linear;
    box-shadow: 0 0 10px rgba(91, 108, 255, 0.4);
    bottom: -10px;
}

.particle:nth-child(even) {
    background: rgba(255, 107, 107, 0.6);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

.particle:nth-child(3n) {
    width: 8px;
    height: 8px;
}

.particle:nth-child(5n) {
    width: 5px;
    height: 5px;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Moon Walk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5b6cff 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-size: 30px;
}

.french-flag {
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    /* Annuler les propriétés héritées du logo */
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: initial !important;
}

.french-flag:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    margin-top: 50px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #5b6cff 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* ================================================ */
/* BANNIÈRE DOMAINE À VENDRE */
/* ================================================ */

/* Bannière corner triangle pour desktop */
.domain-for-sale-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    width: 250px !important;
    height: 250px !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.banner-triangle {
    position: absolute !important;
    top: -125px !important;
    left: -125px !important;
    width: 250px !important;
    height: 250px !important;
    background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
    transform: rotate(45deg) !important;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4) !important;
}

.banner-content {
    position: absolute !important;
    top: 15px !important;
    left: -15px !important;
    transform: rotate(-45deg) !important;
    transform-origin: center !important;
    color: white !important;
    text-align: center !important;
    font-weight: bold !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    width: 150px !important;
}

.banner-icon {
    font-size: 20px !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.banner-text {
    line-height: 1.2 !important;
}

.banner-title {
    font-size: 14px !important;
    font-weight: bold !important;
    display: block !important;
    margin: 0 !important;
    color: white !important;
}

.banner-subtitle {
    font-size: 12px !important;
    opacity: 0.95 !important;
    display: block !important;
    margin: 0 !important;
    color: white !important;
}

/* Bannière mobile horizontale */
.domain-banner-mobile {
    height: 40px;
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    background: linear-gradient(90deg, #ff6b35, #f7931e) !important;
    color: white !important;
    padding: 8px 15px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

/* Responsive pour bannière domaine à vendre */
@media (max-width: 768px) {
    .domain-for-sale-banner {
        display: none !important;
    }
    
    .domain-banner-mobile {
        display: block !important;
    }
    
    /* Ajuster le header pour compenser la bannière mobile */
    nav {
        margin-top: 40px !important;
    }
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.email-form .form-row {
    display: flex;
    gap: 1rem;
}

.email-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.1);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.cta-button {
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 108, 255, 0.3);
}

.cta-button::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 ease;
}

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

/* Styles pour le widget Turnstile */
.turnstile-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.turnstile-container.visible {
    padding: 1rem 0;
    max-height: 100px;
    opacity: 1;
}

.cf-turnstile {
    border-radius: 8px;
    overflow: hidden;
    transform: translateY(-10px);
    transition: transform 0.4s ease;
}

.turnstile-container.visible .cf-turnstile {
    transform: translateY(0);
}

/* Code Editor Preview - Nouveau design professionnel */
.code-editor-container {
    background: #0d0d0f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-header {
    background: #161618;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-tabs {
    display: flex;
    height: 40px;
}

.editor-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: transparent;
    color: #8b8b8f;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.editor-tab.active {
    background: #0d0d0f;
    color: #fff;
}

.editor-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.editor-tab svg {
    opacity: 0.6;
}

.tab-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    padding: 0;
    margin-left: 4px;
}

.editor-tab:hover .tab-close {
    opacity: 0.6;
}

.editor-actions {
    padding: 0 16px;
}

.editor-body {
    display: flex;
    height: 500px;
    position: relative;
    justify-content: flex-start;
}

.editor-sidebar {
    background: #161618;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.line-numbers {
    padding: 20px 16px;
    color: #4a4a4f;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    line-height: 24px;
    user-select: none;
}

.editor-content {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    text-align: left;
    min-width: 0;
}

.code-block {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 24px;
    overflow-x: auto;
    max-width: 100%;
}

.code-block pre {
    margin: 0;
    white-space: pre;
    overflow-x: auto;
    max-width: 100%;
}

.code-block code {
    display: block;
    white-space: pre;
    overflow-wrap: break-word;
    word-break: break-all;
}

.code-number { color: #b5cea8; }

/* AI Suggestion Box */
.ai-suggestion {
    margin-top: 24px;
    background: rgba(91, 108, 255, 0.05);
    border: 1px solid rgba(91, 108, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

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

.ai-avatar {
    flex-shrink: 0;
}

.ai-avatar-inner {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5b6cff 0%, #ff6b6b 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: white;
}

.ai-content {
    flex: 1;
}

.ai-content p {
    margin: 0 0 8px 0;
    color: #e0e0e0;
    font-size: 14px;
}

.ai-content ul {
    margin: 8px 0;
    padding-left: 20px;
    color: #a0a0b0;
    font-size: 13px;
}

.ai-content li {
    margin: 4px 0;
}

.ai-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.ai-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-action-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.ai-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.ai-action-btn.primary:hover {
    background: var(--primary-dark);
}

/* Panel latéral */
.editor-panel {
    width: 280px;
    background: #161618;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
}

.panel-content {
    padding: 16px;
    flex: 1;
}

.context-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #a0a0b0;
    font-size: 13px;
}

.context-item svg {
    opacity: 0.6;
}

/* Footer de l'éditeur */
.editor-footer {
    background: #161618;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
}

.status-bar {
    display: flex;
    gap: 24px;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8b8b8f;
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a4a4f;
}

.status-dot.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Effet de typing */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--primary);
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive pour l'éditeur */
@media (max-width: 1024px) {
    .editor-panel {
        display: none;
    }
}

@media (max-width: 768px) {
    .editor-body {
        height: 400px;
    }
    
    .editor-sidebar {
        display: none;
    }
    
    .code-block {
        font-size: 12px;
        overflow-x: auto;
    }
    
    .code-block pre {
        white-space: pre;
        overflow-x: auto;
    }
    
    .code-block code {
        white-space: pre;
        word-break: break-all;
        overflow-wrap: break-word;
    }
    
    .editor-content {
        padding: 15px 10px;
        overflow-x: hidden;
    }
    
    .ai-suggestion {
        flex-direction: column;
    }
    
    .features-preview {
        /* padding: 0 1rem; */
    }
    
    .code-editor-container {
        /* margin: 0 1rem; */
        max-width: calc(100vw - 2rem);
    }
}

/* Features Preview */
.features-preview {
    margin-top: 6rem;
    position: relative;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.window-control:nth-child(2) {
    background: #ffbd2e;
}

.window-control:nth-child(3) {
    background: #28ca42;
}

.code-keyword { color: #ff6b6b; }
.code-function { color: #5b6cff; }
.code-string { color: #98ec65; }
.code-comment { color: #6a6a7a; font-style: italic; }

/* Features Grid */
.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 108, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(91, 108, 255, 0.3);
    box-shadow: 0 20px 40px rgba(91, 108, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5b6cff 0%, #ff6b6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(91, 108, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #5b6cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(91, 108, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item.active {
    border-color: rgba(91, 108, 255, 0.3);
    background: rgba(91, 108, 255, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form .form-row {
        flex-direction: column;
    }

    .turnstile-container {
        padding: 0.5rem 0;
    }

    .turnstile-container.visible {
        padding: 0.75rem 0;
        max-height: 90px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }
}

/* Animations supplémentaires */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 80px;
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

h1.contact-title {
    background: linear-gradient(135deg, #5b6cff 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.contact-form-wrapper {
    max-width: 600px;
    width: 100%;
}

/* Info Cards */
.contact-info {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(91, 108, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(91, 108, 255, 0.3);
    box-shadow: 0 20px 40px rgba(91, 108, 255, 0.1);
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p, .info-card a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--primary);
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-form h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 0.5rem;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.char-counter.warning {
    color: #f39c12;
}

.char-counter.danger {
    color: #e74c3c;
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.contact-submit-btn {
    width: 100%;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-submit-btn::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 ease;
}

.contact-submit-btn:hover::before {
    left: 100%;
}

.contact-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 108, 255, 0.3);
}

.contact-submit-btn:disabled {
    background: #4a4a4f;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-submit-btn:disabled::before {
    display: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-response {
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
}

.contact-response.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.contact-response.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.btn-reset {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Security Info */
.security-info {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid #28a745;
}

.security-info h4 {
    color: #28a745;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.security-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Messages */
.message {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-weight: 500;
}

.message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Turnstile */
.cf-turnstile {
    /* margin: 1rem 0;
    border-radius: 8px; */
    overflow: hidden;
}

/* Turnstile visible sur la page de contact */
.contact-form .turnstile-container {
    display: flex;
    justify-content: center;
    /* margin: 1.5rem 0; */
    padding: 1rem 0;
    opacity: 1;
    max-height: none;
    overflow: visible;
}

.contact-form .cf-turnstile {
    transform: translateY(0);
}

/* Responsive Design pour Contact */
@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
        margin-top: 60px;
    }
    
    .contact-content {
        padding: 0;
    }
    
    .contact-form-wrapper {
        padding: 0;
    }
    
    h1.contact-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-submit-btn {
        padding: 1rem 2rem;
    }
}