@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* =========================================================================
   MILS EXCLUSIVE PARTNERSHIP - FRONTEND STYLESHEET
   APPLE MINIMALIST DESIGN SYSTEM WITH CSS CUSTOM PROPERTIES (ROOT VARIABLES)
   ========================================================================= */

:root {
    /* 1. Color Palette */
    --mils-bg: #fbfbfd;
    --mils-surface: #ffffff;
    --mils-surface-subtle: #f5f5f7;
    --mils-text-primary: #111111;
    --mils-text-secondary: #6e6e73;
    --mils-text-tertiary: #86868b;
    --mils-dark: #000000;
    --mils-dark-card: #18181b;
    --mils-border: #e5e5ea;
    --mils-border-hover: #c7c7cc;
    --mils-border-subtle: rgba(0, 0, 0, 0.08);

    /* 2. Border Radius System */
    --mils-radius-sm: 12px;
    --mils-radius-md: 20px;
    --mils-radius-lg: 30px;
    --mils-radius-pill: 9999px;

    /* 3. Layout & Container Widths */
    --mils-max-width: 900px;
    --mils-btn-height: 48px;
    --mils-btn-padding: 13px 32px;
    --mils-btn-font-size: 14.5px;

    /* 4. Elevation & Shadows */
    --mils-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.03);
    --mils-shadow-md: 0 10px 30px -8px rgba(0, 0, 0, 0.06);
    --mils-shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.06);
    --mils-shadow-active: 0 22px 50px -10px rgba(0, 0, 0, 0.35);

    /* 5. Timing & Animation */
    --mils-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --mils-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base & Typography - Universal Poppins */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, div, .banner-title, .page-hero-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
    color: var(--mils-text-primary);
    background-color: var(--mils-bg);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Standard Unified Container (Kunci Sejajar Step 1, Step 2, Step 3) */
.mils-container-standard {
    max-width: var(--mils-max-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Step Container Utility */
.step-container {
    transition: opacity 0.35s ease;
}

/* Standard Section Spacing (8-Point Grid Harmonized) */
.section-step {
    padding-top: 36px;
    padding-bottom: 36px;
}

/* Inter-Section Spacing Equalizer (Membuat Jarak Atas & Bawah Divider 100% Simetris) */
#step-1-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#step-1-section .row:last-of-type {
    margin-bottom: 0 !important;
}

#step-2-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#step-2-section .container,
#step-2-section .mils-container-standard,
#step-2-section .mils-tutorial-box,
#step-2-section .mils-tutorial-box > div:first-child,
#step-2-section .guide-header-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.guideline-steps-flow {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#step-3-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#step-3-section .container,
#step-3-section .mils-container-standard,
#step-3-section .mils-ep-card {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Subtle Short Divider between sections (Sleek, Thinner, Lebih Renggang & 100% Simetris) */
.mils-short-divider {
    width: 44px;
    height: 1px;
    background-color: #d1d1d6;
    border-radius: 999px;
    margin: 56px auto !important;
    border: none;
    display: block;
}

/* Hero Typography */
.page-hero-title {
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--mils-text-primary);
}

.page-hero-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--mils-text-secondary);
    max-width: 600px;
}

/* =========================================================================
   1. SELECTOR CARDS (APPLE ROUNDED)
   ========================================================================= */
.mils-banner {
    border-radius: var(--mils-radius-lg);
    padding: 28px 24px;
    transition: var(--mils-transition);
    cursor: pointer;
    position: relative;
    user-select: none;
    background: var(--mils-surface);
    color: var(--mils-text-primary);
    border: 1.5px solid var(--mils-border);
    box-shadow: var(--mils-shadow-sm);
}

.mils-banner:hover:not(.active) {
    transform: translateY(-3px);
    border-color: var(--mils-border-hover);
    box-shadow: var(--mils-shadow-md);
}

.mils-banner .banner-title {
    color: var(--mils-text-primary);
    font-size: 1.45rem;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.mils-banner .banner-desc {
    color: var(--mils-text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Active State: Solid Black */
.mils-banner.active {
    background: var(--mils-dark) !important;
    color: #ffffff !important;
    border: 1.5px solid var(--mils-dark) !important;
    box-shadow: var(--mils-shadow-active) !important;
    transform: translateY(-4px);
}

.mils-banner.active .banner-title {
    color: #ffffff !important;
}

.mils-banner.active .banner-desc {
    color: #a1a1a6 !important;
}

/* Pill Mode Selector Badge */
.badge-mode {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--mils-radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.06);
    color: #1d1d1f;
    border: none;
    transition: var(--mils-transition);
}

.mils-banner.active .badge-mode {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

/* =========================================================================
   2. OPEN LAYOUT PANDUAN (NO NESTED BOXES / NO CLUMSY CARDS)
   ========================================================================= */
.mils-tutorial-box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0;
}

.guide-header-title {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mils-text-primary);
}

.guide-header-desc {
    font-size: 0.95rem;
    color: var(--mils-text-secondary);
    margin-bottom: 0;
}

/* Card Step Flow: 4 Kolom di Desktop, Apple Minimalist Cards */
.guideline-steps-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-guide-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 20px;
    background: var(--mils-surface);
    border: 1px solid var(--mils-border);
    border-radius: var(--mils-radius-md);
    box-shadow: var(--mils-shadow-sm);
    transition: var(--mils-transition);
}

.step-guide-item:hover {
    transform: translateY(-3px);
    border-color: var(--mils-border-hover);
    box-shadow: var(--mils-shadow-md);
}

.step-number-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--mils-dark);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-guide-item .step-content {
    flex: 1;
}

.step-guide-item .step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--mils-text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.step-guide-item .step-desc {
    font-size: 13.5px;
    color: var(--mils-text-secondary);
    line-height: 1.5;
}

/* =========================================================================
   3. ROLLING LOGO SAMPLE (SEAMLESS MARQUEE - TANPA LABEL KAKU)
   ========================================================================= */
.mils-marquee-wrapper {
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0;
    padding: 10px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.mils-marquee-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    user-select: none;
    gap: 24px;
    width: 100%;
}

.marquee-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 24px;
    animation: marquee-scroll 60s linear infinite;
    flex-shrink: 0;
}

.mils-marquee-wrapper:hover .marquee-content {
    animation-play-state: running !important;
}

.sample-logo-item {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    white-space: nowrap !important;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.sample-logo-item:hover {
    opacity: 0.85 !important;
    transform: none !important;
    box-shadow: none !important;
}

.sample-logo-placeholder {
    width: 120px;
    height: 48px;
    display: block;
    box-shadow: none !important;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 24px)); }
}

.tutorial-placeholder-img {
    background: #f0f0f2;
    border: 2px dashed #d2d2d7;
    border-radius: var(--mils-radius-md);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mils-text-tertiary);
    font-size: 14px;
}

/* =========================================================================
   4. STEP 3: ACTION CARD (SPLIT SCREEN - SELARAS OPSI 1 & OPSI 2)
   ========================================================================= */
.mils-ep-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--mils-surface);
    border-radius: var(--mils-radius-lg);
    overflow: hidden;
    width: 900px;
    max-width: 100%;
    height: 310px;
    min-height: 310px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--mils-shadow-lg);
    border: 1px solid var(--mils-border-subtle);
}

.mils-ep-image {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    background-color: #09090b;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: stretch;
}

/* Full Bleed Image Banner (Seamless Edge-to-Edge, Zero Gap - Static No Zoom) */
.mils-ep-full-img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
}

/* Trust Hint under Buttons */
.upload-trust-hint {
    font-size: 12px;
    color: var(--mils-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.mils-ep-content {
    flex: 1 1 50%;
    min-width: 0;
    padding: 24px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mils-ep-content h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--mils-text-primary);
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.mils-ep-content p {
    font-size: 13.5px;
    color: var(--mils-text-secondary);
    line-height: 1.45;
    margin-bottom: 16px;
}

/* =========================================================================
   5. BUTTON SYSTEM (TITLE CASE, PILL SHAPE, UNIFORM SIZING)
   ========================================================================= */
.mils-btn-dark {
    background-color: var(--mils-text-primary);
    color: #ffffff;
    border: 1.5px solid var(--mils-text-primary);
    padding: var(--mils-btn-padding);
    font-weight: 600;
    border-radius: var(--mils-radius-pill);
    transition: var(--mils-transition);
    text-transform: none;
    font-size: var(--mils-btn-font-size);
    letter-spacing: -0.01em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.2);
}

.mils-btn-dark:hover {
    background-color: #2e2e30;
    border-color: #2e2e30;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.28);
}

.btn-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mils-text-primary);
    color: #ffffff;
    padding: var(--mils-btn-padding);
    border-radius: var(--mils-radius-pill);
    font-weight: 600;
    font-size: var(--mils-btn-font-size);
    cursor: pointer;
    transition: var(--mils-transition);
    text-align: center;
    width: fit-content;
    margin-bottom: 0;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.2);
}

.btn-upload-label:hover {
    background-color: #2e2e30;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.28);
    color: #ffffff;
}

/* =========================================================================
   6. MODALS & OVERLAYS (APPLE GLASS & SQUIRCLE)
   ========================================================================= */
.mils-overlay {
    position: fixed !important;
    top: 0 !important; 
    left: 0 !important; 
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important; 
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 2147483647 !important;
    padding: 20px;
    box-sizing: border-box;
}

.overlay-loading {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 2147483648 !important;
}

.mils-loading-card {
    background: #ffffff !important;
    border-radius: 26px;
    padding: 38px 32px 32px 32px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 360px;
    width: 90%;
    animation: milsModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mils-loading-card .loader-spinner {
    border: 3.5px solid #f2f2f7;
    border-top: 3.5px solid #111111;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    animation: spin 0.85s linear infinite;
    margin-bottom: 18px;
}

.mils-loading-card .loading-title {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.mils-loading-card .loading-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #6e6e73;
    line-height: 1.45;
}

.mils-modal {
    position: relative;
    background-color: #ffffff !important; 
    color: #111111 !important;
    border-radius: 28px;
    padding: 38px !important;
    box-sizing: border-box !important;
    margin: auto;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
    display: none; 
    flex-direction: column;
    align-items: center;
    animation: milsModalIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes milsModalIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mils-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f2f7;
    border: none;
    color: #48484a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    line-height: 0;
    box-sizing: border-box;
    z-index: 10;
}

.mils-modal-close svg {
    display: block;
    margin: auto;
}

.mils-modal-close:hover {
    background: #e5e5ea;
    color: #111111;
    transform: scale(1.08);
}

.mils-modal h3 { 
    font-size: 24px; 
    font-weight: 700; 
    margin-bottom: 8px; 
    color: #111111 !important; 
    letter-spacing: -0.02em; 
}

.mils-modal .sub-text,
.mils-modal .sub-italic { 
    font-size: 14px; 
    font-style: normal !important; 
    font-weight: 500;
    color: #6e6e73 !important; 
    margin-bottom: 22px; 
    line-height: 1.5; 
}

.mils-modal .promo-highlight { 
    font-size: 46px; 
    font-weight: 800; 
    margin-bottom: 4px; 
    letter-spacing: -0.03em; 
    color: #111111 !important; 
}

.mils-modal .promo-desc { 
    font-size: 14px; 
    font-weight: 500; 
    margin-bottom: 22px; 
    line-height: 1.5; 
    color: #6e6e73 !important; 
}

.mils-modal .coverage-note {
    font-size: 11.5px;
    color: #8e8e93 !important;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: -0.01em;
}

/* Interactive Click-to-Copy Voucher Box (id="voucher-output") */
.voucher-code-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8f8fa;
    padding: 16px 52px 16px 28px;
    border-radius: 16px;
    border: 1.5px dashed #c7c7cc;
    color: #111111;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    white-space: nowrap !important;
    cursor: pointer;
    user-select: none;
    transition: all 0.22s ease;
    position: relative;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
}

/* Top-Right Copy Corner Icon */
.voucher-code-box::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
    transition: all 0.2s ease;
}

.voucher-code-box:hover {
    background: #f1f1f4;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.voucher-code-box:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
}

.voucher-code-box:active {
    transform: scale(0.98);
}

.voucher-code-box.is-copied {
    border-color: #16a34a !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
    box-shadow: 0 0 18px rgba(22, 163, 74, 0.2) !important;
}

.voucher-code-box.is-copied::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Modal Voucher Display: Lebar Auto Mengikuti Kotak Voucher & Padding Sama Rata */
.voucher-display {
    width: fit-content !important;
    max-width: 92vw !important;
    padding: 38px !important;
    box-sizing: border-box !important;
    margin: auto;
}

/* Modal Error: Standar, Elegan, Bersih & Compact */
.modal-error { 
    background-color: #ffffff !important;
    border: 1px solid #fee2e2 !important;
    padding: 38px !important;
    box-sizing: border-box !important;
    width: fit-content !important;
    min-width: 320px;
    max-width: 92vw !important;
    margin: auto;
}

.modal-error-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.modal-error h3 { 
    color: #111111 !important; 
    font-size: 22px;
    margin-bottom: 6px;
}

.modal-error .sub-text {
    color: #ef4444 !important;
    font-weight: 600;
    margin-bottom: 26px;
}

/* Tombol Modal: Dimensi, Tinggi & Padding 100% Identik */
.btn-modal {
    background-color: #111111;
    color: #ffffff;
    border: none;
    height: 52px;
    padding: 0 28px;
    border-radius: var(--mils-radius-pill);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.6px;
    white-space: nowrap !important;
    cursor: pointer;
    align-self: center;
    transition: var(--mils-transition);
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-modal:hover { 
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px); 
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); 
}

.btn-shop-redirect {
    margin-top: 18px;
}

.btn-error-retry {
    margin-top: 4px;
}

.btn-shop-redirect.is-redirecting {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
    transform: scale(0.98);
}

.loader-spinner {
    border: 4px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--mils-dark);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    animation: spin 0.9s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* =========================================================================
   7. RESPONSIVE BREAKPOINTS (MOBILE OPTIMIZED)
   ========================================================================= */
@media (max-width: 991px) {
    .guideline-steps-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Card Aksi di Tablet: Ditata Vertikal Rapi & Simetris, Tidak Terjepit */
    .mils-ep-card {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 560px !important;
        height: auto !important;
        min-height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: var(--mils-radius-lg);
    }

    .mils-ep-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        flex: none !important;
        border-radius: var(--mils-radius-lg) var(--mils-radius-lg) 0 0;
    }

    .mils-ep-content {
        width: 100% !important;
        padding: 34px 28px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .mils-ep-content h2 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .mils-ep-content p {
        font-size: 14px !important;
        max-width: 440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }

    .btn-upload-label {
        width: 100% !important;
        max-width: 340px !important;
        display: flex !important;
        justify-content: center !important;
        padding: 13px 24px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    .upload-trust-hint {
        justify-content: center !important;
        text-align: center !important;
        font-size: 12px !important;
        margin-top: 12px !important;
    }
}

@media (max-width: 768px) {
    /* Section & Content Spacing di HP (Proporsional & Bernafas, Tidak Dempet) */
    .section-step {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    /* Jarak Pembatas Simetris di HP */
    #step-1-section {
        padding-bottom: 0 !important;
    }
    #step-2-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #step-3-section {
        padding-top: 0 !important;
    }

    .mils-short-divider {
        width: 38px !important;
        height: 1px !important;
        margin: 40px auto !important;
    }

    .mils-marquee-wrapper {
        margin-bottom: 30px !important;
    }
    .guideline-steps-flow {
        margin-bottom: 0 !important;
    }

    /* Selector Card Nyaman di HP (Gap Proporsional) */
    #step-1-section .row {
        --bs-gutter-y: 16px !important;
    }
    .mils-banner { 
        padding: 20px 16px; 
        border-radius: var(--mils-radius-md); 
    }
    .mils-banner.active {
        transform: none !important;
    }
    .mils-banner .banner-title {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    /* Container Lebih Ramping di HP (Sesuai Permintaan User) */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .mils-container-standard {
        max-width: 440px !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Grid 2x2 Card Panduan di HP (Apple Minimalist Rounded Cards) */
    .guideline-steps-flow { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    .step-guide-item {
        padding: 16px 14px;
        gap: 10px;
        background: var(--mils-surface);
        border: 1px solid var(--mils-border);
        border-radius: var(--mils-radius-md);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }
    .step-number-badge {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 13px;
    }
    .step-guide-item .step-title {
        font-size: 13.5px;
        font-weight: 700;
        margin-bottom: 4px;
    }
    .step-guide-item .step-desc {
        font-size: 11.5px;
        line-height: 1.45;
    }

    /* Card Aksi di HP: Terpusat & Tombol Full-Width Ramah Jempol */
    .mils-ep-card { 
        flex-direction: column; 
        border-radius: var(--mils-radius-md); 
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .mils-ep-image { 
        min-height: 200px; 
        max-height: 240px; 
        height: 240px !important;
        width: 100% !important; 
        max-width: 100% !important; 
        flex: none !important; 
        padding: 0 !important; 
    }
    .mils-ep-content { 
        padding: 28px 20px; 
        text-align: center;
        align-items: center;
    }
    .mils-ep-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .mils-ep-content p {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Tombol Full Width di Layar HP (Thumb Zone Friendly) */
    .btn-upload-label {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        box-sizing: border-box !important;
    }

    /* Trust Hint Rata Tengah di HP */
    .upload-trust-hint {
        justify-content: center;
        text-align: center;
        font-size: 12px;
        margin-top: 14px;
    }

    .page-hero-title { 
        font-size: 1.75rem; 
    }
    .page-hero-desc {
        font-size: 0.9rem;
    }
}