/* ==========================================================================
   GLOBAL EXPOR INDONESIA - JASA EKSPOR BARANG (EXPORT SERVICES) STYLESHEET
   Sleek Maritime Logistics & International Trade Forwarding System
   ========================================================================== */

/* ===== HERO ENHANCEMENTS ===== */
.export-hero {
    position: relative;
    padding: 9.5rem 0 5.5rem;
    background-color: var(--primary);
    overflow: hidden;
    color: var(--white);
}

.export-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.32;
    transform: scale(1.02);
    filter: saturate(1.2) contrast(1.1);
    transition: transform 12s ease-out;
}

.export-hero:hover .export-hero-bg {
    transform: scale(1.05);
}

.export-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.22) 0%, transparent 60%),
                radial-gradient(circle at 25% 75%, rgba(51, 133, 198, 0.25) 0%, transparent 65%),
                linear-gradient(180deg, rgba(12, 33, 54, 0.84) 0%, rgba(12, 33, 54, 0.97) 85%, var(--primary) 100%);
}

.export-hero-content {
    position: relative;
    z-index: 2;
}

.export-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.45);
    backdrop-filter: blur(8px);
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fde68a;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pulse-dot-amber {
    width: 8px;
    height: 8px;
    background-color: #f59e0b;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #f59e0b;
    animation: pulseAmber 2s infinite;
}

@keyframes pulseAmber {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.export-hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.35rem;
    max-width: 920px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .export-hero-title {
        font-size: 3.25rem;
    }
}

.export-hero-subtitle {
    font-size: 1.075rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.export-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

/* Metric Stats Row */
.export-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .export-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 2rem 2.5rem;
        gap: 2rem;
    }
}

.export-stat-card {
    text-align: left;
    border-left: 3px solid #f59e0b;
    padding-left: 1rem;
}

.export-stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.export-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
}

/* ===== SERVICES GRID ===== */
.export-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .export-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .export-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.export-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.export-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #3385C6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.export-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(12, 33, 54, 0.12);
    border-color: rgba(245, 158, 11, 0.45);
}

.export-card:hover::before {
    opacity: 1;
}

.export-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.export-card:hover .export-icon-box {
    background: #f59e0b;
    color: var(--white);
    transform: scale(1.05);
}

.export-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.export-card-desc {
    font-size: 0.925rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ===== DOCUMENTS BADGES & CHECKLIST ===== */
.doc-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .doc-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .doc-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.doc-item-box {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 0.875rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.25s ease;
}

.doc-item-box:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(12, 33, 54, 0.06);
}

.doc-icon-badge {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(51, 133, 198, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.doc-info p {
    font-size: 0.8125rem;
    color: var(--slate-600);
    line-height: 1.5;
}

/* ===== EXPORT ESTIMATOR SECTION ===== */
.export-calc-container {
    background: var(--white);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 20px 45px -10px rgba(12, 33, 54, 0.09);
    padding: 2.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .export-calc-container {
        grid-template-columns: 1.15fr 0.85fr;
        padding: 3rem;
    }
}

.export-result-panel {
    background: linear-gradient(145deg, var(--primary) 0%, #15324e 60%, #1e3a5f 100%);
    border-radius: 1.25rem;
    padding: 2.25rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.export-result-panel::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Indonesian Seaport Origin Grid */
.port-hubs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .port-hubs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .port-hubs-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.port-hub-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 0.875rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.port-hub-card:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.12);
}

.port-hub-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.port-hub-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.port-hub-card p {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* Undername comparison badges */
.badge-tag-export-undername {
    background: #fef3c7;
    color: #b45309;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .export-hero-title {
        font-size: 1.85rem;
    }
    .export-stats-grid {
        grid-template-columns: 1fr;
    }
    .export-calc-container {
        padding: 1.5rem;
    }
    .export-result-panel {
        padding: 1.5rem;
    }
}
