/* ============================================================
   ip-vps.css — /103-ip-vps (IP VPS, was /cloud-vps)
   Hero, features, FAQ and CTA reuse vps.css / index.css /
   hosting.css. This file adds the golden tag, the yellow
   not-for-production note, the live IP cards, the steps strip
   and the long-form guide with its "On this page" sidebar.
============================================================ */

.cv-ip-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5a3a00;
    background: linear-gradient(135deg, #fde68a 0%, #f5c542 45%, #d4a017 100%);
    box-shadow: 0 2px 10px rgba(212, 160, 23, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
    vertical-align: middle;
}
.cv-ip-tag svg { flex-shrink: 0; }

.vps-hero-title .cv-ip-tag { font-size: 13px; margin-left: 6px; position: relative; top: -6px; }

.cv-hero-from {
    margin: 18px 0 22px;
    font-size: 15px;
    color: #475569;
}
.cv-hero-from b { color: #0f172a; font-size: 20px; }

/* ---------- Zones ---------- */
.cv-zones { padding: 80px 0; background: #f8fafc; }
.cv-zone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.cv-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cv-zone:hover,
.cv-zone:focus-visible {
    transform: translateY(-3px);
    border-color: #4169E1;
    box-shadow: 0 14px 34px rgba(65, 105, 225, .14);
}
.cv-zone-head { display: flex; align-items: center; gap: 12px; }
.cv-zone-pin {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(65, 105, 225, .1);
    color: #4169E1;
}
.cv-zone h3 { margin: 0; font-size: 18px; line-height: 1.3; color: #0f172a; }
.cv-zone-new {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
}
.cv-zone-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cv-zone-chips li {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    color: #334155;
    background: #f1f5f9;
}
.cv-zone-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    color: #fff;
    background: #4169E1;
}
.cv-zone:hover .cv-zone-cta { background: #2f54c9; }
.cv-zones-note { margin-top: 22px; text-align: center; font-size: 14px; color: #64748b; }

/* ---------- How it works ---------- */
.cv-steps { padding: 80px 0; }
.cv-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
    counter-reset: cvstep;
}
.cv-step {
    padding: 26px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}
.cv-step::before {
    counter-increment: cvstep;
    content: counter(cvstep, decimal-leading-zero);
    display: block;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 22px;
    color: #4169E1;
}
.cv-step h3 { margin: 0 0 8px; font-size: 17px; color: #0f172a; }
.cv-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #475569; }

/* ---------- Use cases ---------- */
.cv-uses { padding: 80px 0; background: #f8fafc; }

@media (max-width: 600px) {
    .cv-zones, .cv-steps, .cv-uses { padding: 56px 0; }
    .cv-zone-grid { grid-template-columns: 1fr; }
    .vps-hero-title .cv-ip-tag { display: inline-flex; top: 0; margin: 8px 0 0; }
}

/* ---------- Not-for-production note ---------- */
.cv-notice-wrap { padding: 28px 0 0; background: #f8fafc; }
.cv-notice { max-width: 980px; margin: 0 auto; display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: #fff8e6; border: 1px solid #f5d27a; color: #6b4a00; }
.cv-notice svg { flex: none; color: #c58a00; margin-top: 1px; }
.cv-notice p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.cv-notice strong { color: #4d3500; }
.cv-notice-wrap + .cv-zones { padding-top: 56px; }

/* ---------- Live IP cards ---------- */
.cv-ipavail { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1060px; margin: 40px auto 0; }
.cv-ipav { flex: 0 1 330px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: transform .15s, border-color .2s, box-shadow .2s; }
.cv-ipav:hover, .cv-ipav:focus-visible { transform: translateY(-2px); border-color: #4169E1; box-shadow: 0 14px 34px rgba(65, 105, 225, .14); }
.cv-ipav-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(65, 105, 225, .1); color: #4169E1; font-size: 20px; }
.cv-ipav-ask .cv-ipav-ico { background: #e9f8ef; }
.cv-ipav-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cv-ipav-body b { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 16.5px; color: #0f172a; overflow-wrap: anywhere; }
.cv-ipav-body b.cv-ipav-name { font-family: inherit; font-size: 16.5px; }
.cv-ipav-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-ipav-tags span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; }
.cv-ipav-tags .ok { display: inline-flex; align-items: center; gap: 5px; background: #e7f8ee; color: #15803d; }
.cv-ipav-tags .ok i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.cv-ipav-go { flex: none; color: #94a3b8; font-size: 18px; transition: color .15s, transform .15s; }
.cv-ipav:hover .cv-ipav-go { color: #4169E1; transform: translateX(3px); }
.cv-ipavail-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cv-tline-link { text-decoration: none; color: inherit; border-radius: 6px; }
.cv-tline-link:hover { background: rgba(34, 197, 94, .08); }

/* ---------- Long-form guide ---------- */
.cv-guide-section { padding: 80px 0; }
.cv-guide { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1140px; margin: 0 auto; }
.cv-guide-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.cv-guide-toc { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 20px; }
.cv-guide-toc-title { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin-bottom: 12px; }
.cv-guide-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cv-guide-toc a { display: block; padding: 7px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: #0f172a; line-height: 1.35; text-decoration: none; }
.cv-guide-toc li.sub a { padding-left: 22px; font-weight: 500; color: #475569; font-size: 14px; }
.cv-guide-toc a:hover { background: #f1f5f9; color: #4169E1; }
.cv-guide-cta { background: linear-gradient(135deg, #4169E1, #22c55e); color: #eef4ff; border-radius: 18px; padding: 20px; }
.cv-guide-cta b { color: #fff; font-size: 16.5px; }
.cv-guide-cta p { margin: 6px 0 14px; font-size: 14px; }
.cv-guide-cta a { display: block; text-align: center; padding: 10px 14px; border-radius: 10px; background: #fff; color: #0f172a; font-weight: 700; text-decoration: none; }
.cv-guide-body { background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; padding: 40px 44px; }
.cv-guide-body h2, .cv-guide-body h3 { scroll-margin-top: 110px; color: #0f172a; }
.cv-guide-body h2 { position: relative; font-size: clamp(22px, 2.6vw, 28px); padding-bottom: 14px; margin: 0 0 18px; }
.cv-guide-body h2:not(:first-child) { margin-top: 1.6em; }
.cv-guide-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #4169E1, #22c55e); }
.cv-guide-body h3 { display: flex; align-items: center; gap: 10px; font-size: 18.5px; margin: 1.8em 0 .7em; }
.cv-guide-body h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; flex: none; }
.cv-guide-body p { line-height: 1.8; color: #334155; }
.cv-guide-body ul, .cv-guide-body ol { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; counter-reset: gl; }
.cv-guide-body li { position: relative; margin: 0; padding: 12px 16px 12px 48px; background: #f8fafc; border: 1px solid #e8eef9; border-radius: 12px; line-height: 1.6; color: #334155; }
.cv-guide-body ul li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: #4169E1; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cv-guide-body ol li { counter-increment: gl; }
.cv-guide-body ol li::before { content: counter(gl); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 8px; background: #4169E1; color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.cv-guide-body strong { color: #0f172a; }
.cv-guide-body a { color: #4169E1; font-weight: 600; }
.cv-guide-warn { margin-top: 1.4em; padding: 14px 16px; border-radius: 12px; background: #fff8e6; border: 1px solid #f5d27a; color: #6b4a00 !important; font-size: 15px; }
.cv-guide-warn a { color: #6b4a00 !important; }

@media (max-width: 1024px) {
    .cv-guide { grid-template-columns: 1fr; gap: 20px; }
    .cv-guide-side { position: static; }
    .cv-guide-cta { display: none; }
}
@media (max-width: 640px) {
    .cv-guide-section { padding: 56px 0; }
    .cv-ipav { flex-basis: 100%; }
    .cv-ipavail-foot a { width: 100%; justify-content: center; text-align: center; }
    .cv-guide-body { padding: 24px 20px; border-radius: 18px; }
    .cv-guide-body li { padding: 10px 12px 10px 44px; }
    .cv-guide-body li::before { left: 12px; top: 11px; }
}
.cv-tline-link .vps-key { min-width: 112px; }
