/* ===========================================================
   SOVIRAL — Service Page Styles
   Extends the Sogrow design system (style.css)
   Reuses pricing/card patterns from soscale.css
   =========================================================== */

/* ============================================================
   HERO — VIRAL VIDEO GROWTH
   ============================================================ */
#soviral-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem var(--space-md) var(--space-lg);
    overflow: hidden;
}

.soviral-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    background: radial-gradient(ellipse at center, rgba(5, 5, 5, .75) 0%, rgba(5, 5, 5, .45) 55%, transparent 80%);
    padding: var(--space-lg) var(--space-xl);
    border-radius: 32px;
}

.soviral-badge {
    display: inline-block;
    padding: .45rem 1.4rem;
    border-radius: 100px;
    border: 1px solid var(--clr-red);
    background: rgba(232, 16, 46, .1);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--clr-red-light);
    margin-bottom: var(--space-sm);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 16, 46, .3);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(232, 16, 46, .15);
    }
}

.soviral-headline {
    font-family: var(--ff-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.9),
        0 4px 40px rgba(0, 0, 0, 0.7);
}

.soviral-headline em {
    font-style: italic;
    color: var(--clr-red-light);
    text-shadow:
        0 2px 20px rgba(232, 16, 46, 0.5),
        0 4px 40px rgba(232, 16, 46, 0.3);
}

.soviral-subtitle {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    margin-bottom: var(--space-md);
    text-shadow:
        0 1px 6px rgba(0, 0, 0, 1),
        0 2px 16px rgba(0, 0, 0, .9),
        0 4px 30px rgba(0, 0, 0, .7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.soviral-guarantees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex-wrap: nowrap;
}

/* --- Liquid Glass Guarantee Pills --- */
#soviral-hero .guarantee-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem .5rem .7rem;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .02em;

    /* Liquid glass core */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, .1) 0%,
            rgba(255, 255, 255, .04) 50%,
            rgba(255, 255, 255, .08) 100%);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);

    /* Glass edge / border */
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, .18),
        inset 0 -1px 0 0 rgba(255, 255, 255, .04),
        0 2px 12px rgba(0, 0, 0, .3),
        0 1px 3px rgba(0, 0, 0, .2);

    text-shadow:
        0 1px 4px rgba(0, 0, 0, .8);

    transition: background .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

#soviral-hero .guarantee-item:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, .14) 0%,
            rgba(255, 255, 255, .07) 50%,
            rgba(255, 255, 255, .12) 100%);
    border-color: rgba(255, 255, 255, .25);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, .25),
        inset 0 -1px 0 0 rgba(255, 255, 255, .06),
        0 4px 20px rgba(0, 0, 0, .35),
        0 0 30px rgba(232, 16, 46, .08);
}

/* Small check icon inside glass pill */
#soviral-hero .check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(180deg, var(--clr-bg-secondary) 0%, var(--clr-bg) 100%);
}

.hiw-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    color: var(--clr-text);
    margin-bottom: var(--space-xs);
}

.section-title em {
    font-style: italic;
    color: var(--clr-red-light);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
}

.hiw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.hiw-step {
    flex: 1;
    max-width: 280px;
    padding: var(--space-md);
    border-radius: 20px;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    text-align: center;
    transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

.hiw-step.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), border-color .4s var(--ease-out);
}

.hiw-step:hover {
    border-color: rgba(232, 16, 46, .3);
    transform: translateY(-4px);
}

.step-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(232, 16, 46, .06);
    border: 1px solid rgba(232, 16, 46, .15);
}

.step-icon {
    width: 40px;
    height: 40px;
}

.step-title {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: .4rem;
}

.step-desc {
    font-size: .85rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    padding-top: 2.5rem;
}

.hiw-arrow svg {
    width: 24px;
    height: 24px;
    opacity: .4;
}

/* ============================================================
   STATS BAR (reuse from soscale)
   ============================================================ */
#stats-bar {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--clr-bg-secondary) 0%, var(--clr-surface) 100%);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-lg) var(--space-md);
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--space-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: inline;
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--clr-red-light);
    line-height: 1;
    text-shadow: 0 0 30px rgba(232, 16, 46, .3);
}

.stat-plus {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--clr-red-light);
    text-shadow: 0 0 30px rgba(232, 16, 46, .3);
}

.stat-label {
    display: block;
    font-size: .82rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    letter-spacing: .03em;
    margin-top: .3rem;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
#pricing {
    padding: var(--space-xl) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-section-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    color: var(--clr-text);
    margin-bottom: var(--space-xs);
}

.pricing-section-title em {
    font-style: italic;
    color: var(--clr-red-light);
}

.pricing-section-subtitle {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    margin-bottom: var(--space-lg);
}

.pricing-grid--three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: start;
    text-align: left;
}

/* --- Card base --- */
.pricing-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: cardReveal .8s var(--ease-out) forwards;
}

.pricing-card:nth-child(1) {
    animation-delay: .15s;
}

.pricing-card:nth-child(2) {
    animation-delay: .3s;
}

.pricing-card:nth-child(3) {
    animation-delay: .45s;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card glow on hover */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 50% 0%, rgba(232, 16, 46, .06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .5s var(--ease-out);
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    border-color: rgba(232, 16, 46, .25);
    transition: border-color .5s var(--ease-out);
}

.card-inner {
    padding: var(--space-lg) var(--space-md);
}

/* --- Featured card (Growth — Most Popular) --- */
.pricing-card--featured {
    border-color: rgba(232, 16, 46, .3);
    background: linear-gradient(170deg, #111 0%, #0d0608 100%);
}

.pricing-card--featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-red), var(--clr-red-light), var(--clr-red), transparent);
    animation: eliteShimmer 4s ease-in-out infinite;
}

@keyframes eliteShimmer {

    0%,
    100% {
        opacity: .5;
    }

    50% {
        opacity: 1;
    }
}

/* --- Badge --- */
.card-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-red);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .4rem 1.4rem;
    border-radius: 0 0 10px 10px;
    z-index: 5;
    box-shadow: 0 4px 16px rgba(232, 16, 46, .45);
    animation: badgeGlow 2.5s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes badgeGlow {

    0%,
    100% {
        box-shadow:
            0 4px 16px rgba(232, 16, 46, .4),
            0 0 0 0 rgba(232, 16, 46, .3);
    }

    50% {
        box-shadow:
            0 6px 24px rgba(232, 16, 46, .55),
            0 0 20px 4px rgba(232, 16, 46, .15);
    }
}

/* --- Plan content --- */
.plan-name {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: .3rem;
}

.plan-tagline {
    font-size: .9rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    margin-bottom: var(--space-sm);
}

/* --- Price block --- */
.price-block {
    text-align: center;
    padding: var(--space-md);
    border-radius: 14px;
    background: var(--clr-surface-hover);
    border: 1px solid var(--clr-border);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.price-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(232, 16, 46, .08) 0%, transparent 70%);
}

.price-block--featured {
    background: linear-gradient(135deg, rgba(232, 16, 46, .08) 0%, rgba(180, 13, 36, .04) 100%);
    border-color: rgba(232, 16, 46, .2);
}

.price-amount {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--clr-text);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.price-period {
    display: block;
    font-size: .88rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    margin-top: .2rem;
    position: relative;
    z-index: 1;
}

/* --- Features --- */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-sm) 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .85rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    padding: .45rem 0;
    line-height: 1.5;
    transition: color .3s var(--ease-out);
}

.features-list li:hover {
    color: var(--clr-text);
}

.feat-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================================
   PLAN BUTTONS — Match SoScale button styles
   ============================================================ */
.plan-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-md);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, .08) 40%,
            rgba(255, 255, 255, .2) 50%,
            rgba(255, 255, 255, .08) 60%,
            transparent 100%);
    transition: none;
    pointer-events: none;
}

.plan-btn:hover .btn-shine {
    animation: btnSweep .7s ease-out forwards;
}

@keyframes btnSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* --- Primary button (Starter & Scale) --- */
.plan-btn--primary {
    background: linear-gradient(135deg, #8b0a1e 0%, #2a060b 50%, #8b0a1e 100%);
    background-size: 200% 200%;
    color: #fff;
    border: 1px solid rgba(232, 16, 46, .25);
}

.plan-btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--clr-red);
    box-shadow:
        0 8px 30px rgba(232, 16, 46, .35),
        0 0 60px rgba(232, 16, 46, .15),
        inset 0 0 20px rgba(232, 16, 46, .06);
    animation: primaryBtnGlow 2s ease-in-out infinite alternate;
}

@keyframes primaryBtnGlow {
    0% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 30px rgba(232, 16, 46, .35),
            0 0 60px rgba(232, 16, 46, .15),
            inset 0 0 20px rgba(232, 16, 46, .06);
    }

    100% {
        background-position: 100% 50%;
        box-shadow:
            0 12px 35px rgba(232, 16, 46, .4),
            0 0 80px rgba(232, 16, 46, .18),
            inset 0 0 25px rgba(232, 16, 46, .1);
    }
}

.plan-btn--primary:active {
    transform: translateY(-1px) scale(1);
}

/* --- Elite / Featured button (Growth) --- */
.plan-btn--elite {
    background: linear-gradient(135deg, var(--clr-red-dark) 0%, #1a0508 50%, var(--clr-red-dark) 100%);
    background-size: 200% 200%;
    color: #fff;
    border: 1px solid rgba(232, 16, 46, .3);
}

.plan-btn--elite:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(232, 16, 46, .4),
        0 0 80px rgba(232, 16, 46, .15),
        inset 0 0 30px rgba(232, 16, 46, .08);
    border-color: var(--clr-red-light);
    animation: eliteBtnGlow 2s ease-in-out infinite alternate;
}

.plan-btn--elite:active {
    transform: translateY(-1px) scale(1);
}

@keyframes eliteBtnGlow {
    0% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 30px rgba(232, 16, 46, .4),
            0 0 80px rgba(232, 16, 46, .15),
            inset 0 0 30px rgba(232, 16, 46, .08);
    }

    100% {
        background-position: 100% 50%;
        box-shadow:
            0 12px 40px rgba(232, 16, 46, .5),
            0 0 100px rgba(232, 16, 46, .2),
            inset 0 0 40px rgba(232, 16, 46, .12);
    }
}

/* --- Plan footer --- */
.plan-footer {
    text-align: center;
    font-size: .75rem;
    color: var(--clr-text-dim);
    margin-top: var(--space-xs);
    letter-spacing: .03em;
}

/* ============================================================
   48-HOUR GUARANTEE BAR
   ============================================================ */
#guarantee-bar {
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(135deg, var(--clr-bg-secondary) 0%, var(--clr-surface) 100%);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.guarantee-bar-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.guarantee-bar-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.guarantee-bar-title {
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-xs);
}

.guarantee-bar-desc {
    font-size: .9rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    line-height: 1.65;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq {
    padding: var(--space-xl) var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.faq-inner {
    text-align: center;
}

.faq-list {
    text-align: left;
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.faq-item {
    border: 1px solid var(--clr-border);
    border-radius: 14px;
    background: var(--clr-surface);
    overflow: hidden;
    transition: border-color .3s var(--ease-out);
}

.faq-item[open] {
    border-color: rgba(232, 16, 46, .25);
}

.faq-question {
    padding: 1.1rem 1.3rem;
    font-family: var(--ff-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--clr-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color .3s var(--ease-out);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--clr-red-light);
    flex-shrink: 0;
    transition: transform .3s var(--ease-out);
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-question:hover {
    color: var(--clr-red-light);
}

.faq-answer {
    padding: 0 1.3rem 1.1rem;
    font-size: .88rem;
    color: var(--clr-text-muted);
    font-weight: 300;
    line-height: 1.7;
}

div.faq-answer p {
    margin: 0 0 .6rem 0;
}

div.faq-answer p:last-child {
    margin-bottom: 0;
}

div.faq-answer strong {
    color: var(--clr-text);
    font-weight: 600;
}

div.faq-answer em {
    font-style: italic;
    opacity: .7;
}

div.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 .6rem 0;
}

div.faq-answer ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: .4rem;
}

div.faq-answer ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--clr-red-light);
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .pricing-grid--three {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hiw-steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .hiw-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .hiw-step {
        max-width: 400px;
        width: 100%;
    }

    .stats-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-lg);
    }

    .soviral-guarantees {
        flex-wrap: wrap;
        gap: .4rem;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    #soviral-hero {
        padding-top: 6rem;
        padding-bottom: var(--space-md);
        min-height: 60vh;
    }

    .soviral-hero-content {
        padding: var(--space-md) var(--space-sm);
    }

    .soviral-headline {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .soviral-subtitle {
        font-size: .9rem;
    }

    .soviral-guarantees {
        flex-wrap: wrap;
        gap: .35rem;
        justify-content: center;
    }

    #soviral-hero .guarantee-item {
        font-size: .68rem;
        padding: .4rem .7rem .4rem .55rem;
    }

    .card-inner {
        padding: var(--space-md) var(--space-sm);
    }

    .card-badge {
        font-size: .58rem;
        padding: .35rem 1.1rem;
    }

    /* Stats bar */
    .stat-number {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .stat-label {
        font-size: .72rem;
    }

    /* Pricing section */
    .pricing-section-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    /* How it works */
    .hiw-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hiw-step {
        padding: 1.2rem;
    }

    .hiw-number {
        font-size: 2rem;
    }

    .hiw-heading {
        font-size: 1rem;
    }

    /* Plan buttons — larger touch targets */
    .plan-btn {
        padding: 1rem 1.5rem;
        font-size: .82rem;
    }
}

@media (max-width: 400px) {
    .soviral-headline {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }

    #soviral-hero .guarantee-item {
        font-size: .62rem;
        padding: .35rem .6rem .35rem .5rem;
    }

    .hiw-step {
        padding: 1rem;
    }
}