/* ==============================================
   SOCIAL MEDIA MARKETING — "Signal Amplification"
   ============================================== */

/* ---- Hero: Pulse Container ---- */
.pulse-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.pulse-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.pulse-hero__eyebrow {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
}

.pulse-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.pulse-hero__title .accent {
    color: var(--color-accent);
}

.pulse-hero__sub {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto var(--space-md) auto;
    line-height: 1.7;
}

/* ---- Concentric Pulse Rings ---- */
.pulse-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.25);
        opacity: 0.45;
    }
    70% {
        opacity: 0.08;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.pulse-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(218, 237, 26, 0.25);
    animation: pulse-ring 4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.pulse-ring:nth-child(1) { animation-delay: 0s; }
.pulse-ring:nth-child(2) { animation-delay: 1s; }
.pulse-ring:nth-child(3) { animation-delay: 2s; }
.pulse-ring:nth-child(4) { animation-delay: 3s; }

/* ---- Platform Orbit ---- */
.platform-orbit {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 5;
    animation: orbit-spin 30s linear infinite;
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.platform-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    /* Counter-rotate so icons stay upright */
    animation: orbit-counter 30s linear infinite;
    transition: box-shadow 0.3s ease;
}

@keyframes orbit-counter {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

.platform-icon svg {
    width: 22px;
    height: 22px;
}

/* Position icons at 4 compass points of the orbit circle */
.platform-icon--meta     { top: -24px; left: calc(50% - 24px); }
.platform-icon--linkedin { right: -24px; top: calc(50% - 24px); }
.platform-icon--tiktok   { bottom: -24px; left: calc(50% - 24px); }
.platform-icon--x        { left: -24px; top: calc(50% - 24px); }

.platform-icon--meta:hover     { box-shadow: 0 0 24px rgba(24, 119, 242, 0.45); }
.platform-icon--linkedin:hover { box-shadow: 0 0 24px rgba(10, 102, 194, 0.45); }
.platform-icon--tiktok:hover   { box-shadow: 0 0 24px rgba(254, 44, 85, 0.45); }
.platform-icon--x:hover        { box-shadow: 0 0 24px rgba(255, 255, 255, 0.3); }


/* ---- Platform Mastery Cards ---- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.platform-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 6px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

/* Colored left-border accent stripe */
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 14px 0 0 14px;
}

/* Meta — blue */
.platform-card--meta::before    { background: linear-gradient(180deg, #1877F2, #0d5bc4); }
.platform-card--meta:hover      { border-color: rgba(24, 119, 242, 0.35); box-shadow: 0 8px 40px rgba(24, 119, 242, 0.12); transform: translateY(-6px); }

/* LinkedIn — blue */
.platform-card--linkedin::before { background: linear-gradient(180deg, #0A66C2, #064789); }
.platform-card--linkedin:hover   { border-color: rgba(10, 102, 194, 0.35); box-shadow: 0 8px 40px rgba(10, 102, 194, 0.12); transform: translateY(-6px); }

/* TikTok — pink */
.platform-card--tiktok::before  { background: linear-gradient(180deg, #FE2C55, #c9163d); }
.platform-card--tiktok:hover    { border-color: rgba(254, 44, 85, 0.35); box-shadow: 0 8px 40px rgba(254, 44, 85, 0.12); transform: translateY(-6px); }

/* X / Twitter — white on dark */
.platform-card--x::before      { background: linear-gradient(180deg, #ffffff, #999999); }
.platform-card--x:hover         { border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 8px 40px rgba(255, 255, 255, 0.06); transform: translateY(-6px); }

.platform-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.platform-card__icon--meta     { background: rgba(24, 119, 242, 0.12); color: #1877F2; }
.platform-card__icon--linkedin { background: rgba(10, 102, 194, 0.12); color: #0A66C2; }
.platform-card__icon--tiktok   { background: rgba(254, 44, 85, 0.12);  color: #FE2C55; }
.platform-card__icon--x        { background: rgba(255, 255, 255, 0.08); color: #fff; }

.platform-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.platform-card p {
    color: var(--color-text-muted);
    font-size: 0.975rem;
    line-height: 1.65;
    margin: 0;
}


/* ---- Horizontal Timeline ---- */
.smm-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: var(--space-lg) 0 var(--space-md);
}

/* Connector line behind steps */
.smm-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.timeline-connector {
    position: absolute;
    top: 36px;
    left: 10%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), rgba(218, 237, 26, 0.3));
    z-index: 1;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-connector.active {
    width: 80%;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    max-width: 220px;
}

.timeline-step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: border-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

.timeline-step.active .timeline-step__number {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 18px rgba(218, 237, 26, 0.2);
}

.timeline-step h4 {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.timeline-step p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
    padding: 0 0.5rem;
}


/* ---- Content Engine Cards ---- */
.content-engine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.content-engine-card {
    background: linear-gradient(145deg, rgba(218, 237, 26, 0.04) 0%, rgba(218, 237, 26, 0) 50%, var(--color-bg-card) 100%);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: var(--space-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.content-engine-card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 237, 26, 0.3);
}

.content-engine-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(218, 237, 26, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.content-engine-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.content-engine-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ---- Revenue Attribution Split ---- */
.smm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.smm-split__text h2 {
    margin-bottom: var(--space-md);
}

.smm-split__text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

/* Funnel Visual */
.funnel-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.funnel-col {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: var(--space-md);
    text-align: center;
}

.funnel-col--broken {
    opacity: 0.55;
}

.funnel-col--elevi {
    border-color: rgba(218, 237, 26, 0.25);
}

.funnel-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
    color: var(--color-text-muted);
}

.funnel-col--elevi h4 {
    color: var(--color-accent);
}

.funnel-step {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--color-text);
    position: relative;
}

.funnel-step + .funnel-step::before {
    content: '↓';
    display: block;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}

.funnel-col--elevi .funnel-step + .funnel-step::before {
    color: var(--color-accent);
}

.funnel-step--unknown {
    color: #ff4444;
    font-weight: 600;
}


/* ---- FAQ Section ---- */
.smm-faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.smm-faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.smm-faq-item summary::-webkit-details-marker {
    display: none;
}

.smm-faq-item summary h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.4;
}

.smm-faq-item summary .faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.smm-faq-item[open] summary .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.smm-faq-item .faq-answer {
    padding-top: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 720px;
}


/* ---- Final CTA Banner ---- */
.smm-cta {
    text-align: center;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.smm-cta::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 237, 26, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.smm-cta h2 {
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-sm);
}

.smm-cta p {
    position: relative;
    z-index: 2;
    margin: 0 auto var(--space-md);
    max-width: 600px;
}


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .smm-split {
        grid-template-columns: 1fr;
    }

    .platform-orbit {
        width: 320px;
        height: 320px;
    }

    .pulse-ring {
        width: 420px;
        height: 420px;
    }

    .content-engine-grid {
        grid-template-columns: 1fr;
    }

    .funnel-compare {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pulse-hero {
        min-height: auto;
        padding-top: 10rem;
        padding-bottom: var(--space-lg);
    }

    .pulse-rings,
    .platform-orbit {
        display: none;
    }

    /* Timeline → vertical */
    .smm-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }

    .smm-timeline::before {
        top: 0;
        left: 23px;
        width: 2px;
        height: 100%;
    }

    .timeline-connector {
        top: 0;
        left: 23px;
        width: 2px !important;
        height: 0;
    }

    .timeline-connector.active {
        height: 100%;
        width: 2px !important;
    }

    .timeline-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: var(--space-sm);
        max-width: 100%;
    }

    .timeline-step__number {
        margin: 0;
        flex-shrink: 0;
    }

    .timeline-step p {
        padding: 0;
    }

    .platform-grid,
    .content-engine-grid {
        grid-template-columns: 1fr;
    }
}
