/* ============================================
   HARGA.CSS v18 - Compact Premium Pricing
   ============================================ */

/* --- HERO --- */
.pricing-hero {
    padding: calc(var(--header-h) + 2rem) 0 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.page-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- PRICING SPLIT --- */
.pricing-split { align-items: center; }
.price-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(201, 169, 98, 0.05);
    border-left: 2px solid var(--accent);
    border-radius: 0 4px 4px 0;
}
.price-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.price-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- CALC VISUAL --- */
.calc-visual {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
}
.calc-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.calc-row {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border);
}
.calc-row:last-of-type { border-bottom: none; }
.calc-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.calc-total span { font-size: 0.85rem; color: var(--text-muted); }
.calc-total strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}
.calc-total small { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* --- EDITORIAL LIST (Value Adds) --- */
.editorial-list { display: flex; flex-direction: column; gap: 0; }
.list-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}
.list-item:last-child { border-bottom: 1px solid var(--border); }
.list-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.list-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.list-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* --- HOSTING SPLIT --- */
.hosting-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}
.price-inline {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}
.price-inline .price-tag { font-size: 1.75rem; }
.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.icon-sm { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footnote { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* --- DOMAIN TABLE --- */
.domain-table-wrapper {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.domain-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.domain-table th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}
.domain-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}
.domain-table tr:last-child td { border-bottom: none; }
.text-accent { color: var(--accent); font-weight: 600; }
.text-muted { color: var(--text-muted); }

/* --- CTA COMPACT --- */
.cta-compact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-compact .btn { margin-top: 1.5rem; }

/* ============================================
   DEDICATED RESPONSIVE (HARGA)
   ============================================ */

/* 1. TABLET */
@media (max-width: 1024px) {
    .hosting-split { grid-template-columns: 1fr; gap: 2rem; }
}

/* 2. MOBILE PORTRAIT */
@media (max-width: 768px) and (orientation: portrait) {
    .pricing-hero { padding: calc(var(--header-h) + 1.5rem) 0 1.5rem; }
    .section-compact { padding: 2.5rem 0; }
    
    .pricing-split { grid-template-columns: 1fr; gap: 2rem; }
    .price-highlight { padding: 1.25rem; }
    
    .list-item { flex-direction: column; gap: 0.75rem; }
    .list-icon { margin-top: 0; }
    
    .check-list { grid-template-columns: 1fr; }
}

/* 3. MOBILE LANDSCAPE (Strict Compact) */
@media (max-height: 500px) and (orientation: landscape) {
    .pricing-hero { padding: calc(var(--header-h) + 1rem) 0 1rem; }
    .page-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .page-sub { font-size: 0.9rem; display: none; /* Hide sub to save vertical space */ }
    
    .section-compact { padding: 1.5rem 0; }
    .section-title { font-size: 1.35rem; margin-bottom: 0.75rem; }
    
    .pricing-split { grid-template-columns: 1fr; gap: 1rem; }
    .price-highlight { margin-top: 1rem; padding: 1rem; }
    .price-tag { font-size: 1.5rem; }
    
    .calc-visual { padding: 1rem; }
    .calc-row { padding: 0.4rem 0; font-size: 0.85rem; }
    
    .hosting-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .domain-table th, .domain-table td { padding: 0.75rem 1rem; font-size: 0.85rem; }
    
    .cta-compact .text-body { display: none; }
    .cta-compact .btn { margin-top: 1rem; padding: 0.6rem 1.25rem; font-size: 0.9rem; }
}

/* ============================================
   HARGA.CSS v19 - ADDITIONS
   ============================================ */

/* Value Points (NEW) */
.value-points {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.value-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.icon-sm {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Calc Visual Improvements */
.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border);
}
.calc-price {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}
.calc-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.calc-total span {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.calc-total strong {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--accent);
}
.calc-total small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* FAQ Section (NEW) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Dual (NEW) */
.cta-dual {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-content {
    margin-bottom: 2rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Additions */
@media (max-width: 768px) and (orientation: portrait) {
    .value-points { gap: 0.5rem; }
    .calc-row { font-size: 0.85rem; }
    .calc-total strong { font-size: 1.5rem; }
    .faq-item h4 { font-size: 1rem; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .value-points { display: none; }
    .calc-visual { padding: 1rem; }
    .calc-row { padding: 0.4rem 0; font-size: 0.8rem; }
    .calc-total strong { font-size: 1.25rem; }
    .faq-list { display: none; }
    .cta-content .text-body { display: none; }
    .cta-actions { flex-direction: row; gap: 0.75rem; }
    .cta-actions .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
}