/* =============================================
   PAYBOARD TEASER — Styles Immersifs
   ============================================= */

/* Import Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* === VARIABLES === */
:root {
    --marine: #061A44;
    --primary: #1565c0;
    --primary-light: #1976D2;
    --teal: #00acc1;
    --purple: #7e57c2;
    --green: #43a047;
    --gold: #ffd54f;
    --white: #FFFFFF;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--marine);
    color: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* === CANVAS PARTICULES === */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === CONTENEUR PRINCIPAL === */
.teaser-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 24px 30px;
    gap: 36px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* === LOGO === */
.logo-wrapper {
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-text {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #FFFFFF 0%, #90caf9 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.logo-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* === HEADLINE === */
.teaser-headline {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.headline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 213, 79, 0.1);
    border: 1px solid rgba(255, 213, 79, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    animation: shimmer 3s ease-in-out infinite;
}

.headline-badge i {
    font-size: 0.75rem;
}

.headline-text {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold), #ff9800);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.headline-sub {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

.headline-sub strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* === COUNTDOWN === */
.countdown-wrapper {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-unit {
    text-align: center;
}

.countdown-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 80px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    position: relative;
    /* Re-apply text gradient above background-color */
    background-image: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
}

.countdown-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    margin-top: 8px;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.2);
    padding-bottom: 24px;
}

/* === FORMULAIRE === */
.subscribe-wrapper {
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.subscribe-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.subscribe-intro strong {
    color: var(--gold);
}

.subscribe-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 18px;
    color: var(--gray-500);
    font-size: 0.9rem;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 46px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    outline: none;
    transition: all var(--transition);
}

.input-wrapper input::placeholder {
    color: var(--gray-500);
}

.input-wrapper input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.15);
}

.btn-submit {
    padding: 16px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    min-width: 140px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit.success {
    background: linear-gradient(135deg, var(--green) 0%, #2e7d32 100%);
}

/* Message */
.form-message {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
}

.form-message.success {
    background: rgba(67, 160, 71, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(67, 160, 71, 0.2);
}

.form-message.error {
    background: rgba(229, 57, 53, 0.15);
    color: #ef5350;
    border: 1px solid rgba(229, 57, 53, 0.2);
}

/* === SOCIAL PROOF === */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.social-avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #FFFFFF;
    border: 2px solid var(--marine);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.social-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.social-text strong {
    color: var(--gold);
    font-weight: 700;
}

/* === FEATURES PILLS === */
.features-teaser {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-pill i {
    font-size: 0.7rem;
    color: var(--teal);
}

/* === PAYS === */
.countries-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    opacity: 0.6;
    animation: fadeInUp 1s ease-out 1.6s both;
}

.countries-bar span {
    font-size: 1.2rem;
}

.countries-bar .emoji {
    height: 25px;
}

.country-label {
    font-size: 0.7rem !important;
    font-weight: 700;
    color: var(--teal);
    padding: 4px 10px;
    background: rgba(0, 172, 193, 0.1);
    border-radius: var(--radius-full);
    margin-left: 4px;
}

/* === RÉSEAUX SOCIAUX === */
.social-links {
    display: flex;
    gap: 12px;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    transition: all var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

/* === FOOTER === */
.teaser-footer {
    animation: fadeInUp 1s ease-out 2s both;
}

.teaser-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

/* === ANIMATIONS === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .teaser-container {
        padding: 30px 16px 20px;
        gap: 28px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .btn-submit {
        width: 100%;
    }

    .countdown-number {
        font-size: 2rem;
        min-width: 56px;
        padding: 8px 0;
    }

    .countdown-separator {
        font-size: 1.5rem;
        padding-bottom: 16px;
    }

    .social-proof {
        flex-direction: column;
        gap: 8px;
    }

    .feature-pill {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}