/* Windows VPS and Windows Dedicated VPS pages: proof band, use-case picker, licence cards,
   comparison table, prose sections, guides grid, related strip and desktop sticky CTA.
   Shared by /windows-vps/ and /windows-vds/. Loaded async after styles.css. */

/* Proof band under the trust strip */
.wv-proof { position: relative; z-index: 1; padding: 0 3rem 4rem; }
.wv-proof-grid {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 1rem;
}
.wv-proof-item {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 1.25rem 1rem; text-align: center;
}
.wv-proof-item strong {
    display: block; font-family: 'Space Mono', monospace; font-size: 1.2rem;
    color: var(--accent-gold); margin-bottom: 0.35rem;
}
.wv-proof-item span { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }
.wv-proof-item a, .wv-proof-item a:visited { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.wv-proof-item a:hover { color: var(--accent-gold-light); }

/* Use-case picker above the configurator */
.wv-pick-wrap { text-align: center; margin: 0 auto 2.5rem; max-width: 1100px; }
.wv-pick-label {
    display: block; font-family: 'Space Mono', monospace; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem;
}
.wv-pick-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1rem; }
.wv-pick {
    display: block; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1rem 1.25rem;
    text-align: left; cursor: pointer; color: var(--text-primary); text-decoration: none;
    font-family: 'Outfit', sans-serif; font-size: 1rem; transition: border-color 0.2s ease;
}
.wv-pick:visited { color: var(--text-primary); }
.wv-pick strong { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--text-primary); }
.wv-pick span { display: block; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }
.wv-pick em { display: block; font-style: normal; font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--accent-gold); margin-top: 0.5rem; }
.wv-pick:hover, .wv-pick.active { border-color: var(--accent-gold); }
.pricing-card.recommended { border-color: var(--accent-gold); box-shadow: 0 0 0 1px var(--accent-gold); }

/* Licence line inside each pricing card */
.wv-licence-note { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; margin-top: 0.5rem; }
.wv-licence-note.licensed { color: var(--accent-gold); }

/* Generic content section (licence cards, comparison, prose, guides) */
.wv-section { position: relative; z-index: 1; padding: 6rem 3rem; }
.wv-section .section-header { margin-bottom: 3rem; }
.wv-cards {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.5rem; align-items: stretch;
}
.wv-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 2rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.wv-card.highlight { border-color: rgba(245, 166, 35, 0.45); }
.wv-card-tag { font-family: 'Space Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); }
.wv-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.wv-card .wv-price { font-family: 'Space Mono', monospace; font-size: 1.1rem; color: var(--text-primary); }
.wv-card p, .wv-card li { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.wv-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.wv-card li { padding-left: 1.4rem; position: relative; }
.wv-card li::before { content: ''; position: absolute; left: 0; top: 0.65rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent-gold); }
.wv-card a, .wv-card a:visited { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.wv-card a:hover { color: var(--accent-gold-light); }

/* Comparison table */
.wv-table-wrap { max-width: 1200px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--bg-card); }
.wv-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.92rem; }
.wv-table th, .wv-table td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); line-height: 1.55; }
.wv-table th { color: var(--text-primary); font-weight: 700; background: rgba(15, 23, 42, 0.8); }
.wv-table th.wv-this { color: var(--accent-gold); }
.wv-table td:first-child { color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.wv-table tbody tr:last-child td { border-bottom: 0; }
.wv-table a, .wv-table a:visited { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.wv-table a:hover { color: var(--accent-gold-light); }
.wv-table-note { max-width: 900px; margin: 1.5rem auto 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* Prose sections */
.wv-prose { max-width: 860px; margin: 0 auto; }
.wv-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 1.25rem; color: var(--text-primary); line-height: 1.25; }
.wv-prose h3 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text-primary); }
.wv-prose p, .wv-prose li { color: var(--text-secondary); line-height: 1.8; font-size: 1.02rem; overflow-wrap: break-word; }
.wv-prose p + p { margin-top: 1rem; }
.wv-prose ul { margin: 1rem 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.wv-prose a, .wv-prose a:visited { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.wv-prose a:hover { color: var(--accent-gold-light); }
.wv-prose code { font-family: 'Space Mono', monospace; font-size: 0.85em; background: var(--bg-tertiary); padding: 0.1em 0.4em; border-radius: 4px; overflow-wrap: anywhere; }
.wv-prose + .wv-prose { margin-top: 3.5rem; }

/* Guides grid */
.wv-guides-grid {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 1.25rem; align-items: stretch;
}
.wv-guide {
    display: flex; flex-direction: column; gap: 0.5rem; background: var(--bg-card);
    border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1.5rem;
    color: inherit; text-decoration: none; transition: border-color 0.3s ease, transform 0.3s ease;
}
.wv-guide:visited { color: inherit; }
.wv-guide:hover { border-color: rgba(245, 166, 35, 0.4); transform: translateY(-3px); }
.wv-guide-tag { font-family: 'Space Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-gold); }
.wv-guide h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.4; color: var(--text-primary); }
.wv-guide p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.wv-guides-more { text-align: center; color: var(--text-secondary); margin: 2.5rem auto 0; max-width: 760px; line-height: 1.7; }
.wv-guides-more a, .wv-guides-more a:visited { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.wv-guides-more a:hover { color: var(--accent-gold-light); }

/* Related products strip */
.wv-related { position: relative; z-index: 1; padding: 0 3rem 6rem; }
.wv-related-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; align-items: stretch; }
.wv-related-card {
    display: block; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px;
    padding: 1.25rem; color: inherit; text-decoration: none; transition: border-color 0.3s ease;
}
.wv-related-card:visited { color: inherit; }
.wv-related-card:hover { border-color: rgba(245, 166, 35, 0.4); }
.wv-related-card strong { display: block; color: var(--text-primary); margin-bottom: 0.35rem; }
.wv-related-card span { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }

/* Generated landing pages: breadcrumb above the hero, hero stacked from the top (the shared .hero centres its
   content in 100vh, which pushes a breadcrumb under the fixed nav), alternating section background, tables in prose */
.wv-crumb {
    display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center;
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.wv-crumb a, .wv-crumb a:visited { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 2px; }
.wv-crumb a:hover { color: var(--accent-gold-light); }
.wv-hero { min-height: 0; justify-content: flex-start; padding-bottom: 3rem; }
.wv-section.alt { background: var(--bg-secondary); }
.wv-prose .wv-table-wrap { margin: 1.5rem 0 2rem; }
.wv-prose .wv-table { min-width: 620px; }
.wv-prose .wv-table td:first-child { white-space: normal; }

/* Desktop sticky CTA (hidden on mobile and tablet) */
.wv-sticky { display: none; }
@media (min-width: 1025px) {
    .wv-sticky {
        position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); z-index: 90;
        display: flex; align-items: center; gap: 1.5rem; padding: 0.75rem 0.75rem 0.75rem 1.5rem;
        background: rgba(10, 15, 26, 0.96); border: 1px solid rgba(245, 166, 35, 0.35); border-radius: 100px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); max-width: calc(100dvw - 3rem);
        opacity: 0; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .wv-sticky.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
    .wv-sticky-text { color: var(--text-secondary); font-size: 0.9rem; white-space: nowrap; }
    .wv-sticky-text strong { color: var(--text-primary); margin-right: 0.5rem; }
    .wv-sticky .btn { white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 768px) {
    .wv-section { padding: 4rem 1.5rem; }
    .wv-proof, .wv-related { padding-left: 1.5rem; padding-right: 1.5rem; }
    .wv-proof { padding-bottom: 3rem; }
    .wv-related { padding-bottom: 4rem; }
    .wv-card { padding: 1.5rem; }
    .wv-table th, .wv-table td { padding: 0.8rem 0.9rem; }
}
@media (max-width: 480px) {
    .wv-section { padding: 3rem 1rem; }
    .wv-proof, .wv-related { padding-left: 1rem; padding-right: 1rem; }
    .wv-proof { padding-bottom: 2.5rem; }
}

/* Mobile and tablet performance: no transitions, shadows or hover transforms (defense in depth, critical.css carries the universal kill) */
@media (max-width: 1024px) {
    .wv-pick, .wv-card, .wv-guide, .wv-related-card, .wv-sticky, .pricing-card.recommended {
        transition: none !important; box-shadow: none !important;
    }
    .wv-guide:hover { transform: none !important; }
    .wv-sticky { display: none !important; }
}
