/* === Scheduling Page - Unique Styles ===
   Shared base styles are in functionPages.css
*/

/* ===== HERO ===== */

.hero-float {
        position: absolute;
        pointer-events: none;
        z-index: 1;
    }

.hero-float.left {
            left: 4%;
            bottom: 12%;
            animation: float-left 8s ease-in-out infinite;
        }

.hero-float.right {
            right: 4%;
            top: 15%;
            animation: float-right 7s ease-in-out infinite;
        }

.float-card {
        width: 180px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 20px;
        padding: 20px;
        backdrop-filter: blur(4px);
    }

.float-card-row {
        display: flex;
        gap: 6px;
        margin-bottom: 8px;
    }

.float-card-cell {
        flex: 1;
        height: 18px;
        border-radius: 4px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.04);
    }

.float-card-cell.filled {
            background: rgba(21,93,238,.25);
            border-color: rgba(21,93,238,.3);
        }

.float-card-cell.green {
            background: rgba(22,163,74,.2);
            border-color: rgba(22,163,74,.25);
        }

.float-card-cell.amber {
            background: rgba(217,119,6,.2);
            border-color: rgba(217,119,6,.25);
        }

.float-card-header {
        display: flex;
        gap: 6px;
        margin-bottom: 12px;
    }

.float-card-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
    }

.float-card-lines {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
        justify-content: center;
    }

.float-card-line {
        height: 5px;
        border-radius: 3px;
        background: rgba(255,255,255,.08);
    }

.float-card-line.short {
            width: 60%;
        }

@media (max-width: 900px) {
        .hero-float {
            display: none;
        }
    }

/* ===== SECTIONS ===== */

/* ===== STEPS TIMELINE ===== */

@media (max-width: 768px) {
        .steps-timeline {
            grid-template-columns: 1fr;
        }

            .steps-timeline::before {
                display: none;
            }
    }

/* ===== SHOWCASE LAYOUT ===== */

@media (max-width: 900px) {
        .showcase-layout {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }

            .showcase-layout.reverse .showcase-info, .showcase-layout.reverse .showcase-visual {
                order: unset;
            }
    }

/* ===== ROSTER MOCKUP ===== */

.mockup-container {
        display: flex;
        justify-content: center;
    }

.roster-mockup {
        width: 100%;
        max-width: 480px;
        background: var(--surface);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        border: 1px solid var(--border);
    }

.roster-mockup-header {
        background: linear-gradient(135deg, #0f2044, #1a3a7a);
        padding: 18px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.roster-mockup-title {
        color: #fff;
        font-size: .9rem;
        font-weight: 600;
    }

.roster-mockup-week {
        color: rgba(255,255,255,.5);
        font-size: .78rem;
    }

.roster-mockup-nav {
        display: flex;
        gap: 6px;
    }

.roster-mockup-nav button {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,.15);
            background: rgba(255,255,255,.06);
            color: #fff;
            font-size: .75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s;
        }

.roster-mockup-nav button:hover {
                background: rgba(255,255,255,.15);
            }

.roster-mockup-body {
        padding: 16px;
    }

.roster-days-header {
        display: grid;
        grid-template-columns: 80px repeat(7, 1fr);
        gap: 4px;
        margin-bottom: 8px;
    }

.roster-day-label {
        font-size: .68rem;
        font-weight: 600;
        color: var(--text-light);
        text-align: center;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

.roster-day-label:first-child {
            text-align: left;
        }

.roster-rows {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

.roster-row {
        display: grid;
        grid-template-columns: 80px repeat(7, 1fr);
        gap: 4px;
        align-items: center;
    }

.roster-employee {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.roster-avatar {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        font-size: .6rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.roster-avatar.blue {
            background: var(--accent-light);
            color: var(--accent);
        }

.roster-avatar.green {
            background: var(--green-light);
            color: var(--green);
        }

.roster-avatar.purple {
            background: var(--purple-light);
            color: var(--purple);
        }

.roster-avatar.amber {
            background: var(--amber-light);
            color: var(--amber);
        }

.roster-name {
        font-size: .72rem;
        font-weight: 500;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.roster-shift:hover {
        transform: scale(1.06);
        box-shadow: var(--shadow-sm);
    }

.roster-shift.morning {
            background: var(--accent-light);
            color: var(--accent);
            border: 1px solid rgba(21,93,238,.15);
        }

.roster-shift.afternoon {
            background: var(--green-light);
            color: var(--green);
            border: 1px solid rgba(22,163,74,.15);
        }

.roster-shift.evening {
            background: var(--purple-light);
            color: var(--purple);
            border: 1px solid rgba(124,58,237,.15);
        }

.roster-shift.day-off {
            background: var(--surface-alt);
            color: var(--text-light);
            border: 1px solid var(--border);
            font-size: .7rem;
        }

.roster-mockup-footer {
        padding: 12px 16px;
        border-top: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.roster-footer-stats {
        display: flex;
        gap: 16px;
    }

.roster-stat {
        font-size: .72rem;
        color: var(--text-light);
    }

.roster-stat strong {
            color: var(--text);
            font-weight: 600;
        }

.roster-publish-btn {
        padding: 6px 16px;
        border-radius: 100px;
        background: var(--accent);
        color: #fff;
        border: none;
        font-size: .75rem;
        font-weight: 600;
        cursor: pointer;
        transition: all .2s;
    }

.roster-publish-btn:hover {
            background: var(--accent-dark);
            box-shadow: 0 4px 12px rgba(21,93,238,.3);
        }

/* Template Mockup */

.template-mockup {
        width: 100%;
        max-width: 400px;
        background: var(--surface);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        border: 1px solid var(--border);
    }

.template-mockup-header {
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 12px;
    }

.template-icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
    }

.template-icon-wrap svg {
            width: 20px;
            fill: var(--accent);
        }

.template-header-text h4 {
        font-size: .92rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 2px;
    }

.template-header-text span {
        font-size: .75rem;
        color: var(--text-light);
    }

.template-list {
        padding: 12px 16px;
    }

.template-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: var(--radius-sm);
        transition: all .25s;
        cursor: pointer;
        border: 1px solid transparent;
    }

.template-item:hover {
            background: var(--surface-alt);
            border-color: var(--border);
        }

.template-item.active-template {
            background: var(--accent-light);
            border-color: var(--accent);
        }

.template-color {
        width: 10px;
        height: 36px;
        border-radius: 5px;
        flex-shrink: 0;
    }

.template-color.c-blue {
            background: var(--accent);
        }

.template-color.c-green {
            background: var(--green);
        }

.template-color.c-amber {
            background: var(--amber);
        }

.template-color.c-purple {
            background: var(--purple);
        }

.template-item-info {
        flex: 1;
    }

.template-item-name {
        font-size: .85rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 2px;
    }

.template-item-meta {
        font-size: .72rem;
        color: var(--text-light);
    }

.template-item-action {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1.5px solid var(--border);
        background: var(--surface);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .2s;
    }

.template-item-action:hover {
            border-color: var(--accent);
            background: var(--accent-light);
        }

.template-item-action svg {
            width: 14px;
            fill: var(--text-light);
            transition: fill .2s;
        }

.template-item:hover .template-item-action svg {
        fill: var(--accent);
    }

.template-add {
        margin: 0 16px 16px;
        padding: 10px;
        border-radius: var(--radius-sm);
        border: 2px dashed var(--border);
        text-align: center;
        font-size: .82rem;
        font-weight: 500;
        color: var(--text-light);
        cursor: pointer;
        transition: all .25s;
    }

.template-add:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-light);
        }

/* ===== FEATURE CARDS ===== */

.features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

.feature-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 2rem;
        transition: all .3s;
        position: relative;
        overflow: hidden;
    }

.feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .35s;
        }

.feature-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

.feature-card:hover::before {
                transform: scaleX(1);
            }

.feature-card-icon {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-sm);
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
    }

.feature-card-icon svg {
            width: 24px;
            height: 24px;
            fill: var(--accent);
        }

.feature-card-icon.green-icon {
            background: var(--green-light);
        }

.feature-card-icon.green-icon svg {
                fill: var(--green);
            }

.feature-card-icon.purple-icon {
            background: var(--purple-light);
        }

.feature-card-icon.purple-icon svg {
                fill: var(--purple);
            }

.feature-card-icon.amber-icon {
            background: var(--amber-light);
        }

.feature-card-icon.amber-icon svg {
                fill: var(--amber);
            }

.feature-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: .5rem;
    }

.feature-card p {
        font-size: .92rem;
        color: var(--text-mid);
        line-height: 1.6;
    }

/* ===== BENEFITS DARK ===== */

.benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }

.benefit-card {
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: var(--radius-lg);
        padding: 2rem;
        transition: all .3s;
    }

.benefit-card:hover {
            background: rgba(255,255,255,.07);
            border-color: rgba(255,255,255,.15);
            transform: translateY(-4px);
        }

.benefit-icon {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-sm);
        background: rgba(21,93,238,.15);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
    }

.benefit-icon svg {
            width: 24px;
            fill: #7db4ff;
        }

.benefit-card h4 {
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: .5rem;
    }

.benefit-card p {
        font-size: .88rem;
        color: rgba(255,255,255,.5);
        line-height: 1.6;
    }

/* =============================================
               FAQ
            ============================================= */

.forms-faq
    {
        margin: 100px 0;
    }

.msg-faq {
        padding: 5rem 1.5rem;
        background: var(--surface-alt);
    }

.faq-list {
        max-width: 720px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 8px
    }

.faq-item {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        overflow: hidden;
        transition: border-color .25s
    }

.faq-item.open {
            border-color: var(--accent)
        }

.faq-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: none;
        border: none;
        font-family: var(--font-body);
        font-size: .95rem;
        font-weight: 600;
        color: var(--text);
        cursor: pointer;
        text-align: left;
        gap: 12px
    }

.faq-chevron {
        width: 20px;
        height: 20px;
        fill: var(--text-light);
        transition: transform .3s;
        flex-shrink: 0
    }

.faq-item.open .faq-chevron {
        transform: rotate(180deg)
    }

.faq-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease
    }

.faq-body-inner {
        padding: 0 20px 18px;
        font-size: .9rem;
        color: var(--text-mid);
        line-height: 1.7
    }

/* ===== CTA ===== */

.cta-section {
        text-align: center;
        padding: 5rem 2rem;
        background: linear-gradient(135deg, #0a1628 0%, #132347 40%, #1a3a7a 100%);
        position: relative;
        overflow: hidden;
    }

.cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 600px 300px at 50% 100%, rgba(21,93,238,.2), transparent);
        }

.cta-content {
        position: relative;
        z-index: 1;
    }

.cta-section h2 {
        font-family: var(--font-display);
        font-size: clamp(2rem, 4vw, 2.8rem);
        color: #fff;
        margin-bottom: 1rem;
    }

.cta-section p {
        color: rgba(255,255,255,.5);
        font-size: 1.05rem;
        margin-bottom: 2rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

/* ===== SCROLL REVEAL ===== */

/* ===== KEYFRAMES ===== */

/* ===== MOBILE ===== */

@media (max-width: 600px) {
        .hero {
            min-height: 70vh;
            padding: 4rem 1.5rem;
        }

        .section {
            padding: 3.5rem 1.5rem;
        }

        .features-grid {
            grid-template-columns: 1fr;
        }

        .roster-mockup {
            max-width: 100%;
        }

        .roster-days-header, .roster-row {
            grid-template-columns: 60px repeat(7, 1fr);
        }

        .roster-shift {
            font-size: .55rem;
            height: 30px;
        }

        .roster-avatar {
            width: 22px;
            height: 22px;
            font-size: .52rem;
        }

        .roster-name {
            font-size: .65rem;
        }

        .benefits-grid {
            grid-template-columns: 1fr;
        }

        .related-grid {
            grid-template-columns: 1fr;
        }
    }

/* ===== IMPROVED ROSTER DAY HEADERS ===== */

.roster-day-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

.roster-day-name {
        font-size: .62rem;
        font-weight: 600;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: .04em;
    }

.roster-day-num {
        font-size: .72rem;
        font-weight: 700;
        color: var(--text);
    }

.roster-day-label:first-child .roster-day-name,
    .roster-day-label:first-child .roster-day-num {
        display: none;
    }

.roster-day-label.published-day .roster-day-name {
        color: var(--green);
    }

.roster-day-label.published-day .roster-day-num {
        color: var(--green);
    }

.roster-shift {
        height: 36px;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: .58rem;
        font-weight: 600;
        cursor: default;
        transition: transform .2s, box-shadow .2s;
        position: relative;
        gap: 1px;
    }

.shift-time {
        font-size: .62rem;
        font-weight: 700;
        line-height: 1;
    }

.shift-label-sub {
        font-size: .52rem;
        font-weight: 400;
        opacity: .7;
        line-height: 1;
    }

.conflict-dot {
        position: absolute;
        top: 3px;
        right: 4px;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--red);
        border: 1px solid #fff;
    }

.conflict-dot.pending {
        background: var(--amber);
    }

/* ===== SIDEBAR HOURS MOCKUP ===== */

.sidebar-hours-mockup {
        width: 100%;
        max-width: 310px;
        background: var(--surface);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        border: 1px solid var(--border);
    }

.sidebar-hours-header {
        background: linear-gradient(135deg, #0f2044, #1a3a7a);
        padding: 14px 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.sidebar-hours-title {
        color: #fff;
        font-size: .85rem;
        font-weight: 600;
    }

.sidebar-hours-sub {
        color: rgba(255,255,255,.45);
        font-size: .72rem;
    }

.sidebar-search-mock {
        margin: 10px 10px 6px;
        background: var(--surface-alt);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 7px 12px;
        font-size: .75rem;
        color: var(--text-light);
    }

.sidebar-emp-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 4px 8px 12px;
    }

.sidebar-emp-card {
        border-radius: var(--radius-sm);
        padding: 7px 9px;
    }

.sidebar-emp-card.c-blue  { background: #e8efff; }

.sidebar-emp-card.c-green { background: #dcfce7; }

.sidebar-emp-card.c-purple{ background: #ede9fe; }

.sidebar-emp-card.c-amber { background: #fef3c7; }

.sidebar-emp-name {
        font-size: .78rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 5px;
    }

.sidebar-emp-hrs {
        width: 100%;
        border-collapse: collapse;
        font-size: .63rem;
        table-layout: fixed;
    }

.sidebar-emp-hrs th {
        text-align: center;
        padding: 1px 0;
        color: var(--text-light);
        font-weight: 500;
    }

.sidebar-emp-hrs td {
        text-align: center;
        padding: 2px 0;
        color: var(--text-mid);
    }

.sidebar-emp-hrs .hrs-total {
        font-weight: 700;
        color: var(--text);
        background: rgba(21,93,238,.08);
        border-radius: 3px;
    }

.sidebar-emp-hrs .hrs-zero {
        color: var(--text-light);
        opacity: .4;
    }

.sidebar-emp-hrs .hrs-warn {
        color: var(--amber);
        font-weight: 700;
    }