/* ── Pricing Page Specific Styles ── */

/* Plan grid container */
.v2-page .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 24px;
    border: 1px solid #E8E8E8;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: visible;
    position: relative;
}

/* Base plan column */
.v2-page .plan-col {
    background: #ffffff;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #E8E8E8;
    text-align: left;
}

.v2-page .plan-col:first-child {
    border-radius: 18px 0 0 18px;
}

.v2-page .plan-col:last-child {
    border-right: none;
    border-radius: 0 18px 18px 0;
}

/* Plan name */
.v2-page .plan-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

/* Plan description */
.v2-page .plan-desc {
    min-height: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.55;
}

/* Plan price */
.v2-page .plan-price {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #1A1A1A;
    min-width: 140px;
}

.v2-page .plan-price .strike {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.5em;
    margin-right: 4px;
    vertical-align: super;
}

/* Plan period */
.v2-page .plan-period {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-top: 4px;
    min-width: 140px;
}

/* Annual note */
.v2-page .plan-annual {
    background: #FFF0F4;
    color: #E8175D;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-block;
    margin: 8px 0 14px;
    width: fit-content;
    min-width: 140px;
}

/* Limits box */
.v2-page .plan-limits {
    background: #F9F9F9;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
}

.v2-page .plan-limits div {
    font-size: 12px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 5px;
}

.v2-page .plan-limits div:last-child {
    margin-bottom: 0;
}

/* Features section */
.v2-page .plan-features {
    flex: 1;
}

.v2-page .plan-features-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 10px;
}

.v2-page .plan-feature-item {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    display: flex;
    gap: 7px;
    margin-bottom: 6px;
    align-items: flex-start;
}

.v2-page .plan-feature-check {
    color: #22C55E;
    font-weight: 800;
    flex-shrink: 0;
}

/* Plan CTA buttons */
.v2-page .plan-cta {
    margin-top: 24px;
    display: block;
    width: 100%;
    border-radius: 9999px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: all 200ms;
    text-align: center;
    text-decoration: none;
}

.v2-page .plan-cta--free {
    background: #F9F9F9;
    color: #1A1A1A;
    border: 2px solid #E8E8E8;
}

.v2-page .plan-cta--dark {
    background: #1A1A1A;
    color: #ffffff;
    border: none;
}

.v2-page .plan-cta--primary {
    background: #E8175D;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(232, 23, 93, 0.35);
}

.v2-page .plan-cta--primary:hover {
    background: #C4104A;
}

/* Smart column (highlighted) */
.v2-page .plan-col--smart {
    border-top: 3px solid #E8175D;
    position: relative;
}

.v2-page .plan-col--smart .plan-name {
    color: #E8175D;
}

.v2-page .plan-col--smart .plan-desc {
    min-height: 37px;
}

.v2-page .plan-col--smart .plan-limits {
    background: #FFF0F4;
    border-color: rgba(232, 23, 93, 0.15);
}

.v2-page .plan-col--smart .plan-limits div {
    color: #E8175D;
}

/* Most popular badge */
.v2-page .most-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #22C55E;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 9999px;
    white-space: nowrap;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Enterprise column (dark) */
.v2-page .plan-col--enterprise {
    background: #111111;
}

.v2-page .plan-col--enterprise .plan-name {
    color: rgba(255, 255, 255, 0.45);
}

.v2-page .plan-col--enterprise .plan-desc {
    color: rgba(255, 255, 255, 0.5);
}

.v2-page .plan-col--enterprise .plan-price {
    color: #ffffff;
}

.v2-page .plan-col--enterprise .plan-period {
    color: rgba(255, 255, 255, 0.4);
}

.v2-page .plan-col--enterprise .plan-annual {
    background: rgba(255, 214, 0, 0.15);
    color: #FFD600;
}

.v2-page .plan-col--enterprise .plan-limits {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.v2-page .plan-col--enterprise .plan-limits div {
    color: #FFD600;
}

.v2-page .plan-col--enterprise .plan-features-label {
    color: rgba(255, 255, 255, 0.35);
}

.v2-page .plan-col--enterprise .plan-feature-item {
    color: rgba(255, 255, 255, 0.6);
}

/* Shopify Plus badge */
.v2-page .sf-plus-badge {
    font-size: 9px;
    background: rgba(34, 197, 94, 0.2);
    color: #4ADE80;
    padding: 1px 5px;
    border-radius: 9999px;
    margin-left: 2px;
}

/* Coming soon badge */
.v2-page .coming-soon-badge {
    font-size: 9px;
    color: #F59E0B;
    margin-left: 2px;
}

/* Pricing marquee heading */
.v2-page .pricing-marquee-heading {
    text-align: center;
    margin-bottom: 28px;
}

.v2-page .pricing-marquee-heading h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--t1);
}

.v2-page .pricing-marquee-heading p {
    font-size: 15px;
    font-weight: 600;
    color: var(--tm);
    margin-top: 7px;
}

/* Case studies header */
.v2-page .case-studies-header {
    text-align: center;
    margin-bottom: 44px;
}

.v2-page .case-studies-header .h1 {
    margin-bottom: 0;
}

.v2-page .case-studies-header p {
    font-size: 16px;
    font-weight: 600;
    color: var(--t2);
    margin-top: 9px;
}

.v2-page .case-link {
    color: var(--cr);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.v2-page .case-link:hover {
    text-decoration: underline;
}

/* ── PRICING RESPONSIVE ── */
@media (max-width: 1024px) {
    .v2-page .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-page .plan-col:first-child { border-radius: 18px 0 0 0; border-bottom: 1px solid #E8E8E8; }
    .v2-page .plan-col:nth-child(2) { border-radius: 0 18px 0 0; border-right: none; border-bottom: 1px solid #E8E8E8; }
    .v2-page .plan-col:nth-child(3) { border-radius: 0 0 0 18px; border-right: 1px solid #E8E8E8; }
    .v2-page .plan-col:last-child { border-radius: 0 0 18px 0; }
}

@media (max-width: 768px) {
    .v2-page .pricing-grid {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    .v2-page .plan-col,
    .v2-page .plan-col:first-child,
    .v2-page .plan-col:nth-child(2),
    .v2-page .plan-col:nth-child(3),
    .v2-page .plan-col:last-child {
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid #E8E8E8;
    }
    .v2-page .plan-col:first-child { border-radius: 18px 18px 0 0; }
    .v2-page .plan-col:last-child { border-radius: 0 0 18px 18px; border-bottom: none; }

    .v2-page .ctb { min-width: 700px; }
}
