/* =========================================
   SECTION TENTANG (LIGHT MODE LILAC)
   ========================================= */
.tp-about-modern {
    position: relative;
    padding: 100px 0; /* Dikurangi sedikit di mobile/umum biar pas */
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFBFF 100%);
    overflow: hidden; /* PENTING: Mencegah elemen keluar batas layar */
    margin-top: -1px;
}

/* Watermark Text Background */
.about-watermark {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-size: 250px;
    font-weight: 900;
    color: rgba(1, 61, 196, 0.02);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.about-flex {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* VISUAL SIDE: TECH CARD */
.about-visual-side {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tech-card {
    background: var(--tp-text-main);
    border: 1px solid rgba(226, 211, 244, 0.3);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(1, 61, 196, 0.15);
    overflow: hidden;
    transform: rotate(-3deg);
    transition: var(--tp-transition);
    width: 100%;
    box-sizing: border-box;
}

.tech-card:hover {
    transform: rotate(0deg) scale(1.02); /* Dikecilin sedikit scalenya biar aman di mobile */
    border-color: var(--tp-light);
    box-shadow: 0 40px 80px rgba(1, 61, 196, 0.25);
}

.card-header-tp {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.circles {
    display: flex;
    gap: 6px;
}

.circles span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.c-red { background: #FF5F56; }
.c-yellow { background: #FFBD2E; }
.c-green { background: #27C93F; }

.file-name {
    font-size: 12px;
    font-family: monospace;
    color: #A0ABC0;
    opacity: 0.7;
}

.card-code-body {
    padding: 40px 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: auto; /* Mencegah teks kode panjang bikin potong kanan */
}

.code-key { color: var(--tp-green); }
.code-val { color: #F59E0B; }

/* Floating Paper Plane Icon */
.vercel-float {
    position: absolute;
    bottom: -15px;
    right: 10px; /* Ditarik ke dalam biar nggak keluar layar kanan */
    width: 60px;
    height: 60px;
    background: var(--tp-light);
    color: #FFFFFF;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 15px 30px rgba(1, 61, 196, 0.4);
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 2;
}

/* TEXT SIDE */
.about-text-side h2 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--tp-text-main);
}

.about-text-side h2 span {
    color: var(--tp-light);
    border-bottom: 4px solid var(--tp-green);
}

.story-box {
    border-left: 4px solid var(--tp-light);
    padding-left: 30px;
    margin-bottom: 45px;
}

.story-box p {
    font-size: 17px;
    color: var(--tp-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 500;
}

.about-features-minimal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.f-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    color: var(--tp-text-main);
    font-size: 16px;
}

.f-item i {
    font-size: 24px;
    color: var(--tp-light);
    background: var(--tp-green);
    padding: 6px;
    border-radius: 50%;
}

/* ANIMATION */
@keyframes floatAnim {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* BADGE ADAPTASI LILAC */
.tp-section-badge.badge-lilac {
    background: var(--tp-green);
    color: var(--tp-light);
    border: 1px solid var(--tp-border);
    margin-bottom: 20px;
}

/* =========================================
   RESPONSIVE MOBILE FIX (MENCEGAH POTONG KANAN)
   ========================================= */
@media (max-width: 992px) {
    .tp-about-modern {
        padding: 80px 0;
    }

    .about-flex {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-visual-side {
        order: 2;
        margin-top: 10px;
        padding: 0 15px; /* Memberi jarak aman dari tepi layar HP */
        box-sizing: border-box;
    }

    /* Reset rotasi kartu di mobile agar pas di tengah dan tidak meluber ke kanan */
    .tech-card {
        transform: rotate(0deg); 
        max-width: 100%;
    }
    
    .tech-card:hover {
        transform: scale(1.01);
    }

    .about-text-side {
        order: 1;
        padding: 0 10px;
    }

    .story-box {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .about-features-minimal {
        justify-items: center;
        grid-template-columns: 1fr;
    }

    .about-text-side h2 {
        font-size: 30px; /* Ukuran font disesuaikan agar tidak terlalu panjang */
        word-wrap: break-word;
    }

    .card-code-body {
        padding: 25px 15px;
        font-size: 12px; /* Ukuran font kode diperkecil agar muat di layar HP */
    }

    /* Watermark dikecilin drastis biar nggak dorong layar ke samping */
    .about-watermark {
        font-size: 120px;
        left: -10%;
    }

    .vercel-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: -10px;
        right: 5px;
    }
}