/* ===== PS PLUS PREVIEW (homepage) ===== */
.psplus-preview {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px 48px;
}
.psplus-preview-inner {}
.psplus-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}
.psplus-preview-title {
    font-size: 26px;
    font-weight: 800;
}
.psplus-preview-title span {
    background: linear-gradient(135deg, #0070d8, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.psplus-preview-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}
.psplus-preview-link {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    transition: opacity 0.2s;
}
.psplus-preview-link:hover { opacity: 0.7; }
.psplus-preview-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.psplus-preview-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.psplus-preview-card:hover {
    border-color: var(--tier-color, var(--border-light));
    background: rgba(255,255,255,0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.psplus-preview-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.psplus-preview-name {
    font-size: 15px;
    font-weight: 700;
    flex: 1;
}
.psplus-preview-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .psplus-preview { padding: 24px 16px 32px; }
    .psplus-preview-header { flex-direction: column; align-items: flex-start; margin-bottom: 14px; }
    .psplus-preview-title { font-size: 20px; }
    .psplus-preview-subtitle { font-size: 13px; }
    .psplus-preview-tiers { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .psplus-preview-card { padding: 14px; gap: 10px; }
    .psplus-preview-name { font-size: 13px; }
    .psplus-preview-price { font-size: 12px; }
}


/* ==========================================================
   PS PLUS FULL PAGE
   ========================================================== */
.psp {
    position: relative;
    min-height: calc(100vh - 64px);
    padding: 48px 0 60px;
    overflow: hidden;
    background: #07070c;
}

/* Ambient glow */
.psp-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.psp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}
.psp-glow--1 {
    width: 500px; height: 500px;
    top: -120px; left: -80px;
    background: radial-gradient(circle, rgba(0,112,216,0.5), transparent 70%);
}
.psp-glow--2 {
    width: 400px; height: 400px;
    bottom: -80px; right: -60px;
    background: radial-gradient(circle, rgba(109,40,217,0.4), transparent 70%);
}

.psp-container {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Head */
.psp-head {
    text-align: center;
    margin-bottom: 32px;
}
.psp-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(0,112,216,0.12);
    border: 1px solid rgba(59,158,255,0.18);
    margin-bottom: 14px;
}
.psp-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}
.psp-title span {
    background: linear-gradient(135deg, #0070d8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.psp-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Tier cards row */
.psp-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}
.psp-tier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
    color: var(--text);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.psp-tier-card:hover {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}
.psp-tier-card.active {
    border-color: var(--tc);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 20px color-mix(in srgb, var(--tc) 25%, transparent);
}
.psp-tier-icon {
    font-size: 18px;
    line-height: 1;
    opacity: 0.5;
}
.psp-tier-card.active .psp-tier-icon { opacity: 1; }
.psp-tier-label {
    font-size: 15px;
    font-weight: 700;
}
.psp-tier-from {
    font-size: 12px;
    color: var(--text-muted);
}

/* Panel */
.psp-panel {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(16px);
}
.psp-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.psp-panel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.psp-panel-name {
    font-size: 18px;
    font-weight: 700;
}

/* Two-column row inside panel */
.psp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.psp-col {}

.psp-section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

/* Regions */
.psp-regions {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.psp-region {
    flex: 1;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}
.psp-region:hover { border-color: rgba(255,255,255,0.2); }
.psp-region.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Durations */
.psp-durations {
    display: flex;
    gap: 8px;
}
.psp-dur {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 14px 8px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}
.psp-dur:hover {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
}
.psp-dur.active {
    border-color: var(--accent);
    background: rgba(0,112,216,0.1);
    box-shadow: 0 0 10px rgba(0,112,216,0.15);
}
.psp-dur-period {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}
.psp-dur.active .psp-dur-period { color: #fff; }
.psp-dur-price {
    font-size: 16px;
    font-weight: 800;
}
.psp-dur-old {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Fields */
.psp-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.psp-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.psp-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,112,216,0.1);
}
.psp-input::placeholder { color: var(--text-muted); }

/* Buy button */
.psp-buy {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0070d8, #6d28d9);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.psp-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,112,216,0.35);
}
.psp-buy:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.psp-buy-price {
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    font-size: 14px;
    font-weight: 800;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .psp { padding: 32px 0 48px; }
    .psp-container { padding: 0 16px; }
    .psp-head { margin-bottom: 24px; }
    .psp-tiers { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 20px; }
    .psp-tier-card { padding: 14px 10px; }
    .psp-panel { padding: 20px; border-radius: 16px; }
    .psp-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .psp { padding: 24px 0 36px; }
    .psp-head { margin-bottom: 18px; }
    .psp-badge { font-size: 11px; padding: 4px 12px; margin-bottom: 10px; }
    .psp-desc { font-size: 13px; }
    .psp-tiers { gap: 6px; margin-bottom: 16px; }
    .psp-tier-card { padding: 12px 8px; border-radius: 12px; }
    .psp-tier-label { font-size: 13px; }
    .psp-tier-from { font-size: 11px; }
    .psp-panel { padding: 16px; border-radius: 14px; }
    .psp-panel-head { margin-bottom: 16px; padding-bottom: 12px; }
    .psp-panel-name { font-size: 16px; }
    .psp-durations { flex-wrap: wrap; }
    .psp-dur { flex: 1 1 calc(50% - 4px); }
    .psp-input { padding: 10px 12px; font-size: 13px; }
    .psp-buy { padding: 13px; font-size: 14px; }
}
