/* ============ SOCIAL MEDIA SCHEDULER PAGE ============ */

:root {
    --blue: #1260d8;
    --blue-dark: #0a3f9e;
    --navy: #17233d;
    --text-body: #4b5567;
    --dark-blue: #071936;
    --border: rgb(231, 235, 241);
    --bg-soft: #f5f8fd;
    --radius: 16px;
    --shadow-card: 0 10px 30px rgba(23, 35, 61, .06);
    --shadow-card-hover: 0 20px 44px rgba(23, 35, 61, .12);
    --linkedin: #0a66c2;
    --facebook: #1877f2;
    --x-color: #17233d;
    --green: #1aa06d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1440px, calc(100% - 56px));
    margin: auto;
}

h1,
h2,
h3 {
    color: var(--navy);
    margin: 0;
}

h2 {
    font-size: 26px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.section-heading h2 {
    margin: 8px 0 12px;
}

.section-heading p {
    color: var(--text-body);
    font-size: 15.5px;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 96, 216, .28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(18, 96, 216, .36);
}

.btn-outline {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    color: var(--blue);
}

.play-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* background: var(--blue); */
    border: 1px solid #fff;
    color: #fff;
    font-size: 6px;
    flex-shrink: 0;
}

.play-circle--white {
    background: rgba(255, 255, 255, .25);
}

/* ============ HERO ============ */

.ss-hero {
    background: radial-gradient(circle at 85% 15%, rgba(18, 96, 216, .05), transparent 45%), var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 130px 0 70px;
}

.ss-hero-grid {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 48px;
    align-items: start;
}

.ss-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--blue);
    background: rgba(18, 96, 216, .08);
    padding: 7px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.ss-hero-content h1 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.ss-hero-content>p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 520px;
}

.ss-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 16px;
}

.ss-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ss-feature-list .material-symbols-outlined {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 11px;
    background: rgba(18, 96, 216, .08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.ss-feature-list strong {
    display: block;
    color: var(--navy);
    font-size: 15px;
    margin-bottom: 2px;
}

.ss-feature-list small {
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.4;
}

.ss-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ss-trust-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.avatar-group img:first-child {
    margin-left: 0;
}

.ss-trust-row small {
    display: block;
    color: var(--text-body);
    font-size: 13px;
    max-width: 220px;
}

.ss-stars {
    color: #f5a623;
    font-size: 13px;
    margin-top: 2px;
}

.ss-stars b {
    color: var(--navy);
    margin-left: 4px;
}

/* ============ APP MOCKUP ============ */

.ss-hero-visual {
    position: relative;
    margin-right: 50px;
}

.ss-app {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card-hover);
    overflow: hidden;
}

.ss-app-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.ss-app-topbar>.material-symbols-outlined {
    color: var(--blue);
    font-size: 20px;
}

.ss-app-topbar strong {
    font-size: 14px;
    color: var(--navy);
    white-space: nowrap;
}

.ss-tabs {
    display: flex;
    gap: 18px;
    margin-left: 20px;
    flex: 1;
    overflow: hidden;
}

.ss-tabs span {
    font-size: 13px;
    color: var(--text-body);
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 4px;
}

.ss-tabs span.active {
    color: var(--blue);
    font-weight: 700;
    border-bottom: 2px solid var(--blue);
}

.ss-create-btn {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.ss-cal-panel {
    padding: 18px 20px 4px;
}

.ss-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ss-panel-head strong {
    font-size: 15px;
    color: var(--navy);
}

.ss-panel-head a {
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
}

.ss-cal-range {
    color: var(--text-body);
    font-size: 12.5px;
}

.ss-cal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.ss-cal-nav button {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-body);
}

.ss-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--navy);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 4px 9px;
    border-radius: 7px;
}

.ss-chip .material-symbols-outlined {
    font-size: 15px;
}

.cal-grid {
    display: grid;
    grid-template-columns: 46px repeat(7, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.cal-corner {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cal-day {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
    padding: 8px 2px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.cal-time {
    font-size: 10.5px;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cal-cell {
    min-height: 68px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card {
    position: relative;
    width: 100%;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card small {
    position: absolute;
    left: 3px;
    bottom: 2px;
    font-size: 8px;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    padding: 1px 4px;
    border-radius: 4px;
}

.post-card.platform-chart {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.mini-chart-post {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 32px;
    padding: 0 8px;
}

.mini-chart-post i {
    display: block;
    width: 6px;
    border-radius: 2px 2px 0 0;
    background: rgba(255, 255, 255, .85);
}

.mini-chart-post i:nth-child(1) {
    height: 40%;
}

.mini-chart-post i:nth-child(2) {
    height: 70%;
}

.mini-chart-post i:nth-child(3) {
    height: 55%;
}

.mini-chart-post i:nth-child(4) {
    height: 95%;
}

.post-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
}

.post-badge .material-symbols-outlined {
    font-size: 12px;
}

.post-badge svg {
    width: 9px;
    height: 9px;
    display: block;
}

.badge-linkedin {
    background: var(--linkedin);
}

.badge-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.badge-facebook {
    background: var(--facebook);
}

.badge-x {
    background: var(--x-color);
}

/* upcoming posts / analytics get their badge inline (not absolute) */
.upcoming-row .post-badge {
    width: 80px !important;
    margin-top: 10px;
}

.upcoming-row .post-badge,
.sample-meta .post-badge {
    position: static;
    width: 26px;

    height: 26px;
    font-size: 12px;
}

.upcoming-row .post-badge svg,
.sample-meta .post-badge svg {
    width: 12px;
    height: 12px;
}

.sample-meta .post-badge .material-symbols-outlined {
    font-size: 14px;
}

.ss-lower-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    border-top: 1px solid var(--border);
}

.ss-lower-grid .ss-panel {
    padding: 18px 20px;
}

.ss-lower-grid .ss-panel:first-child {
    border-right: 1px solid var(--border);
}

.upcoming-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.upcoming-row:last-child {
    border-bottom: none;
}

.upcoming-row p {
    font-size: 12.5px;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 4px;
}

.upcoming-row small {
    font-size: 11px;
    color: var(--text-body);
}

.ss-tag-scheduled {
    margin-left: auto;
    align-self: center;
    background: #e8f8ee;
    color: var(--green);
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.analytics-stats>div {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 10px 12px;
}

.analytics-stats small {
    display: block;
    font-size: 10.5px;
    color: var(--text-body);
    margin-bottom: 4px;
}

.analytics-stats strong {
    display: block;
    font-size: 17px;
    color: var(--navy);
}

.analytics-stats em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
}

.analytics-chart {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 14px 12px 10px;
}

.analytics-line {
    height: 70px;
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(18, 96, 216, .18), rgba(18, 96, 216, 0) 70%),
        repeating-linear-gradient(100deg, transparent 0 18px, rgba(18, 96, 216, .35) 18px 20px);
    background-size: 100% 100%, 100% 2px;
    background-position: 0 0, 0 55%;
    background-repeat: no-repeat, no-repeat;
    position: relative;
}

.analytics-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.analytics-axis span {
    font-size: 10px;
    color: var(--text-body);
}

/* ============ SEE IT IN ACTION ============ */

.action-section {
    padding: 80px 0;
}

.action-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 44px;
}

.action-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.action-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: 100% 30%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: var(--blue);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.action-content h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.action-content>p {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.action-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.action-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--navy);
}

.action-list .material-symbols-outlined {
    color: var(--green);
    font-size: 20px;
}

.action-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.book-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
}

/* ============ BENEFIT STRIP ============ */

.benefits-strip-section {
    padding: 70px 0;
    padding-top: 0;
}

.benefits-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit-box .material-symbols-outlined {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(18, 96, 216, .08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.benefit-box strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 4px;
}

.benefit-box small {
    color: var(--text-body);
    font-size: 13.5px;
    line-height: 1.5;
}

/* ============ SAMPLE CONTENT ============ */

.sample-section {
    padding: 80px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.sample-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.sample-head h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.sample-head p {
    color: var(--text-body);
    font-size: 15px;
}

.carousel-arrows {
    display: flex;
    gap: 10px;
}

.carousel-arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sample-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sample-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
}

.sample-meta small {
    margin-left: auto;
    color: var(--text-body);
    font-weight: 500;
}

.sample-card>p {
    font-size: 12.5px;
    color: var(--text-body);
    line-height: 1.5;
    min-height: 56px;
}

.sample-graphic {
    border-radius: 12px;
    padding: 18px 14px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}

.sample-graphic strong {
    font-size: 14.5px;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
}

.sample-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    opacity: .5;
}

.sample-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.2;
    opacity: .9;
}

.sample-brand .material-symbols-outlined {
    font-size: 14px;
}

.sample-graphic--1 {
    background: linear-gradient(135deg, var(--blue), var(--navy));
}

.sample-graphic--2 {
    background: linear-gradient(135deg, #dd2a7b, #8134af);
}

.sample-graphic--3 {
    background: linear-gradient(135deg, #0f766e, #134e4a);
}

.sample-graphic--4 {
    background: linear-gradient(135deg, var(--navy), #0a0f1c);
}

.sample-graphic--5 {
    background: linear-gradient(135deg, #d99a1b, #b0530f);
}

/* ============ CTA ============ */

.ss-cta-section {
    padding: 50px 0;
}

.ss-cta-box {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: var(--radius);
    padding: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
}

.ss-cta-box h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #fff;
}

.ss-cta-box p {
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
}

.ss-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ss-cta-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

.ss-cta-buttons .btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
    .ss-hero-grid {
        grid-template-columns: 1fr;
    }

    .action-box {
        grid-template-columns: 1fr;
    }

    .benefits-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .sample-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ss-lower-grid {
        grid-template-columns: 1fr;
    }

    .ss-lower-grid .ss-panel:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .ss-hero-visual {
        margin: 0;
        max-width: 90%;
    }

    .upcoming-row .post-badge {
        width: 26px !important;
    }

    .ss-hero-visual {
        display: none;
    }

}

@media (max-width: 700px) {
    .ss-hero {
        padding-bottom: 60px;
    }

    .ss-hero-content h1 {
        font-size: 30px;
    }

    .benefits-strip {
        grid-template-columns: 1fr;
    }

    .sample-grid {
        grid-template-columns: 1fr;
    }

    .cal-grid {
        grid-template-columns: 34px repeat(7, 60px);
        overflow-x: auto;
    }

    .action-box {
        padding: 30px;
        gap: 20px;
    }

    .action-video {
        height: 300px;
    }

    .ss-cta-box {
        padding: 30px;
    }

    .sample-head {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .sample-section {
        padding: 50px 0;
    }

    .ss-hero {
        padding-top: 60px;
    }
}

.ss-cta-buttons .btn-primary {
    background: #fff;
    color: var(--dark-blue);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

/* ================= BREADCRUMB ================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0 0;
    font-size: 14px;
    color: #8792a3;
}

.breadcrumb .material-symbols-outlined {
    font-size: 18px;
}

.breadcrumb a {
    color: #8792a3;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb b {
    font-weight: 400;
    opacity: .6;
}

.breadcrumb span:last-child {
    color: var(--navy);
    font-weight: 500;
}