/* HM changes: SocialBee page redesign */

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
.landing-page.hm-sb {
    --hm-sb-yellow:       #f3c500;
    --hm-sb-yellow-dark:  #d4a900;
    --hm-sb-dark:         #212533;
    --hm-sb-dark-sec:     #2c3147;
    --hm-sb-light-bg:     #f8fafc;
    --hm-sb-border:       #e2e8f0;
    --hm-sb-muted:        #64748b;
    --hm-sb-text:         #334155;
    --hm-sb-white:        #ffffff;
    --hm-sb-green:        #22c55e;

    font-family: inherit;
    color: var(--hm-sb-text);
    overflow-x: hidden;
}

/* ── Reset WHMCS main-body padding ── */
.landing-page.hm-sb ~ * { }
section#main-body:has(.landing-page.hm-sb) {
    padding: 0 !important;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-hero {
    background: var(--hm-sb-dark);
    background-image:
        linear-gradient(rgba(243,197,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243,197,0,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 48px 0 0;
    overflow: hidden;
}

.landing-page.hm-sb .hm-sb-hero-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.landing-page.hm-sb .hm-sb-hero-left {
    flex: 1 1 0;
    min-width: 0;
    padding-bottom: 64px;
}

/* ═══════════════════════════════════════════
   HERO LEFT
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-hero-left h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--hm-sb-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.landing-page.hm-sb .hm-sb-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.landing-page.hm-sb .hm-sb-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 36px;
}

.landing-page.hm-sb .hm-sb-hero-trust span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
}

.landing-page.hm-sb .hm-sb-hero-trust i {
    color: var(--hm-sb-yellow);
    font-size: 0.9rem;
}

.landing-page.hm-sb .hm-sb-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero right: screenshot */
.landing-page.hm-sb .hm-sb-hero-right {
    flex: 0 0 520px;
    max-width: 520px;
    position: relative;
}

.landing-page.hm-sb .hm-sb-hero-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hm-sb-yellow);
    color: var(--hm-sb-dark) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(243,197,0,0.35);
}

.landing-page.hm-sb .hm-sb-btn-primary:hover {
    background: var(--hm-sb-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(243,197,0,0.45);
}

.landing-page.hm-sb .hm-sb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--hm-sb-white) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.3);
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color 0.2s, background 0.2s;
}

.landing-page.hm-sb .hm-sb-btn-outline:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
}

.landing-page.hm-sb .hm-sb-btn-yellow {
    display: inline-flex;
    align-items: center;
    background: var(--hm-sb-yellow);
    color: var(--hm-sb-dark) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(243,197,0,0.3);
}

.landing-page.hm-sb .hm-sb-btn-yellow:hover {
    background: var(--hm-sb-yellow-dark);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-section {
    padding: 80px 0;
}

.landing-page.hm-sb .hm-sb-bg-light {
    background: var(--hm-sb-light-bg);
}

.landing-page.hm-sb .hm-sb-bg-dark {
    background: var(--hm-sb-dark);
    background-image:
        linear-gradient(rgba(243,197,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243,197,0,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.landing-page.hm-sb .hm-sb-section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--hm-sb-dark);
    margin-bottom: 12px;
    line-height: 1.25;
}

.landing-page.hm-sb .hm-sb-section-sub {
    font-size: 1.05rem;
    color: var(--hm-sb-muted);
    max-width: 580px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SPLIT LAYOUT
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-split {
    display: flex;
    align-items: center;
    gap: 72px;
}

.landing-page.hm-sb .hm-sb-split-reverse {
    flex-direction: row-reverse;
}

.landing-page.hm-sb .hm-sb-split-text {
    flex: 1 1 0;
    min-width: 0;
}

.landing-page.hm-sb .hm-sb-split-text h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 800;
    color: var(--hm-sb-dark);
    margin-bottom: 18px;
    line-height: 1.25;
    position: relative;
    padding-top: 22px;
}

.landing-page.hm-sb .hm-sb-split-text h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 4px;
    background: var(--hm-sb-yellow);
    border-radius: 2px;
}

.landing-page.hm-sb .hm-sb-split-text p {
    color: var(--hm-sb-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.landing-page.hm-sb .hm-sb-split-text .hm-sb-btn-yellow {
    margin-top: 10px;
}

.landing-page.hm-sb .hm-sb-split-img {
    flex: 0 0 480px;
    max-width: 480px;
    position: relative;
}

.landing-page.hm-sb .hm-sb-split-img::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(243,197,0,0.16), rgba(243,197,0,0.04));
    z-index: 0;
}

.landing-page.hm-sb .hm-sb-split-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════
   FEATURE TABS
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-tab-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.landing-page.hm-sb .hm-sb-tab-btn {
    background: #fff;
    border: 1.5px solid var(--hm-sb-border);
    color: var(--hm-sb-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none !important;
    box-shadow: none !important;
}

.landing-page.hm-sb .hm-sb-tab-btn:hover {
    border-color: var(--hm-sb-yellow);
    color: var(--hm-sb-dark);
}

.landing-page.hm-sb .hm-sb-tab-btn.active {
    background: var(--hm-sb-yellow);
    border-color: var(--hm-sb-yellow);
    color: var(--hm-sb-dark);
    box-shadow: 0 4px 14px rgba(243,197,0,0.3) !important;
}

/* Feature items grid */
.landing-page.hm-sb .hm-sb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.landing-page.hm-sb .hm-sb-feature-item {
    background: #fff;
    border: 1px solid var(--hm-sb-border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.landing-page.hm-sb .hm-sb-feature-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.landing-page.hm-sb .hm-sb-feature-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.landing-page.hm-sb .hm-sb-feature-item p {
    color: var(--hm-sb-text);
    line-height: 1.6;
    margin: 0;
}

.landing-page.hm-sb .hm-sb-features-cta {
    text-align: center;
    margin-top: 8px;
}

/* Hidden feature blocks */
.landing-page.hm-sb .hm-sb-features-grid.hidden {
    display: none !important;
}

/* ═══════════════════════════════════════════
   PRICING TABLE
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-pricing-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--hm-sb-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.landing-page.hm-sb .hm-sb-pricing-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

/* Header row */
.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-header {
    background: var(--hm-sb-dark);
}

.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-header th {
    padding: 20px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hm-sb-white);
    text-align: center;
    border: none;
}

.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-header th:first-child {
    text-align: left;
    background: var(--hm-sb-yellow);
    color: var(--hm-sb-dark);
    border-radius: 16px 0 0 0;
}

.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-header th:last-child {
    border-radius: 0 16px 0 0;
}

/* Body rows */
.landing-page.hm-sb .hm-sb-pricing-table tbody tr {
    border-bottom: 1px solid var(--hm-sb-border);
    transition: background 0.15s;
}

.landing-page.hm-sb .hm-sb-pricing-table tbody tr:last-child {
    border-bottom: none;
}

.landing-page.hm-sb .hm-sb-pricing-table tbody tr:hover {
    background: #fffdf0;
}

.landing-page.hm-sb .hm-sb-pricing-table td {
    padding: 12px 18px;
    font-size: 0.88rem;
    color: var(--hm-sb-text);
    text-align: center;
    border: none;
}

.landing-page.hm-sb .hm-sb-pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--hm-sb-dark);
}

/* Price row */
.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-price td {
    background: #fffdf0;
    padding: 16px 18px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hm-sb-dark);
}

/* Get started row */
.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-cta td {
    padding: 16px 18px 20px;
}

.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-cta button,
.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-cta .btn {
    background: var(--hm-sb-yellow) !important;
    color: var(--hm-sb-dark) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 10px rgba(243,197,0,0.3) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    display: inline-block !important;
}

.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-cta button:hover,
.landing-page.hm-sb .hm-sb-pricing-table .hm-sb-pt-cta .btn:hover {
    background: var(--hm-sb-yellow-dark) !important;
    transform: translateY(-1px);
}

/* Check / cross icons */
.landing-page.hm-sb .hm-sb-pricing-table .pricing-table__icon--check {
    color: #16a34a;
    font-weight: 700;
    font-size: 1rem;
}

.landing-page.hm-sb .hm-sb-pricing-table .pricing-table__icon--cross {
    color: #ef4444;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════ */
.landing-page.hm-sb .hm-sb-faq-header {
    margin-bottom: 36px;
}

.landing-page.hm-sb .hm-sb-faq-header h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--hm-sb-dark);
    margin-bottom: 10px;
    position: relative;
    padding-top: 22px;
}

.landing-page.hm-sb .hm-sb-faq-header h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 4px;
    background: var(--hm-sb-yellow);
    border-radius: 2px;
}

.landing-page.hm-sb .hm-sb-faq-header p {
    color: var(--hm-sb-muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.landing-page.hm-sb .hm-sb-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-page.hm-sb .hm-sb-accordion .tab {
    position: static;
    max-height: none;
    background: #fff;
    border: 1px solid var(--hm-sb-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0;
}

.landing-page.hm-sb .hm-sb-accordion .tab:has(input:checked) {
    border-color: var(--hm-sb-yellow);
    box-shadow: 0 4px 16px rgba(243,197,0,0.15);
    max-height: none;
}

.landing-page.hm-sb .hm-sb-accordion .tab input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Remove focus border on label */
.landing-page.hm-sb .hm-sb-accordion .tab__label,
.landing-page.hm-sb .hm-sb-accordion .tab__label:focus,
.landing-page.hm-sb .hm-sb-accordion .tab__label:focus-within,
.landing-page.hm-sb .hm-sb-accordion .tab__label:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--hm-sb-dark);
    transition: background 0.2s;
    user-select: none;
}

.landing-page.hm-sb .hm-sb-accordion .tab:has(input:checked) .tab__label {
    background: #fffdf0;
    color: var(--hm-sb-dark);
}

.landing-page.hm-sb .hm-sb-accordion .tab__label::after {
    content: '\276F';
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hm-sb-light-bg);
    border-radius: 50%;
    font-size: 0.7rem;
    color: var(--hm-sb-muted);
    flex-shrink: 0;
    transform: rotate(90deg);
    transition: transform 0.3s, background 0.2s;
}

.landing-page.hm-sb .hm-sb-accordion .tab input:checked + .tab__label::after {
    transform: rotate(270deg);
    background: var(--hm-sb-yellow);
    color: var(--hm-sb-dark);
}

.landing-page.hm-sb .hm-sb-accordion .tab__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    padding: 0 20px;
}

.landing-page.hm-sb .hm-sb-accordion .tab input:checked ~ .tab__content {
    max-height: 600px;
    padding: 16px 20px 20px;
}

.landing-page.hm-sb .hm-sb-accordion .tab__content p {
    font-size: 0.93rem;
    color: var(--hm-sb-muted);
    line-height: 1.75;
    margin: 0 0 10px;
}

.landing-page.hm-sb .hm-sb-accordion .tab__content ul {
    padding-left: 20px;
    margin: 8px 0;
    list-style: disc;
}

.landing-page.hm-sb .hm-sb-accordion .tab__content ul li {
    font-size: 0.9rem;
    color: var(--hm-sb-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.landing-page.hm-sb .hm-sb-accordion .tab__content .faq__nested-list {
    list-style: circle;
    padding-left: 24px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .landing-page.hm-sb .hm-sb-hero-right {
        flex: 0 0 380px;
        max-width: 380px;
    }

    .landing-page.hm-sb .hm-sb-split-img {
        flex: 0 0 360px;
        max-width: 360px;
    }
}

@media (max-width: 900px) {
    .landing-page.hm-sb .hm-sb-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .landing-page.hm-sb .hm-sb-hero-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        align-self: stretch;
    }

    .landing-page.hm-sb .hm-sb-hero-right img {
        border-radius: 12px 12px 0 0;
        margin: 0 auto;
        max-width: 480px;
    }

    .landing-page.hm-sb .hm-sb-split,
    .landing-page.hm-sb .hm-sb-split-reverse {
        flex-direction: column;
        gap: 40px;
    }

    .landing-page.hm-sb .hm-sb-split-img {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .landing-page.hm-sb .hm-sb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .landing-page.hm-sb .hm-sb-section {
        padding: 56px 0;
    }

    .landing-page.hm-sb .hm-sb-hero {
        padding: 56px 0 0;
    }

    .landing-page.hm-sb .hm-sb-tab-nav {
        gap: 6px;
    }

    .landing-page.hm-sb .hm-sb-tab-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .landing-page.hm-sb .hm-sb-features-grid {
        grid-template-columns: 1fr;
    }

    .landing-page.hm-sb .hm-sb-hero-left h1 {
        font-size: 1.75rem;
    }
}

/* HM changes end */
