/* ---- Phone mockup (mobile app) ---- */
.feature-page .feature-mock-app {
    max-width: 300px;
    border: 8px solid var(--h-navy);
    border-radius: 34px;
    background: var(--h-gray-50);
    padding: var(--h-space-4);
}

/* Speaker bar of the phone frame */
.feature-page .feature-mock-app::before {
    content: '';
    display: block;
    width: 56px;
    height: 5px;
    border-radius: 999px;
    background: var(--h-border-color-light);
    margin: 0 auto var(--h-space-3);
}

.feature-page .feature-mock-app-push {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: var(--h-space-3);
    box-shadow: 0 8px 20px -12px rgba(11, 31, 58, .35);
}

.feature-page .feature-mock-app-push-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--h-blue-myhr);
    color: var(--h-white);
    font-size: 16px;
    font-style: normal;
}

.feature-page .feature-mock-app-push-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feature-page .feature-mock-app-push-body strong {
    font-size: 11px;
    color: var(--h-navy);
}

.feature-page .feature-mock-app-push-body span {
    font-size: 11px;
    color: var(--h-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-page .feature-mock-app-push-time {
    margin-left: auto;
    font-size: 10px;
    color: var(--h-text-muted);
    flex-shrink: 0;
}

.feature-page .feature-mock-app-clock {
    background: linear-gradient(135deg, var(--h-blue-myhr), #7bb7e6);
    color: var(--h-white);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-mock-app-clock-time {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -1px;
}

.feature-page .feature-mock-app-clock-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    opacity: 0.9;
    margin-top: var(--h-space-1);
}

.feature-page .feature-mock-app-clock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--h-white);
    color: var(--h-blue-myhr);
    border-radius: 999px;
    padding: 8px 16px;
    margin-top: var(--h-space-3);
    font-size: 12px;
    font-weight: 700;
}

.feature-page .feature-mock-app-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--h-space-2);
}

.feature-page .feature-mock-app-tile {
    display: flex;
    flex-direction: column;
    gap: var(--h-space-1);
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: 12px;
    padding: var(--h-space-3) 10px;
}

.feature-page .feature-mock-app-tile .icon {
    font-size: 18px;
    color: var(--h-blue-myhr);
}

.feature-page .feature-mock-app-tile span {
    font-size: 11px;
    font-weight: 600;
    color: var(--h-navy);
    line-height: 1.2;
}

/* Phone hero uses narrower mockup column */
.feature-page .feature-section.feature-hero.feature-hero-app {
    grid-template-columns: 1.3fr 1fr;
}

@media (max-width: 991px) {
    .feature-page .feature-section.feature-hero.feature-hero-app {
        grid-template-columns: 1fr;
    }
}

/* The grid aligns full-width with the hero and the benefit band on this page */
.feature-page .feature-section.feature-knowledge {
    padding: 0;
}

/* ---- A day in the pocket (interactive timeline) ---- */
.feature-page .feature-section.feature-appday {
    background: var(--h-navy);
    border-radius: var(--h-border-radius-lg);
    padding: 56px 44px;
    color: var(--h-white);
}

.feature-page .feature-appday-intro {
    max-width: 58rem;
    margin-bottom: 40px;
}

.feature-page .feature-appday-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7bb7e6;
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-appday-intro h2 {
    color: var(--h-white);
}

.feature-page .feature-appday-intro p {
    color: rgba(255, 255, 255, .75);
}

.feature-page .feature-appday-stage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    align-items: center;
}

.feature-page .feature-appday-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-page .feature-appday-step {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    transition: background .2s ease;
}

.feature-page .feature-appday-step.is-active {
    background: rgba(255, 255, 255, .13);
}

.feature-page .feature-appday-step-btn {
    display: flex;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: 0;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.feature-page .feature-appday-step-time {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 15px;
    color: #7bb7e6;
    flex-shrink: 0;
}

.feature-page .feature-appday-step-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--h-white);
}

.feature-page .feature-appday-step-text {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
    margin-top: 2px;
}

.feature-page .feature-appday-step-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: var(--h-blue-myhr);
}

.feature-page .feature-appday-step.is-active .feature-appday-step-progress.is-running {
    animation: feature-appday-progress linear forwards;
}

@keyframes feature-appday-progress {
    from { width: 0; }
    to { width: 100%; }
}

.feature-page .feature-appday-phone {
    height: 100%;
}

/* The phone frame needs its own ring to stand out of the navy panel */
.feature-page .feature-appday-phone .feature-mock-app {
    height: 100%;
    border-color: #0a1c38;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 32px 64px -24px rgba(0, 0, 0, .5);
}

.feature-page .feature-appday-screen {
    display: none;
}

.feature-page .feature-appday-screen.is-active {
    display: block;
    animation: feature-appday-screen .25s ease;
}

@keyframes feature-appday-screen {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* ---- Screen: lock + push ---- */
.feature-page .feature-appday-lock {
    text-align: center;
    padding: 14px 0 20px;
    color: var(--h-navy);
}

.feature-page .feature-appday-lock-time {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -1px;
}

.feature-page .feature-appday-lock-date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--h-text-muted);
    margin-top: var(--h-space-1);
}

/* ---- Screen: punch confirmation ---- */
.feature-page .feature-appday-ok {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(13, 148, 136, .1);
    color: var(--h-teal);
    border-radius: 12px;
    padding: 10px;
    margin-top: var(--h-space-3);
    font-size: 12.5px;
    font-weight: 600;
}

.feature-page .feature-appday-ok .icon {
    font-size: 16px;
}

/* ---- Screen: team punch ---- */
.feature-page .feature-appday-panel-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--h-navy);
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-appday-team {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-page .feature-appday-team-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: 12px;
    padding: 8px 10px;
}

.feature-page .feature-appday-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #dcebfa;
    color: var(--h-blue-myhr);
    font-size: 10px;
    font-weight: 700;
}

.feature-page .feature-appday-team-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--h-navy);
}

.feature-page .feature-appday-team-row .icon {
    margin-left: auto;
    color: var(--h-teal);
    font-size: 16px;
}

.feature-page .feature-appday-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--h-blue-myhr);
    color: var(--h-white);
    border-radius: 999px;
    padding: 9px 16px;
    margin-top: var(--h-space-3);
    font-size: 12px;
    font-weight: 700;
}

/* ---- Screen: time off ---- */
.feature-page .feature-appday-leave {
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: 12px;
    padding: 12px;
}

.feature-page .feature-appday-leave-dates {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--h-navy);
}

.feature-page .feature-appday-leave-type {
    font-size: 11.5px;
    color: var(--h-text-muted);
    margin-top: 2px;
}

.feature-page .feature-appday-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(13, 148, 136, .1);
    color: var(--h-teal);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 8px;
}

.feature-page .feature-appday-badge .icon {
    font-size: 14px;
}

.feature-page .feature-appday-leave-meta {
    font-size: 11px;
    color: var(--h-text-muted);
    text-align: center;
    margin-top: 8px;
}

.feature-page .feature-appday-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: 12px;
    padding: 10px;
    margin-top: var(--h-space-2);
    font-size: 12px;
    font-weight: 600;
    color: var(--h-navy);
}

.feature-page .feature-appday-balance .icon {
    color: var(--h-blue-myhr);
    font-size: 16px;
}

/* ---- Screen: Pixie chat ---- */
.feature-page .feature-appday-chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-appday-chat-head i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--h-blue-myhr), #7bb7e6);
    color: var(--h-white);
    font-size: 14px;
    font-style: normal;
}

.feature-page .feature-appday-chat-head span {
    font-weight: 700;
    font-size: 13px;
    color: var(--h-navy);
}

.feature-page .feature-appday-bubble {
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 12.5px;
    line-height: 1.5;
    max-width: 92%;
}

.feature-page .feature-appday-bubble.is-user {
    background: var(--h-blue-myhr);
    color: var(--h-white);
    margin-left: auto;
    margin-bottom: 8px;
    border-bottom-right-radius: 4px;
}

.feature-page .feature-appday-bubble.is-pixie {
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    color: var(--h-navy);
    border-bottom-left-radius: 4px;
}

@media (max-width: 991px) {
    .feature-page .feature-section.feature-appday {
        padding: 36px 28px;
    }

    .feature-page .feature-appday-stage {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-page .feature-appday-screen.is-active {
        animation: none;
    }

    .feature-page .feature-appday-step-progress {
        display: none;
    }
}

/* ---- Linked feature cards ---- */
.feature-page a.feature-knowledge-card {
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.feature-page a.feature-knowledge-card:hover {
    border-color: var(--h-blue-myhr);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -16px rgba(11, 31, 58, .25);
    text-decoration: none;
}

.feature-page .feature-knowledge-card-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--h-blue-myhr);
}

/* ---- Benefit band ---- */
.feature-page .feature-section.feature-benefitband {
    background: #eaf2fb;
    border-radius: var(--h-border-radius-lg);
    padding: 26px 44px;
}

.feature-page .feature-benefitband-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.feature-page .feature-benefitband-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-page .feature-benefitband-list .icon {
    font-size: 22px;
    color: var(--h-blue-myhr);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-page .feature-benefitband-list strong {
    display: block;
    font-size: 14.5px;
    color: var(--h-navy);
}

.feature-page .feature-benefitband-list div > span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: var(--h-text-muted);
    margin-top: 2px;
}

@media (max-width: 991px) {
    .feature-page .feature-section.feature-benefitband {
        padding: 24px 28px;
    }

    .feature-page .feature-benefitband-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
