/**
 * Homepage — sections sous le hero (hors #hero).
 */

/* —— Barre confiance —— */
.ph-home-trust-strip {
    position: relative;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.04) 0%, transparent 100%);
}
html.light .ph-home-trust-strip {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}
.ph-home-trust-item {
    text-align: center;
    padding: 0.5rem 0.75rem;
}
.ph-home-trust-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}
html.light .ph-home-trust-value { color: #0f172a; }
.ph-home-trust-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.35;
}
html.light .ph-home-trust-label { color: rgba(15, 23, 42, 0.55); }

/* —— Badges offres —— */
.ph-home-offer-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.ph-home-offer-badge--popular {
    background: rgba(59, 130, 246, 0.85);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.ph-home-offer-badge--new {
    background: rgba(34, 197, 94, 0.85);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

/* —— Cartes offres (jeux + cloud) —— */
.ph-home-offers-grid,
.ph-home-cloud-grid {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .ph-home-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ph-home-cloud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1024px) {
    .ph-home-offers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.375rem;
    }
}
.ph-home-cloud-block {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
html.light .ph-home-cloud-block {
    border-top-color: rgba(15, 23, 42, 0.08);
}
.ph-home-cloud-grid {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}
.ph-home-offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.94) 100%);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ph-home-offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.32);
    box-shadow: 0 22px 48px -18px rgba(59, 130, 246, 0.35);
}
html.light .ph-home-offer-card {
    border-color: rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
html.light .ph-home-offer-card:hover {
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 22px 48px -18px rgba(15, 23, 42, 0.12);
}
.ph-home-offer-media {
    position: relative;
    height: 10.5rem;
    overflow: hidden;
    flex-shrink: 0;
}
.ph-home-offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-home-offer-card:hover .ph-home-offer-media img {
    transform: scale(1.07);
}
.ph-home-offer-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05) 0%, rgba(2, 6, 23, 0.55) 72%, rgba(2, 6, 23, 0.88) 100%);
    pointer-events: none;
}
.ph-home-offer-price-chip {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}
.ph-home-offer-price-chip strong {
    color: #93c5fd;
    font-weight: 800;
}
html.light .ph-home-offer-price-chip {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.08);
}
html.light .ph-home-offer-price-chip strong { color: #2563eb; }
.ph-home-offer-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1.375rem;
}
.ph-home-offer-body h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    line-height: 1.3;
}
.ph-home-offer-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 0.875rem;
    flex: 1;
}
html.light .ph-home-offer-desc { color: rgba(15, 23, 42, 0.55); }
.ph-home-offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}
.ph-home-offer-tag {
    padding: 0.2rem 0.5rem;
    border-radius: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
html.light .ph-home-offer-tag {
    color: rgba(15, 23, 42, 0.58);
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.07);
}
.ph-home-offer-card .ph-home-card-cta {
    margin-top: auto;
}
.ph-home-offer-price-line {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 1rem;
    flex: 0;
}
html.light .ph-home-offer-price-line { color: rgba(15, 23, 42, 0.62); }

/* Cloud — en-têtes avec icône SVG */
.ph-home-offer-media--cloud {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 9rem;
}
.ph-home-offer-media--web {
    background:
        radial-gradient(circle at 30% 20%, rgba(52, 211, 153, 0.35) 0%, transparent 45%),
        linear-gradient(135deg, rgba(6, 78, 59, 0.55) 0%, rgba(14, 116, 144, 0.45) 100%);
}
.ph-home-offer-media--vps {
    background:
        radial-gradient(circle at 70% 25%, rgba(167, 139, 250, 0.35) 0%, transparent 45%),
        linear-gradient(135deg, rgba(76, 29, 149, 0.55) 0%, rgba(67, 56, 202, 0.45) 100%);
}
.ph-home-offer-cloud-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    transition: transform 0.35s ease;
}
.ph-home-offer-cloud-icon svg {
    width: 1.65rem;
    height: 1.65rem;
}
.ph-home-offer-card:hover .ph-home-offer-cloud-icon {
    transform: scale(1.08);
}

/* —— CTA carte (span, pas de button dans <a>) —— */
.ph-home-card-cta {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    background: #3b82f6;
    color: #fff;
    transition: background-color 0.2s ease;
}
a.game-card:hover .ph-home-card-cta,
a.game-card:focus-visible .ph-home-card-cta,
a.ph-home-offer-card:hover .ph-home-card-cta,
a.ph-home-offer-card:focus-visible .ph-home-card-cta {
    background: #2563eb;
}

.ph-home-catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #60a5fa;
    transition: color 0.2s ease, gap 0.2s ease;
}
.ph-home-catalog-link:hover {
    color: #93c5fd;
    gap: 0.65rem;
}
html.light .ph-home-catalog-link { color: #2563eb; }
html.light .ph-home-catalog-link:hover { color: #1d4ed8; }

/* —— FAQ —— */
.ph-home-faq-section {
    position: relative;
}
.ph-home-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 72rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}
html.light .ph-home-faq-section::before {
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.11), transparent);
}
.ph-home-faq-list {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.ph-home-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ph-home-faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
html.light .ph-home-faq-item {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}
html.light .ph-home-faq-item:first-child {
    border-top-color: rgba(15, 23, 42, 0.08);
}
.ph-home-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.125rem 0;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s ease;
}
.ph-home-faq-item summary::-webkit-details-marker { display: none; }
.ph-home-faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    font-size: 1.125rem;
    font-weight: 400;
    transition: transform 0.25s ease, background 0.2s ease;
}
.ph-home-faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
    background: rgba(59, 130, 246, 0.2);
}
.ph-home-faq-item summary:hover { color: #93c5fd; }
html.light .ph-home-faq-item summary:hover { color: #2563eb; }
.ph-home-faq-answer {
    padding: 0 0 1.125rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
}
html.light .ph-home-faq-answer { color: rgba(15, 23, 42, 0.62); }

/* —— Bandeau CTA —— */
.ph-home-cta-section {
    position: relative;
}
.ph-home-cta-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 2rem;
    align-items: center;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    background:
        radial-gradient(ellipse 80% 120% at 0% 0%, rgba(59, 130, 246, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(139, 92, 246, 0.12), transparent 50%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 100%);
    box-shadow: 0 24px 64px -20px rgba(59, 130, 246, 0.25);
}
.ph-home-cta-panel::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: min(320px, 55vw);
    height: min(320px, 55vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 68%);
    pointer-events: none;
}
@media (min-width: 640px) {
    .ph-home-cta-panel {
        padding: 2.5rem 2rem;
    }
}
@media (min-width: 1024px) {
    .ph-home-cta-panel {
        grid-template-columns: 1fr auto;
        gap: 2.5rem 3rem;
        padding: 2.75rem 2.75rem;
    }
}
html.light .ph-home-cta-panel {
    border-color: rgba(37, 99, 235, 0.18);
    background:
        radial-gradient(ellipse 80% 120% at 0% 0%, rgba(59, 130, 246, 0.1), transparent 55%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(139, 92, 246, 0.06), transparent 50%),
        linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 24px 64px -20px rgba(15, 23, 42, 0.08);
}
.ph-home-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1024px) {
    .ph-home-cta-content {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
}
.ph-home-cta-content h2 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ph-home-cta-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 1.25rem;
}
@media (min-width: 1024px) {
    .ph-home-cta-perks {
        justify-content: flex-start;
    }
}
.ph-home-cta-perk {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}
html.light .ph-home-cta-perk { color: rgba(15, 23, 42, 0.55); }
.ph-home-cta-perk-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
}
.ph-home-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1024px) {
    .ph-home-cta-actions {
        min-width: 15.5rem;
        margin-left: 0;
        margin-right: 0;
    }
}
.ph-home-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ph-home-cta-btn:hover {
    transform: translateY(-1px);
}
.ph-home-cta-btn--primary {
    color: #fff;
    background: #3b82f6;
    box-shadow: 0 10px 28px -8px rgba(59, 130, 246, 0.55);
}
.ph-home-cta-btn--primary:hover {
    background: #2563eb;
    box-shadow: 0 14px 32px -8px rgba(59, 130, 246, 0.65);
}
.ph-home-cta-btn--secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.ph-home-cta-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
html.light .ph-home-cta-btn--secondary {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
}
html.light .ph-home-cta-btn--secondary:hover {
    background: rgba(15, 23, 42, 0.07);
}

/* —— Stagger reveal —— */
.ph-home-stagger > * {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.ph-home-stagger.is-visible > * {
    opacity: 1;
    transform: none;
}
.ph-home-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.ph-home-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.ph-home-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.ph-home-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.ph-home-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.ph-home-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

/* —— Résumé note Trustpilot —— */
.ph-home-testimonials-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.625rem 1rem;
    margin-top: 0.25rem;
}
.ph-home-rating-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}
.ph-home-rating-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}
html.light .ph-home-rating-label { color: rgba(15, 23, 42, 0.5); }
.ph-home-rating-score {
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}
html.light .ph-home-rating-score { color: #0f172a; }
.ph-home-rating-sep {
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
}
html.light .ph-home-rating-sep { color: rgba(15, 23, 42, 0.2); }
.ph-home-testimonials-rating .review-summary-star {
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

/* —— Avis carousel —— */
.ph-home-reviews-outer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}
@media (max-width: 767px) {
    .ph-home-reviews-outer {
        grid-template-columns: minmax(0, 1fr);
    }
    .ph-home-carousel-nav {
        display: none;
    }
}
.ph-home-reviews-wrap {
    overflow: hidden;
    min-width: 0;
}
.ph-home-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}
.ph-home-carousel-slide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}
@media (min-width: 768px) {
    .ph-home-carousel-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .ph-home-carousel-slide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.ph-home-carousel-nav {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ph-home-carousel-nav:hover {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(96, 165, 250, 0.35);
}
html.light .ph-home-carousel-nav {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}
.ph-home-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.ph-home-carousel-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.28);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}
.ph-home-carousel-dot.is-active {
    width: 1.5rem;
    background: #3b82f6;
}
html.light .ph-home-carousel-dot {
    background: rgba(15, 23, 42, 0.18);
}
html.light .ph-home-carousel-dot.is-active {
    background: #2563eb;
}

.ph-home-review-card {
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.35) 100%);
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ph-home-review-card:hover {
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 16px 40px -12px rgba(59, 130, 246, 0.18);
}
html.light .ph-home-review-card {
    border-color: rgba(15, 23, 42, 0.08);
    background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
}
html.light .ph-home-review-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08);
}
.ph-home-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    min-width: 0;
}
.ph-home-review-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.ph-home-review-identity {
    min-width: 0;
}
.ph-home-review-author {
    font-weight: 700;
    font-size: 0.9375rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ph-home-review-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}
html.light .ph-home-review-meta { color: rgba(15, 23, 42, 0.55); }
.ph-home-review-verified {
    margin-left: 0.15rem;
    color: #22c55e;
}
.ph-home-review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.ph-home-review-text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    word-break: break-word;
}
html.light .ph-home-review-text { color: rgba(15, 23, 42, 0.72); }
.ph-home-review-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* —— Section infrastructure —— */
.ph-home-infra-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.12) 55%, transparent 100%);
}
html.light .ph-home-infra-section {
    background:
        linear-gradient(180deg, rgba(241, 245, 249, 0.9) 0%, rgba(248, 250, 252, 0.35) 100%);
}
.ph-home-infra-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 72rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.28), transparent);
    pointer-events: none;
}
html.light .ph-home-infra-section::before {
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.22), transparent);
}
.ph-home-infra-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .ph-home-infra-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 4rem;
    }
}
.ph-home-infra-visual {
    position: relative;
}
.ph-home-infra-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 28px 64px -24px rgba(59, 130, 246, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}
@media (min-width: 1024px) {
    .ph-home-infra-photo-wrap {
        max-width: none;
        aspect-ratio: 5 / 6;
    }
}
.ph-home-infra-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-home-infra-visual:hover .ph-home-infra-photo-wrap img {
    transform: scale(1.04);
}
.ph-home-infra-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.05) 0%, rgba(2, 6, 23, 0.15) 45%, rgba(2, 6, 23, 0.82) 100%);
    pointer-events: none;
}
.ph-home-infra-badges {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ph-home-infra-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}
.ph-home-infra-badge-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.65);
}
.ph-home-infra-copy {
    min-width: 0;
}

.ph-home-infra-copy > .ph-home-eyebrow {
    margin-bottom: 0.75rem;
    text-align: left;
}

.ph-home-infra-title {
    font-size: clamp(1.625rem, 3.2vw, 2rem);
    font-weight: 800;
    text-wrap: balance;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}
@supports (text-wrap: pretty) {
    .ph-home-infra-title { text-wrap: pretty; }
}
.ph-home-infra-lead {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    max-width: 34rem;
}
html.light .ph-home-infra-lead { color: rgba(15, 23, 42, 0.62); }
.ph-home-infra-features {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ph-home-infra-feature {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    transition: background-color 0.18s ease;
}
.ph-home-infra-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
    box-shadow: none;
}
html.light .ph-home-infra-feature {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.06);
}
html.light .ph-home-infra-feature:hover {
    background: #fff;
    border-color: rgba(59, 130, 246, 0.14);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.ph-home-infra-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
}
.ph-home-infra-icon--deploy {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}
.ph-home-infra-icon--vps {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}
html.light .ph-home-infra-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}
html.light .ph-home-infra-icon--deploy {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}
html.light .ph-home-infra-icon--vps {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}
.ph-home-infra-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.ph-home-infra-feature-body h3,
.ph-home-infra-feature-body h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.ph-home-infra-feature-body p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.48);
}
html.light .ph-home-infra-feature-body p {
    color: rgba(15, 23, 42, 0.55);
}
.ph-home-infra-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}
.ph-home-infra-link:hover,
.ph-home-infra-link:focus-visible {
    color: #93c5fd;
    gap: 0.55rem;
    outline: none;
}
html.light .ph-home-infra-link { color: #2563eb; }
html.light .ph-home-infra-link:hover,
html.light .ph-home-infra-link:focus-visible { color: #1d4ed8; }

.ph-home-infra-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.875rem 1.25rem;
    margin-top: 1.5rem;
}

.ph-home-infra-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 0.625rem;
    text-decoration: none;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ph-home-infra-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.ph-home-infra-btn--primary:hover,
.ph-home-infra-btn--primary:focus-visible {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.34);
    transform: translateY(-1px);
    outline: none;
}

html.light .ph-home-infra-btn--primary {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}
html.light .ph-home-infra-photo-wrap {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 24px 56px -20px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}
html.light .ph-home-infra-badge {
    background: rgba(255, 255, 255, 0.88);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .ph-home-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ph-home-infra-photo-wrap img {
        transition: none !important;
    }
    .ph-home-infra-visual:hover .ph-home-infra-photo-wrap img,
    .ph-home-infra-feature:hover,
    .ph-home-infra-btn--primary:hover,
    .ph-home-offer-card:hover {
        transform: none;
    }
    .ph-home-offer-card:hover .ph-home-offer-media img {
        transform: none;
    }
    .ph-home-faq-item summary::after {
        transition: none;
    }
}
