/* ===== Plan page — subscription card design ===== */
:root {
    --dv-red: #E31E24;
    --dv-red-2: #FF2D2D;
    --dv-red-3: #B8141A;
    --dv-glow: rgba(227, 30, 36, 0.5);
    --sp-grad: linear-gradient(90deg, #E31E24 0%, #FF3B3B 45%, #C41018 100%);
    --sp-grad-v: linear-gradient(135deg, #E31E24 0%, #FF2D2D 50%, #B8141A 100%);
    --dv-glass: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(227, 30, 36, 0.1) 40%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.dv-plans {
    position: relative;
    color: #fff;
    padding-bottom: 12px;
    overflow: visible;
    isolation: isolate;
}

.dv-top {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dv-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: var(--dv-glass);
    border: 1px solid rgba(227, 30, 36, 0.55);
    box-shadow: 0 0 16px rgba(227, 30, 36, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
    font-size: 16px;
}
.dv-icon-btn:hover { color: var(--dv-red); border-color: var(--dv-red-2); }

.dv-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
}
.dv-logo strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ===== Subscription cards ===== */
.sp-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 10px 6px 8px;
}

.sp-card {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.sp-rail {
    display: block;
    height: 18px;
    margin: 0 22px;
    background: var(--sp-grad);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
}
.sp-rail--top { margin-bottom: -10px; }
.sp-rail--bottom { margin-top: -10px; }

.sp-inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 28px;
    padding: 28px 22px 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    color: #111 !important;
}
.sp-inner h3,
.sp-inner p,
.sp-inner span,
.sp-inner b,
.sp-inner li,
.sp-inner em {
    color: #111 !important;
}

.sp-head {
    text-align: center;
    margin-bottom: 18px;
}
.sp-head h3 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111 !important;
    line-height: 1.1;
}
.sp-head p {
    margin: 0;
    font-size: 13px;
    color: #333 !important;
    line-height: 1.35;
}

.sp-price {
    position: relative;
    margin: 0 -22px 22px;
    padding: 18px 28px;
    background: var(--sp-grad);
    text-align: center;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.35);
}
.sp-price::before,
.sp-price::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 0;
    height: 0;
    border-style: solid;
}
.sp-price::before {
    left: 0;
    border-width: 10px 12px 0 0;
    border-color: #8e1014 transparent transparent transparent;
}
.sp-price::after {
    right: 0;
    border-width: 10px 0 0 12px;
    border-color: #8e1014 transparent transparent transparent;
}
.sp-price,
.sp-price span {
    color: #fff !important;
}
.sp-price span {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sp-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0 4px;
}
.sp-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}
.sp-list li:last-child { border-bottom: 0; }
.sp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dv-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.15);
    flex-shrink: 0;
}
.sp-list span {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #222 !important;
    line-height: 1.35;
}
.sp-list span b {
    color: #000 !important;
    font-weight: 800;
}
.sp-ok,
.sp-no {
    font-style: normal;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}
.sp-ok { color: #16a34a !important; }
.sp-no { color: #dc2626 !important; }

.sp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    background: var(--sp-grad-v);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(227, 30, 36, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.sp-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 30px rgba(227, 30, 36, 0.5);
}

.sp-empty {
    text-align: center;
    padding: 40px 16px;
    color: rgba(255, 255, 255, 0.85);
}
.sp-empty h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}
.sp-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
}

@keyframes spFade {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.sp-card {
    animation: spFade 0.45s ease both;
}
.sp-card:nth-child(2) { animation-delay: 0.06s; }
.sp-card:nth-child(3) { animation-delay: 0.12s; }
.sp-card:nth-child(4) { animation-delay: 0.18s; }
.sp-card:nth-child(5) { animation-delay: 0.24s; }

/* Home embed */
.plan-wrap--home {
    max-width: 1200px;
    margin: 0 auto;
}
.plan-wrap--home .dv-plans { padding: 0; }
.plan-wrap--home .dv-top {
    display: none !important;
}
.plan-wrap--home .sp-grid {
    gap: 28px;
    padding: 0;
}
.plan-wrap--home .sp-card {
    max-width: 100%;
}

@media (max-width: 420px) {
    .sp-head h3 { font-size: 24px; }
    .sp-price span { font-size: 28px; }
    .sp-inner { padding: 24px 18px 22px; border-radius: 24px; }
    .sp-price { margin: 0 -18px 18px; padding: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .sp-card, .sp-btn {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

.plan-wrap { max-width: 540px; margin: 0 auto; }
.plan-card-content,
.plan-card-headline,
.plan-card-divider,
.plan-stats-grid,
.plan-stat-box,
.plan-card-tier,
.plan-card-banner,
.plan-card-foot,
.plan-card-lock { display: none; }
