/* ===========================
   GOLDEN POOP - REDESIGNED
   Fun × Luxury × Absurdity
   =========================== */

:root {
    --gold: #C9A961;
    --gold-light: #D4AF37;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #888888;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ===========================
   RESET & BASE
   =========================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   FLOATING POOP PARTICLES - SUBTLE
   =========================== */

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

.poop-particle {
    position: absolute;
    font-size: 16px;
    opacity: 0.08;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(90deg);
    }
}

/* ===========================
   LANGUAGE TOGGLE
   =========================== */

.language-toggle {
    position: fixed;
    top: 24px;
    right: 32px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--gray);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.lang-divider {
    color: var(--gray);
    opacity: 0.3;
}

/* ===========================
   HERO SECTION - APPLE MINIMAL
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
}

.logo {
    max-width: 450px;
    width: 100%;
    margin: 0 auto 40px;
    display: block;
    opacity: 0;
    animation: fadeInUp 1s var(--transition) 0.1s forwards;
    /* Subtle luxury enhancement */
    filter: drop-shadow(0 4px 20px rgba(201, 169, 97, 0.4));
}

.headline {
    font-family: var(--font-display);
    font-size: clamp(64px, 10vw, 110px);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.05;
    opacity: 0;
    animation: fadeInUp 1s var(--transition) 0.2s forwards;
    /* Couleur dorée simple comme le logo */
    color: var(--gold);
}

.tagline {
    font-family: var(--font-sans);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 60px;
    max-width: 600px;
    letter-spacing: 0.01em;
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 1s var(--transition) 0.3s forwards;
}

.hero-product {
    margin: 0 auto 50px;
    max-width: 520px;
    opacity: 0;
    animation: fadeInUp 1s var(--transition) 0.4s forwards;
}

.product-hero-image {
    width: 100%;
    filter: brightness(1.02) saturate(1.05);
    transition: transform 0.6s var(--transition);
}

.product-hero-image:hover {
    transform: scale(1.02);
}

.price {
    font-family: var(--font-sans);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 1s var(--transition) 0.5s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    padding: 16px 44px;
    border: 1px solid var(--gold);
    border-radius: 0;
    letter-spacing: 0.15em;
    transition: all 0.4s var(--transition);
    opacity: 0;
    animation: fadeInUp 1s var(--transition) 0.6s forwards;
    /* Fix pour Android: assurer que le bouton est cliquable */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.cta-button * {
    /* Empêcher les éléments enfants d'intercepter les clics */
    pointer-events: none;
}

.cta-button:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

/* ===========================
   SOCIAL PROOF
   =========================== */

.social-proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 80px auto;
    padding: 0 32px;
}

.stat {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===========================
   STORY SECTION
   =========================== */

.story {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 32px;
    text-align: center;
}

.story-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.1;
}

.story-lead {
    font-size: clamp(20px, 3vw, 32px);
    color: var(--gray);
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.story-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.story-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-emoji {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.card-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.card-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===========================
   PRODUCTS SECTION
   =========================== */

.products {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 32px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.product-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.product-featured {
    border-color: rgba(255, 215, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    z-index: 2;
}

.product-badge.featured {
    background: var(--gold);
    color: var(--black);
}

.product-card img {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--gray);
    font-style: italic;
}

/* ===========================
   PERFECT FOR SECTION
   =========================== */

.perfect-for {
    max-width: 1000px;
    margin: 120px auto;
    padding: 0 32px;
    text-align: center;
}

.perfect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.perfect-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 24px;
    transition: all 0.3s ease;
}

.perfect-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-6px);
}

.perfect-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.perfect-item p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.4;
}

/* ===========================
   WAITLIST SECTION - POWERFUL
   =========================== */

.waitlist {
    position: relative;
    max-width: 800px;
    margin: 120px auto;
    padding: 80px 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 32px;
    overflow: hidden;
}

.waitlist-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.waitlist-emoji {
    font-size: 80px;
    margin-bottom: 32px;
    animation: bounce 2s ease-in-out infinite;
}

.waitlist-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 24px;
    text-shadow: var(--shadow-gold);
}

.waitlist-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.6;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

#email {
    font-family: var(--font-sans);
    font-size: 18px;
    padding: 20px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: all 0.3s ease;
    text-align: center;
}

#email::placeholder {
    color: var(--gray);
}

#email:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.submit-button {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    padding: 24px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* Fix pour Android: assurer que le bouton est cliquable */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
    width: 100%;
}

.submit-button * {
    /* Empêcher les éléments enfants d'intercepter les clics */
    pointer-events: none;
}

.submit-button:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-intense);
}

.submit-button:active {
    transform: translateY(-2px);
}

.button-arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-arrow {
    transform: translateX(4px);
}

.form-success {
    font-size: 24px;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    animation: fadeInScale 0.5s ease-out;
}

.success-emoji {
    font-size: 32px;
    animation: bounce 1s ease-in-out infinite;
}

.waitlist-guarantees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.guarantee-icon {
    color: var(--gold);
    font-weight: 700;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    text-align: center;
    padding: 80px 32px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 120px;
}

.footer-tagline {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--gold);
    margin-bottom: 40px;
    font-weight: 600;
}

.disclaimer {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.7;
}

.footer-lang {
    position: static;
    margin: 32px auto;
    justify-content: center;
}

.footer-copy {
    font-size: 14px;
    color: var(--gray);
    margin-top: 24px;
    opacity: 0.5;
}

/* ===========================
   ANIMATIONS
   =========================== */

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    /* Language toggle plus visible sur mobile */
    .language-toggle {
        top: 16px;
        right: 16px;
        padding: 10px 16px;
        background: rgba(201, 169, 97, 0.2);
        border: 1px solid var(--gold);
    }

    .lang-btn {
        font-size: 15px;
        padding: 8px 14px;
        /* Zone tactile minimum pour mobile */
        min-height: 44px;
        min-width: 44px;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    /* Logo optimisé pour mobile */
    .logo {
        max-width: 340px;
        margin: 0 auto 30px;
        filter: drop-shadow(0 4px 16px rgba(201, 169, 97, 0.5));
    }

    /* Tagline plus lisible sur mobile */
    .tagline {
        font-size: 20px;
        margin-bottom: 40px;
        padding: 0 10px;
        line-height: 1.5;
    }

    /* Boutons plus faciles à cliquer sur mobile */
    .cta-button {
        padding: 20px 40px;
        font-size: 15px;
        min-height: 56px;
        width: 90%;
        max-width: 400px;
    }

    .submit-button {
        padding: 20px;
        font-size: 16px;
        min-height: 60px;
    }

    .hero-emoji {
        font-size: 80px;
    }

    .social-proof {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 60px auto;
    }

    .story-cards {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .perfect-grid {
        grid-template-columns: 1fr 1fr;
    }

    .waitlist {
        padding: 60px 24px;
    }

    .form-group {
        gap: 12px;
    }

    .waitlist-guarantees {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-emoji {
        font-size: 60px;
    }

    .perfect-grid {
        grid-template-columns: 1fr;
    }
}
