/* ====================================
   ZIKA - AI ANALYZER STYLES
   ==================================== */

.ai-analyzer-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Header */
.ai-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(0, 200, 0, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.ai-header h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(90deg, #00ff00, #00dd00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-subtitle {
    color: #808080;
    font-size: 1.1rem;
}

/* Track Selector */
.ai-track-selector {
    margin-bottom: 3rem;
}

.ai-track-selector h2 {
    margin-bottom: 1.5rem;
    color: white;
}

.track-list-container {
    display: grid;
    gap: 1rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00ff00;
    transform: translateY(-2px);
}

.track-cover {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.track-info {
    flex: 1;
}

.track-info h3 {
    margin: 0 0 0.5rem 0;
    color: white;
}

.track-info p {
    color: #808080;
    margin: 0;
}

/* Loading */
.analysis-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 255, 0, 0.2);
    border-top-color: #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.loading-progress {
    max-width: 400px;
    margin: 2rem auto 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00dd00);
    transition: width 0.3s;
}

#progress-text {
    color: #00ff00;
    font-weight: bold;
}

/* Results */
.analysis-results {
    margin-top: 3rem;
}

.global-score {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(0, 200, 0, 0.05) 100%);
    border-radius: 16px;
    margin-bottom: 3rem;
}

/* NOUVEAU : Émotion & Hashtags Section */
.emotion-section {
    margin-bottom: 3rem;
}

.emotion-box {
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.emotion-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.emotion-emoji {
    font-size: 4rem;
    line-height: 1;
}

.emotion-box h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.emotion-box p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.hashtags-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.hashtags-box h3 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.hashtags-subtitle {
    color: #808080;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.hashtags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hashtag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 200, 0, 0.15));
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    color: #00ff00;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.hashtag:hover {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 0, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.hashtags-hint {
    color: #808080;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* NOUVEAU : Stratégie de Promotion */
.promotion-strategy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

/* NOUVEAU : Checklist Objectifs - Design Startup Tech */
.goals-checklist {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 200, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.goals-checklist::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.goals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.goals-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.goals-title h2 {
    margin: 0;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #00ff00, #00ddff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.goals-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-style: italic;
}

/* Progression circulaire */
.goals-progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.5s ease;
    stroke: rgba(255, 255, 255, 0.1);
}

.progress-ring-progress {
    stroke: url(#gradient);
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff00;
    display: block;
}

.progress-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Liste des objectifs */
.goals-list {
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.goal-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.goal-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #00ff00, #00ddff);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.goal-item:hover {
    background: rgba(0, 255, 0, 0.05);
    border-color: rgba(0, 255, 0, 0.3);
    transform: translateX(4px);
}

.goal-item:hover::before {
    transform: scaleY(1);
}

.goal-item.completed {
    background: rgba(0, 255, 0, 0.08);
    border-color: rgba(0, 255, 0, 0.3);
    opacity: 0.7;
}

.goal-item.completed .goal-text {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
}

/* Checkbox custom startup style */
.goal-checkbox {
    position: relative;
    width: 28px;
    height: 28px;
    min-width: 28px;
    cursor: pointer;
}

.goal-checkbox input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-custom::after {
    content: '✓';
    font-size: 16px;
    color: #00ff00;
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.goal-checkbox input:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, #00ff00, #00dd00);
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.goal-checkbox input:checked ~ .checkbox-custom::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #000;
}

/* Texte de l'objectif */
.goal-content {
    flex: 1;
    min-width: 0;
}

.goal-text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.goal-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #00ff00;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.goal-priority {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.goal-priority.high {
    background: #ff0033;
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
}

.goal-priority.medium {
    background: #ffaa00;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
}

/* Stats rapides */
.goals-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background:rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff00;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promotion-strategy h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.strategy-subtitle {
    color: #00ff00;
    font-size: 0.95rem;
    margin: 0 0 2rem 0;
    font-weight: 600;
}

.strategy-timeline {
    display: grid;
    gap: 1.5rem;
}

.strategy-phase {
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

.strategy-phase:hover {
    background: rgba(0, 255, 0, 0.05);
    border-color: rgba(0, 255, 0, 0.4);
}

.phase-header h3 {
    color: #00ff00;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phase-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-actions li {
    padding: 0.75rem 0 0.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
}

.phase-actions li:last-child {
    border-bottom: none;
}

.phase-actions li i {
    position: absolute;
    left: 0;
    top: 0.85rem;
    color: #00ff00;
    font-size: 0.9rem;
}

.score-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 8px solid #00ff00;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 0, 0.05);
}

.score-value {
    font-size: 3rem;
    font-weight: bold;
    color: #00ff00;
}

.score-label {
    color: #808080;
    font-size: 1.2rem;
}

.score-description {
    font-size: 1.2rem;
    color: white;
    margin-top: 1rem;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.platform-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: #00ff00;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #00ff00;
}

.platform-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.score-circle-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.score-grade {
    font-size: 1.5rem;
    font-weight: bold;
}

.platform-preview {
    color: #808080;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.platform-arrow {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff00;
    font-size: 1.2rem;
}

/* Action Plan */
.action-plan {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.action-plan h2 {
    margin-bottom: 2rem;
    color: white;
}

.plan-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.plan-week {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.plan-week h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

.plan-actions {
    list-style: none;
    padding: 0;
}

.plan-actions li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.plan-actions li:last-child {
    border-bottom: none;
}

.predictions {
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 8px;
}

.predictions h3 {
    margin-bottom: 1rem;
    color: #00ff00;
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.prediction-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-name {
    font-size: 0.9rem;
    color: #808080;
    font-weight: 600;
}

.prediction-value {
    color: #00ff00;
    font-weight: bold;
}

/* Actions Bar */
.actions-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Platform Details */
.platform-details {
    max-width: 600px;
}

.platform-details h2 {
    margin-bottom: 2rem;
    color: white;
}

.detail-score {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.score-large {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.score-grade-large {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-header h1 {
        font-size: 1.8rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .track-item {
        flex-direction: column;
        text-align: center;
    }
    
    .actions-bar {
        flex-direction: column;
    }
    
    .actions-bar button {
        width: 100%;
    }
}
