@font-face {
    font-family: 'PP NeueBit';
    src: url('fonts/PPNeueBit-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@import url('https://fonts.cdnfonts.com/css/aeonik-pro');
* { font-family: 'Aeonik Pro', 'Inter', system-ui, -apple-system, sans-serif; }
.font-neuebit { font-family: 'PP NeueBit', monospace; font-weight: 700; }
h1, h2, h3 { font-family: 'PP NeueBit', 'Arial Black', monospace; font-weight: 700; letter-spacing: -0.04em; }
.pricing-featured { transform: scale(1.05); }
h1, h2, h3 { letter-spacing: -0.02em; }
.text-5xl, .text-6xl, .text-4xl { letter-spacing: -0.03em; }
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

/* Pulse animation for status dot */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(0.85);
    }
}

.status-dot-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-badge-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect for badge */
.status-badge-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4) 50%,
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Mobile menu */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}
#mobile-menu.hidden {
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}

/* Animations subtiles et bien timées */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 8px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.animate-fadeInUp-1,
.animate-fadeInUp-2,
.animate-fadeInUp-3,
.animate-fadeInUp-4,
.animate-fadeInUp-5 {
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 20px, 0);
}
.animate-fadeInUp-1.visible { 
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.animate-fadeInUp-2.visible { 
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.animate-fadeInUp-3.visible { 
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.animate-fadeInUp-4.visible { 
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
@keyframes fadeInUpDashboard {
    0% {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.animate-fadeInUp-5 { 
    animation: fadeInUpDashboard 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* Animations rapides pour sections après hero */
@keyframes fastFadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
/* État initial invisible */
.animate-section-1,
.animate-section-2,
.animate-section-3,
.animate-section-4,
.animate-section-5 {
    opacity: 0;
    will-change: transform, opacity;
}
/* Animations déclenchées au scroll */
.animate-section-1.animate-visible { 
    animation: fastFadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.animate-section-2.animate-visible { 
    animation: fastFadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.animate-section-3.animate-visible { 
    animation: fastFadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.animate-section-4.animate-visible { 
    animation: fastFadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.animate-section-5.animate-visible { 
    animation: fastFadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* Animation de descente avec léger bounce - GPU accelerated */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translate3d(-50%, -20px, 0);
    }
    50% {
        opacity: 1;
    }
    70% {
        transform: translate3d(-50%, 2px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}

/* Animation de remontée avec léger bounce pour footer - GPU accelerated */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    50% {
        opacity: 1;
    }
    70% {
        transform: translate3d(0, -2px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#main-footer {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    will-change: transform, opacity;
}

#main-footer.visible {
    opacity: 1;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Barre fixed au scroll */
.fixed-nav-bar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    max-width: 1200px;
    width: calc(100% - 48px);
    background: #F1EBE0;
    border-radius: 18px;
    padding: 16px 24px;
    box-sizing: border-box;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}
.fixed-nav-bar.visible {
    opacity: 1;
    pointer-events: auto;
    animation: slideDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.fixed-nav-bar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fixed-nav-bar .nav-links {
    display: flex;
    gap: 32px;
}
.fixed-nav-bar a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}
.fixed-nav-bar a:hover {
    opacity: 0.7;
}
.fixed-nav-bar .logo {
    height: 24px;
    width: auto;
    filter: brightness(0);
}
.fixed-nav-bar button {
    background: black;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.fixed-nav-bar button:hover {
    background: rgba(0,0,0,0.9);
}

/* Animations pour charts bento 3 - gauche à droite - GPU accelerated */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translate3d(-20px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.chart-bar-1,
.chart-bar-2,
.chart-bar-3 {
    opacity: 0;
    will-change: transform, opacity;
}
.chart-bar-1.animate-visible { animation: slideInRight 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
.chart-bar-2.animate-visible { animation: slideInRight 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.chart-bar-3.animate-visible { animation: slideInRight 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }

/* Animations pour charts bento 4 - bas vers haut - GPU accelerated */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.chart-col-1,
.chart-col-2,
.chart-col-3,
.chart-col-4,
.chart-col-5,
.chart-col-6,
.chart-col-7,
.chart-col-8,
.chart-col-9 {
    opacity: 0;
    will-change: transform, opacity;
}
.chart-col-1.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
.chart-col-2.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.chart-col-3.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.chart-col-4.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both; }
.chart-col-5.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
.chart-col-6.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
.chart-col-7.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both; }
.chart-col-8.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both; }
.chart-col-9.animate-visible { animation: slideInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }

/* Scale hero content on large screens */
@media (min-width: 1920px) {
    .hero-content-scale {
        transform: scale(1.2);
    }
}
@media (min-width: 2560px) {
    .hero-content-scale {
        transform: scale(1.4);
    }
}

/* Hero opening animation - ouverture verticale sans déformation */
@keyframes heroExpand {
    0% {
        clip-path: inset(50% 0% 50% 0% round 24px);
        opacity: 0;
    }
    100% {
        clip-path: inset(0% 0% 0% 0% round 24px);
        opacity: 1;
    }
}

.hero-animate {
    will-change: clip-path, opacity;
    animation: heroExpand 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.content-delayed {
    opacity: 0;
    animation: contentFadeIn 0.6s ease-out 0.8s forwards;
}

/* Hide scrollbar */
body::-webkit-scrollbar {
    display: none;
}
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Waiting List Pop-in */
.waitlist-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    padding: 20px;
}

.waitlist-popup.show {
    opacity: 1;
    visibility: visible;
}

.waitlist-popup-content {
    background: #FAF9F6;
    border-radius: 32px;
    padding: 56px 48px;
    max-width: 460px;
    width: 100%;
    position: relative;
    transform: scale(0.95) translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0,0,0,0.05);
}

.waitlist-popup.show .waitlist-popup-content {
    transform: scale(1) translateY(0);
}

.waitlist-popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0,0,0,0.05);
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #6B6560;
    transition: all 0.2s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist-popup-close:hover {
    background: rgba(0,0,0,0.1);
    color: #000;
    transform: rotate(90deg);
}

.waitlist-popup-header {
    text-align: center;
    margin-bottom: 40px;
}

.waitlist-popup-logo {
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-popup.show .waitlist-popup-logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.waitlist-popup-logo .logo-image {
    height: 32px;
    width: auto;
    filter: brightness(0);
}

.waitlist-popup-title {
    font-family: 'PP NeueBit', monospace;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
    line-height: 0.9;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-popup.show .waitlist-popup-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.waitlist-popup-subtitle {
    font-size: 17px;
    color: #6B6560;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-popup.show .waitlist-popup-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.waitlist-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-popup.show .waitlist-popup-form {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.waitlist-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.waitlist-label {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

.waitlist-input {
    padding: 12px 16px;
    border: 1.5px solid #E8E3DC;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: white;
    color: #000;
}

.waitlist-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}

.waitlist-input::placeholder {
    color: #BBB6B0;
}

.waitlist-submit-button {
    background: #000;
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.waitlist-submit-button:hover {
    background: #2D2A26;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.waitlist-submit-button:active {
    transform: scale(0.98);
}

.waitlist-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.waitlist-success-message {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.waitlist-success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.waitlist-success-message .success-icon {
    width: 80px;
    height: 80px;
    background: #E6E7D4;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.waitlist-success-message h3 {
    font-family: 'PP NeueBit', monospace;
    font-size: 48px;
    margin-bottom: 12px;
    color: #000;
    line-height: 0.9;
}

.waitlist-success-message p {
    font-size: 18px;
    color: #6B6560;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Legal Modals (Privacy, Terms, Cookies) */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.show {
    display: flex;
    opacity: 1;
}

.legal-modal-content {
    background: #FAF9F6;
    border-radius: 24px;
    padding: 48px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(0,0,0,0.05);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Custom scrollbar for legal modals */
.legal-modal-content::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 8px 0;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: background 0.2s;
}

.legal-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Firefox scrollbar */
.legal-modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

.legal-modal.show .legal-modal-content {
    transform: scale(1) translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    color: #6B6560;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #000;
    transform: rotate(90deg);
}

.legal-modal-title {
    font-family: 'PP NeueBit', monospace;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
    letter-spacing: -0.02em;
}

.legal-modal-date {
    font-size: 14px;
    color: #6B6560;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-modal-body {
    color: #000;
    line-height: 1.7;
}

.legal-modal-body h3 {
    font-family: 'PP NeueBit', monospace;
    font-size: 24px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #000;
}

.legal-modal-body h4 {
    font-family: 'PP NeueBit', monospace;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #000;
}

.legal-modal-body p {
    margin-bottom: 16px;
    color: #2d2d2d;
}

.legal-modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-modal-body li {
    margin-bottom: 8px;
    color: #2d2d2d;
}

.legal-modal-body strong {
    font-weight: 600;
    color: #000;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .waitlist-popup-content {
        padding: 40px 24px;
    }
    
    .waitlist-popup-title {
        font-size: 28px;
    }
    
    .waitlist-popup-subtitle {
        font-size: 14px;
    }
    
    .legal-modal-content {
        padding: 32px 24px;
        max-height: 90vh;
    }
    
    .legal-modal-title {
        font-size: 28px;
    }
    
    .legal-modal-body h3 {
        font-size: 20px;
    }
    
    .legal-modal-body h4 {
        font-size: 16px;
    }
}
