/* ============================================================
   MobilGuide.css – Mobil Uygulama Kullanım Rehberi (ui-ux-pro-max)
   ============================================================ */

.mg-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    margin-top: -1.5rem;
    padding: 1.25rem 0 1.75rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .mg-hero {
        margin-top: -2rem;
        padding: 1.5rem 0 2rem;
    }
}

.mg-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Soldaki Konu Başlıkları Listesi Butonları (ui-ux-pro-max design) */
.mg-topic-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    text-align: left;
    padding: 0.875rem 1.125rem;
    border-radius: 1.25rem;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.mg-topic-item:hover {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #0284c7;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.mg-topic-item.active {
    background: linear-gradient(90deg, #f0f9ff 0%, #ffffff 100%);
    color: #0284c7;
    border-color: #bae6fd;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
}

.mg-topic-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0284c7;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mg-topic-item.active .mg-topic-accent {
    opacity: 1;
}

.mg-topic-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: 0.75rem;
    background-color: #f1f5f9;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.mg-topic-item.active .mg-topic-badge {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.mg-topic-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-width: 0;
}

.mg-topic-step-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.125rem;
    transition: color 0.25s ease;
}

.mg-topic-item.active .mg-topic-step-label {
    color: #0284c7;
}

.mg-topic-title {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.35;
    word-break: break-word;
}

.mg-topic-arrow {
    width: 1rem !important;
    height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
    flex-shrink: 0 !important;
    color: #cbd5e1;
    transition: transform 0.25s ease, color 0.25s ease;
}

.mg-topic-item:hover .mg-topic-arrow,
.mg-topic-item.active .mg-topic-arrow {
    color: #0284c7;
    transform: translateX(3px);
}

/* Telefon Çerçevesi Mockup & Dynamic Showcase */
.mg-phone-frame {
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mg-phone-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.mg-phone-notch {
    position: absolute;
    top: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 0.85rem;
    background-color: #020617;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    z-index: 20;
}

/* Image Cross-fade Transition */
#mg-showcase-img, #mg-showcase-img-2 {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    object-fit: contain;
    background-color: #020617;
}

/* Back Link & Badge */
.mg-back-link {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mg-back-link:hover {
    color: #0284c7;
}

.mg-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}
