/* Index Kenapa Harus Section Styling */
.kenapa-section {
    width: 100%;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 50px 20px;
}

.kenapa-section h2 {
    text-align: center;
    color: #333;
    margin: 10px auto;
    font-weight: 800;
    font-size: 2.2rem;
}

.kenapa-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #003f91, #00a8e8);
    margin: 15px auto 30px;
}

/* Container untuk HP dan Grid Keuntungan */
.kenapa-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Mobile Phone Frame - Sebelah Kiri */
.kenapa-phone {
    flex: 1;
    min-width: 375px;
    max-width: 375px;
    margin: 0 auto;
}

/* Phone Frame */
.phone-frame {
    position: relative;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Phone Top Notch */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 2;
}

.phone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
}

/* Screen Content */
.phone-screen {
    position: relative;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    padding-top: 20px;
}

/* Instagram Header */
.instagram-header {
    padding: 10px 15px;
    border-bottom: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
}

.instagram-logo {
    height: 25px;
}

.instagram-icons {
    margin-left: auto;
}

.instagram-icons i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #262626;
}

.instagram-icons i:last-child {
    margin-right: 0;
}

/* Instagram Feed */
.instagram-feed {
    width: 100%;
    height: 400px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}

/* Instagram Embed Styling */
.instagram-embed {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.instagram-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.instagram-placeholder i {
    font-size: 3rem;
    color: #e4405f;
    margin-bottom: 15px;
}

.instagram-placeholder p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.instagram-placeholder .instagram-handle {
    font-weight: bold;
    color: #e4405f;
    margin-bottom: 10px;
}

/* Bottom Navigation */
.phone-nav {
    padding: 10px 0;
    background: white;
    border-top: 1px solid #dbdbdb;
    display: flex;
    justify-content: space-around;
    position: relative;
}

.phone-nav i {
    font-size: 1.2rem;
    color: #262626;
}

.phone-nav img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

/* Phone Bottom Bar */
.phone-bottom-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

/* Grid Keuntungan - Sebelah Kanan */
.kenapa-grid {
    flex: 1;
    min-width: 300px;
}

.keuntungan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
}

/* Keuntungan Card */
.keuntungan-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    height: 100%;
    min-height: 250px;
}

.keuntungan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.keuntungan-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #003f91, #00a8e8);
    color: white;
    padding: 8px 12px;
    border-radius: 0 0 12px 0;
    font-size: 12px;
    font-weight: 600;
}

.keuntungan-content {
    padding: 40px 20px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.keuntungan-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keuntungan-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.keuntungan-title {
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.keuntungan-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kenapa-section h2 {
        font-size: 1.8rem;
    }
    
    .kenapa-section {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .kenapa-container {
        flex-direction: column;
        gap: 30px;
    }

    .kenapa-phone {
        min-width: 100%;
    }

    .keuntungan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .kenapa-section h2 {
        font-size: 1.5rem;
    }
    
    .kenapa-section {
        padding: 20px 10px;
    }
    
    .keuntungan-grid {
        grid-template-columns: 1fr;
    }

    .keuntungan-card {
        min-height: 200px;
    }
    
    .keuntungan-content {
        padding: 30px 15px 20px;
    }
    
    .keuntungan-icon-container {
        width: 60px;
        height: 60px;
    }
    
    .keuntungan-icon {
        width: 35px;
        height: 35px;
    }
    
    .keuntungan-title {
        font-size: 1rem;
    }
    
    .keuntungan-description {
        font-size: 0.8rem;
    }
    
    /* Instagram Mobile Fix */
    .instagram-feed {
        height: 300px;
        overflow: hidden;
        position: relative;
        border-radius: 0;
    }
    
    .instagram-embed {
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .instagram-placeholder {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1;
    }
    
    /* Phone Frame Styling */
    .phone-frame {
        position: relative;
        padding: 20px;
        background: #1a1a1a;
        border-radius: 40px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }
    
    .phone-notch {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 25px;
        background: #1a1a1a;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        z-index: 2;
    }
    
    .phone-notch::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 10px;
        height: 10px;
        background: #333;
        border-radius: 50%;
    }
    
    .phone-screen {
        position: relative;
        background: white;
        border-radius: 30px;
        overflow: hidden;
        padding-top: 20px;
    }
    
    .phone-nav {
        padding: 10px 0;
        background: white;
        border-top: 1px solid #dbdbdb;
        display: flex;
        justify-content: space-around;
        position: relative;
    }
    
    .phone-nav i,
    .phone-nav img {
        font-size: 1.2rem;
        color: #262626;
    }
    
    .phone-nav img {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .phone-bottom-bar {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 4px;
        background: #333;
        border-radius: 2px;
    }
}

@media (max-width: 768px) {
    .instagram-feed {
        height: 350px;
        overflow: hidden;
        border-radius: 0;
    }
    
    .instagram-embed {
        overflow: hidden;
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .phone-frame {
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
    }
    
    .phone-screen {
        border-radius: 30px;
    }
}

/* Desktop Responsive */
@media (min-width: 769px) {
    .instagram-feed {
        height: 400px;
        overflow: hidden;
        border-radius: 0;
    }
    
    .instagram-embed {
        overflow: hidden;
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .phone-frame {
        width: 375px;
        margin: 0 auto;
    }
    
    .phone-screen {
        border-radius: 30px;
    }
}
