/* ==========================================================================
   dissolveX HRMS - Enterprise Mobile Workforce Platform Stylesheet
   ========================================================================== */

:root {
    --primary: #0b2b20;
    --primary-hover: #123d2f;
    --primary-green: #15803d;
    --emerald-dark: #0f2d22;
    --emerald-accent: #2e7d32;
    --emerald-light: #dcfce7;
    --mint-bg: #eaf6f0;
    --mint-glow: rgba(16, 185, 129, 0.20);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-light: rgba(15, 57, 43, 0.08);
    --border-em: rgba(16, 185, 129, 0.22);
    --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    background-color: var(--mint-bg);
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--mint-bg);
    background-image: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.20) 0%, rgba(230, 247, 240, 0.75) 45%, #eaf6f0 80%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, #0b2b20 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.5px;
    padding-right: 4px;
}

/* -------------------------------------------------------------
   Hero Showcase Section ("HRMS in your pocket")
   ------------------------------------------------------------- */
.mf-hero-showcase-section {
    position: relative;
    padding: 124px 0 76px;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.mf-hero-container {
    display: grid;
    grid-template-columns: 1.15fr auto 200px;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Left Column: Content & Action Badges --- */
.mf-hero-showcase-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mf-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--primary-green);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.mf-hero-title {
    font-family: var(--font-sans);
    font-size: 2.85rem;
    font-weight: 850;
    color: #0c2017;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin: 0 0 14px 0;
}

.mf-hero-title .serif-italic {
    font-size: 3.5rem;
    display: block;
    margin-top: -4px;
}

.mf-hero-subtitle {
    font-size: 0.96rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 0 24px 0;
}

/* Hero Action Buttons */
.mf-hero-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.mf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f2d22;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(15, 45, 34, 0.22);
    transition: box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    transform: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .mf-btn-primary:hover {
        background: #174233;
        box-shadow: 0 6px 18px rgba(15, 45, 34, 0.25);
        color: #ffffff;
        transform: none !important;
    }
}

.mf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0f2d22;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(15, 45, 34, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .mf-btn-outline:hover {
        border-color: #0f2d22;
        box-shadow: 0 4px 12px rgba(15, 45, 34, 0.08);
        color: #0f2d22;
    }
}

/* Store Download Badges */
.mf-store-badges-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mf-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #000000;
    color: #ffffff;
    border-radius: 10px;
    padding: 7px 15px 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .mf-store-btn:hover {
        background: #1a1a1a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
        color: #ffffff;
    }
}

.mf-store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mf-store-btn-sub {
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 0.85;
    font-weight: 600;
    line-height: 1;
}

.mf-store-btn-main {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.15;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.2px;
}

/* --- Center Column: 3D Angled iPhone Mockup --- */
.mf-hero-showcase-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.phone-glow-halo {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(220, 252, 231, 0.5) 45%, rgba(244, 250, 247, 0) 72%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.iphone-mockup-frame {
    width: 290px;
    height: 580px;
    background: #0d1712;
    border-radius: 46px;
    padding: 9px;
    box-shadow: 0 24px 50px -10px rgba(11, 43, 32, 0.22), 0 10px 24px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.22), inset 0 0 0 3px #1a2a20;
    position: relative;
    transform: none !important;
    z-index: 1;
}

.iphone-notch-bar {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.iphone-dynamic-island {
    width: 72px;
    height: 18px;
    background: #000000;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.iphone-camera-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #111a2e;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.iphone-screen-content {
    background: #f8fafc;
    border-radius: 36px;
    padding: 10px 10px 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Phone Status Bar */
.iphone-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f172a;
    padding: 0 6px 4px;
    margin-top: 1px;
}

.iphone-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.iphone-battery-icon {
    width: 16px;
    height: 8px;
    border: 1.2px solid currentColor;
    border-radius: 2.5px;
    padding: 1px;
    display: flex;
    align-items: center;
}

.iphone-battery-level {
    width: 75%;
    height: 100%;
    background: currentColor;
    border-radius: 1px;
}

/* User Greeting Header */
.iphone-user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 2px 8px;
}

.iphone-user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iphone-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    border: 1.2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-user-avatar svg {
    width: 16px;
    height: 16px;
}

.iphone-user-names {
    display: flex;
    flex-direction: column;
}

.iphone-user-greeting {
    font-size: 0.62rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.iphone-user-fullname {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.iphone-notif-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15, 57, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.iphone-notif-btn svg {
    width: 14px;
    height: 14px;
}

.iphone-notif-bubble {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.52rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
}

/* Today's Work Time Card */
.iphone-worktime-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 10px 8px;
    border: 1px solid rgba(15, 57, 43, 0.08);
    box-shadow: 0 3px 12px rgba(11, 43, 32, 0.05);
    text-align: center;
    margin-bottom: 8px;
}

.iphone-worktime-label {
    font-size: 0.66rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px;
}

.iphone-worktime-digits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 1.22rem;
    font-weight: 800;
    color: #0b2b20;
    font-family: monospace, var(--font-sans);
    margin-bottom: 6px;
}

.iphone-time-unit {
    background: #f1f5f9;
    padding: 2px 5px;
    border-radius: 6px;
    min-width: 30px;
    border: 1px solid rgba(15, 57, 43, 0.05);
    font-size: 1.1rem;
}

.iphone-time-sep {
    color: #64748b;
    font-weight: 800;
    font-size: 1rem;
}

.iphone-progress-track {
    height: 3.5px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 6px;
}

.iphone-progress-fill {
    height: 100%;
    width: 45%;
    background: #22c55e;
    border-radius: 9999px;
}

.iphone-shift-hours {
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.iphone-checkout-btn {
    width: 100%;
    background: #cb3a31;
    color: #ffffff;
    border: none;
    padding: 8px 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: default;
    box-shadow: 0 3px 10px rgba(203, 58, 49, 0.25);
}

/* 2x2 Feature Quick Cards */
.iphone-grid-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: auto;
}

.iphone-card-btn {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 4px;
    border: 1px solid rgba(15, 57, 43, 0.06);
    box-shadow: 0 2px 6px rgba(11, 43, 32, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: default;
}

.iphone-card-icon {
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-card-icon svg {
    width: 15px;
    height: 15px;
}

.iphone-card-btn span {
    font-size: 0.68rem;
    font-weight: 700;
    color: #334155;
}

/* Phone Bottom Nav Bar */
.iphone-bottom-nav {
    background: #ffffff;
    border-radius: 14px;
    padding: 5px 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid rgba(15, 57, 43, 0.06);
    box-shadow: 0 -2px 8px rgba(11, 43, 32, 0.04);
    margin-top: 6px;
}

.iphone-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #94a3b8;
    font-size: 0.54rem;
    font-weight: 600;
    cursor: default;
}

.iphone-nav-tab svg {
    width: 15px;
    height: 15px;
}

.iphone-nav-tab.active {
    color: #15803d;
    font-weight: 700;
}

.iphone-home-indicator {
    width: 75px;
    height: 3px;
    background: #0f172a;
    border-radius: 999px;
    margin: 6px auto 0;
    opacity: 0.7;
}

/* --- Right Column: QR Code Card & Hand-drawn Doodles --- */
.mf-hero-showcase-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.mobile-doodle-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.doodle-sparks {
    display: flex;
    justify-content: center;
    margin-bottom: -2px;
}

.doodle-text {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e4a35;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-align: center;
}

.doodle-arrow-top {
    margin-top: 2px;
    transform: rotate(-5deg);
}

.mobile-qr-floating-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 14px;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 12px 30px rgba(15, 45, 34, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 175px;
}

.qr-code-frame {
    background: #f8fafc;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-qr-image {
    width: 105px;
    height: 105px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.qr-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    letter-spacing: -0.2px;
}

.qr-card-desc {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
}

.mobile-doodle-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.doodle-arrow-bottom {
    margin-bottom: 2px;
    transform: rotate(5deg);
}

/* -------------------------------------------------------------
   Shared Section Styling ("For employees" & "For managers")
   ------------------------------------------------------------- */
.mf-section {
    padding: 84px 0 92px;
    position: relative;
    background: transparent;
}

.mf-managers-section {
    background: rgba(234, 246, 240, 0.45);
    border-top: 1px solid rgba(16, 185, 129, 0.12);
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.mf-section-header {
    margin-bottom: 48px;
    text-align: left;
}

.mf-section-title {
    font-size: 2.5rem;
    font-weight: 850;
    color: #0c2017;
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 10px;
}

.mf-section-title .serif-italic {
    font-size: 2.9rem;
    color: var(--primary-green);
    margin-left: 4px;
}

.mf-section-sub {
    font-size: 0.96rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 700px;
}

/* --- Card Grids --- */
.mf-emp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.mf-mgr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Feature Card */
.mf-feature-card {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 20px;
    padding: 24px 20px 0;
    box-shadow: 0 10px 30px rgba(15, 45, 34, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.mf-feature-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mf-card-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #dcfce7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.mf-feature-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.mf-feature-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

/* Phone Stage in Cards */
.mf-phone-preview-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 10px;
}

.mf-card-phone-frame {
    width: 100%;
    max-width: 220px;
    height: 320px;
    background: #0f172a;
    border-radius: 28px 28px 0 0;
    padding: 6px 6px 0;
    box-shadow: 0 -4px 20px rgba(15, 45, 34, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.mf-phone-screen-inner {
    background: #f8fafc;
    border-radius: 22px 22px 0 0;
    padding: 8px 8px 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mf-phone-notch-mini {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
}

.mf-notch-dot {
    width: 44px;
    height: 10px;
    background: #000000;
    border-radius: 8px;
}

.mf-mock-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #475569;
    padding: 0 4px 4px;
}

.mf-mock-screen-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 4px 0 8px;
}

/* Card 1: Time Log Box */
.mf-mock-timelog-box {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mf-mock-weather-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.mf-mock-timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    font-family: monospace;
    margin-bottom: 6px;
}

.mf-timer-num {
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 4px;
}

.mf-timer-unit {
    font-size: 0.58rem;
    color: #64748b;
    margin-left: 2px;
}

.mf-mock-progress-track {
    height: 3px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 6px;
}

.mf-mock-progress-bar {
    width: 48%;
    height: 100%;
    background: #22c55e;
}

.mf-mock-shift-text {
    font-size: 0.54rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.mf-mock-checkin-btn {
    width: 100%;
    background: #16a34a;
    color: #ffffff;
    border: none;
    padding: 6px 0;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: default;
}

/* Card 2: Leave View */
.mf-mock-date-range {
    font-size: 0.54rem;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 99px;
    margin-bottom: 8px;
}

.mf-mock-leave-item {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.mf-mock-leave-badge {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    line-height: 1;
}

.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-blue   { background: #e0e7ff; color: #3730a3; }

.mf-mock-leave-details {
    flex: 1;
    text-align: left;
}

.mf-mock-leave-details h4 {
    font-size: 0.68rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.mf-mock-leave-details span {
    font-size: 0.54rem;
    color: #64748b;
}

.mf-mock-pill {
    font-size: 0.54rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
}

.pill-approved { background: #dcfce7; color: #15803d; }
.pill-pending  { background: #fef3c7; color: #b45309; }

/* Card 3: Payslip */
.mf-mock-payslip-net-box {
    background: #0f2d22;
    color: #ffffff;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    margin-bottom: 8px;
}

.mf-net-label {
    font-size: 0.52rem;
    letter-spacing: 0.4px;
    opacity: 0.8;
    font-weight: 600;
}

.mf-net-amount {
    font-size: 0.98rem;
    font-weight: 800;
    color: #34d399;
}

.mf-net-sub {
    font-size: 0.52rem;
    opacity: 0.75;
}

.mf-mock-payslip-breakdown {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mf-payslip-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    color: #475569;
}

.mf-payslip-row strong {
    color: #0f172a;
}

.text-deduction {
    color: #dc2626 !important;
}

/* Card 4: Directory / Profile */
.mf-mock-profile-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 10px 8px;
    text-align: center;
}

.mf-mock-avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0f2d22;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}

.mf-mock-profile-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.mf-mock-profile-role {
    font-size: 0.56rem;
    color: #64748b;
    margin-bottom: 6px;
}

.mf-mock-online-pill {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.56rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    margin-bottom: 8px;
}

.mf-mock-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mf-mock-btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #334155;
    cursor: default;
}

/* Manager Card 1: Leave Request */
.mf-mock-approval-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 10px 8px;
}

.mf-approval-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.mf-user-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mf-user-name-bold {
    font-size: 0.74rem;
    font-weight: 800;
    color: #0f172a;
}

.mf-user-role-sub {
    font-size: 0.54rem;
    color: #64748b;
}

.mf-approval-leave-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 10px;
    text-align: left;
}

.mf-approval-leave-pill strong {
    font-size: 0.64rem;
    color: #0f172a;
    display: block;
}

.mf-approval-leave-pill span {
    font-size: 0.54rem;
    color: #64748b;
}

.mf-approval-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mf-btn-approve {
    background: #16a34a;
    color: #ffffff;
    border: none;
    padding: 6px 0;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: default;
}

.mf-btn-reject {
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 6px 0;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: default;
}

/* Manager Card 2: Team Overview */
.mf-mock-team-count {
    font-size: 0.62rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 6px;
}

.mf-mock-team-count strong {
    color: #0f172a;
}

.mf-mock-stats-list {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mf-team-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #475569;
    padding: 2px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mf-team-stat-row:last-child {
    border-bottom: none;
}

.text-green { color: #16a34a !important; }
.text-red   { color: #dc2626 !important; }

/* Manager Card 3: Kiosk */
.mf-mock-kiosk-frame {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 14px 8px;
    text-align: center;
}

.mf-kiosk-camera-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 2px dashed #10b981;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mf-kiosk-check-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.mf-kiosk-success-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.mf-kiosk-success-desc {
    font-size: 0.58rem;
    color: #64748b;
    margin: 0;
}

/* -------------------------------------------------------------
   Enterprise Architecture & Tech Specs Grid
   ------------------------------------------------------------- */
.mf-specs-section {
    background: transparent;
    padding: 84px 0 96px;
    border-top: 1px solid rgba(16, 185, 129, 0.12);
}

.mf-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mf-spec-item {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 16px rgba(15, 45, 34, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    transform: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .mf-spec-item:hover {
        transform: none !important;
        box-shadow: 0 6px 20px rgba(15, 45, 34, 0.06);
        border-color: rgba(16, 185, 129, 0.32);
    }
}

.mf-spec-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #dcfce7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.mf-spec-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
}

.mf-spec-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* -------------------------------------------------------------
   Responsive Breakpoints (Desktop, Tablet, Mobile)
   ------------------------------------------------------------- */
@media (max-width: 1100px) and (min-width: 961px) {
    .mf-hero-container {
        grid-template-columns: 1.1fr auto 175px;
        gap: 20px;
        padding: 0 20px;
    }

    .mf-hero-title {
        font-size: 2.4rem;
    }

    .mf-hero-title .serif-italic {
        font-size: 2.95rem;
    }

    .mf-emp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mf-mgr-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .mf-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 960px) {
    .mf-hero-showcase-section {
        padding: 100px 0 56px;
    }

    .mf-hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 16px;
        text-align: center;
        width: 100%;
    }

    .mf-hero-showcase-left {
        display: contents;
    }

    .mf-badge-pill {
        order: 1;
        margin: 0 auto 12px;
    }

    .mf-hero-title {
        order: 2;
        font-size: 2.2rem;
        letter-spacing: -0.8px;
        margin: 0 0 10px 0;
        text-align: center;
    }

    .mf-hero-title .serif-italic {
        font-size: 2.7rem;
        display: block;
        margin-top: -3px;
    }

    .mf-hero-subtitle {
        order: 3;
        margin: 0 auto 16px;
        font-size: 0.92rem;
        line-height: 1.55;
        max-width: 460px;
        text-align: center;
    }

    .mf-hero-actions-row {
        order: 4;
        justify-content: center;
        margin: 0 auto 12px;
    }

    .mf-hero-showcase-center {
        order: 5;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 6px 0;
        margin: 8px auto;
    }

    .iphone-mockup-frame {
        transform: none !important;
        width: 260px;
        height: 520px;
        margin: 0 auto;
    }

    .phone-glow-halo {
        width: 320px;
        height: 320px;
    }

    .mf-store-badges-row {
        order: 6;
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin: 8px auto 0;
        width: 100%;
    }

    .mf-hero-showcase-right {
        order: 7;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        margin-top: 12px;
    }

    .mobile-doodle-top {
        display: none;
    }

    .mobile-qr-floating-card {
        max-width: 190px;
        padding: 16px 14px;
    }

    .mobile-doodle-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mobile-doodle-bottom .doodle-arrow-bottom {
        display: none;
    }

    .mobile-doodle-bottom .doodle-text {
        font-size: 1.35rem;
    }

    /* Grids on Tablet */
    .mf-emp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mf-mgr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mf-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 680px) {
    .mf-hero-title {
        font-size: 1.85rem;
    }

    .mf-hero-title .serif-italic {
        font-size: 2.3rem;
    }

    .mf-section-title {
        font-size: 2rem;
    }

    .mf-section-title .serif-italic {
        font-size: 2.3rem;
    }

    .iphone-mockup-frame {
        width: 245px;
        height: 490px;
        transform: none !important;
    }

    .mf-emp-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .mf-mgr-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .mf-specs-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .mf-store-badges-row {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .mf-store-btn {
        padding: 6px 10px;
        min-width: 125px;
        max-width: 150px;
    }

    .mf-store-btn svg {
        width: 18px;
        height: 18px;
    }

    .mf-store-btn-sub {
        font-size: 0.5rem;
    }

    .mf-store-btn-main {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Card & Div Stability: Prevent any hover jumps / translateY shifts
   ========================================================================== */
.mf-feature-card,
.mf-feature-card:hover,
.mobile-qr-floating-card,
.mobile-qr-floating-card:hover,
.mf-spec-item,
.mf-spec-item:hover,
.iphone-mockup-frame,
.iphone-mockup-frame:hover,
.mf-card-phone-frame,
.mf-card-phone-frame:hover,
.iphone-worktime-card,
.iphone-worktime-card:hover,
.mf-mock-timelog-box,
.mf-mock-timelog-box:hover,
.mf-mock-leave-item,
.mf-mock-leave-item:hover,
.mf-mock-payslip-net-box,
.mf-mock-payslip-net-box:hover,
.mf-mock-payslip-breakdown,
.mf-mock-payslip-breakdown:hover,
.mf-mock-profile-card,
.mf-mock-profile-card:hover,
.mf-mock-approval-card,
.mf-mock-approval-card:hover,
.mf-mock-stats-list,
.mf-mock-stats-list:hover,
.mf-mock-kiosk-frame,
.mf-mock-kiosk-frame:hover {
    transform: none !important;
}
