/* Shared product-page system for VPS, storage, and reseller hosting. */
.product-page {
    --product-navy: #0b2131;
    --product-navy-soft: #143247;
    --product-blue: #087da8;
    --product-blue-dark: #086384;
    --product-ink: #142c3e;
    --product-muted: #63727e;
    --product-line: #d7e0e5;
    --product-surface: #f2f4f5;
}

.product-page .section-space { padding: clamp(4.25rem, 7vw, 6.75rem) 0; }
.product-page .product-container { width: min(1500px, calc(100% - 3rem)); max-width: none; }
.product-page .section-intro { max-width: 760px; margin-bottom: 2.5rem; }
.product-page .section-intro.centered { margin-right: auto; margin-left: auto; text-align: center; }
.product-page .section-intro h2 {
    margin: 0 0 .75rem;
    color: var(--product-ink);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.product-page .section-intro p {
    max-width: 65ch;
    margin: 0;
    color: var(--product-muted);
    font-size: .96rem;
    font-weight: 500;
    line-height: 1.7;
}
.product-page .section-intro.centered p { margin-right: auto; margin-left: auto; }

/* The image-led hero preserves the current near-full-width Yatosha composition. */
.product-hero { padding: 1rem 0 0; background: #fff; }
.product-hero .product-container { width: calc(100% - 1rem); }
.product-hero-panel {
    position: relative;
    min-height: clamp(520px, 42vw, 650px);
    overflow: hidden;
    border-radius: 16px;
    background: var(--product-navy);
    color: #f5f9fb;
}
.product-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.product-hero-panel::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(6, 24, 37, .98) 0%, rgba(6, 24, 37, .94) 34%, rgba(6, 24, 37, .45) 60%, rgba(6, 24, 37, .08) 100%);
}
.product-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: inherit;
    max-width: 800px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.75rem, 5vw, 5.5rem);
}
.product-kicker {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1rem;
    color: #78c5df;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.product-kicker::before { width: 32px; height: 2px; content: ""; background: #35add6; }
.product-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #f7fafc;
    font-size: clamp(2.35rem, 3.55vw, 3.6rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.product-hero-lead {
    max-width: 620px;
    margin: 1.25rem 0 1.6rem;
    color: #cad7df;
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    font-weight: 500;
    line-height: 1.7;
}
.product-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.product-button,
.product-button-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .82rem 1.15rem;
    border: 1px solid var(--product-blue);
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.product-button { background: var(--product-blue); color: #fff; }
.product-button-secondary { border-color: rgba(255,255,255,.42); background: rgba(8,29,44,.42); color: #fff; }
.product-button:hover,
.product-button:focus-visible { border-color: var(--product-blue-dark); background: var(--product-blue-dark); color: #fff; transform: translateY(-2px); }
.product-button-secondary:hover,
.product-button-secondary:focus-visible { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; transform: translateY(-2px); }
.product-button:active,
.product-button-secondary:active { transform: translateY(1px); }

.product-trust { padding: 1.35rem 0; background: #fff; }
.product-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.product-trust-item { display: flex; align-items: center; gap: .65rem; color: #354b5a; font-size: .8rem; font-weight: 600; }
.product-trust-item i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--product-line);
    border-radius: 9px;
    background: #f4f6f7;
    color: var(--product-blue);
}

/* Pricing cards expose real resource limits without turning the page into a dense table. */
.product-plans { background: var(--product-surface); }
.plan-grid { --bs-gutter-x: 1.15rem; --bs-gutter-y: 1.15rem; align-items: stretch; }
.infra-plan {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d3dce1;
    border-radius: 15px;
    background: #fff;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.infra-plan:hover { border-color: #93a6b1; box-shadow: 0 14px 28px rgba(13,37,53,.08); transform: translateY(-4px); }
.infra-plan.featured { border: 2px solid var(--product-blue); }
.plan-top { padding: 1.55rem 1.5rem 1.35rem; border-bottom: 1px solid #e2e7ea; }
.plan-label {
    display: inline-block;
    margin-bottom: .8rem;
    padding: .34rem .55rem;
    border-radius: 6px;
    background: #e5edf1;
    color: #0b6687;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.plan-name { margin: 0; color: var(--product-ink); font-size: 1.14rem; font-weight: 700; }
.plan-price { margin: .8rem 0 0; color: var(--product-blue); font-size: clamp(1.75rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.plan-price small { color: #70808b; font-size: .7rem; font-weight: 600; letter-spacing: 0; }
.plan-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1.4rem 1.5rem 1.55rem; }
.plan-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-bottom: 1.25rem; }
.plan-spec { padding: .72rem; border-radius: 9px; background: #f3f5f6; }
.plan-spec span,
.plan-spec strong { display: block; }
.plan-spec span { margin-bottom: .18rem; color: #75838d; font-size: .62rem; font-weight: 600; text-transform: uppercase; }
.plan-spec strong { color: #263f50; font-size: .78rem; font-weight: 700; }
.plan-list { display: grid; gap: .65rem; margin: 0 0 1.35rem; padding: 0; list-style: none; color: #455a69; font-size: .78rem; font-weight: 500; }
.plan-list li { display: flex; align-items: flex-start; gap: .5rem; line-height: 1.45; }
.plan-list i { flex: 0 0 auto; margin-top: .05rem; color: var(--product-blue); }
.infra-plan .product-button { width: 100%; margin-top: auto; }

/* Broad capabilities use one divided grid rather than repetitive floating cards. */
.capability-section { background: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--product-line); }
.capability-item { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.4rem 1.2rem; border-bottom: 1px solid var(--product-line); }
.capability-item:nth-child(odd) { border-right: 1px solid var(--product-line); }
.capability-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 11px;
    background: #e7eef2;
    color: var(--product-blue);
    font-size: 1.1rem;
}
.capability-item h3 { margin: 0 0 .3rem; color: #1a3344; font-size: .96rem; font-weight: 700; }
.capability-item p { margin: 0; color: var(--product-muted); font-size: .8rem; font-weight: 500; line-height: 1.58; }

.product-detail { background: #e9eef1; }
.detail-panel { overflow: hidden; border-radius: 16px; background: #fff; }
.detail-panel > .row > [class*="col-"] { display: flex; }
.detail-copy { display: flex; width: 100%; min-height: 520px; flex-direction: column; justify-content: center; padding: clamp(2.4rem, 5vw, 4.75rem); }
.detail-copy h2 { margin: 0 0 1rem; color: var(--product-ink); font-size: clamp(1.75rem,2.4vw,2.35rem); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.detail-copy > p { max-width: 620px; margin: 0 0 1.4rem; color: var(--product-muted); font-weight: 500; line-height: 1.7; }
.detail-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.detail-points li { display: flex; align-items: flex-start; gap: .55rem; color: #395161; font-size: .8rem; font-weight: 600; }
.detail-points i { color: var(--product-blue); }
.detail-visual { display: flex; width: 100%; min-height: 520px; align-items: center; justify-content: center; padding: clamp(2.4rem,5vw,4.5rem); background: var(--product-navy); color: #fff; }
.detail-metrics { width: min(100%,430px); }
.detail-metrics h3 { margin: 0 0 .75rem; font-size: 1.35rem; font-weight: 700; }
.detail-metrics > p { margin: 0 0 1.4rem; color: #bfcfd8; font-size: .86rem; font-weight: 500; line-height: 1.65; }
.metric-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.13); }
.metric-row strong { color: #7dd3fc; font-size: 1.45rem; font-weight: 700; }
.metric-row span { max-width: 190px; color: #d9e4ea; font-size: .73rem; font-weight: 600; text-align: right; }

.os-section { background: #fff; }
.os-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .85rem; }
.os-item { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: .65rem; border: 1px solid var(--product-line); border-radius: 12px; background: #fff; color: #284152; font-size: .82rem; font-weight: 700; }
.os-item i { color: var(--product-blue); font-size: 1.15rem; }

.product-faq { background: #fff; }
.product-faq .accordion-item { border-right: 0; border-left: 0; border-radius: 0; }
.product-faq .accordion-button { padding: 1.2rem 0; color: var(--product-ink); font-weight: 700; }
.product-faq .accordion-body { padding: 0 0 1.25rem; color: var(--product-muted); font-weight: 500; line-height: 1.7; }
.product-cta { padding: 0 0 clamp(4rem,7vw,6.5rem); background: #fff; }
.product-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem,4vw,3.25rem); border-radius: 15px; background: var(--product-navy-soft); color: #fff; }
.product-cta-panel h2 { margin: 0 0 .4rem; font-size: clamp(1.55rem,2.3vw,2.1rem); font-weight: 700; letter-spacing: -.03em; }
.product-cta-panel p { margin: 0; color: #c4d2db; font-size: .9rem; font-weight: 500; }

@media (max-width: 1199.98px) {
    .plan-specs { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    .product-hero-panel { min-height: 540px; }
    .product-hero-panel::after { background: linear-gradient(90deg,rgba(6,24,37,.96),rgba(6,24,37,.72)); }
    .product-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-panel > .row > [class*="col-"] { display: block; }
    .detail-copy,.detail-visual { min-height: auto; }
    .os-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .product-page .product-container { width: calc(100% - 2rem); }
    .product-hero .product-container { width: calc(100% - 1.25rem); }
    .product-hero-panel { min-height: 500px; }
    .product-hero-image { object-position: 68% center; }
    .product-hero-panel::after { background: rgba(6,24,37,.82); }
    .product-hero-copy { padding: 2.7rem 1.35rem; }
    .capability-grid,.detail-points { grid-template-columns: 1fr; }
    .capability-item:nth-child(odd) { border-right: 0; }
    .product-cta-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) {
    .product-trust-grid,.os-list { grid-template-columns: 1fr; }
    .product-trust-item { padding: .25rem 0; }
    .product-button,.product-button-secondary { width: 100%; }
    .detail-copy,.detail-visual { padding: 2.35rem 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .infra-plan,.product-button,.product-button-secondary { transition: none; }
    .infra-plan:hover,.product-button:hover,.product-button-secondary:hover { transform: none; }
}
