/* Landing Page Styles */

/* Anti-FOUC : navbar + footer caches d'office quand <html class="is-landing">.
   La classe est posee par un script dans index_string AVANT le rendu Dash
   (cf app.py) et synchronisee a chaque changement de pathname par un
   clientside callback global (cf global_callbacks.py). */
.is-landing #navbar-container,
.is-landing #app-footer {
    display: none !important;
}

:root {
    --blue-dark: #0a1628;
    --blue-deep: #0d1f35;
    --blue-mid: #1a3a5c;
    --blue-bright: #2563eb;
    --blue-electric: #3b82f6;
    --blue-glow: #60a5fa;
    --blue-light: #93c5fd;
    --orange-accent: #f97316;
    --gradient-border: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #f97316, #3b82f6);
}

.landing-page {
    background: linear-gradient(180deg, var(--blue-dark) 0%, #0d1f35 50%, var(--blue-dark) 100%);
    min-height: 100vh;
    color: #DADADA;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* ========== ANIMATED GRADIENT BORDER (disabled) ========== */
.border-frame {
    display: none;
}

/* ========== BACKGROUND LAYERS ========== */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-gradient {
    background:
        /* Vignette effect - darker edges to focus on center */
        radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.6) 100%),
        /* Subtle color accents */
        radial-gradient(ellipse at 10% 90%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        /* Center glow to draw attention */
        radial-gradient(ellipse at 50% 35%, rgba(30, 58, 95, 0.4) 0%, transparent 50%);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* ========== GLOW ORBS ========== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbPulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.15); opacity: 0.35; }
}

/* ========== PARTICLES ========== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--blue-glow);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0.3;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* ========== BASKETBALLS ========== */
.basketball-container {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: visible;
    pointer-events: none;
}

.basketball {
    position: absolute;
    top: -150px;
    filter: drop-shadow(0 10px 25px rgba(249, 115, 22, 0.25));
    animation: fall linear infinite;
    will-change: transform;
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.basketball:hover {
    filter: drop-shadow(0 15px 40px rgba(249, 115, 22, 0.6)) brightness(1.2);
}

.basketball.juggling {
    animation: none !important;
    pointer-events: auto;
    z-index: 200;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: var(--ball-opacity, 0.5);
    }
    92% { opacity: var(--ball-opacity, 0.5); }
    100% {
        transform: translateY(calc(100vh + 300px)) rotate(720deg);
        opacity: 0;
    }
}

/* ========== DATA VIZ ELEMENTS ========== */
.data-viz-container {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* Stat Cards */
.stat-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(13, 33, 55, 0.85), rgba(26, 58, 92, 0.6));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.5;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    padding: 1px;
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-glow), transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
}

.stat-card h3 {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--blue-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.9;
}

.stat-value {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-unit {
    font-size: 18px;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Stat Card Large Variant */
.stat-card.stat-card-lg {
    padding: 20px 26px;
}

.stat-card.stat-card-lg h3 {
    font-size: 13px;
    margin-bottom: 10px;
}

.stat-card.stat-card-lg .stat-value {
    font-size: 44px;
}

.stat-card.stat-card-lg .stat-unit {
    font-size: 24px;
}

/* Bar Chart */
.bar-chart {
    position: absolute;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 90px;
    animation: float 7s ease-in-out infinite;
    opacity: 0.5;
}

.bar {
    width: 12px;
    background: linear-gradient(to top, var(--blue-bright), var(--blue-glow));
    border-radius: 3px 3px 0 0;
    animation: barGrow 2.5s ease-in-out infinite alternate;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

@keyframes barGrow {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1); }
}

/* Bar Chart Large Variant */
.bar-chart.bar-chart-lg {
    height: 130px;
    gap: 8px;
}

.bar-chart.bar-chart-lg .bar {
    width: 18px;
    border-radius: 4px 4px 0 0;
}

/* Circular Progress */
.circular-progress {
    position: absolute;
    width: 100px;
    height: 100px;
    animation: float 8s ease-in-out infinite;
    opacity: 0.5;
}

.circular-progress-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid rgba(59, 130, 246, 0.15);
    border-top-color: var(--blue-electric);
    border-right-color: #8b5cf6;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.progress-value {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.progress-label {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 8px;
    font-weight: 600;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Circular Progress Large Variant */
.circular-progress.circular-progress-lg {
    width: 140px;
    height: 140px;
}

.circular-progress.circular-progress-lg .circular-progress-ring {
    border-width: 8px;
}

.circular-progress.circular-progress-lg .progress-value {
    font-size: 32px;
}

.circular-progress.circular-progress-lg .progress-label {
    font-size: 10px;
}

/* Line Chart Simple (CSS-only version) */
.line-chart-simple {
    position: absolute;
    width: 140px;
    height: 70px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.5;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.2) 50%, rgba(249, 115, 22, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    overflow: hidden;
}

.line-chart-simple::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.4), transparent);
    clip-path: polygon(0% 80%, 15% 60%, 32% 70%, 50% 40%, 68% 55%, 82% 25%, 100% 35%, 100% 100%, 0% 100%);
}

.line-chart-simple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    border-top: 2px solid var(--blue-glow);
    clip-path: polygon(0% 80%, 15% 60%, 32% 70%, 50% 40%, 68% 55%, 82% 25%, 100% 35%);
}

/* Line Chart Large Variant */
.line-chart-simple.line-chart-lg {
    width: 200px;
    height: 100px;
    border-radius: 10px;
}

.line-chart-simple.line-chart-lg::after {
    border-top-width: 3px;
}

/* Hero Section */
.landing-hero {
    padding: 140px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Header de la landing : logo Kapte en haut a gauche, hors flow du hero
   (sticky en haut, ne perturbe pas le centrage du headline). */
.landing-header {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 100;
}

.landing-header-logo {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.4));
}

/* Brand Section legacy (gardee pour compat si reutilisee ailleurs) */
.landing-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.landing-icon {
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.4));
}

.landing-brand-name {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* Main Headline - Big and centered */
.landing-headline-main {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #DADADA;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .landing-brand {
        position: relative;
        top: auto;
        left: auto;
        justify-content: center;
        margin-bottom: 30px;
    }
    .landing-headline-main {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
}

@media (max-width: 480px) {
    .landing-brand {
        flex-direction: column;
        gap: 12px;
    }
}

.landing-headline-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #CBD5E1;
    max-width: 650px;
    margin: 0 auto 16px;
    line-height: 1.5;
    font-weight: 500;
}

.landing-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    color: #60a5fa;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
}

.landing-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #DADADA 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #A0AEC0;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.landing-cta-container {
    margin-bottom: 32px;
}

/* CTAs hero : Violet/Indigo Kapte. Couleur figee sur tous les etats
   pour eviter tout changement visible (Chrome/Edge appliquent les
   defaults Bootstrap sur :hover/:focus/:active/:visited).
   Taille genereuse pour donner envie de cliquer.
   --important: la specificite est augmentee (.landing-page .xxx) pour
   battre les defaults Bootstrap qui ciblent .btn et .btn.btn-* */
.landing-page .landing-cta-primary,
.landing-page .landing-cta-primary:hover,
.landing-page .landing-cta-primary:focus,
.landing-page .landing-cta-primary:active,
.landing-page .landing-cta-primary:visited,
.landing-page .landing-cta-primary:focus-visible,
.landing-page .landing-cta-primary.active,
.landing-page .landing-cta-primary:not(:disabled):not(.disabled):active {
    background: #5B47FB !important;
    background-color: #5B47FB !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(91, 71, 251, 0.35) !important;
    outline: none !important;
}

.landing-page .landing-cta-primary {
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.landing-page .landing-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 71, 251, 0.55) !important;
}

.landing-page .landing-cta-secondary,
.landing-page .landing-cta-secondary:hover,
.landing-page .landing-cta-secondary:focus,
.landing-page .landing-cta-secondary:active,
.landing-page .landing-cta-secondary:visited,
.landing-page .landing-cta-secondary:focus-visible,
.landing-page .landing-cta-secondary.active,
.landing-page .landing-cta-secondary:not(:disabled):not(.disabled):active {
    border: 1px solid rgba(139, 122, 255, 0.6) !important;
    background: rgba(91, 71, 251, 0.08) !important;
    background-color: rgba(91, 71, 251, 0.08) !important;
    color: #FFFFFF !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
}

.landing-page .landing-cta-secondary {
    transition: background 0.2s, border-color 0.2s !important;
}

.landing-page .landing-cta-secondary:hover {
    background: rgba(91, 71, 251, 0.20) !important;
    background-color: rgba(91, 71, 251, 0.20) !important;
    border-color: rgba(139, 122, 255, 0.9) !important;
}

/* Container des 2 boutons hero : centre + gap regulier */
.landing-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.landing-trust-bar {
    color: #94A3B8;
    font-size: 15px;
    margin-bottom: 50px;
    padding: 16px 28px;
    background: rgba(30, 58, 95, 0.25);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
}

.trust-item {
    font-weight: 500;
}

.trust-separator {
    margin: 0 14px;
    opacity: 0.4;
}

/* Hero Image Placeholder */
.hero-image-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, #1a2332 0%, #0F1923 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 100px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.placeholder-content {
    text-align: center;
}

.placeholder-text {
    font-size: 24px;
    color: #4A5568;
    margin-bottom: 8px;
}

.placeholder-subtext {
    color: #4A5568;
    font-size: 14px;
}

/* Features Section */
.landing-features {
    padding: 100px 20px 80px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
    background: rgba(15, 25, 35, 0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #A0AEC0;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, #1a2332 0%, #151d2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 66, 138, 0.5);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: #A0AEC0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========== FEATURE MOCKUPS ==========
   Reproductions visuelles type "screenshot app" rendues sous les feature
   cards "Details statistiques" et "Rapports de blessures". Inspire du
   background Entra/KMSI (kapte-BG). Purement decoratif, pas de live data. */
.feature-mockup {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Mockup Analytics joueurs : 2 KPI cards + bar chart vert --- */
.feature-mockup.analytics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mockup-kpi-card {
    background: rgba(15, 25, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
}

.mockup-kpi-label {
    color: #94A3B8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.mockup-kpi-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.mockup-kpi-value.primary { color: #7A66FF; }
.mockup-kpi-value.success { color: #22C55E; }

.mockup-kpi-caption {
    color: #64748B;
    font-size: 10px;
}

.mockup-bar-chart-card {
    background: rgba(15, 25, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
    position: relative;
}

.mockup-chart-header {
    margin-bottom: 12px;
}

.mockup-chart-title {
    color: #F8FAFC;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}

.mockup-chart-subtitle {
    color: #64748B;
    font-size: 10px;
}

.mockup-bars-container {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    position: relative;
}

.mockup-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 4px;
}

.mockup-bar-value {
    color: #CBD5E1;
    font-size: 9px;
    font-weight: 600;
}

.mockup-bar-fill {
    width: 100%;
    background: #475569;
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transform-origin: bottom;
    animation: mockupBarGrow 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.mockup-bar-fill.highlight {
    background: #22C55E;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.mockup-threshold-line {
    position: absolute;
    right: 14px;
    bottom: 38px;
    color: #94A3B8;
    font-size: 9px;
    font-weight: 600;
}

@keyframes mockupBarGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* --- Mockup Rapports de blessures : card team + joueur OUT --- */
.feature-mockup.injury {
    background: rgba(15, 25, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px;
    margin-top: 24px;
}

.mockup-injury-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-injury-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007A33 0%, #006428 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-team-name {
    color: #F8FAFC;
    font-size: 13px;
    font-weight: 600;
}

.mockup-team-date {
    color: #64748B;
    font-size: 10px;
}

.mockup-injury-count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #EF4444;
    color: #FCA5A5;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-injury-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.6fr 1.6fr;
    gap: 10px;
    align-items: start;
}

.mockup-injury-col-label {
    color: #94A3B8;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mockup-injury-player {
    color: #F8FAFC;
    font-size: 12px;
    font-weight: 600;
}

.mockup-injury-value {
    color: #CBD5E1;
    font-size: 12px;
    font-weight: 600;
}

.mockup-injury-reason {
    color: #94A3B8;
    font-size: 10px;
    line-height: 1.3;
}

.mockup-injury-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.mockup-injury-badge.out {
    background: rgba(239, 68, 68, 0.18);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Pricing Section */
.landing-pricing {
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    background: rgba(15, 25, 35, 0.9);
}

.pricing-card {
    background: #1a2332;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.premium {
    border-color: rgba(91, 71, 251, 0.5);
    background: linear-gradient(135deg, #1a2332 0%, #1b1832 100%);
    box-shadow: 0 0 40px rgba(91, 71, 251, 0.10);
}

.pricing-tier-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pricing-tier-badge.premium {
    background: linear-gradient(135deg, #5B47FB 0%, #7A66FF 100%);
    color: #FFFFFF;
}

.pricing-price {
    margin-bottom: 12px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-period {
    color: #A0AEC0;
    font-size: 1rem;
}

.pricing-description {
    color: #A0AEC0;
    margin-bottom: 24px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    color: #48BB78;
    font-weight: bold;
}

.check-icon.premium {
    color: #7A66FF;
}

/* Pricing CTA (Explorer gratuitement) : outline secondaire violet figee.
   Spec renforcee (.landing-page .pricing-card) pour battre Bootstrap. */
.landing-page .pricing-card .pricing-cta,
.landing-page .pricing-card .pricing-cta:hover,
.landing-page .pricing-card .pricing-cta:focus,
.landing-page .pricing-card .pricing-cta:active,
.landing-page .pricing-card .pricing-cta:visited,
.landing-page .pricing-card .pricing-cta:focus-visible,
.landing-page .pricing-card .pricing-cta.active,
.landing-page .pricing-card .pricing-cta:not(:disabled):not(.disabled):active {
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    background: rgba(91, 71, 251, 0.08) !important;
    background-color: rgba(91, 71, 251, 0.08) !important;
    background-image: none !important;
    border: 1px solid rgba(139, 122, 255, 0.6) !important;
    outline: none !important;
    box-shadow: none !important;
    width: auto !important;
}

.landing-page .pricing-card .pricing-cta {
    transition: background 0.2s, border-color 0.2s !important;
}

.landing-page .pricing-card .pricing-cta:hover {
    background: rgba(91, 71, 251, 0.20) !important;
    background-color: rgba(91, 71, 251, 0.20) !important;
    border-color: rgba(139, 122, 255, 0.9) !important;
}

/* Pricing CTA premium (Passer Premium) : couleur unie violette figee. */
.landing-page .pricing-card.premium .pricing-cta,
.landing-page .pricing-card.premium .pricing-cta:hover,
.landing-page .pricing-card.premium .pricing-cta:focus,
.landing-page .pricing-card.premium .pricing-cta:active,
.landing-page .pricing-card.premium .pricing-cta:visited,
.landing-page .pricing-card.premium .pricing-cta:focus-visible,
.landing-page .pricing-card.premium .pricing-cta.active,
.landing-page .pricing-card.premium .pricing-cta:not(:disabled):not(.disabled):active {
    background: #5B47FB !important;
    background-color: #5B47FB !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(91, 71, 251, 0.35) !important;
}

.landing-page .pricing-card.premium .pricing-cta {
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.landing-page .pricing-card.premium .pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 71, 251, 0.55) !important;
}

/* Container des CTA pricing : centres + width auto (pas full-width) */
.landing-page .pricing-card .pricing-cta-container,
.landing-page .pricing-card .pricing-cta {
    display: inline-block;
}

.landing-page .pricing-card {
    text-align: center;
}

/* Final CTA Section */
.landing-final-cta {
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    background: rgba(26, 35, 50, 0.85);
    text-align: center;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subheadline {
    color: #A0AEC0;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* Footer */
.landing-footer {
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    background: rgba(10, 15, 20, 0.95);
    text-align: center;
}

.landing-footer .footer-links {
    width: 100%;
}

.footer-text {
    color: #A0AEC0;
    margin-bottom: 8px;
}

.footer-disclaimer {
    color: #4A5568;
    font-size: 12px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero {
        padding: 60px 16px 40px;
    }

    .landing-cta-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .landing-cta-primary,
    .landing-cta-secondary {
        width: 100%;
        margin: 0 !important;
    }

    .trust-item {
        display: block;
    }

    .trust-separator {
        display: none;
    }

    .landing-trust-bar {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    /* Hide data viz on mobile */
    .stat-card,
    .circular-progress,
    .bar-chart,
    .line-chart,
    .line-chart-simple {
        display: none;
    }

    /* Hide hoop on mobile */
    .basketball-hoop-container {
        display: none;
    }
}

/* ========== BASKETBALL HOOP (Background) ========== */
.basketball-hoop-container {
    position: fixed;
    top: 25%;
    right: 10%;
    z-index: 5;
    pointer-events: none;
    transform: scale(1.4);
    transform-origin: top right;
}

/* Score display - inside the backboard square */
.hoop-score {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    text-shadow:
        0 0 20px rgba(249, 115, 22, 1),
        0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    font-family: system-ui, -apple-system, sans-serif;
    z-index: 10;
    line-height: 1;
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hoop-score.visible {
    opacity: 1;
}

.hoop-score.score-pop {
    animation: scorePop 0.4s ease-out;
}

@keyframes scorePop {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.4); color: #fdba74; }
    100% { transform: translateX(-50%) scale(1); }
}

/* Hoop structure container */
.hoop-structure {
    position: relative;
    width: 180px;
    height: 210px;
}

/* Backboard - face view */
.hoop-backboard {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 90px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 50%, rgba(30, 41, 59, 0.9) 100%);
    border: 3px solid rgba(71, 85, 105, 0.8);
    border-radius: 4px;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Backboard square */
.hoop-backboard::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 35px;
    border: 2px solid rgba(249, 115, 22, 0.6);
    border-radius: 2px;
}

/* Rim - ellipse for perspective */
.hoop-rim {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: linear-gradient(180deg, #fdba74, #f97316, #ea580c);
    border-radius: 50%;
    box-shadow:
        0 3px 15px rgba(249, 115, 22, 0.7),
        inset 0 -3px 5px rgba(0, 0, 0, 0.3),
        inset 0 3px 5px rgba(255, 255, 255, 0.3);
}

/* Rim inner hole */
.hoop-rim::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

/* Net container */
.hoop-net {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

/* Net strands */
.hoop-net-strand {
    width: 2px;
    height: 65px;
    background: linear-gradient(180deg, #f8fafc 0%, #94a3b8 40%, #475569 100%);
    border-radius: 1px;
    transform-origin: top center;
    transition: transform 0.15s ease-out;
    opacity: 0.8;
}

/* Natural net curve */
.hoop-net-strand:nth-child(1) { transform: rotate(-12deg) scaleY(0.85); }
.hoop-net-strand:nth-child(2) { transform: rotate(-6deg) scaleY(0.95); }
.hoop-net-strand:nth-child(3) { transform: rotate(0deg) scaleY(1); }
.hoop-net-strand:nth-child(4) { transform: rotate(6deg) scaleY(0.95); }
.hoop-net-strand:nth-child(5) { transform: rotate(12deg) scaleY(0.85); }

/* Net animation when ball scores */
.hoop-net.scored .hoop-net-strand {
    animation: hoopNetSwing 0.8s ease-out;
}

@keyframes hoopNetSwing {
    0% { transform: rotate(var(--base-rot, 0deg)) scaleY(var(--base-scale, 1)); }
    15% { transform: rotate(calc(var(--base-rot, 0deg) + 20deg)) scaleY(calc(var(--base-scale, 1) * 1.1)); }
    30% { transform: rotate(calc(var(--base-rot, 0deg) - 15deg)) scaleY(calc(var(--base-scale, 1) * 0.9)); }
    45% { transform: rotate(calc(var(--base-rot, 0deg) + 10deg)) scaleY(var(--base-scale, 1)); }
    60% { transform: rotate(calc(var(--base-rot, 0deg) - 6deg)) scaleY(var(--base-scale, 1)); }
    75% { transform: rotate(calc(var(--base-rot, 0deg) + 3deg)) scaleY(var(--base-scale, 1)); }
    100% { transform: rotate(var(--base-rot, 0deg)) scaleY(var(--base-scale, 1)); }
}

.hoop-net.scored .hoop-net-strand:nth-child(1) { --base-rot: -12deg; --base-scale: 0.85; }
.hoop-net.scored .hoop-net-strand:nth-child(2) { --base-rot: -6deg; --base-scale: 0.95; }
.hoop-net.scored .hoop-net-strand:nth-child(3) { --base-rot: 0deg; --base-scale: 1; }
.hoop-net.scored .hoop-net-strand:nth-child(4) { --base-rot: 6deg; --base-scale: 0.95; }
.hoop-net.scored .hoop-net-strand:nth-child(5) { --base-rot: 12deg; --base-scale: 0.85; }

/* Score flash effect */
.basketball-hoop-container.score-flash .hoop-rim {
    animation: rimFlash 0.5s ease-out;
}

@keyframes rimFlash {
    0%, 100% { box-shadow: 0 3px 10px rgba(249, 115, 22, 0.6); }
    50% { box-shadow: 0 0 30px rgba(249, 115, 22, 1), 0 0 60px rgba(249, 115, 22, 0.6); }
}
