/* ==========================================
   HOMEPAGE - Page-Specific Styles
   File: homepage.css
   Deskripsi: CSS khusus untuk halaman homepage
   ========================================== */

/* ==========================================
   COLOR OVERRIDES
   ========================================== */
:root {
    --color-primary: #06B6D4 !important;
    --color-primary-light: #DBEAFE !important;
    --color-primary-dark: #2563EB !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-v2 {
    background: #FFFFFF !important;
    padding: 80px 0 !important;
    border-bottom: 1px solid #E5E7EB;
}

.hero-headline {
    color: #111827 !important;
}

.hero-subheadline {
    color: #6B7280 !important;
}

/* ==========================================
   QUICK COMPARE BOX
   ========================================== */
.quick-compare-box {
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

/* Grid layout untuk 2 inputs dengan "vs" di tengah */
.compare-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

/* Fix: Wrapper untuk input agar autocomplete posisinya benar */
.compare-input-wrapper {
    position: relative;
}

.compare-search-input {
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
}

.compare-search-input:focus {
    border-color: #06B6D4 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* VS text di tengah */
.vs-text {
    font-size: 20px;
    font-weight: 700;
    color: #6B7280;
}

/* ==========================================
   AUTOCOMPLETE DROPDOWN
   ========================================== */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #06B6D4;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    color: #111827;
}

.suggestion-item strong {
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #DBEAFE;
}

.suggestion-brand {
    font-size: 12px;
    color: #6B7280;
    margin-left: 8px;
    flex-shrink: 0;
}

.suggestion-item mark {
    background-color: #FEF3C7;
    color: #111827;
    font-weight: 600;
    padding: 1px 3px;
    border-radius: 2px;
    display: inline;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
    background-color: #06B6D4 !important;
}

.btn-primary:hover {
    background-color: #2563EB !important;
}

.category-btn {
    background: #F3F4F6 !important;
    color: #374151 !important;
    border: 1px solid #E5E7EB !important;
}

.category-btn:hover {
    background: #E5E7EB !important;
    color: #111827 !important;
    border-color: #D1D5DB !important;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works-v2 {
    background: #F9FAFB !important;
}

.step-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.step-number {
    background: #06B6D4 !important;
}