/* ===================================
   MY FILMLAB - LANDING PAGE
   =================================== */

/* Header */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--spacing-md) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.landing-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Logo Négatif 35mm dans le header */
.landing-header .myfilmlab-logo {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.landing-header .myfilmlab-logo .logo-main-circle,
.landing-header .myfilmlab-logo .logo-glow,
.landing-header .myfilmlab-logo .logo-center-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-icon-svg {
  filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.3));
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Ghost Button - Header Login */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-glow);
}

/* ============================================
   HERO FUSIONNÉ AVEC GLOBE
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    background: var(--void);
}

/* Ambient Glow */
.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--safelight-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge preuve sociale */
.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--safelight-dim);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--safelight);
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease-out;
}

.social-proof-badge .pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Logo Négatif 35mm animé dans le hero */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.hero-logo .myfilmlab-logo {
    width: 360px;
    height: 360px;
}

/* Ajustements taille pour le logo hero (version large) */
.hero-logo .logo-text-ring {
    width: 340px;
    height: 340px;
}

.hero-logo .logo-text-ring text {
    font-size: 12px;
    letter-spacing: 6px;
}

.hero-logo .logo-dotted-ring {
    width: 280px;
    height: 280px;
}

.hero-logo .logo-inner-text-ring {
    width: 240px;
    height: 240px;
}

.hero-logo .logo-inner-text-ring text {
    font-size: 8px;
    letter-spacing: 3px;
}

.hero-logo .logo-orbital-dots {
    width: 200px;
    height: 200px;
}

.hero-logo .logo-main-circle {
    width: 180px;
    height: 180px;
}

.hero-logo .logo-glow {
    width: 150px;
    height: 150px;
}

.hero-logo .logo-rays {
    width: 160px;
    height: 160px;
}

.hero-logo .logo-ray {
    height: 30px;
}

.hero-logo .logo-center-element {
    width: 120px;
    height: 120px;
}

.hero-logo .logo-negative {
    width: 100px;
    height: 68px;
}

.hero-logo .logo-negative-strip {
    width: 100px;
    height: 68px;
}

.hero-logo .logo-negative-perfs {
    left: 6px;
    right: 6px;
}

.hero-logo .logo-negative-perfs.top {
    top: 6px;
}

.hero-logo .logo-negative-perfs.bottom {
    bottom: 6px;
}

.hero-logo .logo-negative-perf {
    width: 8px;
    height: 5px;
}

.hero-logo .logo-negative-frame {
    width: 56px;
    height: 40px;
}

.hero-logo .logo-negative-frame-inner {
    width: 10px;
    height: 10px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

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

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

/* Titre */
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
    color: var(--safelight);
}

/* Sous-titre */
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Accroche communauté */
.hero-community-hook {
    font-size: 1.1rem;
    color: var(--safelight);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-community-hook strong {
    color: var(--safelight-bright);
}

/* Globe Container */
.globe-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 450px;
    margin: 0 auto 32px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--safelight-glow);
    box-shadow:
        0 0 80px var(--safelight-glow),
        0 30px 80px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

#globe-map {
    width: 100%;
    height: 100%;
}

/* Live indicator */
.live-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 15, 0.85);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    z-index: 10;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Stats dans le globe */
.globe-stats {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 14px;
    border: 1px solid var(--safelight-dim);
    z-index: 10;
}

.globe-stats .stat-item {
    text-align: center;
}

.globe-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--safelight);
    display: block;
    line-height: 1.2;
}

.globe-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Principal */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--safelight), var(--safelight-bright));
    color: var(--void);
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--safelight-glow);
}

.hero-cta .arrow {
    transition: transform 0.3s ease;
}

.hero-cta:hover .arrow {
    transform: translateX(4px);
}

/* Features compactes */
.features-compact {
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.feature-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-compact .icon {
    font-size: 1.3rem;
}

.feature-separator {
    color: var(--safelight-dim);
    opacity: 0.3;
}

/* Marqueurs globe */
.photographer-marker {
    width: 12px;
    height: 12px;
    background: var(--safelight);
    border: 2px solid var(--safelight-bright);
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 0 10px var(--safelight),
        0 0 20px var(--safelight-intense),
        0 0 30px var(--safelight-glow);
    animation: markerPulse 3s infinite;
    transition: transform 0.2s ease;
}

.photographer-marker:hover {
    transform: scale(1.5);
    z-index: 100 !important;
}

.photographer-marker.cluster-small { width: 14px; height: 14px; }
.photographer-marker.cluster-medium { width: 18px; height: 18px; }
.photographer-marker.cluster-large { width: 22px; height: 22px; }

@keyframes markerPulse {
    0%, 100% {
        box-shadow:
            0 0 10px var(--safelight),
            0 0 20px var(--safelight-intense),
            0 0 30px var(--safelight-glow);
    }
    50% {
        box-shadow:
            0 0 15px var(--safelight),
            0 0 30px var(--safelight-intense),
            0 0 50px var(--safelight-glow);
    }
}

@keyframes markerAppear {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.photographer-marker {
    animation: markerAppear 0.5s ease-out, markerPulse 3s infinite 0.5s;
}

/* Popup Mapbox */
.mapboxgl-popup-content {
    background: var(--surface) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--safelight-dim) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.mapboxgl-popup-tip {
    border-top-color: var(--surface) !important;
}

.mapboxgl-popup-close-button { display: none; }

.popup-content { text-align: center; }
.popup-city { font-weight: 600; font-size: 1rem; color: var(--safelight); margin-bottom: 4px; }
.popup-country { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.popup-count { font-size: 0.85rem; color: var(--text-secondary); }
.popup-count strong { color: var(--safelight); }

/* Mapbox attribution */
.mapboxgl-ctrl-attrib {
    background: rgba(10, 10, 15, 0.8) !important;
    color: var(--text-muted) !important;
    font-size: 10px !important;
}
.mapboxgl-ctrl-attrib a { color: var(--safelight-dim) !important; }

/* Features Section */
.features {
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--gold-light);
}

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

/* Pricing Section */
.pricing {
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: var(--bg-darkest);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'RECOMMANDE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--bg-darkest);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-name {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--gold-primary);
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-lg);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.pricing-features li::before {
  content: '✓';
  color: var(--developer-green);
  font-weight: bold;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.disabled::before {
  content: '✕';
  color: var(--text-muted);
}

/* Calculator Preview */
.calculator-preview {
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: var(--bg-dark);
}

.calculator-mockup {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.landing-footer {
  padding: var(--spacing-xl);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darkest);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-heart {
  color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-header {
        padding: var(--spacing-md);
    }

    .header-nav {
        display: none;
    }

    /* Hero Responsive */
    .hero {
        padding: 100px 16px 40px;
    }

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

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

    .hero-community-hook {
        font-size: 0.95rem;
    }

    .globe-wrapper {
        height: 350px;
        margin-bottom: 24px;
    }

    .globe-stats {
        gap: 16px;
        padding: 10px 20px;
    }

    .globe-stats .stat-number {
        font-size: 1.2rem;
    }

    .features-compact {
        flex-direction: column;
        gap: 12px;
    }

    .feature-separator {
        display: none;
    }

    /* Other sections */
    .features,
    .pricing,
    .calculator-preview {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}
