/* ==========================================================================
   GLOBAL EXPOR INDONESIA - JASA IMPORT BARANG (IMPORT SERVICES) STYLESHEET
   Sleek Corporate Logistics & Freight Forwarding Design System
   ========================================================================== */

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

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

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

.import-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(51, 133, 198, 0.35) 0%, transparent 60%),
                linear-gradient(180deg, rgba(12, 33, 54, 0.82) 0%, rgba(12, 33, 54, 0.96) 85%, var(--primary) 100%);
}

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

.import-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(51, 133, 198, 0.18);
    border: 1px solid rgba(51, 133, 198, 0.45);
    backdrop-filter: blur(8px);
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

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

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

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

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

.btn-whatsapp-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #25D366;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-hero:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* Metric Stats Row */
.import-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) {
    .import-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 2rem 2.5rem;
        gap: 2rem;
    }
}

.import-stat-card {
    text-align: left;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

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

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

/* ===== NAV BADGE ===== */
.nav-badge-import {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.badge-pulse-tag {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

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

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

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

.service-box-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;
}

.service-box-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-box-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(12, 33, 54, 0.12);
    border-color: rgba(51, 133, 198, 0.4);
}

.service-box-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: rgba(51, 133, 198, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-box-card:hover .service-icon-box {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

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

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

.service-checklist {
    border-top: 1px solid var(--slate-100);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.845rem;
    color: var(--slate-700);
    font-weight: 500;
}

.service-check-item svg {
    color: #16a34a;
    flex-shrink: 0;
}

/* ===== COMPARISON MATRIX TABLE ===== */
.comparison-wrapper {
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid var(--slate-200);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 33, 54, 0.06);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.9375rem;
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.comparison-table th.highlight-col {
    background: var(--secondary);
    border-top: 3px solid var(--accent);
}

.comparison-table tr:hover td {
    background-color: rgba(51, 133, 198, 0.03);
}

.badge-tag-table {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 0.375rem;
    font-size: 0.775rem;
    font-weight: 600;
}

.badge-tag-allin {
    background: #dcfce7;
    color: #15803d;
}

.badge-tag-undername {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-tag-standard {
    background: #f1f5f9;
    color: #475569;
}

/* ===== INTERACTIVE CALCULATOR SECTION ===== */
.calc-card-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) {
    .calc-card-container {
        grid-template-columns: 1.15fr 0.85fr;
        padding: 3rem;
    }
}

.calc-input-section h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.calc-input-section p {
    color: var(--slate-500);
    font-size: 0.925rem;
    margin-bottom: 2rem;
}

.calc-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.calc-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.calc-field-group.full-width {
    grid-column: 1 / -1;
}

.calc-field-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.calc-field-group select,
.calc-field-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.925rem;
    background-color: var(--white);
    color: var(--slate-900);
    transition: all 0.2s ease;
}

.calc-field-group select:focus,
.calc-field-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(51, 133, 198, 0.15);
}

/* Calculator Result Panel */
.calc-result-panel {
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 1.25rem;
    padding: 2.25rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.calc-result-panel::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(51, 133, 198, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.result-panel-header {
    margin-bottom: 1.75rem;
}

.result-tag {
    display: inline-block;
    background: rgba(51, 133, 198, 0.3);
    border: 1px solid rgba(51, 133, 198, 0.5);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.result-panel-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.result-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.breakdown-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.breakdown-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.breakdown-row.total-row {
    border-bottom: none;
    padding-top: 0.5rem;
}

.breakdown-row.total-row .breakdown-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.breakdown-row.total-row .breakdown-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #38bdf8;
}

.calc-lead-time-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.calc-lead-time-box svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.lead-time-text {
    font-size: 0.845rem;
    color: rgba(255, 255, 255, 0.85);
}

.btn-calc-wa {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.95rem 1.5rem;
    border-radius: 0.625rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-calc-wa:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* ===== PROCESS STEPS (TIMELINE) ===== */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

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

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

.timeline-step-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12, 33, 54, 0.08);
    border-color: var(--accent);
}

.step-number-bubble {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 3px solid rgba(51, 133, 198, 0.2);
    transition: all 0.3s ease;
}

.timeline-step-card:hover .step-number-bubble {
    background: var(--accent);
    transform: scale(1.1);
}

.step-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.step-card-text {
    font-size: 0.835rem;
    color: var(--slate-600);
    line-height: 1.55;
}

/* ===== COMMODITIES / CATEGORIES CHIPS ===== */
.commodities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

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

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

.commodity-chip {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 0.875rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.commodity-chip:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(51, 133, 198, 0.12);
}

.commodity-chip-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(51, 133, 198, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.commodity-chip h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.commodity-chip span {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* ===== COUNTRY ORIGIN ROUTES ===== */
.country-routes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

@media (min-width: 1024px) {
    .country-routes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.country-route-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.country-route-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 25px rgba(12, 33, 54, 0.08);
}

.country-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.country-flag {
    font-size: 1.75rem;
    line-height: 1;
}

.country-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.country-hub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.hub-tag {
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 0.25rem;
}

.route-lead-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--slate-600);
    border-top: 1px dashed var(--slate-200);
    padding-top: 0.75rem;
}

.route-lead-time strong {
    color: var(--accent);
}

/* ===== TWO-COLUMN SHOWCASE (CUSTOMS & WAREHOUSE) ===== */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.showcase-image-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(12, 33, 54, 0.15);
}

.showcase-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-image-wrapper:hover img {
    transform: scale(1.03);
}

.showcase-badge-float {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(12, 33, 54, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.showcase-badge-float strong {
    font-size: 0.95rem;
    display: block;
}

.showcase-badge-float span {
    font-size: 0.75rem;
    color: #93c5fd;
}

/* ===== INQUIRY FORM SECTION ===== */
.import-inquiry-box {
    background: var(--white);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(12, 33, 54, 0.07);
}

@media (min-width: 768px) {
    .import-inquiry-box {
        padding: 3.5rem;
    }
}

.import-inquiry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.full-col {
    grid-column: 1 / -1;
}

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