/* ============================================================
   Prepaid-Host — Global Design Tokens
   Single source of truth for colors, radii, shadows, spacing.
   Loaded once via layouts/homepage.blade.php.
   ============================================================ */
:root {
    /* Brand Colors */
    --ph-color-primary:       #009CFF;
    --ph-color-primary-d:     #006EC8;
    --ph-color-primary-2:     #4f7cff;
    --ph-color-primary-lt:    rgba(0, 156, 255, 0.08);
    --ph-color-primary-glow:  rgba(0, 156, 255, 0.18);

    /* Accent Colors */
    --ph-color-success:       #10b981;
    --ph-color-success-d:     #047857;
    --ph-color-warning:       #f59e0b;
    --ph-color-warning-d:     #b45309;
    --ph-color-danger:        #ef4444;
    --ph-color-danger-d:      #dc2626;
    --ph-color-purple:        #7b61ff;
    --ph-color-cyan:           #06b6d4;

    /* Neutrals */
    --ph-color-navy:          #0f1c2b;
    --ph-color-text:          #1e293b;
    --ph-color-muted:         #64748b;
    --ph-color-light:         #94a3b8;
    --ph-color-border:        #e6ecf2;
    --ph-color-border-strong: #cbd5e1;
    --ph-color-bg:            #f8fafc;
    --ph-color-bg-2:          #f6faff;
    --ph-color-white:         #ffffff;

    /* Radii */
    --ph-radius-sm:    8px;
    --ph-radius:       12px;        /* default — buttons, inputs */
    --ph-radius-card:  16px;        /* cards, panels */
    --ph-radius-pill:  50px;        /* pills, badges */

    /* Shadows */
    --ph-shadow-xs:     0 1px 2px rgba(0, 0, 0, 0.04);
    --ph-shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    --ph-shadow-card:   0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.07);
    --ph-shadow-card-hover: 0 12px 32px rgba(0, 156, 255, 0.16);
    --ph-shadow-cta:    0 6px 20px rgba(0, 156, 255, 0.18);

    /* Spacing — used for vertical rhythm between sections */
    --ph-section-py:    5rem;
    --ph-section-py-sm: 3rem;

    /* Typography */
    --ph-font-section-title: 2rem;
    --ph-font-section-sub:   0.95rem;

    /* Transitions */
    --ph-trans-fast:   0.15s ease;
    --ph-trans:        0.25s ease;
}

/* ───────────────────────────────────────────────────────────────
   Shared section utility classes (use across all product pages).
   ─────────────────────────────────────────────────────────────── */

/* Stats ribbon strip — sits just under the hero on product pages.
   Replaces .rsp-ribbon / .rs-ribbon / .nc-ribbon / .wh-ribbon / .dn-ribbon / .gc-stats-ribbon.
*/
.ph-ribbon {
    background: var(--ph-color-white);
    border-top: 1px solid var(--ph-color-border);
    border-bottom: 1px solid var(--ph-color-border);
    padding: 1.5rem 0;
}
.ph-ribbon-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
    align-items: center;
}
.ph-ribbon-item {
    padding: 0.25rem 1rem;
    border-right: 1px solid var(--ph-color-border);
}
.ph-ribbon-item:last-child { border-right: none; }
.ph-ribbon-icon {
    width: 44px; height: 44px;
    border-radius: var(--ph-radius);
    background: linear-gradient(135deg, var(--ph-color-primary-lt), rgba(0, 110, 200, 0.08));
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ph-color-primary); font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.ph-ribbon-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ph-color-navy);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}
.ph-ribbon-key {
    font-size: 0.78rem;
    color: var(--ph-color-muted);
    font-weight: 500;
}

/* ── Ribbon flex variant (icon + text/sub) — used by rootpackets/vserver/usecase ── */
.ph-ribbon-inner.ph-ribbon-inner--flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}
.ph-ribbon-inner--flex .ph-ribbon-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    border-right: none;
}
.ph-ribbon-inner--flex .ph-ribbon-icon {
    width: 44px; height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
}
.ph-ribbon-text { display: flex; flex-direction: column; line-height: 1.3; text-align: left; }
.ph-ribbon-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ph-color-navy);
}
.ph-ribbon-text span {
    font-size: 0.75rem;
    color: var(--ph-color-muted);
}

@media (max-width: 768px) {
    .ph-ribbon-inner { grid-template-columns: repeat(2, 1fr); }
    .ph-ribbon-item:nth-child(2) { border-right: none; }
    .ph-ribbon-inner--flex { gap: 1.5rem; }
}
@media (max-width: 480px) {
    .ph-ribbon-inner { grid-template-columns: 1fr; }
    .ph-ribbon-item { border-right: none; border-bottom: 1px solid var(--ph-color-border); padding-bottom: 1rem; }
    .ph-ribbon-item:last-child { border-bottom: none; }
    .ph-ribbon-inner--flex .ph-ribbon-item { border-bottom: none; padding-bottom: 0; }
}

/* Section header (badge + h2 + subtitle) — used across all sections. */
.ph-section { padding: var(--ph-section-py) 0; }
.ph-section-alt { background: var(--ph-color-bg); }

.ph-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.ph-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ph-color-primary-lt);
    border: 1px solid color-mix(in srgb, var(--ph-color-primary) 20%, transparent);
    color: var(--ph-color-primary);
    padding: 0.35rem 0.9rem;
    border-radius: var(--ph-radius-pill);
    font-size: 0.79rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}
.ph-section-title {
    font-size: var(--ph-font-section-title);
    font-weight: 800;
    color: var(--ph-color-navy);
    line-height: 1.2;
    letter-spacing: -0.018em;
    margin: 0 0 0.55rem;
}
.ph-section-sub {
    font-size: var(--ph-font-section-sub);
    color: var(--ph-color-muted);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}

/* ── Compat aliases — make legacy section-header variants render unified ── */
.section-header,
.ss-section-header, .nc-section-header, .wh-section-header,
.gl-section-header, .gc-section-header, .uc-section-header,
.s3-section-header, .dn-section-header, .rsp-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.ss-section-title, .nc-section-title, .wh-section-title,
.gl-section-title, .gc-section-title, .uc-section-title {
    font-size: var(--ph-font-section-title);
    font-weight: 800;
    color: var(--ph-color-navy);
    line-height: 1.2;
    letter-spacing: -0.018em;
    margin: 0 0 0.55rem;
}
.ss-section-sub, .nc-section-sub, .wh-section-sub,
.gl-section-sub, .gc-section-sub, .uc-section-sub {
    font-size: var(--ph-font-section-sub);
    color: var(--ph-color-muted);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}
.ss-section-badge, .nc-section-badge, .wh-section-badge,
.gl-section-badge, .gc-section-badge, .uc-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ph-color-primary-lt);
    border: 1px solid color-mix(in srgb, var(--ph-color-primary) 20%, transparent);
    color: var(--ph-color-primary);
    padding: 0.35rem 0.9rem;
    border-radius: var(--ph-radius-pill);
    font-size: 0.79rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}
.section-header > .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ph-color-primary-lt);
    border: 1px solid color-mix(in srgb, var(--ph-color-primary) 20%, transparent);
    color: var(--ph-color-primary);
    padding: 0.35rem 0.9rem;
    border-radius: var(--ph-radius-pill);
    font-size: 0.79rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}
.section-header > h2 {
    font-size: var(--ph-font-section-title);
    font-weight: 800;
    color: var(--ph-color-navy);
    line-height: 1.2;
    letter-spacing: -0.018em;
    margin: 0 0 0.55rem;
}
.section-header > p {
    font-size: var(--ph-font-section-sub);
    color: var(--ph-color-muted);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}

/* Pricing-card unified style — applies on top of any .ph-pricing-card. */
.ph-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.ph-pricing-card {
    background: var(--ph-color-white);
    border: 1.5px solid var(--ph-color-border);
    border-radius: var(--ph-radius-card);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--ph-trans), border-color var(--ph-trans), box-shadow var(--ph-trans);
}
.ph-pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--ph-color-primary);
    box-shadow: var(--ph-shadow-card-hover);
}
.ph-pricing-card.is-popular {
    border-color: var(--ph-color-primary);
    box-shadow: 0 0 0 3px var(--ph-color-primary-lt), var(--ph-shadow-card);
}
.ph-pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--ph-color-primary), var(--ph-color-primary-d));
    color: #fff;
    padding: 0.32rem 1rem;
    border-radius: var(--ph-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: var(--ph-shadow-cta);
    white-space: nowrap;
}
.ph-pricing-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ph-color-navy);
    margin: 0 0 0.4rem;
}
.ph-pricing-card-tag {
    font-size: 0.82rem;
    color: var(--ph-color-muted);
    margin: 0 0 1rem;
}
.ph-pricing-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0.25rem 0 1.1rem;
}
.ph-pricing-card-price-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ph-color-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}
.ph-pricing-card-price-currency { font-size: 1rem; font-weight: 700; color: var(--ph-color-primary); }
.ph-pricing-card-price-period { font-size: 0.85rem; font-weight: 500; color: var(--ph-color-muted); margin-left: 0.15rem; }

.ph-pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: 0.55rem;
    flex: 1;
}
.ph-pricing-card-features li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--ph-color-text);
    line-height: 1.45;
}
.ph-pricing-card-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--ph-color-success);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ph-pricing-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, var(--ph-color-primary), var(--ph-color-primary-d));
    color: #fff;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: var(--ph-radius);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--ph-shadow-cta);
    transition: transform var(--ph-trans-fast), box-shadow var(--ph-trans-fast);
}
.ph-pricing-card-cta:hover {
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 156, 255, 0.30);
}
.ph-pricing-card-cta--ghost {
    background: var(--ph-color-white);
    color: var(--ph-color-navy);
    border: 1.5px solid var(--ph-color-border);
    box-shadow: none;
}
.ph-pricing-card-cta--ghost:hover {
    border-color: var(--ph-color-primary);
    color: var(--ph-color-primary);
    box-shadow: none;
}

/* ── Compat aliases — make legacy pricing-card markup render unified prices ── */
.ss-plan-price, .nc-plan-price, .wh-plan-num {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--ph-color-primary) !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
}
.ss-plan-eur, .nc-plan-eur, .wh-plan-eur {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--ph-color-primary) !important;
}
.ss-plan-per, .nc-plan-per, .wh-plan-per {
    font-size: 0.85rem !important;
    color: var(--ph-color-muted) !important;
    font-weight: 500 !important;
}
.ss-plan-name, .nc-plan-name, .wh-plan-name {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--ph-color-navy) !important;
}

/* Breadcrumb — used in customer-panel page headers. */
.ph-breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}
.ph-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--ph-color-muted);
}
.ph-breadcrumb-item:not(:first-child)::before {
    content: '/';
    color: var(--ph-color-light);
    margin-right: 0.4rem;
    font-weight: 500;
}
.ph-breadcrumb-item a {
    color: var(--ph-color-muted);
    text-decoration: none;
    transition: color var(--ph-trans-fast);
}
.ph-breadcrumb-item a:hover {
    color: var(--ph-color-primary);
}
.ph-breadcrumb-item.is-current {
    color: var(--ph-color-navy);
    font-weight: 600;
}

/* CTA-Banner — bottom-of-page "Bereit?" boxes. */
.ph-cta-banner {
    background: linear-gradient(135deg, var(--ph-color-navy) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.ph-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 80%; height: 200%;
    background: radial-gradient(ellipse, var(--ph-color-primary-glow) 0%, transparent 60%);
    pointer-events: none;
}
.ph-cta-banner-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.ph-cta-banner-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
}
.ph-cta-banner-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin: 0 0 1.75rem;
}
.ph-cta-banner-actions {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.ph-cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--ph-color-primary), var(--ph-color-primary-d));
    color: #fff;
    padding: 0.85rem 1.6rem;
    border-radius: var(--ph-radius);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--ph-shadow-cta);
    transition: transform var(--ph-trans-fast);
}
.ph-cta-banner-btn:hover { transform: translateY(-1px); color: #fff; text-decoration: none; }
.ph-cta-banner-btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    box-shadow: none;
}
.ph-cta-banner-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
