/* ===========================
   Home Page Styles
   =========================== */

/* How to Convert Section */
.htc-wrap {
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}
.htc-wrap::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 70%);
    pointer-events: none;
}
.htc-wrap::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(5,150,105,.07) 0%, transparent 70%);
    pointer-events: none;
}
.htc-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
    letter-spacing: -.5px;
}
.htc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
}
.htc-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.6% + 8px);
    right: calc(16.6% + 8px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #059669);
    z-index: 0;
}
.htc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.htc-num {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.htc-num-1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.htc-num-2 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.htc-num-3 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.htc-step-title { font-size: .9rem; font-weight: 700; color: #0f172a; }
.htc-step-desc  { font-size: .78rem; color: #64748b; line-height: 1.5; }
.htc-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1.5px solid #e2e8f0;
}
.htc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 600;
    color: #059669;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 5px 12px;
}
@media(max-width: 560px) {
    .htc-steps { grid-template-columns: 1fr; }
    .htc-steps::before { display: none; }
    .htc-step { flex-direction: row; text-align: left; gap: 14px; }
    .htc-step-title, .htc-step-desc { text-align: left; }
}
@media(max-width: 560px) {
    [dir="rtl"] .htc-step { flex-direction: row-reverse !important; }
    [dir="rtl"] .htc-step-title,
    [dir="rtl"] .htc-step-desc { text-align: right !important; }
}

/* PSEO Suggest Section */
.pseo-suggest-wrap { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 20px; padding: 28px 24px; }
.pseo-suggest-title { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin-bottom: 16px; }
.pseo-search-wrap { position: relative; margin-bottom: 20px; }
.pseo-search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.pseo-search-input:focus { border-color: #2563eb; }
.pseo-search-icon {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
[dir="rtl"] .pseo-search-input { padding: 10px 40px 10px 16px; }
[dir="rtl"] .pseo-search-icon { left: auto; right: 12px; }
.pseo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pseo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.15s ease;
}
.pseo-link:hover { background: #eff6ff; border-color: #bfdbfe; transform: translateY(-1px); }
.pseo-link svg { flex-shrink: 0; color: #94a3b8; }
.pseo-no-results { text-align: center; color: #94a3b8; font-size: 0.875rem; padding: 20px 0; display: none; }
@media (max-width: 768px) { .pseo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pseo-grid { grid-template-columns: 1fr; } }

/* Random Convert Links */
.wp-custom-lnk {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.wp-custom-lnk:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .wp-custom-lnk { font-size: 0.8rem; padding: 10px; }
}

/* Blog Section */
.blog-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.blog-view-all { font-size:0.875rem; color:#2563eb; font-weight:600; text-decoration:none; display:flex; align-items:center; gap:4px; }
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.blog-card { display:flex; flex-direction:column; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; text-decoration:none; transition:box-shadow 0.2s, transform 0.2s; background:#fff; }
.blog-thumb { height:140px; overflow:hidden; background:#f1f5f9; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; transition:transform 0.3s; }
.blog-body { padding:14px; flex:1; display:flex; flex-direction:column; gap:8px; }
.blog-title { font-size:0.9rem; font-weight:600; color:#0f172a; line-height:1.4; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.blog-date { font-size:0.75rem; color:#94a3b8; margin-top:auto; }
.blog-footer { text-align:center; margin-top:20px; }
.blog-btn { display:inline-block; padding:10px 28px; background:#2563eb; color:#fff; border-radius:8px; font-size:0.9rem; font-weight:600; text-decoration:none; transition:background 0.2s; }

/* Convert Search Input */
.convert-search-input { width:100%; padding:11px 14px 11px 40px; border:1.5px solid #e2e8f0; border-radius:10px; font-size:0.9rem; outline:none; transition:border-color 0.2s; background:#fff; }
