/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F39C12;
    --bg-dark: #0F0F1E;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --gradient-1: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-4: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-5: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Premium Animated Background - Elegant & Subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(243, 156, 18, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(102, 126, 234, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #0a0a14 0%, #0f0f1e 50%, #0a0a14 100%);
    background-size: 200% 200%;
    animation: gradientShift 30s ease infinite;
    z-index: 0;
    opacity: 1;
}

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



/* Subtle Grid Pattern Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(243, 156, 18, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 156, 18, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}



/* Simple Page Container */
.simple-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Header avec ivoire.ai en haut */
.page-header {
    padding: 1rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInDown 1s ease-out;
    flex-shrink: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 50%, #F39C12 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin: 0;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite, gradientFlow 5s ease infinite;
    text-shadow: 0 0 30px rgba(243, 156, 18, 0.3);
    filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.2));
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(243, 156, 18, 0.2));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(243, 156, 18, 0.4));
    }
}

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

.simple-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    width: 100%;
    position: relative;
    overflow: visible;
}

/* Subtle Accent Glow */
.simple-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.simple-container::after {
    display: none;
}

/* Main Message - Très grand sur 2 lignes */
.main-message {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    animation: fadeInUp 1.2s ease-out 0.3s both;
    margin: 0;
    padding: 0;
}

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

.message-subtitle {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 4.5rem;
    color: var(--text-primary);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.04em;
    position: relative;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(243, 156, 18, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.message-line {
    display: block;
    animation: slideInLeft 1s ease-out both;
    position: relative;
    background: rgba(15, 15, 30, 0.98);
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-line:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(243, 156, 18, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(243, 156, 18, 0.2);
}

.message-line:nth-child(1) {
    animation-delay: 0.5s;
}

.message-line:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Glow effect on text */
.message-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    height: 180%;
    background: 
        radial-gradient(circle, rgba(243, 156, 18, 0.2) 0%, transparent 40%),
        radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle, rgba(245, 87, 108, 0.12) 0%, transparent 60%),
        radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 65%);
    animation: pulseGlow 5s ease-in-out infinite, rotateGlow 25s linear infinite, glowShift 12s ease-in-out infinite;
    z-index: -1;
    filter: blur(50px);
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes rotateGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Additional glow rings */
.message-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.05) 0%, transparent 80%);
    animation: outerGlow 6s ease-in-out infinite;
    z-index: -2;
    filter: blur(60px);
}

@keyframes outerGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* Footer avec Contact */
.contact-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem 2rem;
    background: linear-gradient(to top, rgba(15, 15, 30, 1) 0%, rgba(15, 15, 30, 0.98) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000 !important;
    animation: fadeInUp 1s ease-out 0.8s both;
    min-height: 70px;
    max-height: 70px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0;
}

.contact-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(243, 156, 18, 0.5) 50%, 
        transparent 100%);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    flex-direction: row;
}

.footer-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(243, 156, 18, 0.3), 
        transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.footer-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.5), 
        rgba(102, 126, 234, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover::after {
    opacity: 1;
}

.footer-link:hover {
    color: var(--primary-color);
    background: rgba(243, 156, 18, 0.1);
    border-color: rgba(243, 156, 18, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.footer-link:active {
    transform: translateY(-1px) scale(1.02);
}

.footer-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.footer-text {
    position: relative;
    z-index: 1;
}

.footer-link:hover .footer-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 8px rgba(243, 156, 18, 0.6));
}

.footer-icon {
    font-size: 1rem;
    display: inline-block;
    line-height: 1;
}

.footer-text {
    font-size: 0.875rem;
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 1rem;
    }
    
    .header-title {
        font-size: 1.5rem;
    }
    
    .simple-container {
        padding: 1.5rem 1rem;
    }
    
    .message-subtitle {
        font-size: 2.5rem;
    }
    
    .contact-footer {
        padding: 0.75rem 1rem;
    }
    
    .footer-content {
        gap: 1rem;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: center;
    }
    
    .footer-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        flex-shrink: 0;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1rem 0.75rem;
    }
    
    .header-title {
        font-size: 1.25rem;
    }
    
    .message-subtitle {
        font-size: 1.75rem;
    }
    
    .contact-footer {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-content {
        gap: 0.75rem;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: center;
    }
    
    .footer-link {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        flex-shrink: 0;
        min-width: auto;
    }
    
    .footer-text {
        font-size: 0.7rem;
    }
}
