/* =========================================================
   MEDIAGRAF ÜRÜNLERİ — Shared Product Section Styles
   Scoped: no global overrides, all classes prefixed mg-
   ========================================================= */

/* -------------------------------------------------------
   HOMEPAGE: Product Section Wrapper
   ------------------------------------------------------- */
.mg-products-section {
    padding: 80px 0;
    background: #080b12;
    position: relative;
    overflow: hidden;
}

.mg-products-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(190, 20, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* -------------------------------------------------------
   Section Header
   ------------------------------------------------------- */
.mg-products-header {
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.mg-products-header h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #be14ff;
    margin-bottom: 16px;
}

.mg-products-header h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.mg-products-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
    line-height: 1.75;
    margin: 0;
}

/* -------------------------------------------------------
   Product Card (horizontal layout on desktop)
   ------------------------------------------------------- */
.mg-product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(190, 20, 255, 0.22);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.mg-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(190, 20, 255, 0.04) 0%, rgba(57, 61, 180, 0.04) 100%);
    pointer-events: none;
}

.mg-product-card:hover {
    border-color: rgba(190, 20, 255, 0.48);
    box-shadow: 0 20px 60px rgba(190, 20, 255, 0.10);
}

/* Card Visual (left / top) */
.mg-product-visual {
    flex: 0 0 44%;
    max-width: 44%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #120520 0%, #0d1530 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 28px;
}

.mg-product-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.mg-product-visual-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 48px 32px;
    text-align: center;
    width: 100%;
}

.mg-product-visual-placeholder .ph-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: linear-gradient(135deg, #be14ff 0%, #393db4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 12px 40px rgba(190, 20, 255, 0.35);
}

.mg-product-visual-placeholder .ph-name {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
}

.mg-product-visual-placeholder .ph-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* Card Body (right / bottom) */
.mg-product-body {
    flex: 1;
    padding: 48px 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

/* Badges */
.mg-product-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mg-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mg-product-badge.badge-owner {
    background: linear-gradient(135deg, #be14ff 0%, #393db4 100%);
    color: #fff;
}

.mg-product-badge.badge-type {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
}

/* Title */
.mg-product-body h3 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
}

/* Description */
.mg-product-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    margin: 0;
    max-width: 480px;
}

/* Tags */
.mg-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mg-product-tags li span,
.mg-product-tags li a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mg-product-tags li a:hover {
    color: #be14ff;
    border-color: rgba(190, 20, 255, 0.35);
}

/* CTA Buttons */
.mg-product-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.mg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #be14ff 0%, #7b2cbf 50%, #393db4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.mg-btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.mg-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.mg-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    text-decoration: none;
}

/* -------------------------------------------------------
   PROJECTS PAGE: Featured Product Banner (above tabs)
   ------------------------------------------------------- */
.mg-projects-product-featured {
    margin-bottom: 48px;
    padding: 40px 40px 36px;
    background: linear-gradient(135deg, rgba(190, 20, 255, 0.06) 0%, rgba(57, 61, 180, 0.05) 100%);
    border: 1px solid rgba(190, 20, 255, 0.22);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.mg-projects-product-featured::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(190, 20, 255, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.mg-featured-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #be14ff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mg-featured-label::before {
    content: '';
    width: 22px;
    height: 2px;
    background: #be14ff;
    display: inline-block;
    flex-shrink: 0;
}

.mg-featured-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.mg-featured-img {
    flex: 0 0 168px;
    width: 168px;
    height: 168px;
    border-radius: 18px;
    background: linear-gradient(135deg, #120520 0%, #0d1530 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(190, 20, 255, 0.20);
}

.mg-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mg-featured-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    text-align: center;
}

.mg-featured-img-placeholder i {
    font-size: 30px;
    background: linear-gradient(135deg, #be14ff, #393db4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mg-featured-img-placeholder span {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mg-featured-content {
    flex: 1;
}

.mg-featured-content .mg-product-badge-row {
    margin-bottom: 12px;
}

.mg-featured-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.mg-featured-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 520px;
}

.mg-featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
}

.mg-featured-tags li span {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.48);
}

/* -------------------------------------------------------
   DETAIL PAGE: Case Study
   ------------------------------------------------------- */
.mg-detail-section {
    padding: 72px 0 56px;
    background: #080b12;
    position: relative;
    overflow: hidden;
}

.mg-detail-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(190, 20, 255, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.mg-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-bottom: 48px;
    transition: color 0.2s ease;
}

.mg-back-link:hover {
    color: #be14ff;
    text-decoration: none;
}

.mg-detail-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(190, 20, 255, 0.14) 0%, rgba(57, 61, 180, 0.14) 100%);
    border: 1px solid rgba(190, 20, 255, 0.30);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #be14ff;
    margin-bottom: 24px;
}

.mg-detail-title {
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 18px;
}

.mg-detail-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 560px;
}

.mg-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.mg-detail-tags li span {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.52);
}

.mg-detail-cta-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mg-detail-image-area {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #120520 0%, #0d1530 100%);
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(190, 20, 255, 0.14);
    position: relative;
}

.mg-detail-image-area img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.mg-detail-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 64px 40px;
    text-align: center;
}

.mg-detail-image-placeholder .placeholder-app-icon {
    width: 108px;
    height: 108px;
    border-radius: 26px;
    background: linear-gradient(135deg, #be14ff 0%, #393db4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
    box-shadow: 0 16px 48px rgba(190, 20, 255, 0.40);
}

.mg-detail-image-placeholder p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.30);
    margin: 0;
}

/* Case Study Sections */
.mg-case-block {
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mg-case-block-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #be14ff;
    margin-bottom: 16px;
}

.mg-case-block h3 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.25;
}

.mg-case-block p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.82;
    margin-bottom: 16px;
}

.mg-case-block p:last-child {
    margin-bottom: 0;
}

/* Feature List */
.mg-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mg-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.mg-feature-list li::before {
    content: '';
    flex-shrink: 0;
    margin-top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #be14ff, #393db4);
}

/* Role Pillars Grid */
.mg-role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.mg-role-item {
    padding: 26px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: border-color 0.25s ease;
}

.mg-role-item:hover {
    border-color: rgba(190, 20, 255, 0.22);
}

.mg-role-item i {
    font-size: 20px;
    background: linear-gradient(135deg, #be14ff, #393db4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
    display: block;
}

.mg-role-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.mg-role-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.55;
    margin: 0;
}

/* App Store Buttons */
.mg-store-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.mg-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    min-width: 180px;
}

.mg-store-btn:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.mg-store-btn .store-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mg-store-btn .store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mg-store-btn .store-text small {
    font-size: 10px;
    opacity: 0.55;
    font-weight: 400;
}

.mg-store-btn .store-text strong {
    font-size: 15px;
    font-weight: 700;
}

/* Detail page CTA Section */
.mg-detail-cta {
    padding: 64px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.mg-detail-cta h3 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.mg-detail-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.50);
    margin-bottom: 36px;
    line-height: 1.7;
}

.mg-detail-cta .mg-store-buttons {
    justify-content: center;
}

/* -------------------------------------------------------
   MOBILE HOME: Products Section
   (inside mobile.layouts.mobile — .mobile-container width)
   ------------------------------------------------------- */
.mg-mobile-products-section {
    padding: 56px 0;
    background: #080b12;
    position: relative;
    overflow: hidden;
}

.mg-mobile-products-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(190, 20, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.mg-mobile-products-section .section-header {
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.mg-mobile-product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(190, 20, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s ease;
}

.mg-mobile-product-card:hover {
    border-color: rgba(190, 20, 255, 0.50);
}

.mg-mobile-product-visual {
    width: 100%;
    background: linear-gradient(135deg, #120520 0%, #0d1530 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 0;
    overflow: hidden;
}

.mg-mobile-product-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

.mg-mobile-product-visual .mobile-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 20px;
}

.mg-mobile-product-visual .mobile-placeholder .ph-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #be14ff, #393db4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 10px 32px rgba(190, 20, 255, 0.35);
}

.mg-mobile-product-visual .mobile-placeholder span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.60);
}

.mg-mobile-product-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mg-mobile-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(190, 20, 255, 0.18), rgba(57, 61, 180, 0.18));
    border: 1px solid rgba(190, 20, 255, 0.30);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #be14ff;
    width: fit-content;
}

.mg-mobile-product-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.mg-mobile-product-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.54);
    line-height: 1.65;
    margin: 0;
}

.mg-mobile-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mg-mobile-product-tags li span {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.44);
}

.mg-mobile-product-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-mobile-product-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    min-height: 52px;
    transition: opacity 0.2s ease;
}

.mg-mobile-product-cta a.btn-cta-primary {
    background: linear-gradient(135deg, #be14ff 0%, #7b2cbf 50%, #393db4 100%);
    color: #fff;
}

.mg-mobile-product-cta a.btn-cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.68);
}

.mg-mobile-product-cta a:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

/* -------------------------------------------------------
   MOBILE PROJECTS PAGE: Featured Product
   ------------------------------------------------------- */
.mg-mobile-projects-featured {
    margin-bottom: 24px;
    padding: 22px 18px;
    background: linear-gradient(135deg, rgba(190, 20, 255, 0.06) 0%, rgba(57, 61, 180, 0.05) 100%);
    border: 1px solid rgba(190, 20, 255, 0.20);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.mg-mobile-projects-featured::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(190, 20, 255, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.mg-mobile-projects-featured .featured-header-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #be14ff;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.mg-mobile-projects-featured .featured-product-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.mg-mobile-projects-featured .featured-product-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #120520, #0d1530);
    border: 1px solid rgba(190, 20, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mg-mobile-projects-featured .featured-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mg-mobile-projects-featured .featured-product-icon i {
    font-size: 22px;
    background: linear-gradient(135deg, #be14ff, #393db4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mg-mobile-projects-featured .featured-product-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    line-height: 1.2;
}

.mg-mobile-projects-featured .featured-product-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
    line-height: 1.4;
}

.mg-mobile-projects-featured .featured-cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #be14ff 0%, #393db4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    min-height: 50px;
    position: relative;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.mg-mobile-projects-featured .featured-cta-link:hover {
    opacity: 0.88;
    color: #fff;
    text-decoration: none;
}

/* -------------------------------------------------------
   RESPONSIVE OVERRIDES (desktop card stacks on tablet/mobile)
   ------------------------------------------------------- */
@media (max-width: 991px) {
    .mg-product-card {
        flex-direction: column;
    }

    .mg-product-visual {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .mg-product-body {
        padding: 36px 32px;
    }

    .mg-featured-inner {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .mg-products-section {
        padding: 56px 0;
    }

    .mg-product-body {
        padding: 28px 20px;
    }

    .mg-product-body h3 {
        font-size: 24px;
    }

    .mg-product-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .mg-btn-primary,
    .mg-btn-secondary {
        text-align: center;
        justify-content: center;
        padding: 16px 20px;
        min-height: 52px;
    }

    .mg-projects-product-featured {
        padding: 28px 20px;
    }

    .mg-featured-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .mg-featured-img {
        width: 88px;
        height: 88px;
        flex: 0 0 88px;
    }

    .mg-featured-content h3 {
        font-size: 22px;
    }

    .mg-role-grid {
        grid-template-columns: 1fr;
    }

    .mg-store-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .mg-store-btn {
        justify-content: center;
        min-width: auto;
    }

    .mg-detail-cta-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .mg-detail-cta-hero .mg-btn-primary,
    .mg-detail-cta-hero .mg-btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mg-product-visual {
        min-height: 240px;
    }

    .mg-detail-image-area {
        min-height: 280px;
    }
}

/* -------------------------------------------------------
   MOBILE DETAIL PAGE: Case Blocks
   ------------------------------------------------------- */
.mg-mobile-case-block {
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mg-mobile-case-block:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.mg-mobile-case-block .mg-case-block-label {
    margin-bottom: 10px;
}
