/*
 * Mockups landing page — simulent l'interface AURIEL AI
 * @author LABIDI Mhamed <labidi.med88@gmail.com>
 */

.app-mockup {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(61, 156, 253, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(61, 156, 253, 0.12);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: transform .3s ease, box-shadow .3s ease;
}

.app-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(61, 156, 253, 0.2);
}

/* Browser bar */
.app-mockup-bar {
    background: #f1f3f7;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.app-mockup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1d5db;
}

.app-mockup-dot.red { background: #ff5f57; }
.app-mockup-dot.yellow { background: #febc2e; }
.app-mockup-dot.green { background: #28c840; }

.app-mockup-url {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 10px;
    color: #6b7280;
    margin-left: 8px;
}

.app-mockup-body {
    padding: 16px;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
    min-height: 280px;
}

/* Header */
.mk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mk-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.mk-badge {
    background: #3D9CFD;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* KPI grid */
.mk-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.mk-kpi {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

.mk-kpi-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

.mk-kpi-num {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.mk-kpi-lbl {
    font-size: 8px;
    color: #6b7280;
    margin-top: 2px;
}

/* Cards / Posts list */
.mk-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mk-icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.mk-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 4px;
}

.mk-line.short { width: 50%; height: 6px; }
.mk-line.long { width: 80%; }

.mk-text-sm {
    font-size: 11px;
    color: #111827;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
}

.mk-text-xs {
    font-size: 9px;
    color: #6b7280;
}

/* Bar chart */
.mk-chart {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 80px;
    padding: 8px;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.mk-bar {
    flex: 1;
    background: linear-gradient(180deg, #3D9CFD 0%, #1A6DD4 100%);
    border-radius: 3px 3px 0 0;
    min-width: 14px;
}

/* Pills / badges */
.mk-pill {
    display: inline-block;
    background: #eff6ff;
    color: #1A6DD4;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 4px;
}

.mk-pill.green { background: #ecfdf5; color: #059669; }
.mk-pill.orange { background: #fef3c7; color: #d97706; }

/* Score circle (SEO) */
.mk-score-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
}

.mk-score-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.mk-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #3D9CFD 0%, #1A6DD4 100%);
    border-radius: 3px;
}

.mk-score-num {
    font-size: 13px;
    font-weight: 700;
    color: #1A6DD4;
    min-width: 38px;
    text-align: right;
}

/* AI prompt */
.mk-ai-box {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}

.mk-ai-box::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 14px;
}

/* Calendar (planning) */
.mk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
}

.mk-cal-day {
    aspect-ratio: 1;
    background: #f9fafb;
    border-radius: 3px;
    font-size: 8px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mk-cal-day.has-post {
    background: #3D9CFD;
    color: #fff;
    font-weight: 700;
}

.mk-cal-day.has-post.scheduled {
    background: #93c5fd;
}

/* Responsive mobile */
@media (max-width: 767px) {
    .app-mockup {
        max-width: 100%;
    }
    .app-mockup-body {
        padding: 12px;
        min-height: 240px;
    }
    .mk-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
